Searched refs:nstrings (Results 1 – 1 of 1) sorted by relevance
99 unsigned int nstrings; member873 string->usb_string.id = language->nstrings++; in gadget_language_string_make()893 language->nstrings--; in gadget_language_string_drop()946 new->nstrings = 3; in gadget_language_make()1614 int nstrings = -1; in configfs_attach_gadget_strings() local1632 if (nstrings == -1) { in configfs_attach_gadget_strings()1633 nstrings = language->nstrings; in configfs_attach_gadget_strings()1634 } else if (nstrings != language->nstrings) { in configfs_attach_gadget_strings()1640 stringtab = kcalloc(language->nstrings + 1, sizeof(struct usb_string), in configfs_attach_gadget_strings()1665 us = usb_gstrings_attach(&gi->cdev, gadget_strings, nstrings); in configfs_attach_gadget_strings()