Home
last modified time | relevance | path

Searched refs:ntoh24 (Results 1 - 25 of 80) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H A Defct_unsol.c13 efc_node_fcid_display(ntoh24((hdr)->fh_s_id), \
16 ntoh24((hdr)->fh_d_id), s_id_text, \
49 s_id = ntoh24(hdr->fh_s_id); in efct_dispatch_frame()
50 d_id = ntoh24(hdr->fh_d_id); in efct_dispatch_frame()
172 if (ntoh24(fchdr->fh_f_ctl) & FC_FC_RES_B17) in efct_populate_io_fcp_cmd()
486 ntoh24(hdr->fh_s_id), ntoh24(hdr->fh_d_id), in efct_node_recv_abts_frame()
/kernel/linux/linux-5.10/include/scsi/
H A Dfc_frame.h26 static inline u32 ntoh24(const u8 *p) in ntoh24() function
170 return ntoh24(__fc_frame_header_get(fp)->fh_s_id); in fc_frame_sid()
178 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_exch.c482 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_send_locked()
1009 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1010 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
1021 if ((ntoh24(fh->fh_f_ctl) & FC_FC_SEQ_INIT) == 0) in fc_exch_resp()
1051 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_recip()
1179 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_orig()
1308 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_seq_send_ack()
1387 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1522 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1593 if (ep->sid != 0 && ep->sid != ntoh24(f in fc_exch_recv_seq_resp()
[all...]
H A Dfc_disc.c121 "(%6.6x)\n", ntoh24(pp->rscn_fid)); in fc_disc_recv_rscn_req()
128 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
431 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_exch.c481 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_send_locked()
1007 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1008 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
1019 if ((ntoh24(fh->fh_f_ctl) & FC_FC_SEQ_INIT) == 0) in fc_exch_resp()
1049 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_recip()
1177 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_orig()
1306 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_seq_send_ack()
1385 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1520 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1591 if (ep->sid != 0 && ep->sid != ntoh24(f in fc_exch_recv_seq_resp()
[all...]
H A Dfc_disc.c118 "(%6.6x)\n", ntoh24(pp->rscn_fid)); in fc_disc_recv_rscn_req()
125 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
428 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
/kernel/linux/linux-6.6/include/scsi/
H A Dfc_frame.h26 static inline u32 ntoh24(const u8 *p) in ntoh24() function
170 return ntoh24(__fc_frame_header_get(fp)->fh_s_id); in fc_frame_sid()
178 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
/kernel/linux/linux-5.10/drivers/target/iscsi/
H A Discsi_target_erl0.c71 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check()
138 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence()
214 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence()
342 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_datasn()
393 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_yes()
454 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_no()
540 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_passed()
650 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_failed()
H A Discsi_target_nego.c176 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
779 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
838 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
926 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one()
1085 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
/kernel/linux/linux-6.6/drivers/target/iscsi/
H A Discsi_target_erl0.c71 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check()
138 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence()
214 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence()
342 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_datasn()
393 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_yes()
454 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_no()
540 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_passed()
650 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_failed()
H A Discsi_target_nego.c168 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
764 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
859 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
963 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one()
1128 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/
H A Defc_domain.c956 s_id = ntoh24(hdr->fh_s_id); in efc_domain_dispatch_frame()
957 d_id = ntoh24(hdr->fh_d_id); in efc_domain_dispatch_frame()
1030 port_id = ntoh24(hdr->fh_s_id); in efc_node_dispatch_frame()
1035 if ((!(ntoh24(hdr->fh_f_ctl) & FC_FC_END_SEQ)) || in efc_node_dispatch_frame()
1036 !(ntoh24(hdr->fh_f_ctl) & FC_FC_SEQ_INIT)) { in efc_node_dispatch_frame()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_main.c1089 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1096 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1102 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1106 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
1108 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1140 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
1230 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2522 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in qedf_recv_frame()
2537 if (ntoh24( in qedf_recv_frame()
[all...]
H A Dqedf_fip.c261 ntoh24(vp->fd_fc_id), vp->fd_mac, in qedf_fip_recv()
268 (ntoh24(vp->fd_fc_id) == in qedf_fip_recv()
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A Dqedf_main.c1089 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1096 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1102 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1106 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
1108 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1140 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
1228 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2524 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in qedf_recv_frame()
2539 if (ntoh24( in qedf_recv_frame()
[all...]
H A Dqedf_fip.c261 ntoh24(vp->fd_fc_id), vp->fd_mac, in qedf_fip_recv()
268 (ntoh24(vp->fd_fc_id) == in qedf_fip_recv()
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
H A Dtfc_io.c217 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) in ft_recv_write_data()
220 f_ctl = ntoh24(fh->fh_f_ctl); in ft_recv_write_data()
H A Dtfc_cmd.c207 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending()
284 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
/kernel/linux/linux-6.6/drivers/target/tcm_fc/
H A Dtfc_io.c216 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) in ft_recv_write_data()
219 f_ctl = ntoh24(fh->fh_f_ctl); in ft_recv_write_data()
H A Dtfc_cmd.c206 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending()
278 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c743 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
751 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
789 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
790 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
796 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
967 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()
1427 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1479 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1696 ntoh24(f in fcoe_ctlr_flogi_send_locked()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c743 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
751 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
789 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
790 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
796 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
965 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()
1422 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1471 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1688 ntoh24(f in fcoe_ctlr_flogi_send_locked()
[all...]
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A Dzfcp_fc.c251 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
367 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
536 port->d_id = ntoh24(adisc_resp->adisc_port_id); in zfcp_fc_adisc_handler()
766 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
1035 d_id = ntoh24(bsg_request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A Dzfcp_fc.c251 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
367 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
536 port->d_id = ntoh24(adisc_resp->adisc_port_id); in zfcp_fc_adisc_handler()
766 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
1035 d_id = ntoh24(bsg_request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
/kernel/linux/linux-5.10/net/smc/
H A Dsmc.h276 static inline u32 ntoh24(u8 *net) in ntoh24() function

Completed in 32 milliseconds

1234