Searched refs:n_gstrings (Results 1 – 1 of 1) sorted by relevance
1334 struct usb_gadget_strings **sp, unsigned n_gstrings, in copy_gadget_strings() argument1347 mem += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()1348 mem += sizeof(struct usb_gadget_strings) * n_gstrings; in copy_gadget_strings()1349 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()1355 stash += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()1356 for (n_gs = 0; n_gs < n_gstrings; n_gs++) { in copy_gadget_strings()1406 unsigned n_gstrings = 0; in usb_gstrings_attach() local1411 n_gstrings++; in usb_gstrings_attach()1413 if (!n_gstrings) in usb_gstrings_attach()1416 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()[all …]