Searched refs:inquiry_string (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/usb/gadget/function/ |
H A D | storage_common.c | 373 return sprintf(buf, "%s\n", curlun->inquiry_string); in fsg_show_inquiry_string() 510 const size_t len = min(count, sizeof(curlun->inquiry_string)); in fsg_store_inquiry_string() 513 curlun->inquiry_string[0] = 0; in fsg_store_inquiry_string() 515 snprintf(curlun->inquiry_string, in fsg_store_inquiry_string() 516 sizeof(curlun->inquiry_string), "%-28s", buf); in fsg_store_inquiry_string() 517 if (curlun->inquiry_string[len-1] == '\n') in fsg_store_inquiry_string() 518 curlun->inquiry_string[len-1] = ' '; in fsg_store_inquiry_string()
|
H A D | f_mass_storage.h | 93 char inquiry_string[INQUIRY_STRING_LEN]; member
|
H A D | storage_common.h | 122 char inquiry_string[INQUIRY_STRING_LEN]; member
|
H A D | f_mass_storage.c | 289 char inquiry_string[INQUIRY_STRING_LEN]; member 1074 if (curlun->inquiry_string[0]) in do_inquiry() 1075 memcpy(buf + 8, curlun->inquiry_string, in do_inquiry() 1076 sizeof(curlun->inquiry_string)); in do_inquiry() 1078 memcpy(buf + 8, common->inquiry_string, in do_inquiry() 1079 sizeof(common->inquiry_string)); in do_inquiry() 2985 snprintf(common->inquiry_string, sizeof(common->inquiry_string), in fsg_common_set_inquiry_string() 3251 CONFIGFS_ATTR(fsg_lun_opts_, inquiry_string);
|