Searched refs:t10_pr (Results 1 – 4 of 4) sorted by relevance
124 struct t10_reservation *pr_tmpl = &dev->t10_pr; in target_check_scsi2_reservation_conflict()609 prg = dev->t10_pr.pr_generation++; in core_scsi3_pr_generation()927 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_check_aptpl_registration()1052 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_add_registration()1065 dev->t10_pr.pr_generation++ : in __core_scsi3_add_registration()1155 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_locate_pr_reg()1279 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_free_registration()1346 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_pr_reg_from_nacl()1382 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_all_registrations()1868 spin_lock(&dev->t10_pr.registration_lock); in core_scsi3_update_aptpl_buf()[all …]
729 INIT_LIST_HEAD(&dev->t10_pr.registration_list); in target_alloc_device()730 INIT_LIST_HEAD(&dev->t10_pr.aptpl_reg_list); in target_alloc_device()731 spin_lock_init(&dev->t10_pr.registration_lock); in target_alloc_device()732 spin_lock_init(&dev->t10_pr.aptpl_reg_lock); in target_alloc_device()
1857 return sprintf(page, "0x%08x\n", pr_to_dev(item)->t10_pr.pr_generation); in target_pr_res_pr_generation_show()1910 spin_lock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()1911 list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, in target_pr_res_pr_registered_i_pts_show()1930 spin_unlock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()1981 (dev->t10_pr.pr_aptpl_active) ? "Activated" : "Disabled"); in target_pr_res_aptpl_active_show()2193 ret = core_scsi3_alloc_aptpl_registration(&dev->t10_pr, sa_res_key, in target_pr_res_aptpl_metadata_store()
851 struct t10_reservation t10_pr; member