Home
last modified time | relevance | path

Searched refs:request_buf (Results 1 – 12 of 12) sorted by relevance

/fs/smb/server/
A Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
332 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
333 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
374 conn->request_buf = kvmalloc(size, KSMBD_DEFAULT_GFP); in ksmbd_conn_handler_loop()
375 if (!conn->request_buf) in ksmbd_conn_handler_loop()
378 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
384 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
399 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
A Dksmbd_work.h35 void *request_buf; member
118 return work->request_buf + work->next_smb2_rcv_hdr_off + 4; in ksmbd_req_buf_next()
A Dsmb_common.c143 hdr = work->request_buf; in ksmbd_verify_smb_message()
163 if (conn->request_buf[0] != 0) in ksmbd_smb_request()
166 proto = (__le32 *)smb2_get_msg(conn->request_buf); in ksmbd_smb_request()
324 struct smb_hdr *rcv_hdr = (struct smb_hdr *)work->request_buf; in init_smb1_rsp_hdr()
417 proto = *(__le32 *)((struct smb_hdr *)conn->request_buf)->Protocol; in ksmbd_init_smb_server()
596 ksmbd_negotiate_smb_dialect(work->request_buf); in ksmbd_smb_negotiate_common()
A Dserver.c171 conn->ops->is_transform_hdr(work->request_buf)) { in __handle_ksmbd_work()
299 work->request_buf = conn->request_buf; in queue_ksmbd_work()
300 conn->request_buf = NULL; in queue_ksmbd_work()
A Dsmb2pdu.c49 *req = smb2_get_msg(work->request_buf); in __wbuf()
224 rcv_hdr = smb2_get_msg(work->request_buf); in get_smb2_cmd_val()
459 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
541 if (get_rfc1002_len(work->request_buf) < in smb2_allocate_rsp_buf()
545 req = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
1188 work->request_buf, in smb2_handle_negotiate()
6517 req = smb2_get_msg(work->request_buf); in smb2_set_info()
6749 req = smb2_get_msg(work->request_buf); in smb2_read()
8824 hdr = smb2_get_msg(work->request_buf); in smb2_check_sign_req()
8899 hdr = smb2_get_msg(work->request_buf); in smb3_check_sign_req()
[all …]
A Dksmbd_work.c56 kvfree(work->request_buf); in ksmbd_free_work_struct()
A Dconnection.h55 char *request_buf; member
A Doplock.c626 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti()
711 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
739 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti()
820 work->request_buf = (char *)br_info; in smb2_lease_break_noti()
A Dsmb2misc.c374 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
/fs/smb/client/
A Dcifssmb.c227 void **request_buf) in small_smb_init() argument
235 *request_buf = cifs_small_buf_get(); in small_smb_init()
236 if (*request_buf == NULL) { in small_smb_init()
252 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc() argument
261 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
279 void **request_buf, void **response_buf) in __smb_init() argument
281 *request_buf = cifs_buf_get(); in __smb_init()
282 if (*request_buf == NULL) { in __smb_init()
291 *response_buf = *request_buf; in __smb_init()
305 void **request_buf, void **response_buf) in smb_init() argument
[all …]
A Dsmb2pdu.c522 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init() argument
528 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
531 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
534 if (*request_buf == NULL) { in __smb2_plain_req_init()
540 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
554 void **request_buf, unsigned int *total_len) in smb2_plain_req_init() argument
562 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
568 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init() argument
580 request_buf, total_len); in smb2_ioctl_req_init()
583 request_buf, total_len); in smb2_ioctl_req_init()
A Dcifsproto.h195 void **request_buf);

Completed in 48 milliseconds