pr_tmpl 124 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 175 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 176 drivers/target/target_core_pr.c conflict = (list_empty(&pr_tmpl->registration_list)) ? 0 : 1; pr_tmpl 177 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 823 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl, pr_tmpl 886 drivers/target/target_core_pr.c list_add_tail(&pr_reg->pr_reg_aptpl_list, &pr_tmpl->aptpl_reg_list); pr_tmpl 929 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 949 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 950 drivers/target/target_core_pr.c list_for_each_entry_safe(pr_reg, pr_reg_tmp, &pr_tmpl->aptpl_reg_list, pr_tmpl 976 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 993 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 994 drivers/target/target_core_pr.c pr_tmpl->pr_aptpl_active = 1; pr_tmpl 997 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 1057 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 1073 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1074 drivers/target/target_core_pr.c list_add_tail(&pr_reg->pr_reg_list, &pr_tmpl->registration_list); pr_tmpl 1077 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1095 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1097 drivers/target/target_core_pr.c &pr_tmpl->registration_list); pr_tmpl 1101 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1160 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 1164 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1166 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 1189 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1203 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1206 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1290 drivers/target/target_core_pr.c __releases(&pr_tmpl->registration_lock) pr_tmpl 1291 drivers/target/target_core_pr.c __acquires(&pr_tmpl->registration_lock) pr_tmpl 1295 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 1300 drivers/target/target_core_pr.c lockdep_assert_held(&pr_tmpl->registration_lock); pr_tmpl 1314 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1333 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1363 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 1381 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1386 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 1393 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1399 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 1411 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 1413 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 1417 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 1419 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 1420 drivers/target/target_core_pr.c list_for_each_entry_safe(pr_reg, pr_reg_tmp, &pr_tmpl->aptpl_reg_list, pr_tmpl 1425 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->aptpl_reg_lock); pr_tmpl 2053 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 2179 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 2186 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_tmpl 2225 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_tmpl 2236 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 2276 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 2416 drivers/target/target_core_pr.c if (pr_tmpl->pr_aptpl_active) pr_tmpl 2520 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 2644 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 2645 drivers/target/target_core_pr.c list_for_each_entry(pr_reg_p, &pr_tmpl->registration_list, pr_tmpl 2658 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 2661 drivers/target/target_core_pr.c if (pr_tmpl->pr_aptpl_active) pr_tmpl 2675 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 2722 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 2724 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 2742 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 2831 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 2886 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 2888 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 2951 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 2980 drivers/target/target_core_pr.c if (pr_tmpl->pr_aptpl_active) pr_tmpl 3031 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 3033 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 3056 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 3078 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 3080 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 3090 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 3109 drivers/target/target_core_pr.c if (pr_tmpl->pr_aptpl_active) pr_tmpl 3150 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 3488 drivers/target/target_core_pr.c dest_pr_reg->pr_res_generation = pr_tmpl->pr_generation++; pr_tmpl 3514 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 3516 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 3823 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 3854 drivers/target/target_core_pr.c if (pr_tmpl->pr_aptpl_active) pr_tmpl 3883 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; pr_tmpl 3916 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 3918 drivers/target/target_core_pr.c &pr_tmpl->registration_list, pr_reg_list) { pr_tmpl 3925 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock); pr_tmpl 3936 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 3999 drivers/target/target_core_pr.c spin_lock(&pr_tmpl->registration_lock); pr_tmpl 4021 drivers/target/target_core_pr.c spin_unlock(&pr_tmpl->registration_lock);