Home
last modified time | relevance | path

Searched refs:tfo (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/target/
Dtarget_core_configfs.c338 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 …]
Dtarget_core_pr.c705 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()
1014 const struct target_core_fabric_ops *tfo, in __core_scsi3_dump_registration() argument
1026 " Node: %s%s\n", tfo->fabric_name, (register_type == REGISTER_AND_MOVE) ? in __core_scsi3_dump_registration()
1031 tfo->fabric_name, tfo->tpg_get_wwn(se_tpg), in __core_scsi3_dump_registration()
1032 tfo->tpg_get_tag(se_tpg)); in __core_scsi3_dump_registration()
1034 " Port(s)\n", tfo->fabric_name, in __core_scsi3_dump_registration()
1038 " 0x%08x APTPL: %d\n", tfo->fabric_name, in __core_scsi3_dump_registration()
1050 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_add_registration() local
1071 __core_scsi3_dump_registration(tfo, dev, nacl, pr_reg, register_type); in __core_scsi3_add_registration()
[all …]
Dtarget_core_tpg.c505 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in core_tpg_deregister() local
510 "Proto: %d, Portal Tag: %u\n", tfo->fabric_name, in core_tpg_deregister()
511 tfo->tpg_get_wwn(se_tpg) ? tfo->tpg_get_wwn(se_tpg) : NULL, in core_tpg_deregister()
512 se_tpg->proto_id, tfo->tpg_get_tag(se_tpg)); in core_tpg_deregister()
Dtarget_core_transport.c368 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in __transport_register_session() local
393 else if (tfo->tpg_check_prot_fabric_only) in __transport_register_session()
395 tfo->tpg_check_prot_fabric_only(se_tpg); in __transport_register_session()
1417 const struct target_core_fabric_ops *tfo, in __target_init_cmd() argument
1435 cmd->se_tfo = tfo; in __target_init_cmd()