Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dconnection.c97 kvfree(conn->request_buf); in ksmbd_conn_free()
388 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
389 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
430 conn->request_buf = kvmalloc(size, KSMBD_DEFAULT_GFP); in ksmbd_conn_handler_loop()
431 if (!conn->request_buf) in ksmbd_conn_handler_loop()
434 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
440 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
455 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.c167 hdr = smb_get_msg(work->request_buf); in ksmbd_verify_smb_message()
187 if (conn->request_buf[0] != 0) in ksmbd_smb_request()
190 proto = (__le32 *)smb_get_msg(conn->request_buf); in ksmbd_smb_request()
347 struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(work->request_buf); in init_smb1_rsp_hdr()
438 struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(conn->request_buf); in ksmbd_init_smb_server()
620 ksmbd_negotiate_smb_dialect(work->request_buf); in ksmbd_smb_negotiate_common()
H A 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()
H A Dsmb2pdu.c51 *req = smb_get_msg(work->request_buf); in __wbuf()
182 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in is_smb2_neg_cmd()
232 rcv_hdr = smb_get_msg(work->request_buf); in get_smb2_cmd_val()
456 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in is_chained_smb2_message()
467 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
508 struct smb2_hdr *rcv_hdr = smb_get_msg(work->request_buf); in init_smb2_rsp_hdr()
537 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
549 if (get_rfc1002_len(work->request_buf) < in smb2_allocate_rsp_buf()
553 req = smb_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
1103 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 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/infiniband/hw/mana/
H A Dmain.c385 void *request_buf; in mana_ib_gd_create_dma_region() local
400 request_buf = kzalloc(hwc->max_req_msg_size, GFP_KERNEL); in mana_ib_gd_create_dma_region()
401 if (!request_buf) in mana_ib_gd_create_dma_region()
404 create_req = request_buf; in mana_ib_gd_create_dma_region()
446 add_req = request_buf; in mana_ib_gd_create_dma_region()
472 kfree(request_buf); in mana_ib_gd_create_dma_region()
/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c34 u8 request_buf[256]; member
/linux/drivers/staging/media/av7110/
H A Dav7110_hw.h368 int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
/linux/fs/smb/client/
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()