Home
last modified time | relevance | path

Searched refs:req (Results 1701 - 1725 of 5687) sorted by relevance

1...<<61626364656667686970>>...228

/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_io.h64 struct snic_host_req *req; member
67 u16 req_len; /* buf len passing to fw (req + sgl)*/
87 ((struct snic_host_req *) (((struct snic_req_info *)rqi)->req))
89 #define req_to_rqi(req) \
90 ((struct snic_req_info *) (((struct snic_host_req *)req)->hdr.init_ctx))
92 #define req_to_sgl(req) \
93 ((struct snic_sg_desc *) (((struct snic_host_req *)req)+1))
/kernel/linux/linux-6.6/io_uring/
H A Depoll.c24 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_epoll_ctl_prep() argument
26 struct io_epoll *epoll = io_kiocb_to_cmd(req, struct io_epoll); in io_epoll_ctl_prep()
46 int io_epoll_ctl(struct io_kiocb *req, unsigned int issue_flags) in io_epoll_ctl() argument
48 struct io_epoll *ie = io_kiocb_to_cmd(req, struct io_epoll); in io_epoll_ctl()
57 req_set_fail(req); in io_epoll_ctl()
58 io_req_set_res(req, ret, 0); in io_epoll_ctl()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dassembler.h8 .macro __for from:req, to:req
17 .macro _for var:req, from:req, to:req, insn:vararg variable
18 .macro _for__body \var:req
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_tracing_net.h74 #define ir_loc_addr req.__req_common.skc_rcv_saddr
75 #define ir_num req.__req_common.skc_num
76 #define ir_rmt_addr req.__req_common.skc_daddr
77 #define ir_rmt_port req.__req_common.skc_dport
78 #define ir_v6_rmt_addr req.__req_common.skc_v6_daddr
79 #define ir_v6_loc_addr req.__req_common.skc_v6_rcv_saddr
/test/testfwk/developer_test/examples/sleep/src/
H A Dsleep_ex.cpp43 static int Nsleep(const struct timespec *req, struct timespec *rem) in Nsleep() argument
46 if (nanosleep(req, rem) == -1) { in Nsleep()
55 struct timespec req = {0, 0}; in Msleep() local
59 req.tv_sec = sec; in Msleep()
60 req.tv_nsec = miliSec * SleepTest::ID_MS_TO_NS_LEVEL; in Msleep()
61 Nsleep(&req, &rem); in Msleep()
/third_party/libuv/test/
H A Dtest-udp-send-hang-loop.c41 static void send_cb(uv_udp_send_t* req, int status);
68 static void send_cb(uv_udp_send_t* req, int status) { in send_cb() argument
69 ASSERT_NOT_NULL(req); in send_cb()
71 CHECK_OBJECT(req->handle, uv_udp_t, client); in send_cb()
72 CHECK_OBJECT(req, uv_udp_send_t, send_req); in send_cb()
73 req->handle = NULL; in send_cb()
H A Dtest-connection-fail.c30 static uv_connect_t req; variable
68 static void on_connect_with_close(uv_connect_t *req, int status) { in on_connect_with_close() argument
69 ASSERT_PTR_EQ((uv_stream_t*) &tcp, req->handle); in on_connect_with_close()
74 uv_close((uv_handle_t*)req->handle, on_close); in on_connect_with_close()
78 static void on_connect_without_close(uv_connect_t *req, int status) { in on_connect_without_close() argument
105 r = uv_tcp_connect(&req, in connection_fail()
H A Dtest-random.c31 static void random_cb(uv_random_t* req, int status, void* buf, size_t buflen) { in random_cb() argument
53 uv_random_t req; in TEST_IMPL() local
57 ASSERT_EQ(UV_EINVAL, uv_random(loop, &req, scratch, sizeof(scratch), -1, in TEST_IMPL()
59 ASSERT_EQ(UV_E2BIG, uv_random(loop, &req, scratch, -1, -1, random_cb)); in TEST_IMPL()
61 ASSERT_OK(uv_random(loop, &req, scratch, 0, 0, random_cb)); in TEST_IMPL()
67 ASSERT_OK(uv_random(loop, &req, scratch, sizeof(scratch), 0, random_cb)); in TEST_IMPL()
H A Dtest-tcp-write-fail.c60 static void write_cb(uv_write_t* req, int status) { in write_cb() argument
61 ASSERT_NOT_NULL(req); in write_cb()
67 uv_close((uv_handle_t*)(req->handle), close_cb); in write_cb()
71 static void connect_cb(uv_connect_t* req, int status) { in connect_cb() argument
76 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
79 stream = req->handle; in connect_cb()
H A Dtest-udp-multicast-interface6.c45 static void sv_send_cb(uv_udp_send_t* req, int status) { in sv_send_cb() argument
46 ASSERT_NOT_NULL(req); in sv_send_cb()
48 CHECK_HANDLE(req->handle); in sv_send_cb()
52 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb()
63 uv_udp_send_t req; in TEST_IMPL() local
89 r = uv_udp_send(&req, in TEST_IMPL()
H A Dtest-udp-multicast-interface.c45 static void sv_send_cb(uv_udp_send_t* req, int status) { in sv_send_cb() argument
46 ASSERT_NOT_NULL(req); in sv_send_cb()
48 CHECK_HANDLE(req->handle); in sv_send_cb()
52 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb()
63 uv_udp_send_t req; in TEST_IMPL() local
82 r = uv_udp_send(&req, in TEST_IMPL()
/third_party/node/test/parallel/
H A Dtest-http2-create-client-session.js55 const req = client.request();
57 req.on('response', common.mustCall(function(headers) {
64 req.setEncoding('utf8');
65 req.on('data', (d) => data += d);
66 req.on('end', common.mustCall(() => {
69 req.on('close', common.mustCall(() => countdown.dec()));
H A Dtest-http2-respond-nghttperrors.js80 const req = client.request(headers);
81 req.on('error', common.expectsError({
86 req.on('end', common.mustNotCall());
89 req.resume();
90 req.end();
92 req.on('close', common.mustCall(() => {
H A Dtest-https-drain.js40 const server = https.createServer(options, function(req, res) {
42 req.pipe(res);
47 const req = https.request({
57 if (req.write(Buffer.allocUnsafe(bufSize))) {
81 req.end();
86 req.write('a');
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c45 * @req: VFDI incoming request work item. Incoming USR_EV events are received
90 struct work_struct req; member
241 struct efx_memcpy_req *req, in efx_siena_sriov_memcpy()
262 req->to_rid); in efx_siena_sriov_memcpy()
264 req->to_addr); in efx_siena_sriov_memcpy()
265 if (req->from_buf == NULL) { in efx_siena_sriov_memcpy()
266 from_rid = req->from_rid; in efx_siena_sriov_memcpy()
267 from_addr = req->from_addr; in efx_siena_sriov_memcpy()
269 if (WARN_ON(used + req->length > in efx_siena_sriov_memcpy()
277 memcpy(_MCDI_PTR(inbuf, used), req in efx_siena_sriov_memcpy()
240 efx_siena_sriov_memcpy(struct efx_nic *efx, struct efx_memcpy_req *req, unsigned int count) efx_siena_sriov_memcpy() argument
532 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_evq() local
573 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_rxq() local
614 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_txq() local
764 struct vfdi_req *req = vf->buf.addr; efx_vfdi_insert_filter() local
808 struct vfdi_req *req = vf->buf.addr; efx_vfdi_set_status_page() local
875 struct vfdi_req *req = vf->buf.addr; efx_siena_sriov_vfdi() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c45 * @req: VFDI incoming request work item. Incoming USR_EV events are received
90 struct work_struct req; member
242 struct efx_memcpy_req *req, in efx_siena_sriov_memcpy()
263 req->to_rid); in efx_siena_sriov_memcpy()
265 req->to_addr); in efx_siena_sriov_memcpy()
266 if (req->from_buf == NULL) { in efx_siena_sriov_memcpy()
267 from_rid = req->from_rid; in efx_siena_sriov_memcpy()
268 from_addr = req->from_addr; in efx_siena_sriov_memcpy()
270 if (WARN_ON(used + req->length > in efx_siena_sriov_memcpy()
278 memcpy(_MCDI_PTR(inbuf, used), req in efx_siena_sriov_memcpy()
241 efx_siena_sriov_memcpy(struct efx_nic *efx, struct efx_memcpy_req *req, unsigned int count) efx_siena_sriov_memcpy() argument
533 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_evq() local
574 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_rxq() local
615 struct vfdi_req *req = vf->buf.addr; efx_vfdi_init_txq() local
765 struct vfdi_req *req = vf->buf.addr; efx_vfdi_insert_filter() local
809 struct vfdi_req *req = vf->buf.addr; efx_vfdi_set_status_page() local
876 struct vfdi_req *req = vf->buf.addr; efx_siena_sriov_vfdi() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/imx/
H A Dclk-sscg-pll.c412 struct clk_rate_request *req, in __clk_sscg_pll_determine_rate()
424 req->max_rate = max; in __clk_sscg_pll_determine_rate()
425 req->min_rate = min; in __clk_sscg_pll_determine_rate()
440 ret = __clk_determine_rate(parent_hw, req); in __clk_sscg_pll_determine_rate()
442 ret = clk_sscg_pll_find_setup(setup, req->rate, in __clk_sscg_pll_determine_rate()
446 req->best_parent_hw = parent_hw; in __clk_sscg_pll_determine_rate()
447 req->best_parent_rate = req->rate; in __clk_sscg_pll_determine_rate()
448 req->rate = setup->fout; in __clk_sscg_pll_determine_rate()
454 struct clk_rate_request *req) in clk_sscg_pll_determine_rate()
411 __clk_sscg_pll_determine_rate(struct clk_hw *hw, struct clk_rate_request *req, uint64_t min, uint64_t max, uint64_t rate, int bypass) __clk_sscg_pll_determine_rate() argument
453 clk_sscg_pll_determine_rate(struct clk_hw *hw, struct clk_rate_request *req) clk_sscg_pll_determine_rate() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dgfxhub_v2_1.c58 u32 req = 0; in gfxhub_v2_1_get_invalidate_req() local
61 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, in gfxhub_v2_1_get_invalidate_req()
63 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v2_1_get_invalidate_req()
64 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, INVALIDATE_L2_PTES, 1); in gfxhub_v2_1_get_invalidate_req()
65 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, INVALIDATE_L2_PDE0, 1); in gfxhub_v2_1_get_invalidate_req()
66 req in gfxhub_v2_1_get_invalidate_req()
[all...]
H A Dgfxhub_v2_0.c58 u32 req = 0; in gfxhub_v2_0_get_invalidate_req() local
61 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, in gfxhub_v2_0_get_invalidate_req()
63 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v2_0_get_invalidate_req()
64 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, INVALIDATE_L2_PTES, 1); in gfxhub_v2_0_get_invalidate_req()
65 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, INVALIDATE_L2_PDE0, 1); in gfxhub_v2_0_get_invalidate_req()
66 req in gfxhub_v2_0_get_invalidate_req()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_hw.c24 struct cpl_set_tcb_field *req, u16 word, in __set_tcb_field_direct()
29 INIT_TP_WR_CPL(req, CPL_SET_TCB_FIELD, csk->tid); in __set_tcb_field_direct()
30 req->wr.wr_mid |= htonl(FW_WR_FLOWID_V(csk->tid)); in __set_tcb_field_direct()
31 req->reply_ctrl = htons(NO_REPLY_V(no_reply) | in __set_tcb_field_direct()
33 req->word_cookie = htons(TCB_WORD_V(word) | TCB_COOKIE_V(cookie)); in __set_tcb_field_direct()
34 req->mask = cpu_to_be64(mask); in __set_tcb_field_direct()
35 req->val = cpu_to_be64(val); in __set_tcb_field_direct()
36 sc = (struct ulptx_idata *)(req + 1); in __set_tcb_field_direct()
44 struct cpl_set_tcb_field *req; in __set_tcb_field() local
49 wrlen = roundup(sizeof(*req) in __set_tcb_field()
23 __set_tcb_field_direct(struct chtls_sock *csk, struct cpl_set_tcb_field *req, u16 word, u64 mask, u64 val, u8 cookie, int no_reply) __set_tcb_field_direct() argument
63 struct cpl_set_tcb_field *req; chtls_set_tcb_field() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_eem.c178 DBG(cdev, "invalid control req%02x.%02x v%04x i%04x l%d\n", in eem_setup()
326 static void eem_cmd_complete(struct usb_ep *ep, struct usb_request *req) in eem_cmd_complete() argument
328 struct in_context *ctx = req->context; in eem_cmd_complete()
331 kfree(req->buf); in eem_cmd_complete()
332 usb_ep_free_request(ctx->ep, req); in eem_cmd_complete()
421 struct usb_request *req; in eem_unwrap() local
454 req = usb_ep_alloc_request(ep, GFP_ATOMIC); in eem_unwrap()
455 if (!req) { in eem_unwrap()
460 req->buf = kmalloc(skb2->len, GFP_KERNEL); in eem_unwrap()
461 if (!req in eem_unwrap()
[all...]
/kernel/linux/linux-5.10/samples/qmi/
H A Dqmi_sample_client.c305 struct test_ping_req_msg_v01 req = {}; in ping_write() local
309 memcpy(req.ping, "ping", sizeof(req.ping)); in ping_write()
318 test_ping_req_msg_v01_ei, &req); in ping_write()
374 struct test_data_req_msg_v01 *req; in data_write() local
378 req = kzalloc(sizeof(*req), GFP_KERNEL); in data_write()
379 if (!req) in data_write()
384 kfree(req); in data_write()
388 req in data_write()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/
H A Dravb_ptp.c178 struct ptp_extts_request *req, int on) in ravb_ptp_extts()
186 if (req->flags & ~(PTP_ENABLE_FEATURE | in ravb_ptp_extts()
192 if (req->index) in ravb_ptp_extts()
195 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts()
197 priv->ptp.extts[req->index] = on; in ravb_ptp_extts()
212 struct ptp_perout_request *req, int on) in ravb_ptp_perout()
222 if (req->flags) in ravb_ptp_perout()
225 if (req->index) in ravb_ptp_perout()
232 start_ns = req->start.sec * NSEC_PER_SEC + req in ravb_ptp_perout()
177 ravb_ptp_extts(struct ptp_clock_info *ptp, struct ptp_extts_request *req, int on) ravb_ptp_extts() argument
211 ravb_ptp_perout(struct ptp_clock_info *ptp, struct ptp_perout_request *req, int on) ravb_ptp_perout() argument
277 ravb_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *req, int on) ravb_ptp_enable() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/renesas/
H A Dravb_ptp.c171 struct ptp_extts_request *req, int on) in ravb_ptp_extts()
180 if (req->flags & ~(PTP_ENABLE_FEATURE | in ravb_ptp_extts()
186 if (req->index) in ravb_ptp_extts()
189 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts()
191 priv->ptp.extts[req->index] = on; in ravb_ptp_extts()
206 struct ptp_perout_request *req, int on) in ravb_ptp_perout()
217 if (req->flags) in ravb_ptp_perout()
220 if (req->index) in ravb_ptp_perout()
227 start_ns = req->start.sec * NSEC_PER_SEC + req in ravb_ptp_perout()
170 ravb_ptp_extts(struct ptp_clock_info *ptp, struct ptp_extts_request *req, int on) ravb_ptp_extts() argument
205 ravb_ptp_perout(struct ptp_clock_info *ptp, struct ptp_perout_request *req, int on) ravb_ptp_perout() argument
272 ravb_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *req, int on) ravb_ptp_enable() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_eem.c178 DBG(cdev, "invalid control req%02x.%02x v%04x i%04x l%d\n", in eem_setup()
324 static void eem_cmd_complete(struct usb_ep *ep, struct usb_request *req) in eem_cmd_complete() argument
326 struct in_context *ctx = req->context; in eem_cmd_complete()
329 kfree(req->buf); in eem_cmd_complete()
330 usb_ep_free_request(ctx->ep, req); in eem_cmd_complete()
419 struct usb_request *req; in eem_unwrap() local
452 req = usb_ep_alloc_request(ep, GFP_ATOMIC); in eem_unwrap()
453 if (!req) { in eem_unwrap()
458 req->buf = kmalloc(skb2->len, GFP_KERNEL); in eem_unwrap()
459 if (!req in eem_unwrap()
[all...]

Completed in 13 milliseconds

1...<<61626364656667686970>>...228