Searched refs:inquiry_string (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/usb/gadget/function/ |
D | storage_common.c | 372 return sprintf(buf, "%s\n", curlun->inquiry_string); in fsg_show_inquiry_string() 509 const size_t len = min(count, sizeof(curlun->inquiry_string)); in fsg_store_inquiry_string() 512 curlun->inquiry_string[0] = 0; in fsg_store_inquiry_string() 514 snprintf(curlun->inquiry_string, in fsg_store_inquiry_string() 515 sizeof(curlun->inquiry_string), "%-28s", buf); in fsg_store_inquiry_string() 516 if (curlun->inquiry_string[len-1] == '\n') in fsg_store_inquiry_string() 517 curlun->inquiry_string[len-1] = ' '; in fsg_store_inquiry_string()
|
D | f_mass_storage.h | 93 char inquiry_string[INQUIRY_STRING_LEN]; member
|
D | storage_common.h | 122 char inquiry_string[INQUIRY_STRING_LEN]; member
|
D | f_mass_storage.c | 288 char inquiry_string[INQUIRY_STRING_LEN]; member 1057 if (curlun->inquiry_string[0]) in do_inquiry() 1058 memcpy(buf + 8, curlun->inquiry_string, in do_inquiry() 1059 sizeof(curlun->inquiry_string)); in do_inquiry() 1061 memcpy(buf + 8, common->inquiry_string, in do_inquiry() 1062 sizeof(common->inquiry_string)); in do_inquiry() 2972 snprintf(common->inquiry_string, sizeof(common->inquiry_string), in fsg_common_set_inquiry_string() 3239 CONFIGFS_ATTR(fsg_lun_opts_, inquiry_string);
|
/linux-6.1.9/drivers/staging/rts5208/ |
D | rtsx_scsi.c | 470 char *inquiry_string; in inquiry() local 488 inquiry_string = inquiry_sd; in inquiry() 490 inquiry_string = inquiry_ms; in inquiry() 493 inquiry_string = inquiry_sdms; in inquiry() 495 inquiry_string = inquiry_default; in inquiry() 526 strncpy(buf + 8, inquiry_string, sendbytes - 8); in inquiry()
|