Searched refs:n_strings (Results 1 – 4 of 4) sorted by relevance
1430 unsigned n_strings) in copy_gadget_strings() argument1444 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()1461 for (n_s = 0; n_s < n_strings; n_s++) { in copy_gadget_strings()1497 struct usb_gadget_strings **sp, unsigned n_strings) in usb_gstrings_attach() argument1511 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()1527 for (n = 0; n < n_strings; n++) { in usb_gstrings_attach()
506 struct usb_gadget_strings **sp, unsigned n_strings);
1317 for (i = 0; i < obj->n_strings; i++) in ethtool_stringset_free()1332 for (unsigned int i = 0; i < obj->n_strings; i++) in ethtool_stringset_put()1343 unsigned int n_strings = 0; in ethtool_stringset_parse() local1367 n_strings++; in ethtool_stringset_parse()1371 if (n_strings) { in ethtool_stringset_parse()1372 dst->strings = calloc(n_strings, sizeof(*dst->strings)); in ethtool_stringset_parse()1373 dst->n_strings = n_strings; in ethtool_stringset_parse()
181 unsigned int n_strings; member