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()608 prg = dev->t10_pr.pr_generation++; in core_scsi3_pr_generation()929 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_check_aptpl_registration()1057 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_add_registration()1070 dev->t10_pr.pr_generation++ : in __core_scsi3_add_registration()1160 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_locate_pr_reg()1284 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_free_registration()1352 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_pr_reg_from_nacl()1388 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_all_registrations()1885 spin_lock(&dev->t10_pr.registration_lock); in core_scsi3_update_aptpl_buf()[all …]
752 INIT_LIST_HEAD(&dev->t10_pr.registration_list); in target_alloc_device()753 INIT_LIST_HEAD(&dev->t10_pr.aptpl_reg_list); in target_alloc_device()754 spin_lock_init(&dev->t10_pr.registration_lock); in target_alloc_device()755 spin_lock_init(&dev->t10_pr.aptpl_reg_lock); in target_alloc_device()
1753 return sprintf(page, "0x%08x\n", pr_to_dev(item)->t10_pr.pr_generation); in target_pr_res_pr_generation_show()1806 spin_lock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()1807 list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, in target_pr_res_pr_registered_i_pts_show()1826 spin_unlock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()1877 (dev->t10_pr.pr_aptpl_active) ? "Activated" : "Disabled"); in target_pr_res_aptpl_active_show()2089 ret = core_scsi3_alloc_aptpl_registration(&dev->t10_pr, sa_res_key, in target_pr_res_aptpl_metadata_store()
826 struct t10_reservation t10_pr; member