Searched refs:gstrings (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/net/ethtool/ |
A D | ioctl.c | 1928 struct ethtool_gstrings gstrings; in ethtool_get_strings() local 1932 if (copy_from_user(&gstrings, useraddr, sizeof(gstrings))) in ethtool_get_strings() 1935 ret = __ethtool_get_sset_count(dev, gstrings.string_set); in ethtool_get_strings() 1942 gstrings.len = ret; in ethtool_get_strings() 1944 if (gstrings.len) { in ethtool_get_strings() 1945 data = vzalloc(array_size(gstrings.len, ETH_GSTRING_LEN)); in ethtool_get_strings() 1949 __ethtool_get_strings(dev, gstrings.string_set, data); in ethtool_get_strings() 1955 if (copy_to_user(useraddr, &gstrings, sizeof(gstrings))) in ethtool_get_strings() 1957 useraddr += sizeof(gstrings); in ethtool_get_strings() 1958 if (gstrings.len && in ethtool_get_strings() [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/ |
A D | configfs.c | 46 struct usb_gadget_strings *gstrings[MAX_USB_STRING_LANGS + 1]; member 75 struct usb_gadget_strings *gstrings[MAX_USB_STRING_LANGS + 1]; member 595 INIT_LIST_HEAD(&cdev->gstrings); in composite_init_dev() 1768 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind() 1773 cfg->gstrings[i] = NULL; in configfs_composite_bind() 1774 s = usb_gstrings_attach(&gi->cdev, cfg->gstrings, 1); in configfs_composite_bind()
|
A D | composite.c | 1246 list_for_each_entry(uc, &cdev->gstrings, list) { in get_string() 1275 list_for_each_entry(uc, &cdev->gstrings, list) { in get_string() 1474 list_add_tail(&uc->list, &cdev->gstrings); in usb_gstrings_attach() 2389 list_for_each_entry_safe(uc, tmp, &cdev->gstrings, list) { in composite_dev_cleanup() 2445 INIT_LIST_HEAD(&cdev->gstrings); in composite_bind()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | composite.h | 493 struct list_head gstrings; member
|
Completed in 17 milliseconds