Home
last modified time | relevance | path

Searched refs:pdu_size (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/smb/server/
Dconnection.c276 unsigned int pdu_size, max_allowed_pdu_size; in ksmbd_conn_handler_loop() local
299 pdu_size = get_rfc1002_len(hdr_buf); in ksmbd_conn_handler_loop()
300 ksmbd_debug(CONN, "RFC1002 header %u bytes\n", pdu_size); in ksmbd_conn_handler_loop()
308 if (pdu_size > max_allowed_pdu_size) { in ksmbd_conn_handler_loop()
310 pdu_size, max_allowed_pdu_size, in ksmbd_conn_handler_loop()
318 if (pdu_size > MAX_STREAM_PROT_LEN) in ksmbd_conn_handler_loop()
321 if (pdu_size < SMB1_MIN_SUPPORTED_HEADER_SIZE) in ksmbd_conn_handler_loop()
326 size = pdu_size + 4 + 1; in ksmbd_conn_handler_loop()
337 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
343 if (size != pdu_size) { in ksmbd_conn_handler_loop()
[all …]
/linux-6.6.21/net/atm/
Datm_misc.c26 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size, in atm_alloc_charge() argument
30 int guess = SKB_TRUESIZE(pdu_size); in atm_alloc_charge()
34 struct sk_buff *skb = alloc_skb(pdu_size, gfp_flags); in atm_alloc_charge()
/linux-6.6.21/drivers/scsi/bfa/
Dbfa_fcbuild.h132 u16 pdu_size, u8 set_npiv, u8 set_auth,
137 u16 pdu_size);
142 u16 pdu_size,
147 wwn_t node_name, u16 pdu_size, u16 bb_cr);
190 u16 pdu_size, u16 bb_cr);
291 u16 pdu_size);
Dbfa_fcbuild.c197 u16 pdu_size, u16 bb_cr, u8 els_code) in fc_plogi_x_build() argument
213 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
224 u16 ox_id, wwn_t port_name, wwn_t node_name, u16 pdu_size, in fc_flogi_build() argument
235 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
263 u16 pdu_size, u16 local_bb_credits, u8 bb_scn) in fc_flogi_acc_build() argument
266 u16 bbscn_rxsz = (bb_scn << 12) | pdu_size; in fc_flogi_acc_build()
272 flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_acc_build()
284 u16 ox_id, wwn_t port_name, wwn_t node_name, u16 pdu_size) in fc_fdisc_build() argument
293 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_fdisc_build()
303 u16 pdu_size, u16 bb_cr) in fc_plogi_build() argument
[all …]
Dbfi_ms.h414 __be16 pdu_size; member
Dbfa_svc.c1675 m->pdu_size = cpu_to_be16(lps->pdusz); in bfa_lps_send_login()
/linux-6.6.21/net/caif/
Dcfrfml.c29 u16 pdu_size; member
86 rfml->pdu_size + RFM_HEAD_SIZE); in rfm_append()
122 rfml->pdu_size = get_unaligned_le16(rfml->seghead+4); in cfrfml_receive()
163 if (rfml->pdu_size != cfpkt_getlen(pkt) - RFM_HEAD_SIZE + 1) in cfrfml_receive()
/linux-6.6.21/include/linux/
Datmdev.h289 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
/linux-6.6.21/fs/smb/client/
Dsmb2misc.c142 int pdu_size = sizeof(struct smb2_pdu); in smb2_check_message() local
191 if (len < pdu_size) { in smb2_check_message()
Dconnect.c1043 unsigned int pdu_length = server->pdu_size; in standard_receive3()
1194 server->pdu_size = pdu_length; in cifs_demultiplex_thread()
1197 if (server->pdu_size < MID_HEADER_SIZE(server)) { in cifs_demultiplex_thread()
1199 server->pdu_size); in cifs_demultiplex_thread()
1220 server->pdu_size = next_offset; in cifs_demultiplex_thread()
1269 mids[i]->resp_buf_size = server->pdu_size; in cifs_demultiplex_thread()
1304 if (pdu_length > server->pdu_size) { in cifs_demultiplex_thread()
1307 pdu_length -= server->pdu_size; in cifs_demultiplex_thread()
Dtransport.c1655 unsigned int rfclen = server->pdu_size; in cifs_discard_remaining_data()
1702 unsigned int buflen = server->pdu_size + HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
Dsmb2ops.c4845 unsigned int buflen = server->pdu_size; in receive_encrypted_read()
4911 (server->pdu_size >= server->min_offload)) { in receive_encrypted_read()
4960 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard()
5008 mid_entry->resp_buf_size = server->pdu_size; in receive_encrypted_standard()
5052 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform()
5083 return handle_read_data(server, mid, buf, server->pdu_size, in smb3_handle_read_data()
Dcifsglob.h734 unsigned int pdu_size; member