Lines Matching refs:tpg_np
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()
240 return ERR_CAST(tpg_np); in lio_target_call_addnptotpg()
245 return &tpg_np->se_tpg_np; in lio_target_call_addnptotpg()
252 struct iscsi_tpg_np *tpg_np; in lio_target_call_delnpfromtpg() local
256 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); in lio_target_call_delnpfromtpg()
257 tpg = tpg_np->tpg; in lio_target_call_delnpfromtpg()
265 tpg->tpgt, &tpg_np->tpg_np->np_sockaddr); in lio_target_call_delnpfromtpg()
267 ret = iscsit_tpg_del_network_portal(tpg, tpg_np); in lio_target_call_delnpfromtpg()