Home
last modified time | relevance | path

Searched refs:request_buf (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/fs/smb/server/
H A Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
292 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
293 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
327 conn->request_buf = kvmalloc(size, GFP_KERNEL); in ksmbd_conn_handler_loop()
328 if (!conn->request_buf) in ksmbd_conn_handler_loop()
331 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
337 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
352 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H A Dksmbd_work.h35 void *request_buf; member
119 return work->request_buf + work->next_smb2_rcv_hdr_off + 4; in ksmbd_req_buf_next()
H A Dsmb_common.c143 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()
413 proto = *(__le32 *)((struct smb_hdr *)work->request_buf)->Protocol; in ksmbd_init_smb_server()
589 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.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()
1098 struct smb2_negotiate_req *req = smb2_get_msg(work->request_buf); in smb2_handle_negotiate()
1112 smb2_buf_len = get_rfc1002_len(work->request_buf); in smb2_handle_negotiate()
[all...]
H A Dconnection.h48 char *request_buf; member
H A Dksmbd_work.c57 kvfree(work->request_buf); in ksmbd_free_work_struct()
H A Dsmb2misc.c362 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
H A Doplock.c634 * work->request_buf contains oplock_info.
640 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti()
724 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
750 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti()
831 work->request_buf = (char *)br_info; in smb2_lease_break_noti()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mana/
H A 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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c23 * @request_buf: Buffer for transmitting data; we expect most transfers to fit.
34 u8 request_buf[256]; member
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c23 * @request_buf: Buffer for transmitting data; we expect most transfers to fit.
34 u8 request_buf[256]; member
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifssmb.c273 function must have filled in request_buf pointer */
276 void **request_buf) in small_smb_init()
284 *request_buf = cifs_small_buf_get(); in small_smb_init()
285 if (*request_buf == NULL) { in small_smb_init()
290 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
301 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc()
306 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
310 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
325 /* If the return code is zero, this function must fill in request_buf pointer */
328 void **request_buf, voi in __smb_init()
275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf) small_smb_init() argument
300 small_smb_init_no_tc(const int smb_command, const int wct, struct cifs_ses *ses, void **request_buf) small_smb_init_no_tc() argument
327 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) __smb_init() argument
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) smb_init() argument
366 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) smb_init_no_reconnect() argument
[all...]
H A Dsmb2pdu.c369 * function must have filled in request_buf pointer.
373 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init()
379 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
382 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
385 if (*request_buf == NULL) { in __smb2_plain_req_init()
391 (struct smb2_sync_hdr *)(*request_buf), in __smb2_plain_req_init()
405 void **request_buf, unsigned int *total_len) in smb2_plain_req_init()
413 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
419 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init()
424 request_buf, total_le in smb2_ioctl_req_init()
371 __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) __smb2_plain_req_init() argument
403 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) smb2_plain_req_init() argument
417 smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) smb2_ioctl_req_init() argument
[all...]
H A Dcifsproto.h163 void **request_buf);
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifssmb.c208 function must have filled in request_buf pointer */
211 void **request_buf) in small_smb_init()
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()
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()
260 /* If the return code is zero, this function must fill in request_buf pointer */
263 void **request_buf, voi in __smb_init()
210 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf) small_smb_init() argument
235 small_smb_init_no_tc(const int smb_command, const int wct, struct cifs_ses *ses, void **request_buf) small_smb_init_no_tc() argument
262 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) __smb_init() argument
288 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) smb_init() argument
301 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, void **request_buf, void **response_buf) smb_init_no_reconnect() argument
[all...]
H A Dsmb2pdu.c510 * function must have filled in request_buf pointer.
514 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init()
520 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
523 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
526 if (*request_buf == NULL) { in __smb2_plain_req_init()
532 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
546 void **request_buf, unsigned int *total_len) in smb2_plain_req_init()
554 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
560 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init()
565 request_buf, total_le in smb2_ioctl_req_init()
512 __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) __smb2_plain_req_init() argument
544 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) smb2_plain_req_init() argument
558 smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) smb2_ioctl_req_init() argument
[all...]
H A Dcifsproto.h173 void **request_buf);
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_hw.h375 extern int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
H A 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()
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Dav7110_hw.h375 extern int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
H A 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()

Completed in 33 milliseconds