Home
last modified time | relevance | path

Searched refs:se_tpg_np (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c449 struct se_tpg_np *se_tpg_np = container_of(to_config_group(item), in target_fabric_np_base_release() local
450 struct se_tpg_np, tpg_np_group); in target_fabric_np_base_release()
451 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release()
454 tf->tf_ops->fabric_drop_np(se_tpg_np); in target_fabric_np_base_release()
474 struct se_tpg_np *se_tpg_np; in target_fabric_make_np() local
481 se_tpg_np = tf->tf_ops->fabric_make_np(se_tpg, group, name); in target_fabric_make_np()
482 if (!se_tpg_np || IS_ERR(se_tpg_np)) in target_fabric_make_np()
485 se_tpg_np->tpg_np_parent = se_tpg; in target_fabric_make_np()
486 config_group_init_type_name(&se_tpg_np->tpg_np_group, name, in target_fabric_make_np()
489 return &se_tpg_np->tpg_np_group; in target_fabric_make_np()
/openbmc/linux/include/target/
H A Dtarget_core_fabric.h98 struct se_tpg_np *(*fabric_make_np)(struct se_portal_group *,
100 void (*fabric_drop_np)(struct se_tpg_np *);
H A Dtarget_core_base.h907 struct se_tpg_np { struct
912 static inline struct se_tpg_np *to_tpg_np(struct config_item *item) in to_tpg_np() argument
914 return container_of(to_config_group(item), struct se_tpg_np, in to_tpg_np()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_configfs.c36 return container_of(to_tpg_np(item), struct iscsi_tpg_np, se_tpg_np); in to_iscsi_tpg_np()
154 static struct se_tpg_np *lio_target_call_addnptotpg( in lio_target_call_addnptotpg()
244 return &tpg_np->se_tpg_np; in lio_target_call_addnptotpg()
248 struct se_tpg_np *se_tpg_np) in lio_target_call_delnpfromtpg() argument
255 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); in lio_target_call_delnpfromtpg()
/openbmc/linux/include/target/iscsi/
H A Discsi_target_core.h813 struct se_tpg_np se_tpg_np; member