Lines Matching defs:orig
324 struct se_dev_entry *orig, *new;
345 orig = target_nacl_find_deve(nacl, mapped_lun);
346 if (orig && orig->se_lun) {
347 struct se_lun *orig_lun = orig->se_lun;
350 pr_err("Existing orig->se_lun doesn't match new lun"
357 if (orig->se_lun_acl != NULL) {
369 hlist_del_rcu(&orig->link);
374 list_del(&orig->lun_link);
378 kref_put(&orig->pr_kref, target_pr_kref_release);
379 wait_for_completion(&orig->pr_comp);
382 kfree_rcu(orig, rcu_head);
401 struct se_dev_entry *orig,
427 list_del(&orig->lun_link);
432 core_scsi3_ua_release_all(orig);
434 hlist_del_rcu(&orig->link);
435 clear_bit(DEF_PR_REG_ACTIVE, &orig->deve_flags);
436 orig->lun_access_ro = false;
437 orig->creation_time = 0;
438 orig->attach_count--;
443 kref_put(&orig->pr_kref, target_pr_kref_release);
444 wait_for_completion(&orig->pr_comp);
446 kfree_rcu(orig, rcu_head);