/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_configfs.c | 362 static int target_fabric_tf_ops_check(const struct target_core_fabric_ops *tfo) in target_fabric_tf_ops_check() argument 364 if (tfo->fabric_alias) { in target_fabric_tf_ops_check() 365 if (strlen(tfo->fabric_alias) >= TARGET_FABRIC_NAME_SIZE) { in target_fabric_tf_ops_check() 367 "TARGET_FABRIC_NAME_SIZE\n", tfo->fabric_alias); in target_fabric_tf_ops_check() 371 if (!tfo->fabric_name) { in target_fabric_tf_ops_check() 372 pr_err("Missing tfo->fabric_name\n"); in target_fabric_tf_ops_check() 375 if (strlen(tfo->fabric_name) >= TARGET_FABRIC_NAME_SIZE) { in target_fabric_tf_ops_check() 377 "TARGET_FABRIC_NAME_SIZE\n", tfo->fabric_name); in target_fabric_tf_ops_check() 380 if (!tfo->tpg_get_wwn) { in target_fabric_tf_ops_check() 381 pr_err("Missing tfo in target_fabric_tf_ops_check() 441 target_set_default_ops(struct target_core_fabric_ops *tfo) target_set_default_ops() argument 470 struct target_core_fabric_ops *tfo; target_register_template() local 1868 const struct target_core_fabric_ops *tfo; target_pr_res_pr_holder_tg_port_show() local 1901 const struct target_core_fabric_ops *tfo; target_pr_res_pr_registered_i_pts_show() local [all...] |
H A D | target_core_pr.c | 705 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() 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 in __core_scsi3_add_registration() local 1013 __core_scsi3_dump_registration( const struct target_core_fabric_ops *tfo, struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type) __core_scsi3_dump_registration() argument 1277 const struct target_core_fabric_ops *tfo = global() variable 2439 const struct target_core_fabric_ops *tfo = se_nacl->se_tpg->se_tpg_tfo; __core_scsi3_complete_pro_release() local 2749 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; __core_scsi3_complete_pro_preempt() local [all...] |
H A D | target_core_tpg.c | 568 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in core_tpg_deregister() local 573 "Proto: %d, Portal Tag: %u\n", tfo->fabric_name, in core_tpg_deregister() 574 tfo->tpg_get_wwn(se_tpg) ? tfo->tpg_get_wwn(se_tpg) : NULL, in core_tpg_deregister() 575 se_tpg->proto_id, tfo->tpg_get_tag(se_tpg)); in core_tpg_deregister()
|
H A D | target_core_transport.c | 386 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in __transport_register_session() local 411 else if (tfo->tpg_check_prot_fabric_only) in __transport_register_session() 413 tfo->tpg_check_prot_fabric_only(se_tpg); in __transport_register_session() 1449 const struct target_core_fabric_ops *tfo, in __target_init_cmd() 1466 cmd->se_tfo = tfo; in __target_init_cmd() 1448 __target_init_cmd(struct se_cmd *cmd, const struct target_core_fabric_ops *tfo, struct se_session *se_sess, u32 data_length, int data_direction, int task_attr, unsigned char *sense_buffer, u64 unpacked_lun, struct target_cmd_counter *cmd_cnt) __target_init_cmd() argument
|
/kernel/linux/linux-5.10/drivers/target/ |
H A 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() 348 pr_err("Missing tfo->fabric_name\n"); 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() 357 pr_err("Missing tfo in target_fabric_tf_ops_check() 1764 const struct target_core_fabric_ops *tfo; target_pr_res_pr_holder_tg_port_show() local 1797 const struct target_core_fabric_ops *tfo; target_pr_res_pr_registered_i_pts_show() local [all...] |
H A 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() 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 in __core_scsi3_add_registration() local 1017 __core_scsi3_dump_registration( const struct target_core_fabric_ops *tfo, struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type) __core_scsi3_dump_registration() argument 1282 const struct target_core_fabric_ops *tfo = global() variable 2458 const struct target_core_fabric_ops *tfo = se_nacl->se_tpg->se_tpg_tfo; __core_scsi3_complete_pro_release() local 2769 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; __core_scsi3_complete_pro_preempt() local [all...] |
H A D | target_core_tpg.c | 505 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()
|
H A D | target_core_transport.c | 350 const struct target_core_fabric_ops *tfo = se_tpg->se_tpg_tfo; in __transport_register_session() local 375 else if (tfo->tpg_check_prot_fabric_only) in __transport_register_session() 377 tfo->tpg_check_prot_fabric_only(se_tpg); in __transport_register_session() 1372 const struct target_core_fabric_ops *tfo, in transport_init_se_cmd() 1390 cmd->se_tfo = tfo; in transport_init_se_cmd() 1370 transport_init_se_cmd( struct se_cmd *cmd, const struct target_core_fabric_ops *tfo, struct se_session *se_sess, u32 data_length, int data_direction, int task_attr, unsigned char *sense_buffer, u64 unpacked_lun) transport_init_se_cmd() argument
|
/kernel/linux/linux-6.6/include/target/ |
H A D | target_core_fabric.h | 158 const struct target_core_fabric_ops *tfo,
|