Searched refs:t10_pr (Results 1 – 4 of 4) sorted by relevance
135 struct t10_reservation *pr_tmpl = &dev->t10_pr; in target_check_scsi2_reservation_conflict()617 prg = dev->t10_pr.pr_generation++; in core_scsi3_pr_generation()906 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_check_aptpl_registration()1028 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_add_registration()1040 dev->t10_pr.pr_generation++ : in __core_scsi3_add_registration()1109 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_locate_pr_reg()1247 struct t10_reservation *pr_tmpl = &dev->t10_pr; in __core_scsi3_free_registration()1306 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_pr_reg_from_nacl()1342 struct t10_reservation *pr_tmpl = &dev->t10_pr; in core_scsi3_free_all_registrations()1833 spin_lock(&dev->t10_pr.registration_lock); in core_scsi3_update_aptpl_buf()[all …]
1502 INIT_LIST_HEAD(&dev->t10_pr.registration_list); in target_alloc_device()1503 INIT_LIST_HEAD(&dev->t10_pr.aptpl_reg_list); in target_alloc_device()1504 spin_lock_init(&dev->t10_pr.registration_lock); in target_alloc_device()1505 spin_lock_init(&dev->t10_pr.aptpl_reg_lock); in target_alloc_device()
853 return sprintf(page, "0x%08x\n", dev->t10_pr.pr_generation); in target_core_dev_pr_show_attr_res_pr_generation()911 spin_lock(&dev->t10_pr.registration_lock); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()912 list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, in target_core_dev_pr_show_attr_res_pr_registered_i_pts()931 spin_unlock(&dev->t10_pr.registration_lock); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()982 (dev->t10_pr.pr_aptpl_active) ? "Activated" : "Disabled"); in target_core_dev_pr_show_attr_res_aptpl_active()1182 ret = core_scsi3_alloc_aptpl_registration(&dev->t10_pr, sa_res_key, in target_core_dev_pr_store_attr_res_aptpl_metadata()
808 struct t10_reservation t10_pr; member