/linux-master/tools/usb/usbip/src/ |
H A D | usbip_bind.c | 135 const char *devpath; local 144 devpath = udev_device_get_devpath(dev); 148 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { 150 devpath, USBIP_VHCI_DRV_NAME);
|
H A D | usbip_list.c | 181 const char *devpath; local 205 devpath = udev_device_get_devpath(dev); 206 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { 208 devpath, USBIP_VHCI_DRV_NAME);
|
/linux-master/drivers/parisc/ |
H A D | pdc_stable.c | 91 struct pdc_module_path devpath; /* device path in parisc representation */ member in struct:pdcspath_entry 141 struct pdc_module_path *devpath; local 146 devpath = &entry->devpath; 149 entry, devpath, entry->addr); 151 /* addr, devpath and count must be word aligned */ 152 if (pdc_stable_read(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) 158 entry->dev = hwpath_to_device((struct hardware_path *)devpath); 171 * It can be used in two ways: either by passing it a preset devpath struc 182 struct pdc_module_path *devpath; local 224 struct pdc_module_path *devpath; local 344 struct pdc_module_path *devpath; local [all...] |
/linux-master/lib/ |
H A D | kobject_uevent.c | 197 const char *msg = NULL, *devpath; local 225 devpath = kobject_get_path(kobj, GFP_KERNEL); 227 devpath ?: "unknown device", 229 kfree(devpath); 280 const char *devpath) 288 len = strlen(action_string) + strlen(devpath) + 2; 295 sprintf(scratch, "%s@%s", action_string, devpath); 310 const char *devpath) 326 skb = alloc_uevent_skb(env, action_string, devpath); 346 const char *devpath) 278 alloc_uevent_skb(struct kobj_uevent_env *env, const char *action_string, const char *devpath) argument 308 uevent_net_broadcast_untagged(struct kobj_uevent_env *env, const char *action_string, const char *devpath) argument 343 uevent_net_broadcast_tagged(struct sock *usk, struct kobj_uevent_env *env, const char *action_string, const char *devpath) argument 382 kobject_uevent_net_broadcast(struct kobject *kobj, struct kobj_uevent_env *env, const char *action_string, const char *devpath) argument 463 const char *devpath = NULL; local [all...] |
H A D | kobject.c | 477 const char *devpath = NULL; local 490 devpath = kobject_get_path(kobj, GFP_KERNEL); 491 if (!devpath) { 495 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); 500 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); 526 kfree(devpath); 542 const char *devpath = NULL; local 556 devpath = kobject_get_path(kobj, GFP_KERNEL); 557 if (!devpath) { 561 devpath_string = kmalloc(strlen(devpath) [all...] |
/linux-master/fs/pstore/ |
H A D | blk.c | 206 const char *devpath) 212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); 215 pr_err("failed to open '%s': %d!\n", devpath, ret); 220 pr_err("'%s' is not block device!\n", devpath); 205 __register_pstore_blk(struct pstore_device_info *dev, const char *devpath) argument
|
/linux-master/drivers/media/common/siano/ |
H A D | smscoreapi.c | 410 char devpath[32]; member in struct:smscore_registry_entry_t 427 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) argument 437 if (!strncmp(entry->devpath, devpath, sizeof(entry->devpath))) { 445 strscpy(entry->devpath, devpath, sizeof(entry->devpath)); 453 int smscore_registry_getmode(char *devpath) argument 457 entry = smscore_find_registry(devpath); 467 smscore_registry_gettype(char *devpath) argument 480 smscore_registry_setmode(char *devpath, int mode) argument 491 smscore_registry_settype(char *devpath, enum sms_device_type_st type) argument [all...] |
H A D | smsir.c | 58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys));
|
H A D | smscoreapi.h | 126 char devpath[32]; member in struct:smsdevice_params_t 166 char devpath[32]; member in struct:smscore_device_t 1107 extern int smscore_registry_getmode(char *devpath);
|
/linux-master/drivers/media/usb/siano/ |
H A D | smsusb.c | 448 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath)); 501 char devpath[32]; local 550 snprintf(devpath, sizeof(devpath), "usb\\%d-%s", 551 udev->bus->busnum, udev->devpath); 553 devpath); 555 udev, smscore_registry_getmode(devpath),
|
/linux-master/drivers/usb/core/ |
H A D | usb.c | 685 * dev->devpath will be stable until USB is re-cabled, and hubs 691 dev->devpath[0] = '0'; 699 if (parent->devpath[0] == '0') { 700 snprintf(dev->devpath, sizeof dev->devpath, 705 snprintf(dev->devpath, sizeof dev->devpath, 706 "%s.%d", parent->devpath, port1); 717 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath);
|
/linux-master/drivers/media/mmc/siano/ |
H A D | smssdio.c | 260 snprintf(params.devpath, sizeof(params.devpath),
|
/linux-master/security/apparmor/ |
H A D | mount.c | 356 * @devpath: path devname/src_name (MAYBE NULL) 367 char *buffer, const struct path *devpath, char *devbuffer, 377 AA_BUG(devpath && !devbuffer); 382 if (devpath) { 383 error = aa_path_name(devpath, path_flags(profile, devpath), 365 match_mnt(const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer, const struct path *devpath, char *devbuffer, const char *type, unsigned long flags, void *data, bool binary) argument
|
/linux-master/drivers/block/xen-blkback/ |
H A D | xenbus.c | 57 char *devpath, *devname; local 60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); 61 if (IS_ERR(devpath)) 62 return PTR_ERR(devpath); 64 devname = strstr(devpath, "/dev/"); 68 devname = devpath; 71 kfree(devpath);
|
/linux-master/drivers/net/usb/ |
H A D | net1080.c | 185 dev->udev->bus->bus_name, dev->udev->devpath, 228 dev->udev->bus->bus_name, dev->udev->devpath, 269 dev->udev->bus->bus_name, dev->udev->devpath, retval);
|
H A D | usbnet.c | 834 dev->udev->bus->bus_name, dev->udev->devpath, 881 dev->udev->devpath, 892 dev->udev->devpath, 1220 dev->udev->devpath, 1617 xdev->bus->bus_name, xdev->devpath, 1830 xdev->bus->bus_name, xdev->devpath,
|
H A D | catc.c | 343 catc->usbdev->devpath, res); 920 usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr);
|
/linux-master/arch/sparc/include/asm/ |
H A D | openprom.h | 40 int (*v2_dev_open)(char *devpath);
|
/linux-master/arch/m68k/include/asm/ |
H A D | openprom.h | 48 int (*v2_dev_open)(char *devpath);
|
/linux-master/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 237 static int is_child_device(char *devpath) argument 239 return (devpath[2] ? 1 : 0); 242 static int is_hub_limit(char *devpath) argument 244 return ((strlen(devpath) >= 4) ? 1 : 0); 248 char *devpath, u16 *root_port, u16 *hub_port) 251 *root_port = (devpath[0] & 0x0F) - 1; 256 *hub_port = devpath[2] & 0x0F; 354 get_port_number(r8a66597, urb->dev->devpath, 356 if (!is_child_device(urb->dev->devpath)) 373 if (is_hub_limit(urb->dev->devpath)) { 247 get_port_number(struct r8a66597 *r8a66597, char *devpath, u16 *root_port, u16 *hub_port) argument [all...] |
H A D | ehci-q.c | 238 ehci_dbg(ehci, "devpath %s ep%d%s 3strikes\n", 239 urb->dev->devpath, 271 __func__, urb->dev->devpath, urb, 1122 __func__, urb->dev->devpath, urb,
|
/linux-master/drivers/usb/storage/ |
H A D | onetouch.c | 116 onetouch->udev->devpath, retval);
|
/linux-master/drivers/hid/usbhid/ |
H A D | usbmouse.c | 85 mouse->usbdev->devpath, status);
|
H A D | usbkbd.c | 150 kbd->usbdev->devpath, i);
|
/linux-master/drivers/input/tablet/ |
H A D | acecad.c | 90 udev->devpath, status);
|