Home
last modified time | relevance | path

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

/linux/drivers/target/iscsi/
H A 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 …]
H A 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
235 tpg_np = iscsit_tpg_add_network_portal(tpg, &sockaddr, NULL, in lio_target_call_addnptotpg()
237 if (IS_ERR(tpg_np)) { in lio_target_call_addnptotpg()
[all …]
H A Discsi_target_nego.c545 struct iscsi_tpg_np *tpg_np = conn->tpg_np; in iscsi_target_do_login_rx() local
644 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx()
653 iscsit_deaccess_np(np, tpg, tpg_np); in iscsi_target_do_login_rx()
1115 struct iscsi_tpg_np *tpg_np = NULL; in iscsi_target_locate_portal() local
1249 conn->tpg = iscsit_get_tpg_from_np(tiqn, np, &tpg_np); in iscsi_target_locate_portal()
1259 conn->tpg_np = tpg_np; in iscsi_target_locate_portal()
1266 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal()
1277 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsi_target_locate_portal()
H A Discsi_target_login.c1205 struct iscsi_tpg_np *tpg_np; in __iscsi_target_login_thread() local
1371 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1374 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread()
1378 tpg_np = NULL; in __iscsi_target_login_thread()
1386 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1391 iscsit_deaccess_np(np, tpg, tpg_np); in __iscsi_target_login_thread()
1393 tpg_np = NULL; in __iscsi_target_login_thread()
H A Discsi_target.c243 struct iscsi_tpg_np *tpg_np = container_of(kref, in iscsit_login_kref_put() local
246 complete(&tpg_np->tpg_np_comp); in iscsit_login_kref_put()
250 struct iscsi_tpg_np *tpg_np) in iscsit_deaccess_np() argument
256 if (tpg_np) in iscsit_deaccess_np()
257 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsit_deaccess_np()
403 struct iscsi_tpg_np *tpg_np, in iscsit_reset_np_thread() argument
423 if (tpg_np && shutdown) { in iscsit_reset_np_thread()
424 kref_put(&tpg_np->tpg_np_kref, iscsit_login_kref_put); in iscsit_reset_np_thread()
426 wait_for_completion(&tpg_np->tpg_np_comp); in iscsit_reset_np_thread()
3379 struct iscsi_tpg_np *tpg_np; in iscsit_build_sendtargets_response() local
[all …]
/linux/include/target/iscsi/
H A Discsi_target_core.h600 struct iscsi_tpg_np *tpg_np; member
807 struct iscsi_np *tpg_np; member
/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c507 TF_CIT_SETUP(tpg_np, NULL, &target_fabric_np_group_ops, NULL);