t10_pr 1679 drivers/target/target_core_configfs.c return sprintf(page, "0x%08x\n", pr_to_dev(item)->t10_pr.pr_generation); t10_pr 1732 drivers/target/target_core_configfs.c spin_lock(&dev->t10_pr.registration_lock); t10_pr 1733 drivers/target/target_core_configfs.c list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, t10_pr 1752 drivers/target/target_core_configfs.c spin_unlock(&dev->t10_pr.registration_lock); t10_pr 1803 drivers/target/target_core_configfs.c (dev->t10_pr.pr_aptpl_active) ? "Activated" : "Disabled"); t10_pr 2015 drivers/target/target_core_configfs.c ret = core_scsi3_alloc_aptpl_registration(&dev->t10_pr, sa_res_key, t10_pr 752 drivers/target/target_core_device.c INIT_LIST_HEAD(&dev->t10_pr.registration_list); t10_pr 753 drivers/target/target_core_device.c INIT_LIST_HEAD(&dev->t10_pr.aptpl_reg_list); t10_pr 754 drivers/target/target_core_device.c spin_lock_init(&dev->t10_pr.registration_lock); t10_pr 755 drivers/target/target_core_device.c spin_lock_init(&dev->t10_pr.aptpl_reg_lock); t10_pr 124 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 608 drivers/target/target_core_pr.c prg = dev->t10_pr.pr_generation++; t10_pr 929 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1057 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1070 drivers/target/target_core_pr.c dev->t10_pr.pr_generation++ : t10_pr 1160 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1295 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1363 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1399 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 1878 drivers/target/target_core_pr.c spin_lock(&dev->t10_pr.registration_lock); t10_pr 1882 drivers/target/target_core_pr.c list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, t10_pr 1956 drivers/target/target_core_pr.c spin_unlock(&dev->t10_pr.registration_lock); t10_pr 2012 drivers/target/target_core_pr.c dev->t10_pr.pr_aptpl_active = 0; t10_pr 2038 drivers/target/target_core_pr.c dev->t10_pr.pr_aptpl_active = 1; t10_pr 2053 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 2276 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 2476 drivers/target/target_core_pr.c spin_lock(&dev->t10_pr.registration_lock); t10_pr 2484 drivers/target/target_core_pr.c if (!list_empty(&dev->t10_pr.registration_list) && t10_pr 2488 drivers/target/target_core_pr.c list_entry(dev->t10_pr.registration_list.next, t10_pr 2494 drivers/target/target_core_pr.c spin_unlock(&dev->t10_pr.registration_lock); t10_pr 2520 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 2675 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 2831 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 3150 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 3710 drivers/target/target_core_pr.c put_unaligned_be32(dev->t10_pr.pr_generation, buf); t10_pr 3712 drivers/target/target_core_pr.c spin_lock(&dev->t10_pr.registration_lock); t10_pr 3713 drivers/target/target_core_pr.c list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, t10_pr 3731 drivers/target/target_core_pr.c spin_unlock(&dev->t10_pr.registration_lock); t10_pr 3764 drivers/target/target_core_pr.c put_unaligned_be32(dev->t10_pr.pr_generation, &buf[0]); t10_pr 3823 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 3883 drivers/target/target_core_pr.c struct t10_reservation *pr_tmpl = &dev->t10_pr; t10_pr 3901 drivers/target/target_core_pr.c put_unaligned_be32(dev->t10_pr.pr_generation, &buf[0]); t10_pr 817 include/target/target_core_base.h struct t10_reservation t10_pr;