Searched refs:tpg_np (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 129 struct iscsi_tpg_np *tpg_np; in iscsit_get_tpg_from_np() local 142 list_for_each_entry(tpg_np, &tpg->tpg_gnp_list, tpg_np_list) { in iscsit_get_tpg_from_np() 143 if (tpg_np->tpg_np == np) { in iscsit_get_tpg_from_np() 144 *tpg_np_out = tpg_np; in iscsit_get_tpg_from_np() 145 kref_get(&tpg_np->tpg_np_kref); in iscsit_get_tpg_from_np() 170 struct iscsi_tpg_np *tpg_np, in iscsit_clear_tpg_np_login_thread() argument 174 if (!tpg_np->tpg_np) { in iscsit_clear_tpg_np_login_thread() 180 tpg_np->tpg_np->enabled = false; in iscsit_clear_tpg_np_login_thread() 181 iscsit_reset_np_thread(tpg_np->tpg_np, tpg_np, tpg, shutdown); in iscsit_clear_tpg_np_login_thread() 188 struct iscsi_tpg_np *tpg_np; in iscsit_clear_tpg_np_login_threads() local [all …]
|
D | iscsi_target_configfs.c | 42 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_driver_show() local 46 tpg_np_new = iscsit_tpg_locate_child_np(tpg_np, type); in lio_target_np_driver_show() 59 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_driver_store() local 73 np = tpg_np->tpg_np; in lio_target_np_driver_store() 80 tpg = tpg_np->tpg; in lio_target_np_driver_store() 95 &np->np_sockaddr, tpg_np, type); in lio_target_np_driver_store() 101 tpg_np_new = iscsit_tpg_locate_child_np(tpg_np, type); in lio_target_np_driver_store() 160 struct iscsi_tpg_np *tpg_np; in lio_target_call_addnptotpg() local 236 tpg_np = iscsit_tpg_add_network_portal(tpg, &sockaddr, NULL, in lio_target_call_addnptotpg() 238 if (IS_ERR(tpg_np)) { in lio_target_call_addnptotpg() [all …]
|
D | iscsi_target_nego.c | 572 struct iscsi_tpg_np *tpg_np = conn->tpg_np; in iscsi_target_do_login_rx() local 637 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx() 644 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx() 1047 struct iscsi_tpg_np *tpg_np = NULL; in iscsi_target_locate_portal() local 1181 conn->tpg = iscsit_get_tpg_from_np(tiqn, np, &tpg_np); in iscsi_target_locate_portal() 1191 conn->tpg_np = tpg_np; in iscsi_target_locate_portal() 1198 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal() 1209 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal()
|
D | iscsi_target_login.c | 1250 struct iscsi_tpg_np *tpg_np; in __iscsi_target_login_thread() local 1418 tpg_np = conn->tpg_np; in __iscsi_target_login_thread() 1421 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread() 1425 tpg_np = NULL; in __iscsi_target_login_thread() 1432 tpg_np = conn->tpg_np; in __iscsi_target_login_thread() 1437 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread() 1439 tpg_np = NULL; in __iscsi_target_login_thread()
|
D | iscsi_target.c | 242 struct iscsi_tpg_np *tpg_np = container_of(kref, in iscsit_login_kref_put() local 245 complete(&tpg_np->tpg_np_comp); in iscsit_login_kref_put() 249 struct iscsi_tpg_np *tpg_np) in iscsit_deaccess_np() argument 255 if (tpg_np) in iscsit_deaccess_np() 256 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsit_deaccess_np() 404 struct iscsi_tpg_np *tpg_np, in iscsit_reset_np_thread() argument 424 if (tpg_np && shutdown) { in iscsit_reset_np_thread() 425 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsit_reset_np_thread() 427 wait_for_completion(&tpg_np->tpg_np_comp); in iscsit_reset_np_thread() 3332 struct iscsi_tpg_np *tpg_np; in iscsit_build_sendtargets_response() local [all …]
|
/Linux-v5.4/include/target/iscsi/ |
D | iscsi_target_core.h | 607 struct iscsi_tpg_np *tpg_np; member 809 struct iscsi_np *tpg_np; member
|
/Linux-v5.4/drivers/target/ |
D | target_core_fabric_configfs.c | 506 TF_CIT_SETUP(tpg_np, NULL, &target_fabric_np_group_ops, NULL);
|