Home
last modified time | relevance | path

Searched +defs:device +defs:path (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.14.4/tools/hv/
Dvmbus_testing105 def locate_state(device, file_map): argument
122 def validate_args_path(path, arg_set, file_map): argument
138 def get_device_test_values(path, file_map): argument
146 def recursive_file_lookup(path, file_map): argument
175 def read_test_files(path): argument
191 def write_test_files(path, value): argument
224 def set_delay_values(device, file_map, delay_length, quiet): argument
258 def disable_testing_single_device(device, file_map): argument
/linux-6.14.4/fs/btrfs/
Dvolumes.c403 static void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device()
414 struct btrfs_device *device; in free_fs_devices() local
527 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() local
601 struct btrfs_device *device; in find_fsid_by_device() local
647 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device()
747 struct path path = { .mnt = NULL, .dentry = NULL }; in is_good_dev_path() local
781 struct path path = { .mnt = NULL, .dentry = NULL }; in get_canonical_dev_path() local
812 static bool is_same_device(struct btrfs_device *device, const char *new_path) in is_same_device()
855 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add()
859 struct btrfs_device *device; in device_list_add() local
[all …]
Ddisk-io.c1026 struct btrfs_path *path, in read_tree_root_path()
1092 struct btrfs_path *path; in btrfs_read_tree_root() local
1315 struct btrfs_path *path; in btrfs_get_root_ref() local
1450 struct btrfs_path *path, in btrfs_get_fs_root_commit_root()
2120 struct btrfs_path *path, u64 objectid, in load_global_roots_objectid()
2203 struct btrfs_path *path; in load_global_roots() local
3693 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() local
3807 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers()
3902 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers()
3967 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush()
[all …]
Ddev-replace.c79 struct btrfs_path *path = NULL; in btrfs_init_dev_replace() local
246 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() local
349 struct btrfs_path *path; in btrfs_run_dev_replace() local
452 struct btrfs_path *path; in mark_block_group_to_copy() local
Dblock-group.c587 struct btrfs_path *path; in sample_block_group_extent_item() local
705 struct btrfs_path *path; in load_extent_tree_free() local
1031 struct btrfs_path *path, in remove_block_group_item()
1058 struct btrfs_path *path; in btrfs_remove_block_group() local
2031 const struct btrfs_path *path) in read_bg_from_eb()
2078 struct btrfs_path *path, in find_first_block_group()
2516 struct btrfs_path *path; in btrfs_read_block_groups() local
2664 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent()
2669 struct btrfs_path *path; in insert_dev_extent() local
2711 struct btrfs_device *device; in insert_dev_extents() local
[all …]
Dextent-tree.c75 struct btrfs_path *path; in btrfs_lookup_data_extent() local
106 struct btrfs_path *path; in btrfs_lookup_extent_info() local
428 struct btrfs_path *path, in lookup_extent_data_ref()
503 struct btrfs_path *path, in insert_extent_data_ref()
581 struct btrfs_path *path, in remove_extent_data_ref()
624 static noinline u32 extent_data_ref_count(struct btrfs_path *path, in extent_data_ref_count()
666 struct btrfs_path *path, in lookup_tree_block_ref()
690 struct btrfs_path *path, in insert_tree_block_ref()
729 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
765 struct btrfs_path *path, in lookup_inline_extent_backref()
[all …]
Dsuper.c308 struct btrfs_device *device; in btrfs_parse_param() local
792 struct btrfs_path *path = NULL; in btrfs_get_subvol_name_from_objectid() local
910 struct btrfs_path *path; in get_default_subvol_objectid() local
1599 struct btrfs_device *device; in btrfs_calc_avail_data_space() local
1834 struct btrfs_device *device; in btrfs_get_tree_super() local
2203 struct btrfs_device *device = NULL; in btrfs_control_ioctl() local
2334 struct btrfs_device *device; in btrfs_unfreeze() local
Dscrub.c223 struct btrfs_path *path; member
482 struct btrfs_path *path; in scrub_print_common_warning() local
1232 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device, in scrub_throttle_dev_io()
1333 static int compare_extent_item_range(struct btrfs_path *path, in compare_extent_item_range()
1372 struct btrfs_path *path, in find_first_extent_item()
1439 static void get_extent_info(struct btrfs_path *path, u64 *extent_start_ret, in get_extent_info()
2120 struct btrfs_device *device, in scrub_simple_mirror()
2220 struct btrfs_device *device, in scrub_simple_stripe()
2478 struct btrfs_path *path; in scrub_enumerate_chunks() local
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c159 struct nvkm_device *device = subdev->device; in gk20a_gr_wait_mem_scrubbing() local
183 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_set_hww_esr_report_mask() local
191 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_init() local
277 gk20a_gr_load_net(struct gf100_gr *gr, const char *path, const char *name, int ver, in gk20a_gr_load_net()
294 gk20a_gr_load_sw(struct gf100_gr *gr, const char *path, int ver) in gk20a_gr_load_sw()
343 gk20a_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) in gk20a_gr_new()
/linux-6.14.4/tools/testing/selftests/devices/probe/
Dtest_discoverable_devices.py139 def is_controller(device): argument
143 def path_to_dir(parent_sysfs, dev_type, path): argument
163 def find_in_sysfs(device, parent_sysfs=None): argument
207 def generate_pathname(device): argument
276 def parse_node(device): argument
/linux-6.14.4/tools/laptop/freefall/
Dfreefall.c29 static int set_unload_heads_path(char *device) in set_unload_heads_path()
53 static void write_int(char *path, int i) in write_int()
/linux-6.14.4/drivers/of/
Dbase.c338 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
379 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
396 int of_device_compatible_match(const struct device_node *device, in of_device_compatible_match()
437 static bool __of_device_is_status(const struct device_node *device, in __of_device_is_status()
476 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
494 static bool __of_device_is_reserved(const struct device_node *device) in __of_device_is_reserved()
509 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
530 static bool __of_device_is_fail(const struct device_node *device) in __of_device_is_fail()
549 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
828 const char *path) in __of_find_node_by_path()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/core/
Dfirmware.c32 char path[64]; in nvkm_firmware_load_name() local
76 struct nvkm_device *device = subdev->device; in nvkm_firmware_get() local
227 struct nvkm_device *device, const void *src, int len, struct nvkm_firmware *fw) in nvkm_firmware_ctor()
/linux-6.14.4/drivers/infiniband/ulp/ipoib/
Dipoib_main.c77 struct ipoib_path path; member
561 struct ipoib_path *path; in __path_find() local
581 static int __path_add(struct net_device *dev, struct ipoib_path *path) in __path_add()
611 static void path_free(struct net_device *dev, struct ipoib_path *path) in path_free()
654 struct ipoib_path *path; in ipoib_path_iter_next() local
680 struct ipoib_path *path) in ipoib_path_iter_read()
690 struct ipoib_path *path, *tp; in ipoib_mark_paths_invalid() local
716 struct ipoib_path *path, *tp; in ipoib_flush_paths() local
747 struct ipoib_path *path = path_ptr; in path_rec_completion() local
861 static void init_path_rec(struct ipoib_dev_priv *priv, struct ipoib_path *path, in init_path_rec()
[all …]
/linux-6.14.4/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c60 struct binderfs_device device = { 0 }; in __do_binderfs_test() local
251 char path[4096]; in write_id_mapping() local
386 struct binderfs_device device = { 0 }; in TEST() local
/linux-6.14.4/arch/parisc/kernel/
Ddrivers.c86 static int for_each_padev(int (*fn)(struct device *, void *), void * data) in for_each_padev()
310 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path()
333 static char *print_hwpath(struct hardware_path *path, char *output) in print_hwpath()
356 struct hardware_path path; in print_pa_hwpath() local
374 void get_pci_node_path(struct pci_dev *pdev, struct hardware_path *path) in get_pci_node_path()
391 struct hardware_path path; in print_pci_hwpath() local
402 struct hardware_path path; in setup_bus_id() local
778 void device_to_hwpath(struct device *dev, struct hardware_path *path) in device_to_hwpath()
848 struct hardware_path path; in walk_native_bus() local
/linux-6.14.4/drivers/s390/char/
Dvmlogrdr.c66 struct iucv_path *path; member
79 struct device *device; member
163 static void vmlogrdr_iucv_path_complete(struct iucv_path *path, u8 *ipuser) in vmlogrdr_iucv_path_complete()
174 static void vmlogrdr_iucv_path_severed(struct iucv_path *path, u8 *ipuser) in vmlogrdr_iucv_path_severed()
196 static void vmlogrdr_iucv_message_pending(struct iucv_path *path, in vmlogrdr_iucv_message_pending()
/linux-6.14.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c237 static inline bool pqi_is_logical_device(struct pqi_scsi_dev *device) in pqi_is_logical_device()
425 static inline bool pqi_device_offline(struct pqi_scsi_dev *device) in pqi_device_offline()
451 static inline void pqi_device_remove_start(struct pqi_scsi_dev *device) in pqi_device_remove_start()
456 static inline bool pqi_device_in_remove(struct pqi_scsi_dev *device) in pqi_device_in_remove()
461 static inline void pqi_device_reset_start(struct pqi_scsi_dev *device, u8 lun) in pqi_device_reset_start()
466 static inline void pqi_device_reset_done(struct pqi_scsi_dev *device, u8 lun) in pqi_device_reset_done()
471 static inline bool pqi_device_in_reset(struct pqi_scsi_dev *device, u8 lun) in pqi_device_in_reset()
540 static inline bool pqi_is_io_high_priority(struct pqi_scsi_dev *device, struct scsi_cmnd *scmd) in pqi_is_io_high_priority()
826 struct pqi_scsi_dev *device, in pqi_identify_physical_device()
1345 static inline void pqi_set_bus_target_lun(struct pqi_scsi_dev *device, in pqi_set_bus_target_lun()
[all …]
/linux-6.14.4/drivers/s390/block/
Ddasd_int.h273 struct dasd_device *device; member
494 #define to_dasd_path(path) container_of(path, struct dasd_path, kobj) argument
561 struct dasd_path path[8]; member
646 struct dasd_device *device; member
705 dasd_get_device(struct dasd_device *device) in dasd_get_device()
711 dasd_put_device(struct dasd_device *device) in dasd_put_device()
972 static inline int dasd_eer_enabled(struct dasd_device *device) in dasd_eer_enabled()
992 static inline int dasd_path_is_operational(struct dasd_device *device, int chp) in dasd_path_is_operational()
997 static inline int dasd_path_need_verify(struct dasd_device *device, int chp) in dasd_path_need_verify()
1002 static inline void dasd_path_verify(struct dasd_device *device, int chp) in dasd_path_verify()
[all …]
Ddasd_devmap.c47 struct dasd_device *device; member
506 struct dasd_device *device; in dasd_device_from_devindex() local
550 struct dasd_device *device; in dasd_create_device() local
596 static int dasd_devmap_get_pprc_status(struct dasd_device *device, in dasd_devmap_get_pprc_status()
655 static int dasd_devmap_check_copy_relation(struct dasd_device *device, in dasd_devmap_check_copy_relation()
735 static void dasd_devmap_delete_copy_relation_device(struct dasd_device *device) in dasd_devmap_delete_copy_relation_device()
763 struct dasd_device *device; in dasd_devmap_set_device_copy_relation() local
835 dasd_delete_device(struct dasd_device *device) in dasd_delete_device()
889 dasd_put_device_wake(struct dasd_device *device) in dasd_put_device_wake()
903 struct dasd_device *device = dev_get_drvdata(&cdev->dev); in dasd_device_from_cdev_locked() local
[all …]
Ddasd_eckd.c95 struct dasd_device *device; member
102 struct dasd_device *device; member
115 struct dasd_device *device; member
211 static int dasd_eckd_track_from_irb(struct irb *irb, struct dasd_device *device, in dasd_eckd_track_from_irb()
247 struct dasd_device *device) in set_timestamp()
275 unsigned int totrk, int cmd, struct dasd_device *device, in define_extent()
383 int count, int cmd, struct dasd_device *device, in locate_record_ext()
601 struct dasd_device * device, int reclen) in locate_record()
766 static int dasd_eckd_generate_uid(struct dasd_device *device) in dasd_eckd_generate_uid()
781 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid()
[all …]
/linux-6.14.4/net/iucv/
Diucv.c78 static void iucv_release_device(struct device *device) in iucv_release_device()
865 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler, in iucv_path_accept()
912 int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler, in iucv_path_connect()
975 int iucv_path_quiesce(struct iucv_path *path, u8 *userdata) in iucv_path_quiesce()
1007 int iucv_path_resume(struct iucv_path *path, u8 *userdata) in iucv_path_resume()
1037 int iucv_path_sever(struct iucv_path *path, u8 *userdata) in iucv_path_sever()
1069 int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg, in iucv_message_purge()
1109 static int iucv_message_receive_iprmdata(struct iucv_path *path, in iucv_message_receive_iprmdata()
1158 int __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, in __iucv_message_receive()
1206 int iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, in iucv_message_receive()
[all …]
/linux-6.14.4/drivers/base/firmware_loader/
Dmain.c489 fw_get_filesystem_firmware(struct device *device, struct fw_priv *fw_priv, in fw_get_filesystem_firmware()
499 char *path, *nt = NULL; in fw_get_filesystem_firmware() local
695 int assign_fw(struct firmware *fw, struct device *device) in assign_fw()
743 struct device *device, void *dbuf, size_t size, in _request_firmware_prepare()
812 static void fw_log_firmware_info(const struct firmware *fw, const char *name, struct device *device) in fw_log_firmware_info()
847 struct device *device) in fw_log_firmware_info()
874 struct device *device, void *buf, size_t size, in _request_firmware()
986 struct device *device) in request_firmware()
1013 struct device *device) in firmware_request_nowarn()
1038 const char *name, struct device *device) in request_firmware_direct()
[all …]
/linux-6.14.4/drivers/acpi/
Dscan.c136 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_offline() local
181 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_online() local
200 static int acpi_scan_try_to_offline(struct acpi_device *device) in acpi_scan_try_to_offline()
319 static int acpi_scan_hot_remove(struct acpi_device *device) in acpi_scan_hot_remove()
497 static void acpi_free_power_resources_lists(struct acpi_device *device) in acpi_free_power_resources_lists()
523 static void acpi_device_del(struct acpi_device *device) in acpi_device_del()
691 static int acpi_device_set_name(struct acpi_device *device, in acpi_device_set_name()
734 int acpi_device_add(struct acpi_device *device) in acpi_device_add()
999 static bool acpi_wakeup_gpe_init(struct acpi_device *device) in acpi_wakeup_gpe_init()
1029 static void acpi_bus_get_wakeup_device_flags(struct acpi_device *device) in acpi_bus_get_wakeup_device_flags()
[all …]
/linux-6.14.4/drivers/media/rc/
Drc-main.c1105 static ssize_t show_protocols(struct device *device, in show_protocols()
1276 static ssize_t store_protocols(struct device *device, in store_protocols()
1367 static ssize_t show_filter(struct device *device, in show_filter()
1411 static ssize_t store_filter(struct device *device, in store_filter()
1495 static ssize_t show_wakeup_protocols(struct device *device, in show_wakeup_protocols()
1545 static ssize_t store_wakeup_protocols(struct device *device, in store_wakeup_protocols()
1610 static void rc_dev_release(struct device *device) in rc_dev_release()
1617 static int rc_dev_uevent(const struct device *device, struct kobj_uevent_env *env) in rc_dev_uevent()
1893 const char *path; in rc_register_device() local

12