Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | PRO_REGISTER 0x00 |
#define | PRO_RESERVE 0x01 |
#define | PRO_RELEASE 0x02 |
#define | PRO_CLEAR 0x03 |
#define | PRO_PREEMPT 0x04 |
#define | PRO_PREEMPT_AND_ABORT 0x05 |
#define | PRO_REGISTER_AND_IGNORE_EXISTING_KEY 0x06 |
#define | PRO_REGISTER_AND_MOVE 0x07 |
#define | PRI_READ_KEYS 0x00 |
#define | PRI_READ_RESERVATION 0x01 |
#define | PRI_REPORT_CAPABILITIES 0x02 |
#define | PRI_READ_FULL_STATUS 0x03 |
#define | PR_SCOPE_LU_SCOPE 0x00 |
#define | PR_TYPE_WRITE_EXCLUSIVE 0x01 |
#define | PR_TYPE_EXCLUSIVE_ACCESS 0x03 |
#define | PR_TYPE_WRITE_EXCLUSIVE_REGONLY 0x05 |
#define | PR_TYPE_EXCLUSIVE_ACCESS_REGONLY 0x06 |
#define | PR_TYPE_WRITE_EXCLUSIVE_ALLREG 0x07 |
#define | PR_TYPE_EXCLUSIVE_ACCESS_ALLREG 0x08 |
#define | PR_APTPL_MAX_IPORT_LEN 256 |
#define | PR_APTPL_MAX_TPORT_LEN 256 |
Functions | |
int | core_pr_dump_initiator_port (struct t10_pr_registration *, char *, u32) |
int | target_scsi2_reservation_release (struct se_cmd *) |
int | target_scsi2_reservation_reserve (struct se_cmd *) |
int | core_scsi3_alloc_aptpl_registration (struct t10_reservation *, u64, unsigned char *, unsigned char *, u32, unsigned char *, u16, u32, int, int, u8) |
int | core_scsi3_check_aptpl_registration (struct se_device *, struct se_portal_group *, struct se_lun *, struct se_lun_acl *) |
void | core_scsi3_free_pr_reg_from_nacl (struct se_device *, struct se_node_acl *) |
void | core_scsi3_free_all_registrations (struct se_device *) |
unsigned char * | core_scsi3_pr_dump_type (int) |
int | target_scsi3_emulate_pr_in (struct se_cmd *) |
int | target_scsi3_emulate_pr_out (struct se_cmd *) |
int | core_setup_reservations (struct se_device *, int) |
Variables | |
struct kmem_cache * | t10_pr_reg_cache |
#define PR_APTPL_MAX_IPORT_LEN 256 |
Definition at line 43 of file target_core_pr.h.
#define PR_APTPL_MAX_TPORT_LEN 256 |
Definition at line 44 of file target_core_pr.h.
#define PR_SCOPE_LU_SCOPE 0x00 |
Definition at line 30 of file target_core_pr.h.
#define PR_TYPE_EXCLUSIVE_ACCESS 0x03 |
Definition at line 37 of file target_core_pr.h.
#define PR_TYPE_EXCLUSIVE_ACCESS_ALLREG 0x08 |
Definition at line 41 of file target_core_pr.h.
#define PR_TYPE_EXCLUSIVE_ACCESS_REGONLY 0x06 |
Definition at line 39 of file target_core_pr.h.
#define PR_TYPE_WRITE_EXCLUSIVE 0x01 |
Definition at line 36 of file target_core_pr.h.
#define PR_TYPE_WRITE_EXCLUSIVE_ALLREG 0x07 |
Definition at line 40 of file target_core_pr.h.
#define PR_TYPE_WRITE_EXCLUSIVE_REGONLY 0x05 |
Definition at line 38 of file target_core_pr.h.
#define PRI_READ_FULL_STATUS 0x03 |
Definition at line 24 of file target_core_pr.h.
#define PRI_READ_KEYS 0x00 |
Definition at line 21 of file target_core_pr.h.
#define PRI_READ_RESERVATION 0x01 |
Definition at line 22 of file target_core_pr.h.
#define PRI_REPORT_CAPABILITIES 0x02 |
Definition at line 23 of file target_core_pr.h.
#define PRO_CLEAR 0x03 |
Definition at line 11 of file target_core_pr.h.
#define PRO_PREEMPT 0x04 |
Definition at line 12 of file target_core_pr.h.
#define PRO_PREEMPT_AND_ABORT 0x05 |
Definition at line 13 of file target_core_pr.h.
#define PRO_REGISTER 0x00 |
Definition at line 8 of file target_core_pr.h.
#define PRO_REGISTER_AND_IGNORE_EXISTING_KEY 0x06 |
Definition at line 14 of file target_core_pr.h.
#define PRO_REGISTER_AND_MOVE 0x07 |
Definition at line 15 of file target_core_pr.h.
#define PRO_RELEASE 0x02 |
Definition at line 10 of file target_core_pr.h.
#define PRO_RESERVE 0x01 |
Definition at line 9 of file target_core_pr.h.
int core_pr_dump_initiator_port | ( | struct t10_pr_registration * | , |
char * | , | ||
u32 | |||
) |
Definition at line 56 of file target_core_pr.c.
int core_scsi3_alloc_aptpl_registration | ( | struct t10_reservation * | , |
u64 | , | ||
unsigned char * | , | ||
unsigned char * | , | ||
u32 | , | ||
unsigned char * | , | ||
u16 | , | ||
u32 | , | ||
int | , | ||
int | , | ||
u8 | |||
) |
Definition at line 821 of file target_core_pr.c.
int core_scsi3_check_aptpl_registration | ( | struct se_device * | , |
struct se_portal_group * | , | ||
struct se_lun * | , | ||
struct se_lun_acl * | |||
) |
Definition at line 993 of file target_core_pr.c.
Definition at line 1365 of file target_core_pr.c.
void core_scsi3_free_pr_reg_from_nacl | ( | struct se_device * | , |
struct se_node_acl * | |||
) |
Definition at line 1334 of file target_core_pr.c.
Definition at line 2405 of file target_core_pr.c.
Definition at line 4366 of file target_core_pr.c.
Definition at line 196 of file target_core_pr.c.
Definition at line 245 of file target_core_pr.c.
Definition at line 4306 of file target_core_pr.c.
Definition at line 3808 of file target_core_pr.c.
struct kmem_cache* t10_pr_reg_cache |
Definition at line 61 of file target_core_transport.c.