Searched refs:fsg_lun (Results 1 – 2 of 2) sorted by relevance
275 struct fsg_lun { struct297 static struct fsg_lun *fsg_lun_from_dev(struct device *dev) argument299 return container_of(dev, struct fsg_lun, dev);566 static int fsg_lun_open(struct fsg_lun *curlun, unsigned int num_sectors, in fsg_lun_open()582 static void fsg_lun_close(struct fsg_lun *curlun) in fsg_lun_close()592 static int fsg_lun_fsync_sub(struct fsg_lun *curlun) in fsg_lun_fsync_sub()
308 struct fsg_lun luns[FSG_MAX_LUNS];685 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read()812 struct fsg_lun *curlun = &common->luns[common->lun]; in do_write()994 struct fsg_lun *curlun = &common->luns[common->lun]; in do_verify()1082 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()1110 struct fsg_lun *curlun = &common->luns[common->lun]; in do_request_sense()1161 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_capacity()1180 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_header()1203 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_toc()1231 struct fsg_lun *curlun = &common->luns[common->lun]; in do_mode_sense()[all …]