Searched refs:request_buf (Results 1 – 12 of 12) sorted by relevance
| /fs/smb/server/ |
| A D | connection.c | 40 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 D | ksmbd_work.h | 35 void *request_buf; member 118 return work->request_buf + work->next_smb2_rcv_hdr_off + 4; in ksmbd_req_buf_next()
|
| A D | smb_common.c | 143 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 D | server.c | 171 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 D | smb2pdu.c | 49 *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 D | ksmbd_work.c | 56 kvfree(work->request_buf); in ksmbd_free_work_struct()
|
| A D | connection.h | 55 char *request_buf; member
|
| A D | oplock.c | 626 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 D | smb2misc.c | 374 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
|
| /fs/smb/client/ |
| A D | cifssmb.c | 227 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 D | smb2pdu.c | 522 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 D | cifsproto.h | 195 void **request_buf);
|
Completed in 48 milliseconds