Lines Matching refs:IscsiLun
66 typedef struct IscsiLun { struct
106 } IscsiLun; argument
115 IscsiLun *iscsilun;
124 IscsiLun *iscsilun;
296 iscsi_co_init_iscsitask(IscsiLun *iscsilun, struct IscsiTask *iTask) in iscsi_co_init_iscsitask()
326 IscsiLun *iscsilun = acb->iscsilun; in iscsi_aio_cancel()
359 iscsi_set_events(IscsiLun *iscsilun) in iscsi_set_events()
376 IscsiLun *iscsilun = opaque; in iscsi_timed_check_events()
401 IscsiLun *iscsilun = arg; in iscsi_process_read()
413 IscsiLun *iscsilun = arg; in iscsi_process_write()
422 static int64_t sector_lun2qemu(int64_t sector, IscsiLun *iscsilun) in sector_lun2qemu()
427 static int64_t sector_qemu2lun(int64_t sector, IscsiLun *iscsilun) in sector_qemu2lun()
433 IscsiLun *iscsilun) in is_byte_request_lun_aligned()
446 IscsiLun *iscsilun) in is_sector_request_lun_aligned()
454 static void iscsi_allocmap_free(IscsiLun *iscsilun) in iscsi_allocmap_free()
463 static int iscsi_allocmap_init(IscsiLun *iscsilun, int open_flags) in iscsi_allocmap_init()
495 iscsi_allocmap_update(IscsiLun *iscsilun, int64_t offset, in iscsi_allocmap_update()
533 iscsi_allocmap_set_allocated(IscsiLun *iscsilun, int64_t offset, in iscsi_allocmap_set_allocated()
540 iscsi_allocmap_set_unallocated(IscsiLun *iscsilun, int64_t offset, in iscsi_allocmap_set_unallocated()
549 static void iscsi_allocmap_set_invalid(IscsiLun *iscsilun, int64_t offset, in iscsi_allocmap_set_invalid()
555 static void iscsi_allocmap_invalidate(IscsiLun *iscsilun) in iscsi_allocmap_invalidate()
566 iscsi_allocmap_is_allocated(IscsiLun *iscsilun, int64_t offset, in iscsi_allocmap_is_allocated()
579 static inline bool iscsi_allocmap_is_valid(IscsiLun *iscsilun, in iscsi_allocmap_is_valid()
593 IscsiLun *iscsilun) in iscsi_co_wait_for_task()
607 IscsiLun *iscsilun = bs->opaque; in iscsi_co_writev()
702 IscsiLun *iscsilun = bs->opaque; in iscsi_co_block_status()
803 IscsiLun *iscsilun = bs->opaque; in iscsi_co_readv()
922 IscsiLun *iscsilun = bs->opaque; in iscsi_co_flush()
1012 IscsiLun *iscsilun = bs->opaque; in iscsi_ioctl_handle_emulated()
1036 IscsiLun *iscsilun = bs->opaque; in iscsi_aio_ioctl()
1134 IscsiLun *iscsilun = bs->opaque; in iscsi_co_getlength()
1147 IscsiLun *iscsilun = bs->opaque; in iscsi_co_pdiscard()
1217 IscsiLun *iscsilun = bs->opaque; in iscsi_co_pwrite_zeroes()
1415 IscsiLun *iscsilun = opaque; in iscsi_nop_timed_event()
1430 static void iscsi_readcapacity_sync(IscsiLun *iscsilun, Error **errp) in iscsi_readcapacity_sync()
1540 IscsiLun *iscsilun = bs->opaque; in iscsi_detach_aio_context()
1559 IscsiLun *iscsilun = bs->opaque; in iscsi_attach_aio_context()
1580 static void iscsi_modesense_sync(IscsiLun *iscsilun) in iscsi_modesense_sync()
1771 static void iscsi_save_designator(IscsiLun *lun, in iscsi_save_designator()
1798 IscsiLun *iscsilun = bs->opaque; in iscsi_open()
1843 memset(iscsilun, 0, sizeof(IscsiLun)); in iscsi_open()
2041 memset(iscsilun, 0, sizeof(IscsiLun)); in iscsi_open()
2049 IscsiLun *iscsilun = bs->opaque; in iscsi_close()
2064 memset(iscsilun, 0, sizeof(IscsiLun)); in iscsi_close()
2072 IscsiLun *iscsilun = bs->opaque; in iscsi_refresh_limits()
2120 IscsiLun *iscsilun = state->bs->opaque; in iscsi_reopen_prepare()
2131 IscsiLun *iscsilun = reopen_state->bs->opaque; in iscsi_reopen_commit()
2143 IscsiLun *iscsilun = bs->opaque; in iscsi_co_truncate()
2183 IscsiLun *iscsilun = bs->opaque; in iscsi_co_get_info()
2191 IscsiLun *iscsilun = bs->opaque; in iscsi_co_invalidate_cache()
2224 static void iscsi_populate_target_desc(unsigned char *desc, IscsiLun *lun) in iscsi_populate_target_desc()
2304 IscsiLun *src, int64_t src_lba, in iscsi_xcopy_data()
2305 IscsiLun *dst, int64_t dst_lba, in iscsi_xcopy_data()
2341 IscsiLun *dst_lun = dst->bs->opaque; in iscsi_co_copy_range_to()
2342 IscsiLun *src_lun; in iscsi_co_copy_range_to()
2430 .instance_size = sizeof(IscsiLun),
2469 .instance_size = sizeof(IscsiLun),