Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/
Dtarget_core_configfs.c289 static int target_fabric_tf_ops_check(const struct target_core_fabric_ops *tfo) in target_fabric_tf_ops_check() argument
291 if (!tfo->name) { in target_fabric_tf_ops_check()
295 if (strlen(tfo->name) >= TARGET_FABRIC_NAME_SIZE) { in target_fabric_tf_ops_check()
297 "_NAME_SIZE\n", tfo->name); in target_fabric_tf_ops_check()
300 if (!tfo->get_fabric_name) { in target_fabric_tf_ops_check()
304 if (!tfo->tpg_get_wwn) { in target_fabric_tf_ops_check()
308 if (!tfo->tpg_get_tag) { in target_fabric_tf_ops_check()
312 if (!tfo->tpg_check_demo_mode) { in target_fabric_tf_ops_check()
316 if (!tfo->tpg_check_demo_mode_cache) { in target_fabric_tf_ops_check()
320 if (!tfo->tpg_check_demo_mode_write_protect) { in target_fabric_tf_ops_check()
[all …]
Dtarget_core_pr.c707 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration() local
758 if (tfo != nacl_tmp->se_tpg->se_tpg_tfo) in __core_scsi3_alloc_registration()
1021 const struct target_core_fabric_ops *tfo, in __core_scsi3_dump_registration() argument
1034 " Node: %s%s\n", tfo->get_fabric_name(), (register_type == REGISTER_AND_MOVE) ? in __core_scsi3_dump_registration()
1039 tfo->get_fabric_name(), tfo->tpg_get_wwn(se_tpg), in __core_scsi3_dump_registration()
1040 tfo->tpg_get_tag(se_tpg)); in __core_scsi3_dump_registration()
1042 " Port(s)\n", tfo->get_fabric_name(), in __core_scsi3_dump_registration()
1046 " 0x%08x APTPL: %d\n", tfo->get_fabric_name(), in __core_scsi3_dump_registration()
1058 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_add_registration() local
1079 __core_scsi3_dump_registration(tfo, dev, nacl, pr_reg, register_type); in __core_scsi3_add_registration()
[all …]
Dtarget_core_tpg.c572 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in core_tpg_deregister() local
577 "Proto: %d, Portal Tag: %u\n", tfo->get_fabric_name(), in core_tpg_deregister()
578 tfo->tpg_get_wwn(se_tpg) ? tfo->tpg_get_wwn(se_tpg) : NULL, in core_tpg_deregister()
579 se_tpg->proto_id, tfo->tpg_get_tag(se_tpg)); in core_tpg_deregister()
Dtarget_core_transport.c307 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in __transport_register_session() local
331 else if (tfo->tpg_check_prot_fabric_only) in __transport_register_session()
333 tfo->tpg_check_prot_fabric_only(se_tpg); in __transport_register_session()
1183 const struct target_core_fabric_ops *tfo, in transport_init_se_cmd() argument
1201 cmd->se_tfo = tfo; in transport_init_se_cmd()