Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
331 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
332 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
373 conn->request_buf = kvmalloc(size, KSMBD_DEFAULT_GFP); in ksmbd_conn_handler_loop()
374 if (!conn->request_buf) in ksmbd_conn_handler_loop()
377 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
383 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
398 if (((struct smb2_hdr *)smb_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H 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()
H A Dsmb_common.c143 hdr = smb_get_msg(work->request_buf); in ksmbd_verify_smb_message()
163 if (conn->request_buf[0] != 0) in ksmbd_smb_request()
166 proto = (__le32 *)smb_get_msg(conn->request_buf); in ksmbd_smb_request()
323 struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(work->request_buf); in init_smb1_rsp_hdr()
414 struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(conn->request_buf); in ksmbd_init_smb_server()
596 ksmbd_negotiate_smb_dialect(work->request_buf); in ksmbd_smb_negotiate_common()
H 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()
H A Dsmb2pdu.c50 *req = smb_get_msg(work->request_buf); in __wbuf()
175 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in is_smb2_neg_cmd()
225 rcv_hdr = smb_get_msg(work->request_buf); in get_smb2_cmd_val()
449 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in is_chained_smb2_message()
460 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
501 struct smb2_hdr *rcv_hdr = smb_get_msg(work->request_buf); in init_smb2_rsp_hdr()
530 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
542 if (get_rfc1002_len(work->request_buf) < in smb2_allocate_rsp_buf()
546 req = smb_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
1096 struct smb2_negotiate_req *req = smb_get_msg(work->request_buf); in smb2_handle_negotiate()
[all...]
H A Dksmbd_work.c56 kvfree(work->request_buf); in ksmbd_free_work_struct()
H A Dconnection.h58 char *request_buf; member
H 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()
H A Dsmb2misc.c373 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c34 u8 request_buf[256]; member
/linux/fs/smb/client/
H A Dcifssmb.c227 void **request_buf) in small_smb_init() argument
236 *request_buf = cifs_small_buf_get(); in small_smb_init()
237 if (*request_buf == NULL) { in small_smb_init()
242 in_len = header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
253 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc() argument
258 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
262 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
280 void **request_buf, void **response_buf) in __smb_init() argument
284 *request_buf = cifs_buf_get(); in __smb_init()
285 if (*request_buf == NULL) { in __smb_init()
[all …]
H A Dsmb2pdu.c556 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init() argument
562 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
565 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
568 if (*request_buf == NULL) { in __smb2_plain_req_init()
574 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
588 void **request_buf, unsigned int *total_len) in smb2_plain_req_init() argument
596 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
602 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init() argument
614 request_buf, total_len); in smb2_ioctl_req_init()
617 request_buf, total_len); in smb2_ioctl_req_init()
H A Dcifsproto.h187 void **request_buf);
/linux/drivers/staging/media/av7110/
H A Dav7110_hw.h368 int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
H A Dav7110_hw.c524 int av7110_fw_request(struct av7110 *av7110, u16 *request_buf, in av7110_fw_request() argument
544 err = __av7110_send_fw_cmd(av7110, request_buf, request_buf_len); in av7110_fw_request()