Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/server/
Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
307 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
308 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
342 conn->request_buf = kvmalloc(size, GFP_KERNEL); in ksmbd_conn_handler_loop()
343 if (!conn->request_buf) in ksmbd_conn_handler_loop()
346 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
352 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
367 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
Dksmbd_work.h35 void *request_buf; member
119 return work->request_buf + work->next_smb2_rcv_hdr_off + 4; in ksmbd_req_buf_next()
Dsmb_common.c143 hdr = work->request_buf; in ksmbd_verify_smb_message()
161 __le32 *proto = (__le32 *)smb2_get_msg(conn->request_buf); in ksmbd_smb_request()
320 struct smb_hdr *rcv_hdr = (struct smb_hdr *)work->request_buf; in init_smb1_rsp_hdr()
398 proto = *(__le32 *)((struct smb_hdr *)work->request_buf)->Protocol; in ksmbd_init_smb_server()
574 ksmbd_negotiate_smb_dialect(work->request_buf); in ksmbd_smb_negotiate_common()
Dserver.c174 conn->ops->is_transform_hdr(work->request_buf)) { in __handle_ksmbd_work()
302 work->request_buf = conn->request_buf; in queue_ksmbd_work()
303 conn->request_buf = NULL; in queue_ksmbd_work()
Dksmbd_work.c57 kvfree(work->request_buf); in ksmbd_free_work_struct()
Dsmb2pdu.c48 *req = smb2_get_msg(work->request_buf); in __wbuf()
171 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_smb2_neg_cmd()
221 rcv_hdr = smb2_get_msg(work->request_buf); in get_smb2_cmd_val()
445 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_chained_smb2_message()
456 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
497 struct smb2_hdr *rcv_hdr = smb2_get_msg(work->request_buf); in init_smb2_rsp_hdr()
526 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
538 req = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
1101 struct smb2_negotiate_req *req = smb2_get_msg(work->request_buf); in smb2_handle_negotiate()
1115 smb2_buf_len = get_rfc1002_len(work->request_buf); in smb2_handle_negotiate()
[all …]
Dconnection.h48 char *request_buf; member
Doplock.c633 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti()
717 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
743 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti()
824 work->request_buf = (char *)br_info; in smb2_lease_break_noti()
Dsmb2misc.c353 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
/Linux-v6.6/drivers/infiniband/hw/mana/
Dmain.c329 void *request_buf; in mana_ib_gd_create_dma_region() local
351 request_buf = kzalloc(hwc->max_req_msg_size, GFP_KERNEL); in mana_ib_gd_create_dma_region()
352 if (!request_buf) in mana_ib_gd_create_dma_region()
355 create_req = request_buf; in mana_ib_gd_create_dma_region()
397 add_req = request_buf; in mana_ib_gd_create_dma_region()
423 kfree(request_buf); in mana_ib_gd_create_dma_region()
/Linux-v6.6/drivers/i2c/busses/
Di2c-cros-ec-tunnel.c34 u8 request_buf[256]; member
/Linux-v6.6/fs/smb/client/
Dcifssmb.c211 void **request_buf) in small_smb_init() argument
219 *request_buf = cifs_small_buf_get(); in small_smb_init()
220 if (*request_buf == NULL) { in small_smb_init()
225 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
236 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc() argument
241 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
245 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
263 void **request_buf, void **response_buf) in __smb_init() argument
265 *request_buf = cifs_buf_get(); in __smb_init()
266 if (*request_buf == NULL) { in __smb_init()
[all …]
Dsmb2pdu.c376 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init() argument
380 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
382 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
383 if (*request_buf == NULL) { in __smb2_plain_req_init()
389 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
403 void **request_buf, unsigned int *total_len) in smb2_plain_req_init() argument
411 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
417 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init() argument
422 request_buf, total_len); in smb2_ioctl_req_init()
425 request_buf, total_len); in smb2_ioctl_req_init()
Dcifsproto.h171 void **request_buf);
/Linux-v6.6/drivers/staging/media/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()