Home
last modified time | relevance | path

Searched refs:MAX_CIFS_SMALL_BUFFER_SIZE (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/fs/smb/server/
H A Dksmbd_work.c172 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, GFP_KERNEL); in allocate_interim_rsp_buf()
175 work->response_sz = MAX_CIFS_SMALL_BUFFER_SIZE; in allocate_interim_rsp_buf()
H A Dsmb_common.c360 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, in smb1_allocate_rsp_buf()
362 work->response_sz = MAX_CIFS_SMALL_BUFFER_SIZE; in smb1_allocate_rsp_buf()
366 MAX_CIFS_SMALL_BUFFER_SIZE); in smb1_allocate_rsp_buf()
H A Dsmb_common.h39 #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */ macro
H A Dsmb2pdu.c462 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
527 size_t small_sz = MAX_CIFS_SMALL_BUFFER_SIZE; in smb2_allocate_rsp_buf()
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifsfs.c1452 /* MAX_CIFS_SMALL_BUFFER_SIZE bytes is enough for most SMB responses and in cifs_init_request_bufs()
1461 MAX_CIFS_SMALL_BUFFER_SIZE, 0, SLAB_HWCACHE_ALIGN, in cifs_init_request_bufs()
1462 0, MAX_CIFS_SMALL_BUFFER_SIZE, NULL); in cifs_init_request_bufs()
H A Dcifspdu.h108 #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */ macro
H A Dsmb2ops.c4634 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in handle_read_data()
4902 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
H A Dconnect.c991 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE - 4) { in standard_receive3()
H A Dcifssmb.c1567 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in cifs_readv_receive()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifsfs.c1717 /* MAX_CIFS_SMALL_BUFFER_SIZE bytes is enough for most SMB responses and in cifs_init_request_bufs()
1726 MAX_CIFS_SMALL_BUFFER_SIZE, 0, SLAB_HWCACHE_ALIGN, in cifs_init_request_bufs()
1727 0, MAX_CIFS_SMALL_BUFFER_SIZE, NULL); in cifs_init_request_bufs()
H A Dcifspdu.h89 #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */ macro
H A Dtransport.c1774 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in cifs_readv_receive()
H A Dsmb2ops.c4685 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in handle_read_data()
4970 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
H A Dconnect.c1054 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE - 4) { in standard_receive3()

Completed in 61 milliseconds