Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
298 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
299 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
332 conn->request_buf = kvmalloc(size, in ksmbd_conn_handler_loop()
336 if (!conn->request_buf) in ksmbd_conn_handler_loop()
339 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
347 size = t->ops->read(t, conn->request_buf + 4, pdu_size); in ksmbd_conn_handler_loop()
Dksmbd_work.h30 void *request_buf; member
104 return work->request_buf + work->next_smb2_rcv_hdr_off + 4; in ksmbd_req_buf_next()
Dserver.c170 conn->ops->is_transform_hdr(work->request_buf)) { in __handle_ksmbd_work()
289 work->request_buf = conn->request_buf; in queue_ksmbd_work()
290 conn->request_buf = NULL; in queue_ksmbd_work()
Dsmb_common.c143 hdr = work->request_buf; in ksmbd_verify_smb_message()
161 return conn->request_buf[0] == 0; in ksmbd_smb_request()
456 ksmbd_negotiate_smb_dialect(work->request_buf); in ksmbd_smb_negotiate_common()
460 struct smb2_hdr *smb2_hdr = smb2_get_msg(work->request_buf); in ksmbd_smb_negotiate_common()
Dksmbd_work.c41 kvfree(work->request_buf); in ksmbd_free_work_struct()
Dsmb2pdu.c47 *req = smb2_get_msg(work->request_buf); in __wbuf()
96 struct smb2_hdr *req_hdr = smb2_get_msg(work->request_buf); in smb2_get_ksmbd_tcon()
154 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_smb2_neg_cmd()
204 rcv_hdr = smb2_get_msg(work->request_buf); in get_smb2_cmd_val()
435 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_chained_smb2_message()
446 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
487 struct smb2_hdr *rcv_hdr = smb2_get_msg(work->request_buf); in init_smb2_rsp_hdr()
525 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
537 req = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
565 struct smb2_hdr *req_hdr = smb2_get_msg(work->request_buf); in smb2_check_user_session()
[all …]
Dconnection.h47 char *request_buf; member
Doplock.c614 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti()
705 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
732 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti()
821 work->request_buf = (char *)br_info; in smb2_lease_break_noti()
Dsmb2misc.c357 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
/linux-6.1.9/drivers/i2c/busses/
Di2c-cros-ec-tunnel.c34 u8 request_buf[256]; member
/linux-6.1.9/fs/cifs/
Dcifssmb.c240 void **request_buf) in small_smb_init() argument
248 *request_buf = cifs_small_buf_get(); in small_smb_init()
249 if (*request_buf == NULL) { in small_smb_init()
254 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
265 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc() argument
270 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
274 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
292 void **request_buf, void **response_buf) in __smb_init() argument
294 *request_buf = cifs_buf_get(); in __smb_init()
295 if (*request_buf == NULL) { in __smb_init()
[all …]
Dsmb2pdu.c381 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init() argument
385 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
387 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
388 if (*request_buf == NULL) { in __smb2_plain_req_init()
394 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
408 void **request_buf, unsigned int *total_len) in smb2_plain_req_init() argument
416 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
422 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init() argument
427 request_buf, total_len); in smb2_ioctl_req_init()
430 request_buf, total_len); in smb2_ioctl_req_init()
Dcifsproto.h166 void **request_buf);
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_hw.h375 extern int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
Dav7110_hw.c532 int av7110_fw_request(struct av7110 *av7110, u16 *request_buf, in av7110_fw_request() argument
552 if ((err = __av7110_send_fw_cmd(av7110, request_buf, request_buf_len)) < 0) { in av7110_fw_request()