Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/
Dcomposite.c1429 struct usb_gadget_strings **sp, unsigned n_gstrings, in copy_gadget_strings() argument
1442 mem += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1443 mem += sizeof(struct usb_gadget_strings) * n_gstrings; in copy_gadget_strings()
1444 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()
1450 stash += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1451 for (n_gs = 0; n_gs < n_gstrings; n_gs++) { in copy_gadget_strings()
1501 unsigned n_gstrings = 0; in usb_gstrings_attach() local
1506 n_gstrings++; in usb_gstrings_attach()
1508 if (!n_gstrings) in usb_gstrings_attach()
1511 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()
[all …]