Home
last modified time | relevance | path

Searched refs:pr_tmpl (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/target/
Dtarget_core_pr.c125 struct t10_reservation *pr_tmpl = &su_dev->t10_pr; in target_check_scsi2_reservation_conflict() local
180 spin_lock(&pr_tmpl->registration_lock); in target_check_scsi2_reservation_conflict()
181 conflict = (list_empty(&pr_tmpl->registration_list)) ? 0 : 1; in target_check_scsi2_reservation_conflict()
182 spin_unlock(&pr_tmpl->registration_lock); in target_check_scsi2_reservation_conflict()
827 struct t10_reservation *pr_tmpl, in core_scsi3_alloc_aptpl_registration() argument
851 pr_reg->pr_aptpl_buf = kzalloc(pr_tmpl->pr_aptpl_buf_len, GFP_KERNEL); in core_scsi3_alloc_aptpl_registration()
892 list_add_tail(&pr_reg->pr_reg_aptpl_list, &pr_tmpl->aptpl_reg_list); in core_scsi3_alloc_aptpl_registration()
937 struct t10_reservation *pr_tmpl = &dev->se_sub_dev->t10_pr; in __core_scsi3_check_aptpl_registration() local
957 spin_lock(&pr_tmpl->aptpl_reg_lock); in __core_scsi3_check_aptpl_registration()
958 list_for_each_entry_safe(pr_reg, pr_reg_tmp, &pr_tmpl->aptpl_reg_list, in __core_scsi3_check_aptpl_registration()
[all …]