Searched refs:reap_ref (Results 1 – 3 of 3) sorted by relevance
449 * @kref: the reap_ref in the target being released451 * Called on last put of reap_ref, which is the indication that no device459 = container_of(kref, struct scsi_target, reap_ref); in scsi_target_reap_ref_release() 476 kref_put(&starget->reap_ref, scsi_target_reap_ref_release); in scsi_target_reap_ref_put() 510 kref_init(&starget->reap_ref); in scsi_alloc_target() 557 ref_got = kref_get_unless_zero(&found_target->reap_ref); in scsi_alloc_target() 568 * reap_ref above. However, since the target being released, it's in scsi_alloc_target() 569 * already invisible and the reap_ref is irrelevant. If we call in scsi_alloc_target() 594 * the reap_ref drops to zero, so we're trying to do another final put in scsi_target_reap()
1587 kref_get(&starget->reap_ref); in scsi_remove_target()1678 kref_get(&starget->reap_ref); in scsi_sysfs_device_initialize()
339 struct kref reap_ref; /* last put renders target invisible */ member