Home
last modified time | relevance | path

Searched refs:tpg_np (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/target/iscsi/
Discsi_target_tpg.c129 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 …]
Discsi_target_configfs.c42 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 …]
Discsi_target_nego.c571 struct iscsi_tpg_np *tpg_np = conn->tpg_np; in iscsi_target_do_login_rx() local
660 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx()
668 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx()
1072 struct iscsi_tpg_np *tpg_np = NULL; in iscsi_target_locate_portal() local
1206 conn->tpg = iscsit_get_tpg_from_np(tiqn, np, &tpg_np); in iscsi_target_locate_portal()
1216 conn->tpg_np = tpg_np; in iscsi_target_locate_portal()
1223 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal()
1234 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal()
Discsi_target_login.c1227 struct iscsi_tpg_np *tpg_np; in __iscsi_target_login_thread() local
1395 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1398 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread()
1402 tpg_np = NULL; in __iscsi_target_login_thread()
1410 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1415 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread()
1417 tpg_np = NULL; in __iscsi_target_login_thread()
Discsi_target.c242 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()
3345 struct iscsi_tpg_np *tpg_np; in iscsit_build_sendtargets_response() local
[all …]
/Linux-v5.10/include/target/iscsi/
Discsi_target_core.h598 struct iscsi_tpg_np *tpg_np; member
800 struct iscsi_np *tpg_np; member
/Linux-v5.10/drivers/target/
Dtarget_core_fabric_configfs.c506 TF_CIT_SETUP(tpg_np, NULL, &target_fabric_np_group_ops, NULL);