Home
last modified time | relevance | path

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

/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.c35 void ncsi_build_response_header(const uint8_t* request_buf, in ncsi_build_response_header() argument
39 memcpy(response_buf, request_buf, sizeof(ncsi_header_t)); in ncsi_build_response_header()
44 const ncsi_header_t* request_header = (const ncsi_header_t*)request_buf; in ncsi_build_response_header()
50 uint32_t ncsi_build_simple_ack(const uint8_t* request_buf, in ncsi_build_simple_ack() argument
54 request_buf, response_buf, 0, 0, in ncsi_build_simple_ack()
60 uint32_t ncsi_build_simple_nack(const uint8_t* request_buf, in ncsi_build_simple_nack() argument
64 request_buf, response_buf, response_code, reason_code, in ncsi_build_simple_nack()
70 static void ncsi_build_oem_ack(const uint8_t* request_buf, in ncsi_build_oem_ack() argument
73 request_buf, response_buf, 0, 0, in ncsi_build_oem_ack()
76 (const ncsi_oem_simple_cmd_t*)request_buf; in ncsi_build_oem_ack()
[all …]
H A Dncsi_server.h47 void ncsi_build_response_header(const uint8_t* request_buf,
62 uint32_t ncsi_build_simple_ack(const uint8_t* request_buf,
78 uint32_t ncsi_build_simple_nack(const uint8_t* request_buf,
94 uint32_t ncsi_build_version_id_ack(const uint8_t* request_buf,
111 uint32_t ncsi_build_oem_get_mac_ack(const uint8_t* request_buf,
126 uint32_t ncsi_build_oem_simple_ack(const uint8_t* request_buf,
140 uint32_t ncsi_build_oem_echo_ack(const uint8_t* request_buf,
155 uint32_t ncsi_build_oem_get_filter_ack(const uint8_t* request_buf,
173 uint32_t ncsi_build_pt_stats_ack(const uint8_t* request_buf,
182 const uint8_t* request_buf, uint8_t* response_buf,
[all …]
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnic_mock.cpp84 uint32_t NIC::handle_request(const ncsi_buf_t& request_buf, in handle_request() argument
88 reinterpret_cast<const ncsi_header_t*>(request_buf.data); in handle_request()
91 request_frame.parse_ethernet_frame(request_buf); in handle_request()
97 std::memcpy(response_buf, &request_buf, sizeof(request_buf)); in handle_request()
98 response_size = request_buf.len; in handle_request()
106 ncsi_build_simple_ack(request_buf.data, response_buf->data); in handle_request()
115 request_buf.data, response_buf->data, &version_); in handle_request()
122 request_buf.data, reinterpret_cast<uint8_t*>(&response), in handle_request()
133 request_buf.data, response_buf->data, &stats_legacy_); in handle_request()
138 request_buf.data, response_buf->data, &stats_); in handle_request()
[all …]
H A Dnic_mock.h177 uint32_t handle_request(const ncsi_buf_t& request_buf,
209 uint32_t handle_oem_request(const ncsi_buf_t& request_buf,
/openbmc/linux/fs/smb/server/
H A Dconnection.c40 kvfree(conn->request_buf); in ksmbd_conn_free()
330 kvfree(conn->request_buf); in ksmbd_conn_handler_loop()
331 conn->request_buf = NULL; in ksmbd_conn_handler_loop()
372 conn->request_buf = kvmalloc(size, GFP_KERNEL); in ksmbd_conn_handler_loop()
373 if (!conn->request_buf) in ksmbd_conn_handler_loop()
376 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
382 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop()
397 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()
417 proto = *(__le32 *)((struct smb_hdr *)conn->request_buf)->Protocol; 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()
309 work->request_buf = conn->request_buf; in queue_ksmbd_work()
310 conn->request_buf = NULL; in queue_ksmbd_work()
H A Dksmbd_work.c57 kvfree(work->request_buf); in ksmbd_free_work_struct()
H A Dconnection.h48 char *request_buf; member
H A Dsmb2pdu.c48 *req = smb2_get_msg(work->request_buf); in __wbuf()
173 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_smb2_neg_cmd()
223 rcv_hdr = smb2_get_msg(work->request_buf); in get_smb2_cmd_val()
447 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in is_chained_smb2_message()
458 get_rfc1002_len(work->request_buf)) { in is_chained_smb2_message()
499 struct smb2_hdr *rcv_hdr = smb2_get_msg(work->request_buf); in init_smb2_rsp_hdr()
528 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
540 if (get_rfc1002_len(work->request_buf) < in smb2_allocate_rsp_buf()
544 req = smb2_get_msg(work->request_buf); in smb2_allocate_rsp_buf()
1089 struct smb2_negotiate_req *req = smb2_get_msg(work->request_buf); in smb2_handle_negotiate()
[all...]
H A Doplock.c638 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti()
722 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
748 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti()
829 work->request_buf = (char *)br_info; in smb2_lease_break_noti()
H A Dsmb2misc.c374 __u32 len = get_rfc1002_len(work->request_buf); in ksmbd_smb2_check_message()
/openbmc/linux/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()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c34 u8 request_buf[256]; member
/openbmc/linux/fs/smb/client/
H A 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 …]
H A Dsmb2pdu.c529 void **request_buf, unsigned int *total_len) in __smb2_plain_req_init() argument
535 *request_buf = cifs_buf_get(); in __smb2_plain_req_init()
538 *request_buf = cifs_small_buf_get(); in __smb2_plain_req_init()
541 if (*request_buf == NULL) { in __smb2_plain_req_init()
547 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
561 void **request_buf, unsigned int *total_len) in smb2_plain_req_init() argument
569 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()
575 void **request_buf, unsigned int *total_len) in smb2_ioctl_req_init() argument
580 request_buf, total_len); in smb2_ioctl_req_init()
583 request_buf, total_len); in smb2_ioctl_req_init()
H A Dcifsproto.h173 void **request_buf);
/openbmc/linux/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()
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp1604 EXPECT_THAT(std::span<uint8_t>(request_buf, sizeof(request_buf)), in TEST()