Home
last modified time | relevance | path

Searched refs:ntoh24 (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.3-rc2/drivers/scsi/elx/efct/
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()
/linux-6.3-rc2/include/scsi/
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()
A Discsi_proto.h57 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) macro
/linux-6.3-rc2/drivers/target/iscsi/
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()
A Discsi_target_nego.c168 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
772 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
867 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
971 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one()
1135 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
A Discsi_target.c1016 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1596 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_dataout_hdr()
1635 ntoh24(hdr->dlength)); in iscsit_get_dataout()
1757 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_nop_out()
1889 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_nop_out()
2194 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_text_cmd()
2295 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_text_cmd()
/linux-6.3-rc2/drivers/scsi/libfc/
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()
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()
1385 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1607 f_ctl = ntoh24(fh->fh_f_ctl); in fc_exch_recv_seq_resp()
1771 f_ctl = ntoh24(fh->fh_f_ctl); in fc_exch_recv_bls()
2033 sid = ntoh24(rp->rec_s_id); in fc_exch_els_rec()
2196 fc_exch_set_addr(ep, ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id)); in fc_exch_seq_send()
[all …]
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()
A Dfc_lport.c1991 (ntoh24(fh->fh_f_ctl) & (FC_FC_LAST_SEQ | FC_FC_END_SEQ)) == in fc_lport_bsg_resp()
2168 did = ntoh24(bsg_request->rqst_data.h_ct.port_id); in fc_lport_bsg_request()
2186 did = ntoh24(bsg_request->rqst_data.h_els.port_id); in fc_lport_bsg_request()
/linux-6.3-rc2/drivers/scsi/elx/libefc/
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()
A Defc_device.c354 node->ls_acc_did = ntoh24(hdr->fh_d_id); in efc_send_ls_acc_after_attach()
549 efc_d_check_plogi_topology(node, ntoh24(hdr->fh_d_id)); in __efc_d_init()
569 u32 d_id = ntoh24(hdr->fh_d_id); in __efc_d_init()
/linux-6.3-rc2/drivers/scsi/qedf/
A Dqedf_main.c1088 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1095 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1101 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1107 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1139 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
1227 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2525 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in qedf_recv_frame()
2540 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2567 lport->port_id, ntoh24(fh->fh_d_id)); in qedf_recv_frame()
2572 f_ctl = ntoh24(fh->fh_f_ctl); in qedf_recv_frame()
[all …]
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()
/linux-6.3-rc2/drivers/target/tcm_fc/
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()
A Dtfc_cmd.c206 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending()
283 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
/linux-6.3-rc2/drivers/s390/scsi/
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()
770 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
1039 d_id = ntoh24(bsg_request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
A Dzfcp_dbf.c220 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
660 fsf->req_id, ntoh24(srb->d_id), length); in zfcp_dbf_san_in_els()
/linux-6.3-rc2/drivers/scsi/fcoe/
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(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
[all …]
A Dfcoe.c1388 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1404 if (ntoh24(fh->fh_f_ctl) & FC_FC_EX_CTX) in fcoe_rcv()
1627 ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in fcoe_filter_frames()
2628 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/linux-6.3-rc2/scripts/coccinelle/tests/
A Dunsigned_lesser_than_zero.cocci40 …ap_sg|dma_map_sg_attrs|fls|fls64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|o…
/linux-6.3-rc2/drivers/scsi/bnx2fc/
A Dbnx2fc_fcoe.c319 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
323 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
566 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
573 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
600 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in bnx2fc_recv_frame()
620 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame()
622 lport->port_id, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
/linux-6.3-rc2/net/smc/
A Dsmc.h346 static inline u32 ntoh24(u8 *net) in ntoh24() function
/linux-6.3-rc2/drivers/scsi/qedi/
A Dqedi_fw.c1005 login_req_pdu_header.hdr_second_dword = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1021 tx_sgl_task_params.total_buffer_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1038 task_params.tx_io_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1478 tmf_pdu_header.hdr_second_dword = ntoh24(tmf_hdr->dlength); in send_iscsi_tmf()
1584 text_request_pdu_header.hdr_second_dword = ntoh24(text_hdr->dlength); in qedi_send_iscsi_text()
1610 task_params.tx_io_size = ntoh24(text_hdr->dlength); in qedi_send_iscsi_text()
2043 cmd_pdu_header.hdr_second_dword = ntoh24(hdr->dlength); in qedi_iscsi_send_ioreq()
/linux-6.3-rc2/drivers/infiniband/ulp/iser/
A Diser_initiator.c423 data_seg_len = ntoh24(hdr->dlength); in iser_send_data_out()
487 data_seg_len = ntoh24(task->hdr->dlength); in iser_send_control()
/linux-6.3-rc2/drivers/scsi/
A Discsi_tcp.c509 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_data_prep()
534 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_linear_data_prep()

Completed in 77 milliseconds

12