Searched refs:MAX_CIFS_SMALL_BUFFER_SIZE (Results 1 – 9 of 9) sorted by relevance
169 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, KSMBD_DEFAULT_GFP); in allocate_interim_rsp_buf()172 work->response_sz = MAX_CIFS_SMALL_BUFFER_SIZE; in allocate_interim_rsp_buf()
360 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()
39 #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */ macro
465 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()530 size_t small_sz = MAX_CIFS_SMALL_BUFFER_SIZE; in smb2_allocate_rsp_buf()
1731 MAX_CIFS_SMALL_BUFFER_SIZE, 0, SLAB_HWCACHE_ALIGN, in cifs_init_request_bufs()1732 0, MAX_CIFS_SMALL_BUFFER_SIZE, NULL); in cifs_init_request_bufs()
1772 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in cifs_readv_receive()
89 #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */ macro
4673 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in handle_read_data()4945 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
1152 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE - 4) { in standard_receive3()