Searched refs:ctx (Results 126 - 150 of 3478) sorted by relevance

1234567891011>>

/linux-master/arch/mips/net/
H A Dbpf_jit_comp.c127 int push_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) argument
135 emit(ctx, sw, reg, depth, MIPS_R_SP);
137 emit(ctx, sd, reg, depth, MIPS_R_SP);
142 ctx->stack_used = max((int)ctx->stack_used, depth);
150 int pop_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) argument
158 emit(ctx, lw, reg, depth, MIPS_R_SP);
160 emit(ctx, ld, reg, depth, MIPS_R_SP);
169 int get_target(struct jit_context *ctx, u32 loc) argument
171 u32 index = INDEX(ctx
185 get_offset(const struct jit_context *ctx, int off) argument
192 emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm) argument
204 emit_mov_r(struct jit_context *ctx, u8 dst, u8 src) argument
298 emit_alu_i(struct jit_context *ctx, u8 dst, s32 imm, u8 op) argument
342 emit_alu_r(struct jit_context *ctx, u8 dst, u8 src, u8 op) argument
409 emit_atomic_r(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) argument
445 emit_cmpxchg_r(struct jit_context *ctx, u8 dst, u8 src, u8 res, s16 off) argument
458 emit_bswap_r(struct jit_context *ctx, u8 dst, u32 width) argument
553 setup_jmp(struct jit_context *ctx, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
605 setup_jmp_i(struct jit_context *ctx, s32 imm, u8 width, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
650 setup_jmp_r(struct jit_context *ctx, bool same_reg, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
677 finish_jmp(struct jit_context *ctx, u8 jit_op, s16 bpf_off) argument
698 emit_jmp_i(struct jit_context *ctx, u8 dst, s32 imm, s32 off, u8 op) argument
758 emit_jmp_r(struct jit_context *ctx, u8 dst, u8 src, s32 off, u8 op) argument
826 emit_ja(struct jit_context *ctx, s16 off) argument
838 emit_exit(struct jit_context *ctx) argument
850 build_body(struct jit_context *ctx) argument
888 set_convert_flag(struct jit_context *ctx, bool enable) argument
916 struct jit_context ctx; local
[all...]
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sharp-ls060t1sx01.c34 static void sharp_ls060_reset(struct sharp_ls060 *ctx) argument
36 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
38 gpiod_set_value_cansleep(ctx->reset_gpio, 1);
40 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
44 static int sharp_ls060_on(struct sharp_ls060 *ctx) argument
46 struct mipi_dsi_device *dsi = ctx->dsi;
72 static int sharp_ls060_off(struct sharp_ls060 *ctx) argument
74 struct mipi_dsi_device *dsi = ctx->dsi;
99 struct sharp_ls060 *ctx = to_sharp_ls060(panel); local
100 struct device *dev = &ctx
156 struct sharp_ls060 *ctx = to_sharp_ls060(panel); local
220 struct sharp_ls060 *ctx; local
278 struct sharp_ls060 *ctx = mipi_dsi_get_drvdata(dsi); local
[all...]
/linux-master/tools/testing/selftests/lsm/
H A Dlsm_set_self_attr_test.c27 struct lsm_ctx *ctx = calloc(page_size, 1); local
30 ASSERT_NE(NULL, ctx);
32 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size,
35 ASSERT_EQ(-1, lsm_set_self_attr(LSM_ATTR_CURRENT, ctx, 1, 0));
37 free(ctx);
43 struct lsm_ctx *ctx = calloc(page_size, 1); local
46 ASSERT_NE(NULL, ctx);
48 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size,
51 ASSERT_EQ(-1, lsm_set_self_attr(LSM_ATTR_CURRENT, ctx, size, 1));
53 free(ctx);
59 char *ctx = calloc(page_size, 1); local
[all...]
/linux-master/include/media/
H A Ddvb_vb2.h117 static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx, argument
122 static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx) argument
126 #define dvb_vb2_is_streaming(ctx) (0)
127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0)
129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, argument
139 * @ctx: control struct for VB2 handler
144 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int non_blocking);
148 * put @ctx at DVB_VB2_STATE_NONE state.
149 * @ctx: control struct for VB2 handler
151 int dvb_vb2_release(struct dvb_vb2_ctx *ctx);
[all...]
/linux-master/drivers/misc/cxl/
H A Dfault.c32 static struct cxl_sste *find_free_sste(struct cxl_context *ctx, argument
36 unsigned int mask = (ctx->sst_size >> 7) - 1; /* SSTP0[SegTableSize] */
45 primary = ctx->sstp + (hash << 3);
57 ret = primary + ctx->sst_lru;
58 ctx->sst_lru = (ctx->sst_lru + 1) & 0x7;
63 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) argument
69 spin_lock_irqsave(&ctx->sste_lock, flags);
70 sste = find_free_sste(ctx, slb);
75 sste - ctx
84 cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument
97 cxl_ack_ae(struct cxl_context *ctx) argument
112 cxl_handle_segment_miss(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument
180 cxl_handle_page_fault(struct cxl_context *ctx, struct mm_struct *mm, u64 dsisr, u64 dar) argument
198 get_mem_context(struct cxl_context *ctx) argument
209 cxl_is_segment_miss(struct cxl_context *ctx, u64 dsisr) argument
217 cxl_is_page_fault(struct cxl_context *ctx, u64 dsisr) argument
230 struct cxl_context *ctx = local
293 cxl_prefault_vma(struct cxl_context *ctx, struct mm_struct *mm) argument
319 cxl_prefault(struct cxl_context *ctx, u64 wed) argument
[all...]
H A Dapi.c51 void cxl_release_mapping(struct cxl_context *ctx) argument
53 if (ctx->kernelapi && ctx->mapping)
104 struct cxl_context *ctx; local
111 ctx = cxl_context_alloc();
112 if (!ctx)
115 ctx->kernelapi = true;
118 rc = cxl_context_init(ctx, afu, false);
122 return ctx;
125 kfree(ctx);
136 cxl_release_context(struct cxl_context *ctx) argument
147 cxl_find_afu_irq(struct cxl_context *ctx, int num) argument
163 cxl_set_priv(struct cxl_context *ctx, void *priv) argument
174 cxl_get_priv(struct cxl_context *ctx) argument
183 cxl_allocate_afu_irqs(struct cxl_context *ctx, int num) argument
213 cxl_free_afu_irqs(struct cxl_context *ctx) argument
231 cxl_map_afu_irq(struct cxl_context *ctx, int num, irq_handler_t handler, void *cookie, char *name) argument
247 cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie) argument
266 cxl_start_context(struct cxl_context *ctx, u64 wed, struct task_struct *task) argument
333 cxl_process_element(struct cxl_context *ctx) argument
340 cxl_stop_context(struct cxl_context *ctx) argument
346 cxl_set_master(struct cxl_context *ctx) argument
388 cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, int *fd) argument
443 cxl_set_driver_ops(struct cxl_context *ctx, struct cxl_afu_driver_ops *ops) argument
452 cxl_context_events_pending(struct cxl_context *ctx, unsigned int new_events) argument
460 cxl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work *work) argument
487 cxl_psa_map(struct cxl_context *ctx) argument
504 cxl_afu_reset(struct cxl_context *ctx) argument
[all...]
/linux-master/crypto/
H A Dzstd.c32 static int zstd_comp_init(struct zstd_ctx *ctx) argument
38 ctx->cwksp = vzalloc(wksp_size);
39 if (!ctx->cwksp) {
44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size);
45 if (!ctx->cctx) {
52 vfree(ctx->cwksp);
56 static int zstd_decomp_init(struct zstd_ctx *ctx) argument
61 ctx->dwksp = vzalloc(wksp_size);
62 if (!ctx
79 zstd_comp_exit(struct zstd_ctx *ctx) argument
86 zstd_decomp_exit(struct zstd_ctx *ctx) argument
93 __zstd_init(void *ctx) argument
109 struct zstd_ctx *ctx; local
126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
131 __zstd_exit(void *ctx) argument
137 zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) argument
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
150 __zstd_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
172 zstd_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
179 __zstd_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
200 zstd_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
[all...]
H A Dansi_cprng.c81 static int _get_more_prng_bytes(struct prng_context *ctx, int cont_test) argument
89 ctx);
91 hexdump("Input DT: ", ctx->DT, DEFAULT_BLK_SZ);
92 hexdump("Input I: ", ctx->I, DEFAULT_BLK_SZ);
93 hexdump("Input V: ", ctx->V, DEFAULT_BLK_SZ);
106 memcpy(tmp, ctx->DT, DEFAULT_BLK_SZ);
107 output = ctx->I;
117 xor_vectors(ctx->I, ctx->V, tmp, DEFAULT_BLK_SZ);
119 output = ctx
181 get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, int do_cont_test) argument
271 free_prng_context(struct prng_context *ctx) argument
276 reset_prng_context(struct prng_context *ctx, const unsigned char *key, size_t klen, const unsigned char *V, const unsigned char *DT) argument
322 struct prng_context *ctx = crypto_tfm_ctx(tfm); local
[all...]
/linux-master/arch/loongarch/net/
H A Dbpf_jit.h27 struct jit_ctx ctx; member in struct:jit_data
30 #define emit_insn(ctx, func, ...) \
32 if (ctx->image != NULL) { \
33 union loongarch_instruction *insn = &ctx->image[ctx->idx]; \
36 ctx->idx++; \
47 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) argument
56 return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1));
59 static inline int epilogue_offset(const struct jit_ctx *ctx) argument
68 emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) argument
77 emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) argument
85 move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) argument
106 move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) argument
169 move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, enum loongarch_gpr rj) argument
203 cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
251 cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
259 uncond_jmp_offs26(struct jit_ctx *ctx, int jmp_offset) argument
264 emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
286 emit_uncond_jmp(struct jit_ctx *ctx, int jmp_offset) argument
296 emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
[all...]
/linux-master/drivers/media/platform/chips-media/coda/
H A Dtrace.h14 TP_PROTO(struct coda_ctx *ctx, int cmd),
16 TP_ARGS(ctx, cmd),
20 __field(int, ctx)
25 __entry->minor = ctx->fh.vdev->minor;
26 __entry->ctx = ctx->idx;
30 TP_printk("minor = %d, ctx = %d, cmd = %d",
31 __entry->minor, __entry->ctx, __entry->cmd)
35 TP_PROTO(struct coda_ctx *ctx),
37 TP_ARGS(ctx),
[all...]
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c91 static void set_default_params(struct hva_ctx *ctx) argument
93 struct hva_frameinfo *frameinfo = &ctx->frameinfo;
94 struct hva_streaminfo *streaminfo = &ctx->streaminfo;
111 ctx->colorspace = V4L2_COLORSPACE_REC709;
112 ctx->xfer_func = V4L2_XFER_FUNC_DEFAULT;
113 ctx->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
114 ctx->quantization = V4L2_QUANTIZATION_DEFAULT;
116 ctx->max_stream_size = estimated_stream_size(streaminfo->width,
120 static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx, argument
124 struct hva_dev *hva = ctx_to_hdev(ctx);
189 hva_open_encoder(struct hva_ctx *ctx, u32 streamformat, u32 pixelformat, struct hva_enc **penc) argument
228 hva_dbg_summary(struct hva_ctx *ctx) argument
257 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
271 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
285 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
298 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
317 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
338 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
402 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
452 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
482 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
520 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
536 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
556 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
615 struct hva_ctx *ctx = container_of(ctrl->handler, struct hva_ctx, local
690 hva_ctrls_setup(struct hva_ctx *ctx) argument
804 struct hva_ctx *ctx = container_of(work, struct hva_ctx, run_work); local
854 struct hva_ctx *ctx = priv; local
862 struct hva_ctx *ctx = priv; local
872 struct hva_ctx *ctx = priv; local
910 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
932 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
984 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
993 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
1064 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
1125 queue_init(struct hva_ctx *ctx, struct vb2_queue *vq) argument
1140 struct hva_ctx *ctx = priv; local
1164 struct hva_ctx *ctx; local
1230 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
[all...]
/linux-master/arch/s390/crypto/
H A Dsha_common.c18 struct s390_sha_ctx *ctx = shash_desc_ctx(desc); local
23 index = ctx->count % bsize;
24 ctx->count += len;
31 memcpy(ctx->buf + index, data, bsize - index);
32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize);
41 cpacf_kimd(ctx->func, ctx->state, data, n);
47 memcpy(ctx
74 struct s390_sha_ctx *ctx = shash_desc_ctx(desc); local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_custom_sec_handlers.c18 int abc1(void *ctx) argument
25 int abc2(void *ctx) argument
32 int custom1(void *ctx) argument
39 int custom2(void *ctx) argument
46 int kprobe1(void *ctx) argument
53 int xyz(void *ctx) argument
H A Dtest_sk_lookup.c76 int lookup_pass(struct bpf_sk_lookup *ctx) argument
82 int lookup_drop(struct bpf_sk_lookup *ctx) argument
88 int check_ifindex(struct bpf_sk_lookup *ctx) argument
90 if (ctx->ingress_ifindex == 1)
96 int reuseport_pass(struct sk_reuseport_md *ctx) argument
102 int reuseport_drop(struct sk_reuseport_md *ctx) argument
109 int redir_port(struct bpf_sk_lookup *ctx) argument
114 if (ctx->local_port != DST_PORT)
121 err = bpf_sk_assign(ctx, sk, 0);
128 int redir_ip4(struct bpf_sk_lookup *ctx) argument
151 redir_ip6(struct bpf_sk_lookup *ctx) argument
176 select_sock_a(struct bpf_sk_lookup *ctx) argument
191 select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) argument
206 select_sock_b(struct sk_reuseport_md *ctx) argument
217 sk_assign_eexist(struct bpf_sk_lookup *ctx) argument
250 sk_assign_replace_flag(struct bpf_sk_lookup *ctx) argument
282 sk_assign_null(struct bpf_sk_lookup *ctx) argument
325 access_ctx_sk(struct bpf_sk_lookup *ctx) argument
391 ctx_narrow_access(struct bpf_sk_lookup *ctx) argument
575 sk_assign_esocknosupport(struct bpf_sk_lookup *ctx) argument
600 multi_prog_pass1(struct bpf_sk_lookup *ctx) argument
607 multi_prog_pass2(struct bpf_sk_lookup *ctx) argument
614 multi_prog_drop1(struct bpf_sk_lookup *ctx) argument
621 multi_prog_drop2(struct bpf_sk_lookup *ctx) argument
627 select_server_a(struct bpf_sk_lookup *ctx) argument
645 multi_prog_redir1(struct bpf_sk_lookup *ctx) argument
653 multi_prog_redir2(struct bpf_sk_lookup *ctx) argument
[all...]
/linux-master/drivers/power/reset/
H A Dsyscon-reboot.c28 struct syscon_reboot_context *ctx = local
33 regmap_update_bits(ctx->map, ctx->offset, ctx->mask, ctx->value);
43 struct syscon_reboot_context *ctx; local
49 ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNEL);
50 if (!ctx)
53 ctx
[all...]
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_context.h91 pvr_context_get_queue_for_job(struct pvr_context *ctx, enum drm_pvr_job_type type) argument
95 return ctx->type == DRM_PVR_CTX_TYPE_RENDER ? ctx->queues.geometry : NULL;
97 return ctx->type == DRM_PVR_CTX_TYPE_RENDER ? ctx->queues.fragment : NULL;
99 return ctx->type == DRM_PVR_CTX_TYPE_COMPUTE ? ctx->queues.compute : NULL;
101 return ctx->type == DRM_PVR_CTX_TYPE_TRANSFER_FRAG ? ctx->queues.transfer : NULL;
109 * @ctx
118 pvr_context_get(struct pvr_context *ctx) argument
140 struct pvr_context *ctx; local
164 struct pvr_context *ctx; local
184 pvr_context_get_fw_addr(struct pvr_context *ctx) argument
[all...]
/linux-master/drivers/soc/mediatek/
H A Dmtk-devapc.c59 static void clear_vio_status(struct mtk_devapc_context *ctx) argument
64 reg = ctx->infra_base + ctx->data->regs_ofs->vio_sta_offset;
66 for (i = 0; i < VIO_MOD_TO_REG_IND(ctx->data->vio_idx_num) - 1; i++)
69 writel(GENMASK(VIO_MOD_TO_REG_OFF(ctx->data->vio_idx_num) - 1, 0),
73 static void mask_module_irq(struct mtk_devapc_context *ctx, bool mask) argument
79 reg = ctx->infra_base + ctx->data->regs_ofs->vio_mask_offset;
86 for (i = 0; i < VIO_MOD_TO_REG_IND(ctx->data->vio_idx_num) - 1; i++)
91 val |= GENMASK(VIO_MOD_TO_REG_OFF(ctx
112 devapc_sync_vio_dbg(struct mtk_devapc_context *ctx) argument
161 devapc_extract_vio_dbg(struct mtk_devapc_context *ctx) argument
191 struct mtk_devapc_context *ctx = data; local
204 start_devapc(struct mtk_devapc_context *ctx) argument
214 stop_devapc(struct mtk_devapc_context *ctx) argument
257 struct mtk_devapc_context *ctx; local
297 struct mtk_devapc_context *ctx = platform_get_drvdata(pdev); local
[all...]
/linux-master/io_uring/
H A Dnapi.c36 void __io_napi_add(struct io_ring_ctx *ctx, struct socket *sock) argument
53 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))];
71 spin_lock(&ctx->napi_lock);
73 spin_unlock(&ctx->napi_lock);
79 list_add_tail(&e->list, &ctx->napi_list);
80 spin_unlock(&ctx->napi_lock);
83 static void __io_napi_remove_stale(struct io_ring_ctx *ctx) argument
88 spin_lock(&ctx->napi_lock);
89 hash_for_each(ctx
99 io_napi_remove_stale(struct io_ring_ctx *ctx, bool is_stale) argument
133 __io_napi_do_busy_loop(struct io_ring_ctx *ctx, void *loop_end_arg) argument
154 io_napi_blocking_busy_loop(struct io_ring_ctx *ctx, struct io_wait_queue *iowq) argument
182 io_napi_init(struct io_ring_ctx *ctx) argument
196 io_napi_free(struct io_ring_ctx *ctx) argument
217 io_register_napi(struct io_ring_ctx *ctx, void __user *arg) argument
247 io_unregister_napi(struct io_ring_ctx *ctx, void __user *arg) argument
271 __io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
300 __io_napi_busy_loop(struct io_ring_ctx *ctx, struct io_wait_queue *iowq) argument
314 io_napi_sqpoll_busy_poll(struct io_ring_ctx *ctx) argument
[all...]
H A Dio_uring.h40 struct io_ring_ctx *ctx; member in struct:io_wait_queue
53 struct io_ring_ctx *ctx = iowq->ctx; local
54 int dist = READ_ONCE(ctx->rings->cq.tail) - (int) iowq->cq_tail;
61 return dist >= 0 || atomic_read(&ctx->cq_timeouts) != iowq->nr_timeouts;
64 bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow);
66 int io_run_task_work_sig(struct io_ring_ctx *ctx);
69 bool io_post_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags);
71 void __io_commit_cqring_flush(struct io_ring_ctx *ctx);
91 struct io_ring_ctx *ctx);
125 io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) argument
147 io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) argument
160 io_get_cqe_overflow(struct io_ring_ctx *ctx, struct io_uring_cqe **ret, bool overflow) argument
178 io_get_cqe(struct io_ring_ctx *ctx, struct io_uring_cqe **ret) argument
183 io_fill_cqe_req(struct io_ring_ctx *ctx, struct io_kiocb *req) argument
235 io_ring_submit_unlock(struct io_ring_ctx *ctx, unsigned issue_flags) argument
243 io_ring_submit_lock(struct io_ring_ctx *ctx, unsigned issue_flags) argument
257 io_commit_cqring(struct io_ring_ctx *ctx) argument
263 io_poll_wq_wake(struct io_ring_ctx *ctx) argument
270 io_cqring_wake(struct io_ring_ctx *ctx) argument
287 io_sqring_full(struct io_ring_ctx *ctx) argument
294 io_sqring_entries(struct io_ring_ctx *ctx) argument
341 io_task_work_pending(struct io_ring_ctx *ctx) argument
346 io_tw_lock(struct io_ring_ctx *ctx, struct io_tw_state *ts) argument
369 io_commit_cqring_flush(struct io_ring_ctx *ctx) argument
385 io_req_cache_empty(struct io_ring_ctx *ctx) argument
393 io_extract_req(struct io_ring_ctx *ctx) argument
402 io_alloc_req(struct io_ring_ctx *ctx, struct io_kiocb **req) argument
412 io_allowed_defer_tw_run(struct io_ring_ctx *ctx) argument
417 io_allowed_run_tw(struct io_ring_ctx *ctx) argument
434 uring_sqe_size(struct io_ring_ctx *ctx) argument
457 io_has_work(struct io_ring_ctx *ctx) argument
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) argument
87 if (ctx->prio < NORMAL_PRIO)
88 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio);
90 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio);
96 void __spu_update_sched_info(struct spu_context *ctx) argument
102 BUG_ON(!list_empty(&ctx->rq));
109 ctx->tid = current->pid;
118 ctx
137 spu_update_sched_info(struct spu_context *ctx) argument
155 __node_allowed(struct spu_context *ctx, int node) argument
167 node_allowed(struct spu_context *ctx, int node) argument
191 struct spu_context *ctx = spu->ctx; local
207 spu_bind_context(struct spu *spu, struct spu_context *ctx) argument
256 struct spu_context *ctx; local
267 struct spu_context *ctx; local
288 aff_ref_location(struct spu_context *ctx, int mem_aff, int group_size, int lowest_offset) argument
343 struct spu_context *tmp, *ctx; local
393 has_affinity(struct spu_context *ctx) argument
419 spu_unbind_context(struct spu *spu, struct spu_context *ctx) argument
475 __spu_add_to_rq(struct spu_context *ctx) argument
498 spu_add_to_rq(struct spu_context *ctx) argument
505 __spu_del_from_rq(struct spu_context *ctx) argument
519 spu_del_from_rq(struct spu_context *ctx) argument
526 spu_prio_wait(struct spu_context *ctx) argument
553 spu_get_idle(struct spu_context *ctx) argument
611 find_victim(struct spu_context *ctx) argument
699 __spu_schedule(struct spu *spu, struct spu_context *ctx) argument
721 spu_schedule(struct spu *spu, struct spu_context *ctx) argument
744 spu_unschedule(struct spu *spu, struct spu_context *ctx, int free_spu) argument
768 spu_activate(struct spu_context *ctx, unsigned long flags) argument
821 struct spu_context *ctx; local
844 __spu_deactivate(struct spu_context *ctx, int force, int max_prio) argument
877 spu_deactivate(struct spu_context *ctx) argument
891 spu_yield(struct spu_context *ctx) argument
901 spusched_tick(struct spu_context *ctx) argument
1002 struct spu_context *ctx = spu->ctx; local
1019 spuctx_switch_state(struct spu_context *ctx, enum spu_utilization_state new_state) argument
[all...]
H A Dfile.c160 struct spu_context *ctx = i->i_ctx; local
162 mutex_lock(&ctx->mapping_lock);
163 file->private_data = ctx;
165 ctx->local_store = inode->i_mapping;
166 mutex_unlock(&ctx->mapping_lock);
174 struct spu_context *ctx = i->i_ctx; local
176 mutex_lock(&ctx->mapping_lock);
178 ctx->local_store = NULL;
179 mutex_unlock(&ctx->mapping_lock);
184 spufs_mem_dump(struct spu_context *ctx, struc argument
193 struct spu_context *ctx = file->private_data; local
210 struct spu_context *ctx = file->private_data; local
233 struct spu_context *ctx = vma->vm_file->private_data; local
265 struct spu_context *ctx = vma->vm_file->private_data; local
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; local
396 struct spu_context *ctx = data; local
410 struct spu_context *ctx = data; local
425 struct spu_context *ctx = i->i_ctx; local
440 struct spu_context *ctx = i->i_ctx; local
469 spufs_regs_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
480 struct spu_context *ctx = file->private_data; local
500 struct spu_context *ctx = file->private_data; local
526 spufs_fpcr_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
537 struct spu_context *ctx = file->private_data; local
552 struct spu_context *ctx = file->private_data; local
597 struct spu_context *ctx = file->private_data; local
643 struct spu_context *ctx = file->private_data; local
671 spu_ibox_read(struct spu_context *ctx, u32 *data) argument
679 struct spu_context *ctx = spu->ctx; local
700 struct spu_context *ctx = file->private_data; local
752 struct spu_context *ctx = file->private_data; local
778 struct spu_context *ctx = file->private_data; local
804 spu_wbox_write(struct spu_context *ctx, u32 data) argument
812 struct spu_context *ctx = spu->ctx; local
833 struct spu_context *ctx = file->private_data; local
884 struct spu_context *ctx = file->private_data; local
910 struct spu_context *ctx = file->private_data; local
938 struct spu_context *ctx = i->i_ctx; local
952 struct spu_context *ctx = i->i_ctx; local
961 spufs_signal1_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
970 __spufs_signal1_read(struct spu_context *ctx, char __user *buf, size_t len) argument
987 struct spu_context *ctx = file->private_data; local
1001 struct spu_context *ctx; local
1073 struct spu_context *ctx = i->i_ctx; local
1087 struct spu_context *ctx = i->i_ctx; local
1096 spufs_signal2_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
1105 __spufs_signal2_read(struct spu_context *ctx, char __user *buf, size_t len) argument
1121 struct spu_context *ctx = file->private_data; local
1136 struct spu_context *ctx; local
1245 struct spu_context *ctx = data; local
1257 spufs_signal1_type_get(struct spu_context *ctx) argument
1267 struct spu_context *ctx = data; local
1279 spufs_signal2_type_get(struct spu_context *ctx) argument
1318 struct spu_context *ctx = i->i_ctx; local
1333 struct spu_context *ctx = i->i_ctx; local
1377 struct spu_context *ctx = i->i_ctx; local
1391 struct spu_context *ctx = i->i_ctx; local
1440 struct spu_context *ctx = i->i_ctx; local
1461 struct spu_context *ctx = i->i_ctx; local
1473 struct spu_context *ctx = spu->ctx; local
1479 spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) argument
1497 struct spu_context *ctx = file->private_data; local
1602 spu_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command cmd, int *error) argument
1623 struct spu_context *ctx = file->private_data; local
1672 struct spu_context *ctx = file->private_data; local
1702 struct spu_context *ctx = file->private_data; local
1752 struct spu_context *ctx = data; local
1764 spufs_npc_get(struct spu_context *ctx) argument
1773 struct spu_context *ctx = data; local
1786 spufs_decr_get(struct spu_context *ctx) argument
1796 struct spu_context *ctx = data; local
1811 spufs_decr_status_get(struct spu_context *ctx) argument
1824 struct spu_context *ctx = data; local
1837 spufs_event_mask_get(struct spu_context *ctx) argument
1847 spufs_event_status_get(struct spu_context *ctx) argument
1861 struct spu_context *ctx = data; local
1874 spufs_srr0_get(struct spu_context *ctx) argument
1882 spufs_id_get(struct spu_context *ctx) argument
1896 spufs_object_id_get(struct spu_context *ctx) argument
1904 struct spu_context *ctx = data; local
1913 spufs_lslr_get(struct spu_context *ctx) argument
1923 struct spu_context *ctx = i->i_ctx; local
1930 struct spu_context *ctx = s->private; local
1951 spufs_mbox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
1963 struct spu_context *ctx = file->private_data; local
1989 spufs_ibox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
2001 struct spu_context *ctx = file->private_data; local
2027 spufs_wbox_info_cnt(struct spu_context *ctx) argument
2032 spufs_wbox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
2042 struct spu_context *ctx = file->private_data; local
2065 spufs_get_dma_info(struct spu_context *ctx, struct spu_dma_info *info) argument
2086 spufs_dma_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
2098 struct spu_context *ctx = file->private_data; local
2120 spufs_get_proxydma_info(struct spu_context *ctx, struct spu_proxydma_info *info) argument
2140 spufs_proxydma_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument
2152 struct spu_context *ctx = file->private_data; local
2179 struct spu_context *ctx = s->private; local
2201 spufs_acct_time(struct spu_context *ctx, enum spu_utilization_state state) argument
2222 spufs_slb_flts(struct spu_context *ctx) argument
2234 spufs_class2_intrs(struct spu_context *ctx) argument
2249 struct spu_context *ctx = s->private; local
2287 spufs_switch_log_used(struct spu_context *ctx) argument
2293 spufs_switch_log_avail(struct spu_context *ctx) argument
2300 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local
2331 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local
2345 switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) argument
2364 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local
2434 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local
2465 spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, u32 type, u32 val) argument
2490 struct spu_context *ctx = s->private; local
[all...]
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) argument
36 struct s5p_mfc_dev *dev = ctx->dev;
40 ctx->dsc.size = buf_size->dsc;
41 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc);
47 BUG_ON(ctx->dsc.dma & ((1 << MFC_BANK1_ALIGN_ORDER) - 1));
48 memset(ctx->dsc.virt, 0, ctx->dsc.size);
55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) argument
57 s5p_mfc_release_priv_buf(ctx->dev, &ctx
61 s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) argument
193 s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) argument
200 s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) argument
242 s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) argument
260 s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, unsigned int ofs) argument
267 s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, unsigned long ofs) argument
274 s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) argument
316 s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) argument
345 s5p_mfc_set_dec_desc_buffer(struct s5p_mfc_ctx *ctx) argument
355 s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx) argument
362 s5p_mfc_set_dec_stream_buffer_v5(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int buf_size) argument
376 s5p_mfc_set_dec_frame_buffer_v5(struct s5p_mfc_ctx *ctx) argument
508 s5p_mfc_set_enc_stream_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size) argument
518 s5p_mfc_set_enc_frame_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr, unsigned long c_1_addr) argument
528 s5p_mfc_get_enc_frame_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr, unsigned long *c_1_addr) argument
541 s5p_mfc_set_enc_ref_buffer_v5(struct s5p_mfc_ctx *ctx) argument
676 s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) argument
759 s5p_mfc_set_enc_params_h264(struct s5p_mfc_ctx *ctx) argument
916 s5p_mfc_set_enc_params_mpeg4(struct s5p_mfc_ctx *ctx) argument
995 s5p_mfc_set_enc_params_h263(struct s5p_mfc_ctx *ctx) argument
1045 s5p_mfc_init_decode_v5(struct s5p_mfc_ctx *ctx) argument
1066 s5p_mfc_set_flush(struct s5p_mfc_ctx *ctx, int flush) argument
1081 s5p_mfc_decode_one_frame_v5(struct s5p_mfc_ctx *ctx, enum s5p_mfc_decode_arg last_frame) argument
1110 s5p_mfc_init_encode_v5(struct s5p_mfc_ctx *ctx) argument
1132 s5p_mfc_encode_one_frame_v5(struct s5p_mfc_ctx *ctx) argument
1153 s5p_mfc_run_res_change(struct s5p_mfc_ctx *ctx) argument
1162 s5p_mfc_run_dec_frame(struct s5p_mfc_ctx *ctx, int last_frame) argument
1196 s5p_mfc_run_enc_frame(struct s5p_mfc_ctx *ctx) argument
1250 s5p_mfc_run_init_dec(struct s5p_mfc_ctx *ctx) argument
1268 s5p_mfc_run_init_enc(struct s5p_mfc_ctx *ctx) argument
1284 s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx) argument
1320 struct s5p_mfc_ctx *ctx; local
1464 s5p_mfc_get_disp_frame_type_v5(struct s5p_mfc_ctx *ctx) argument
1575 s5p_mfc_get_pic_type_top_v5(struct s5p_mfc_ctx *ctx) argument
1580 s5p_mfc_get_pic_type_bot_v5(struct s5p_mfc_ctx *ctx) argument
1585 s5p_mfc_get_crop_info_h_v5(struct s5p_mfc_ctx *ctx) argument
1590 s5p_mfc_get_crop_info_v_v5(struct s5p_mfc_ctx *ctx) argument
[all...]
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) argument
115 return readl(ctx->regs + reg);
118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) argument
120 writel(val, ctx->regs + reg);
123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) argument
125 void __iomem *r = ctx->regs + reg;
130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) argument
132 void __iomem *r = ctx->regs + reg;
137 static void fimc_sw_reset(struct fimc_context *ctx) argument
142 cfg = fimc_read(ctx, EXYNOS_CISTATU
162 fimc_set_type_ctrl(struct fimc_context *ctx) argument
182 fimc_handle_jpeg(struct fimc_context *ctx, bool enable) argument
197 fimc_mask_irq(struct fimc_context *ctx, bool enable) argument
212 fimc_clear_irq(struct fimc_context *ctx) argument
217 fimc_check_ovf(struct fimc_context *ctx) argument
241 fimc_check_frame_end(struct fimc_context *ctx) argument
258 fimc_get_buf_id(struct fimc_context *ctx) argument
284 fimc_handle_lastend(struct fimc_context *ctx, bool enable) argument
299 fimc_src_set_fmt_order(struct fimc_context *ctx, u32 fmt) argument
364 fimc_src_set_fmt(struct fimc_context *ctx, u32 fmt, bool tiled) argument
416 fimc_src_set_transf(struct fimc_context *ctx, unsigned int rotation) argument
467 fimc_set_window(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument
502 fimc_src_set_size(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument
551 fimc_src_set_addr(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument
559 fimc_dst_set_fmt_order(struct fimc_context *ctx, u32 fmt) argument
630 fimc_dst_set_fmt(struct fimc_context *ctx, u32 fmt, bool tiled) argument
689 fimc_dst_set_transf(struct fimc_context *ctx, unsigned int rotation) argument
736 fimc_set_prescaler(struct fimc_context *ctx, struct fimc_scaler *sc, struct drm_exynos_ipp_task_rect *src, struct drm_exynos_ipp_task_rect *dst) argument
805 fimc_set_scaler(struct fimc_context *ctx, struct fimc_scaler *sc) argument
844 fimc_dst_set_size(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument
904 fimc_dst_set_buf_seq(struct fimc_context *ctx, u32 buf_id, bool enqueue) argument
934 fimc_dst_set_addr(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument
948 struct fimc_context *ctx = dev_id; local
981 fimc_clear_addr(struct fimc_context *ctx) argument
998 fimc_reset(struct fimc_context *ctx) argument
1009 fimc_start(struct fimc_context *ctx) argument
1055 fimc_stop(struct fimc_context *ctx) argument
1084 struct fimc_context *ctx = local
1113 struct fimc_context *ctx = local
1135 struct fimc_context *ctx = dev_get_drvdata(dev); local
1156 struct fimc_context *ctx = dev_get_drvdata(dev); local
1169 fimc_put_clocks(struct fimc_context *ctx) argument
1181 fimc_setup_clocks(struct fimc_context *ctx) argument
1269 struct fimc_context *ctx; local
1373 struct fimc_context *ctx = get_fimc_context(dev); local
1384 struct fimc_context *ctx = get_fimc_context(dev); local
1393 struct fimc_context *ctx = get_fimc_context(dev); local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsubprogs.c14 struct toggler_ctx *ctx = arg; local
18 while (!ctx->stop) {
19 lseek(ctx->fd, SEEK_SET, 0);
20 write(ctx->fd, &two, sizeof(two));
21 lseek(ctx->fd, SEEK_SET, 0);
22 write(ctx->fd, &zero, sizeof(zero));
30 struct toggler_ctx ctx; local
35 ctx.fd = open("/proc/sys/net/core/bpf_jit_harden", O_RDWR);
36 if (!ASSERT_GE(ctx.fd, 0, "open bpf_jit_harden"))
39 ctx
[all...]
/linux-master/tools/perf/util/
H A Dexpr.h32 void expr__ctx_clear(struct expr_parse_ctx *ctx);
33 void expr__ctx_free(struct expr_parse_ctx *ctx);
35 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
36 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
37 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
38 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id,
40 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
41 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
45 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
[all...]

Completed in 249 milliseconds

1234567891011>>