Searched refs:tfo (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/target/ |
D | target_core_configfs.c | 338 static int target_fabric_tf_ops_check(const struct target_core_fabric_ops *tfo) in target_fabric_tf_ops_check() argument 340 if (tfo->fabric_alias) { in target_fabric_tf_ops_check() 341 if (strlen(tfo->fabric_alias) >= TARGET_FABRIC_NAME_SIZE) { in target_fabric_tf_ops_check() 343 "TARGET_FABRIC_NAME_SIZE\n", tfo->fabric_alias); in target_fabric_tf_ops_check() 347 if (!tfo->fabric_name) { in target_fabric_tf_ops_check() 351 if (strlen(tfo->fabric_name) >= TARGET_FABRIC_NAME_SIZE) { in target_fabric_tf_ops_check() 353 "TARGET_FABRIC_NAME_SIZE\n", tfo->fabric_name); in target_fabric_tf_ops_check() 356 if (!tfo->tpg_get_wwn) { in target_fabric_tf_ops_check() 360 if (!tfo->tpg_get_tag) { in target_fabric_tf_ops_check() 364 if (!tfo->tpg_check_demo_mode) { in target_fabric_tf_ops_check() [all …]
|
D | target_core_pr.c | 704 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration() local 755 if (tfo != nacl_tmp->se_tpg->se_tpg_tfo) in __core_scsi3_alloc_registration() 1018 const struct target_core_fabric_ops *tfo, in __core_scsi3_dump_registration() argument 1031 " Node: %s%s\n", tfo->fabric_name, (register_type == REGISTER_AND_MOVE) ? in __core_scsi3_dump_registration() 1036 tfo->fabric_name, tfo->tpg_get_wwn(se_tpg), in __core_scsi3_dump_registration() 1037 tfo->tpg_get_tag(se_tpg)); in __core_scsi3_dump_registration() 1039 " Port(s)\n", tfo->fabric_name, in __core_scsi3_dump_registration() 1043 " 0x%08x APTPL: %d\n", tfo->fabric_name, in __core_scsi3_dump_registration() 1055 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_add_registration() local 1076 __core_scsi3_dump_registration(tfo, dev, nacl, pr_reg, register_type); in __core_scsi3_add_registration() [all …]
|
D | target_core_tpg.c | 513 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in core_tpg_deregister() local 518 "Proto: %d, Portal Tag: %u\n", tfo->fabric_name, in core_tpg_deregister() 519 tfo->tpg_get_wwn(se_tpg) ? tfo->tpg_get_wwn(se_tpg) : NULL, in core_tpg_deregister() 520 se_tpg->proto_id, tfo->tpg_get_tag(se_tpg)); in core_tpg_deregister()
|
D | target_core_transport.c | 345 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in __transport_register_session() local 370 else if (tfo->tpg_check_prot_fabric_only) in __transport_register_session() 372 tfo->tpg_check_prot_fabric_only(se_tpg); in __transport_register_session() 1316 const struct target_core_fabric_ops *tfo, in transport_init_se_cmd() argument 1334 cmd->se_tfo = tfo; in transport_init_se_cmd()
|