Home
last modified time | relevance | path

Searched refs:devpath (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_sg01.c46 static char devpath[PATH_MAX]; in find_generic_scsi_device() local
59 snprintf(devpath, PATH_MAX, "/dev/%s", ent->d_name); in find_generic_scsi_device()
61 tmpfd = open(devpath, access_flags); in find_generic_scsi_device()
66 return devpath; in find_generic_scsi_device()
76 const char *devpath = find_generic_scsi_device(O_RDONLY); in setup() local
78 if (!devpath) in setup()
81 tst_res(TINFO, "Found SCSI device %s", devpath); in setup()
86 devfd = SAFE_OPEN(devpath, O_RDONLY); in setup()
/external/blktrace/
Dblktrace.c91 struct devpath { struct
136 struct devpath *dpp; argument
245 struct devpath *dpp;
501 static inline void pdc_dr_update(struct devpath *dpp, int cpu, int data_read) in pdc_dr_update()
506 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) in pdc_nev_update()
611 static void dpp_free(struct devpath *dpp) in dpp_free()
934 struct devpath *dpp = list_entry(p, struct devpath, head); in net_send_drops()
1076 struct devpath *dpp = list_entry(p, struct devpath, head); in setup_buts()
1105 struct devpath *dpp = list_entry(p, struct devpath, head); in start_buts()
1114 static int get_drops(struct devpath *dpp) in get_drops()
[all …]
/external/autotest/client/bin/input/
Dinput_event_player.py92 elif not os.path.exists(options.devpath):
93 print('Can not find the input device "%s".' % options.devpath)
96 device = InputDevice(options.devpath)
Dinput_device.py689 options.devpath = path
701 elif os.path.exists(options.devpath):
702 print('Using %s.' % options.devpath)
703 devices.append(InputDevice(options.devpath))
705 print('%s does not exist.' % options.devpath)
/external/autotest/server/
Dsite_linux_system.py208 devpath = self.host.run(command).stdout
209 if '/usb' in devpath:
211 elif '/mmc' in devpath:
213 elif '/pci' in devpath:
/external/libiio/src/
Dlocal.c1687 static int add_scan_elements(struct iio_device *dev, const char *devpath) in add_scan_elements() argument
1692 iio_snprintf(buf, sizeof(buf), "%s/scan_elements", devpath); in add_scan_elements()
1703 static int add_buffer_attributes(struct iio_device *dev, const char *devpath) in add_buffer_attributes() argument
1708 iio_snprintf(buf, sizeof(buf), "%s/buffer", devpath); in add_buffer_attributes()
/external/cpuinfo/test/dmesg/
Dgalaxy-s5-global.log2517 <7>[ 8.011473] [c0] s5p-ehci 12110000.usb: devpath 2 ep3in 3strikes
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h77312 char devpath[16]; member
Dvmlinux_510.h77312 char devpath[16]; member
/external/bcc/libbpf-tools/x86/
Dvmlinux.h92082 char devpath[16]; member
Dvmlinux_505.h92082 char devpath[16]; member
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi44240 …<var-decl name="devpath" type-id="ac1fa8c0" visibility="default" filepath="include/linux/usb.h" li…
65486 …<var-decl name="devpath" type-id="ac1fa8c0" visibility="default" filepath="include/linux/usb.h" li…
Dtest-PR27569-v1.abi44269 …<var-decl name="devpath" type-id="ac1fa8c0" visibility="default" filepath="include/linux/usb.h" li…
65500 …<var-decl name="devpath" type-id="ac1fa8c0" visibility="default" filepath="include/linux/usb.h" li…