Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 25 of 181) sorted by relevance

12345678

/external/erofs-utils/lib/
Ddecompress.c15 static int z_erofs_decompress_lzma(struct z_erofs_decompress_req *rq) in z_erofs_decompress_lzma() argument
18 u8 *dest = (u8 *)rq->out; in z_erofs_decompress_lzma()
19 u8 *src = (u8 *)rq->in; in z_erofs_decompress_lzma()
29 if (inputmargin >= rq->inputsize) in z_erofs_decompress_lzma()
32 if (rq->decodedskip) { in z_erofs_decompress_lzma()
33 buff = malloc(rq->decodedlength); in z_erofs_decompress_lzma()
41 strm.avail_in = rq->inputsize - inputmargin; in z_erofs_decompress_lzma()
43 strm.avail_out = rq->decodedlength; in z_erofs_decompress_lzma()
45 ret2 = lzma_microlzma_decoder(&strm, strm.avail_in, rq->decodedlength, in z_erofs_decompress_lzma()
46 !rq->partial_decoding, in z_erofs_decompress_lzma()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf.c19 extern const struct rq runqueues __ksym; /* struct type global var. */
25 struct rq *rq; in handler() local
35 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
36 if (rq) in handler()
37 out__rq_cpu = rq->cpu; in handler()
42 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in handler()
43 if (rq) /* should always be valid, but we can't spare the check. */ in handler()
44 out__cpu_0_rq_cpu = rq->cpu; in handler()
47 rq = (struct rq *)bpf_this_cpu_ptr(&runqueues); in handler()
48 out__this_rq_cpu = rq->cpu; in handler()
Dtest_ksyms_weak.c21 extern const struct rq runqueues __ksym __weak; /* typed */
36 struct rq *rq; in pass_handler() local
39 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in pass_handler()
40 if (rq) in pass_handler()
41 out__existing_typed = rq->cpu; in pass_handler()
Dtest_ksyms_btf_null_check.c8 extern const struct rq runqueues __ksym; /* struct type global var. */
14 struct rq *rq; in handler() local
19 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
25 *(volatile int *)(&rq->cpu); in handler()
/external/bcc/libbpf-tools/
Dbiosnoop.bpf.c58 int trace_pid(struct request *rq) in trace_pid() argument
65 bpf_map_update_elem(&infobyreq, &rq, &piddata, 0); in trace_pid()
70 int BPF_PROG(blk_account_io_start, struct request *rq) in BPF_PROG() argument
75 return trace_pid(rq); in BPF_PROG()
79 int BPF_KPROBE(blk_account_io_merge_bio, struct request *rq) in BPF_KPROBE() argument
84 return trace_pid(rq); in BPF_KPROBE()
88 int trace_rq_start(struct request *rq, bool insert) in trace_rq_start() argument
93 stagep = bpf_map_lookup_elem(&start, &rq); in trace_rq_start()
95 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in trace_rq_start()
108 bpf_map_update_elem(&start, &rq, stagep, 0); in trace_rq_start()
[all …]
Dbiostacks.bpf.c41 int trace_start(void *ctx, struct request *rq, bool merge_bio) in trace_start() argument
44 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in trace_start()
53 i_rqinfop = bpf_map_lookup_elem(&rqinfos, &rq); in trace_start()
67 bpf_map_update_elem(&rqinfos, &rq, i_rqinfop, 0); in trace_start()
72 int BPF_PROG(blk_account_io_start, struct request *rq) in BPF_PROG() argument
74 return trace_start(ctx, rq, false); in BPF_PROG()
78 int BPF_KPROBE(blk_account_io_merge_bio, struct request *rq) in BPF_KPROBE() argument
80 return trace_start(ctx, rq, true); in BPF_KPROBE()
84 int BPF_PROG(blk_account_io_done, struct request *rq) in BPF_PROG() argument
91 i_rqinfop = bpf_map_lookup_elem(&rqinfos, &rq); in BPF_PROG()
[all …]
Dbiolatency.bpf.c48 int trace_rq_start(struct request *rq, int issue) in trace_rq_start() argument
50 if (issue && targ_queued && BPF_CORE_READ(rq->q, elevator)) in trace_rq_start()
56 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in trace_rq_start()
64 bpf_map_update_elem(&start, &rq, &ts, 0); in trace_rq_start()
103 int BPF_PROG(block_rq_complete, struct request *rq, int error, in BPF_PROG() argument
114 tsp = bpf_map_lookup_elem(&start, &rq); in BPF_PROG()
122 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in BPF_PROG()
128 hkey.cmd_flags = rq->cmd_flags; in BPF_PROG()
148 bpf_map_delete_elem(&start, &rq); in BPF_PROG()
/external/ComputeLibrary/src/core/NEON/kernels/arm_conv/pooling/
Dpooling_u8q.cpp58 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<uint8_t, uint8_t> * { in __anonf7fe37590202()
60 return new PoolingDepthfirstGeneric<uint8_t, uint8_t, Requantize32>(strat, args, rq); in __anonf7fe37590202()
70 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<uint8_t, uint8_t> * { in __anonf7fe37590402()
72 return new PoolingDepthfirstGeneric<uint8_t, uint8_t, Requantize32>(strat, args, rq); in __anonf7fe37590402()
84 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<uint8_t, uint8_t> * { in __anonf7fe37590602()
86 return new PoolingDepthfirstGeneric<uint8_t, uint8_t, Requantize32>(strat, args, rq); in __anonf7fe37590602()
96 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<uint8_t, uint8_t> * { in __anonf7fe37590802()
98 return new PoolingDepthfirstGeneric<uint8_t, uint8_t, Requantize32>(strat, args, rq); in __anonf7fe37590802()
109 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<uint8_t, uint8_t> * { in __anonf7fe37590a02()
111 return new PoolingDepthfirstGeneric<uint8_t, uint8_t, Requantize32>(strat, args, rq); in __anonf7fe37590a02()
[all …]
Dpooling_s8q.cpp58 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<int8_t, int8_t> * { in __anon5e09bdd70202()
60 return new PoolingDepthfirstGeneric<int8_t, int8_t, Requantize32>(strat, args, rq); in __anon5e09bdd70202()
70 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<int8_t, int8_t> * { in __anon5e09bdd70402()
72 return new PoolingDepthfirstGeneric<int8_t, int8_t, Requantize32>(strat, args, rq); in __anon5e09bdd70402()
84 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<int8_t, int8_t> * { in __anon5e09bdd70602()
86 return new PoolingDepthfirstGeneric<int8_t, int8_t, Requantize32>(strat, args, rq); in __anon5e09bdd70602()
96 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<int8_t, int8_t> * { in __anon5e09bdd70802()
98 return new PoolingDepthfirstGeneric<int8_t, int8_t, Requantize32>(strat, args, rq); in __anon5e09bdd70802()
109 [] (const PoolingArgs &args, const Requantize32 &rq) -> PoolingCommon<int8_t, int8_t> * { in __anon5e09bdd70a02()
111 return new PoolingDepthfirstGeneric<int8_t, int8_t, Requantize32>(strat, args, rq); in __anon5e09bdd70a02()
[all …]
/external/grpc-grpc/test/cpp/thread_manager/
Dthread_manager_test.cc49 ThreadManagerTest(const char* name, grpc_resource_quota* rq, in ThreadManagerTest() argument
51 : ThreadManager(name, rq, settings.min_pollers, settings.max_pollers), in ThreadManagerTest()
122 grpc_resource_quota* rq = grpc_resource_quota_create("Test-poll-and-work"); in TestPollAndWork() local
127 grpc::ThreadManagerTest test_thread_mgr("TestThreadManager", rq, settings); in TestPollAndWork()
128 grpc_resource_quota_unref(rq); in TestPollAndWork()
143 grpc_resource_quota* rq = grpc_resource_quota_create("Test-thread-quota"); in TestThreadQuota() local
144 grpc_resource_quota_set_max_threads(rq, kMaxNumThreads); in TestThreadQuota()
156 grpc::ThreadManagerTest test_thread_mgr_1("TestThreadManager-1", rq, in TestThreadQuota()
158 grpc::ThreadManagerTest test_thread_mgr_2("TestThreadManager-2", rq, in TestThreadQuota()
161 grpc_resource_quota_unref(rq); in TestThreadQuota()
/external/bcc/tests/python/
Dtest_trace3.c5 struct Request { u64 rq; }; member
31 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_start_request() local
33 requests.update(&rq, &tm); in probe_blk_start_request()
38 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_update_request() local
39 struct Time *tm = requests.lookup(&rq); in probe_blk_update_request()
42 requests.delete(&rq); in probe_blk_update_request()
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c106 static struct tst_ts *rq; variable
123 rq->type = variants[tst_variant].ts_type; in setup()
137 rm->type = rq->type; in do_test()
151 tst_ts_set_sec(rq, tc->tv_sec); in do_test()
152 tst_ts_set_nsec(rq, tc->tv_nsec); in do_test()
157 request = tst_ts_get(rq); in do_test()
191 long long expect_ms = tst_ts_to_ms(*rq); in do_test()
228 {&rq, .size = sizeof(*rq)},
/external/deqp-deps/glslang/Test/baseResults/
DrayQuery-global.rgen.out18 Name 9 "rq"
20 Name 12 "rq"
61 9(rq): 7(ptr) FunctionParameter
63 16: 15(bool) RayQueryProceedKHR 9(rq)
68 12(rq): 7(ptr) FunctionParameter
70 19: 15(bool) RayQueryProceedKHR 12(rq)
72 21: 2 FunctionCall 10(otherWrapper(rq1;) 12(rq)
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
DrayQuery-global.rgen.out18 Name 9 "rq"
20 Name 12 "rq"
61 9(rq): 7(ptr) FunctionParameter
63 16: 15(bool) RayQueryProceedKHR 9(rq)
68 12(rq): 7(ptr) FunctionParameter
70 19: 15(bool) RayQueryProceedKHR 12(rq)
72 21: 2 FunctionCall 10(otherWrapper(rq1;) 12(rq)
/external/angle/third_party/vulkan-deps/glslang/src/Test/
DrayQuery-global.rgen9 void otherWrapper(rayQueryEXT rq) {
10 rayQueryProceedEXT(rq);
14 void wrapper(rayQueryEXT rq) {
16 rayQueryProceedEXT(rq);
18 otherWrapper(rq);
/external/deqp-deps/glslang/Test/
DrayQuery-global.rgen9 void otherWrapper(rayQueryEXT rq) {
10 rayQueryProceedEXT(rq);
14 void wrapper(rayQueryEXT rq) {
16 rayQueryProceedEXT(rq);
18 otherWrapper(rq);
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c90 .rq = &ts,
100 .rq = &ts,
110 .rq = &ts,
118 .rq = &ts,
129 .rq = &ts,
176 pid = set_sig(tc->rq, tv->clock_gettime); in do_test()
179 set_timeout(tc->rq, tv->clock_gettime); in do_test()
197 abs_timeout = tst_ts_get(tc->rq); in do_test()
218 TEST(tv->mqt_receive(*tc->fd, rmsg, len, &prio, tst_ts_get(tc->rq))); in do_test()
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c89 .rq = &ts,
98 .rq = &ts,
107 .rq = &ts,
116 .rq = &ts,
123 .rq = &ts,
163 pid = set_sig(tc->rq, tv->clock_gettime); in do_test()
166 set_timeout(tc->rq, tv->clock_gettime); in do_test()
181 abs_timeout = tst_ts_get(tc->rq); in do_test()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c34 struct mq_attr *rq; member
55 .rq = &(struct mq_attr){.mq_maxmsg = 20, .mq_msgsize = 16384},
231 TEST(fd = mq_open(qname, tc->oflag, S_IRWXU, tc->rq)); in do_test()
233 if (fd > 0 && tc->rq) { in do_test()
239 if (oldattr.mq_maxmsg != tc->rq->mq_maxmsg in do_test()
240 || oldattr.mq_msgsize != tc->rq->mq_msgsize) { in do_test()
244 tc->rq->mq_maxmsg, oldattr.mq_maxmsg, tc->rq->mq_msgsize, in do_test()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_u8q_mopa_2VLx2VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_u8q_mopa_2VLx2VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_u8q_mopa_2VLx2VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_u8q_mopa_2VLx2VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_u8q_mopa_2VLx2VL()
447 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_u8q_mopa_2VLx2VL()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_s8q_mopa_4VLx1VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_s8q_mopa_4VLx1VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_s8q_mopa_4VLx1VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_s8q_mopa_4VLx1VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_s8q_mopa_4VLx1VL()
499 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_s8q_mopa_4VLx1VL()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_u8q_mopa_4VLx1VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_u8q_mopa_4VLx1VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_u8q_mopa_4VLx1VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_u8q_mopa_4VLx1VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_u8q_mopa_4VLx1VL()
499 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_u8q_mopa_4VLx1VL()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_u8q_mopa_1VLx4VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_u8q_mopa_1VLx4VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_u8q_mopa_1VLx4VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_u8q_mopa_1VLx4VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_u8q_mopa_1VLx4VL()
400 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_u8q_mopa_1VLx4VL()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_s8q_mopa_2VLx2VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_s8q_mopa_2VLx2VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_s8q_mopa_2VLx2VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_s8q_mopa_2VLx2VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_s8q_mopa_2VLx2VL()
447 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_s8q_mopa_2VLx2VL()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/kernels/sme2_interleaved_nomerge_s8q_mopa_1VLx4VL/
Dgeneric.cpp35 …, const int N, const int K, const int32_t *const bias, const Requantize32 &rq, const int n_0, bool… in sme2_interleaved_nomerge_s8q_mopa_1VLx4VL() argument
45 const Requantize32 &rq, in sme2_interleaved_nomerge_s8q_mopa_1VLx4VL()
67 if (rq.per_channel_requant) in sme2_interleaved_nomerge_s8q_mopa_1VLx4VL()
90 KernelArgs args(A, B, C, ldc, M, N, K, bias, rq, n_0, accumulate, accumulator_buffer); in sme2_interleaved_nomerge_s8q_mopa_1VLx4VL()
400 …b] "I" (offsetof(KernelArgs, ldcb)), [offsetof_n_0] "I" (offsetof(KernelArgs, n_0)), [rq] "r" (&rq) in sme2_interleaved_nomerge_s8q_mopa_1VLx4VL()

12345678