Searched refs:curlun (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/ |
H A D | storage_common.c | 296 #define fsg_lun_is_open(curlun) ((curlun)->filp != NULL) 575 static int fsg_lun_open(struct fsg_lun *curlun, const char *filename) argument 586 ro = curlun->initially_ro; 595 LINFO(curlun, "unable to open backing file: %s\n", filename); 608 LINFO(curlun, "invalid file type: %s\n", filename); 617 LINFO(curlun, "file not readable: %s\n", filename); 625 LINFO(curlun, "unable to find file size: %s\n", filename); 631 if (curlun->cdrom) { 636 LINFO(curlun, "fil 661 fsg_lun_close(struct fsg_lun *curlun) argument 677 fsg_lun_fsync_sub(struct fsg_lun *curlun) argument 711 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local 721 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local 729 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local 758 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local 786 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local 804 struct fsg_lun *curlun = fsg_lun_from_dev(dev); local [all...] |
H A D | f_mass_storage.c | 368 struct fsg_lun *curlun; member in struct:fsg_common 727 struct fsg_lun *curlun = common->curlun; local 748 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; 752 if (lba >= curlun->num_sectors) { 753 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; 775 curlun->file_length - file_offset); 792 curlun->sense_data = 794 curlun->sense_data_info = file_offset >> 9; 795 curlun 856 struct fsg_lun *curlun = common->curlun; local 1049 struct fsg_lun *curlun = common->curlun; local 1063 invalidate_sub(struct fsg_lun *curlun) argument 1075 struct fsg_lun *curlun = common->curlun; local 1173 struct fsg_lun *curlun = common->curlun; local 1199 struct fsg_lun *curlun = common->curlun; local 1247 struct fsg_lun *curlun = common->curlun; local 1267 struct fsg_lun *curlun = common->curlun; local 1290 struct fsg_lun *curlun = common->curlun; local 1318 struct fsg_lun *curlun = common->curlun; local 1399 struct fsg_lun *curlun = common->curlun; local 1461 struct fsg_lun *curlun = common->curlun; local 1487 struct fsg_lun *curlun = common->curlun; local 1504 struct fsg_lun *curlun = common->curlun; local 1737 struct fsg_lun *curlun = common->curlun; local 1804 struct fsg_lun *curlun; local 2422 struct fsg_lun *curlun; local 2616 struct fsg_lun *curlun = common->luns; local 2668 struct fsg_lun *curlun; local [all...] |
H A D | file_storage.c | 394 struct fsg_lun *curlun; member in struct:fsg_dev 1030 struct fsg_lun *curlun = fsg->curlun; local 1051 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; 1055 if (lba >= curlun->num_sectors) { 1056 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; 1078 curlun->file_length - file_offset); 1095 curlun->sense_data = 1097 curlun->sense_data_info = file_offset >> 9; 1098 curlun 1156 struct fsg_lun *curlun = fsg->curlun; local 1346 struct fsg_lun *curlun = fsg->curlun; local 1360 invalidate_sub(struct fsg_lun *curlun) argument 1372 struct fsg_lun *curlun = fsg->curlun; local 1502 struct fsg_lun *curlun = fsg->curlun; local 1550 struct fsg_lun *curlun = fsg->curlun; local 1570 struct fsg_lun *curlun = fsg->curlun; local 1593 struct fsg_lun *curlun = fsg->curlun; local 1621 struct fsg_lun *curlun = fsg->curlun; local 1702 struct fsg_lun *curlun = fsg->curlun; local 1752 struct fsg_lun *curlun = fsg->curlun; local 1776 struct fsg_lun *curlun = fsg->curlun; local 1793 struct fsg_lun *curlun = fsg->curlun; local 2029 struct fsg_lun *curlun = fsg->curlun; local 2121 struct fsg_lun *curlun; local 2793 struct fsg_lun *curlun; local 3047 struct fsg_lun *curlun; local 3231 struct fsg_lun *curlun; local [all...] |
Completed in 77 milliseconds