Searched refs:ctx (Results 176 - 200 of 3532) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-mem.h10 int hw_alloc(struct delta_ctx *ctx, u32 size, const char *name,
12 void hw_free(struct delta_ctx *ctx, struct delta_buf *buf);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_with_devmap_helpers.c13 int xdp_redir_prog(struct xdp_md *ctx) argument
22 int xdp_dummy_prog(struct xdp_md *ctx) argument
31 int xdp_dummy_dm(struct xdp_md *ctx) argument
34 void *data_end = (void *)(long)ctx->data_end;
35 void *data = (void *)(long)ctx->data;
39 ctx->ingress_ifindex, ctx->egress_ifindex, len);
45 int xdp_dummy_dm_frags(struct xdp_md *ctx) argument
H A Dkprobe_multi_override.c9 int test_override(struct pt_regs *ctx) argument
11 bpf_override_return(ctx, 123);
H A Dmissed_kprobe.c20 int test1(struct pt_regs *ctx) argument
27 int test2(struct pt_regs *ctx) argument
H A Dtest_autoload.c14 int prog1(const void *ctx) argument
21 int prog2(const void *ctx) argument
32 int prog3(const void *ctx) argument
34 struct fake_kernel_struct *fake = (void *)ctx;
H A Dbpf_iter_bpf_map.c9 int dump_bpf_map(struct bpf_iter__bpf_map *ctx) argument
11 struct seq_file *seq = ctx->meta->seq;
12 __u64 seq_num = ctx->meta->seq_num;
13 struct bpf_map *map = ctx->map;
H A Dhtab_mem_bench.c29 static int write_htab(unsigned int i, struct update_ctx *ctx, unsigned int flags) argument
31 bpf_map_update_elem(&htab, &ctx->from, zeroed_value, flags);
32 ctx->from += ctx->step;
37 static int overwrite_htab(unsigned int i, struct update_ctx *ctx) argument
39 return write_htab(i, ctx, 0);
42 static int newwrite_htab(unsigned int i, struct update_ctx *ctx) argument
44 return write_htab(i, ctx, BPF_NOEXIST);
47 static int del_htab(unsigned int i, struct update_ctx *ctx) argument
49 bpf_map_delete_elem(&htab, &ctx
56 overwrite(void *ctx) argument
68 batch_add_batch_del(void *ctx) argument
84 add_only(void *ctx) argument
96 del_only(void *ctx) argument
[all...]
/linux-master/tools/testing/selftests/perf_events/
H A Dsigtrap_threads.c44 } ctx; variable in typeref:struct:__anon185
82 if (!__atomic_fetch_add(&ctx.signal_count, 1, __ATOMIC_RELAXED))
83 ctx.first_siginfo = *info;
84 __atomic_fetch_sub(&ctx.tids_want_signal, syscall(__NR_gettid), __ATOMIC_RELAXED);
96 __atomic_fetch_add(&ctx.tids_want_signal, tid, __ATOMIC_RELAXED);
97 iter = ctx.iterate_on; /* read */
100 __atomic_fetch_add(&ctx.tids_want_signal, tid, __ATOMIC_RELAXED);
101 ctx.iterate_on = iter; /* idempotent write */
104 while (ctx.iterate_on);
120 struct perf_event_attr attr = make_event_attr(false, &ctx
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_load_detect.h15 struct drm_modeset_acquire_ctx *ctx);
18 struct drm_modeset_acquire_ctx *ctx);
H A Dintel_modeset_setup.h13 struct drm_modeset_acquire_ctx *ctx);
/linux-master/samples/bpf/
H A Dtracex7.bpf.c6 int bpf_prog1(struct pt_regs *ctx) argument
10 bpf_override_return(ctx, rc);
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_pm.h14 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos7_drm_decon.c86 struct decon_context *ctx = crtc->ctx; local
88 if (ctx->suspended)
91 atomic_set(&ctx->wait_vsync_event, 1);
97 if (!wait_event_timeout(ctx->wait_vsync_queue,
98 !atomic_read(&ctx->wait_vsync_event),
100 DRM_DEV_DEBUG_KMS(ctx->dev, "vblank wait timed out.\n");
105 struct decon_context *ctx = crtc->ctx; local
110 u32 val = readl(ctx
124 decon_ctx_initialize(struct decon_context *ctx, struct drm_device *drm_dev) argument
134 decon_ctx_remove(struct decon_context *ctx) argument
140 decon_calc_clkdiv(struct decon_context *ctx, const struct drm_display_mode *mode) argument
154 struct decon_context *ctx = crtc->ctx; local
219 struct decon_context *ctx = crtc->ctx; local
244 struct decon_context *ctx = crtc->ctx; local
261 decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win, struct drm_framebuffer *fb) argument
333 decon_win_set_colkey(struct decon_context *ctx, unsigned int win) argument
353 decon_shadow_protect_win(struct decon_context *ctx, unsigned int win, bool protect) argument
370 struct decon_context *ctx = crtc->ctx; local
385 struct decon_context *ctx = crtc->ctx; local
481 struct decon_context *ctx = crtc->ctx; local
503 struct decon_context *ctx = crtc->ctx; local
514 decon_init(struct decon_context *ctx) argument
533 struct decon_context *ctx = crtc->ctx; local
558 struct decon_context *ctx = crtc->ctx; local
591 struct decon_context *ctx = (struct decon_context *)dev_id; local
619 struct decon_context *ctx = dev_get_drvdata(dev); local
661 struct decon_context *ctx = dev_get_drvdata(dev); local
679 struct decon_context *ctx; local
770 struct decon_context *ctx = dev_get_drvdata(&pdev->dev); local
781 struct decon_context *ctx = dev_get_drvdata(dev); local
793 struct decon_context *ctx = dev_get_drvdata(dev); local
[all...]
/linux-master/arch/mips/net/
H A Dbpf_jit_comp32.c167 static void clobber_reg64(struct jit_context *ctx, const u8 reg[]) argument
169 clobber_reg(ctx, reg[0]);
170 clobber_reg(ctx, reg[1]);
174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) argument
176 emit_mov_i(ctx, lo(dst), imm);
178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1);
180 emit(ctx, move, hi(dst), MIPS_R_ZERO);
181 clobber_reg64(ctx, dst);
185 static void emit_zext_ver(struct jit_context *ctx, const u8 dst[]) argument
187 if (!ctx
194 emit_load_delay(struct jit_context *ctx) argument
201 emit_alu_i64(struct jit_context *ctx, const u8 dst[], s32 imm, u8 op) argument
267 emit_alu_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], u8 op) argument
310 emit_neg_i64(struct jit_context *ctx, const u8 dst[]) argument
321 emit_shift_i64(struct jit_context *ctx, const u8 dst[], u32 imm, u8 op) argument
366 emit_shift_r64(struct jit_context *ctx, const u8 dst[], u8 src, u8 op) argument
423 emit_mul_i64(struct jit_context *ctx, const u8 dst[], s32 imm) argument
474 emit_mul_r64(struct jit_context *ctx, const u8 dst[], const u8 src[]) argument
525 emit_divmod_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], u8 op) argument
577 emit_swap8_r(struct jit_context *ctx, u8 dst, u8 src, u8 mask) argument
589 emit_swap16_r(struct jit_context *ctx, u8 dst, u8 src) argument
599 emit_bswap_r64(struct jit_context *ctx, const u8 dst[], u32 width) argument
634 emit_trunc_r64(struct jit_context *ctx, const u8 dst[], u32 width) argument
654 emit_ldx(struct jit_context *ctx, const u8 dst[], u8 src, s16 off, u8 size) argument
689 emit_stx(struct jit_context *ctx, const u8 dst, const u8 src[], s16 off, u8 size) argument
714 emit_atomic_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) argument
797 emit_atomic_r64(struct jit_context *ctx, u8 dst, const u8 src[], s16 off, u8 code) argument
873 emit_cmpxchg_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off) argument
909 emit_cmpxchg_r64(struct jit_context *ctx, u8 dst, const u8 src[], s16 off) argument
947 emit_movz_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
970 emit_movn_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
990 emit_sltiu_r64(struct jit_context *ctx, u8 rd, const u8 rs[], s64 imm) argument
1012 emit_sltu_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
1025 emit_slti_r64(struct jit_context *ctx, u8 rd, const u8 rs[], s64 imm) argument
1067 emit_slt_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
1092 emit_jmp_i64(struct jit_context *ctx, const u8 dst[], s32 imm, s32 off, u8 op) argument
1185 emit_jmp_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], s32 off, u8 op) argument
1263 emit_call(struct jit_context *ctx, const struct bpf_insn *insn) argument
1290 emit_tail_call(struct jit_context *ctx) argument
1373 build_prologue(struct jit_context *ctx) argument
1444 build_epilogue(struct jit_context *ctx, int dest_reg) argument
1463 build_insn(const struct bpf_insn *insn, struct jit_context *ctx) argument
[all...]
/linux-master/mm/damon/
H A Dsysfs-common.h41 int damon_sysfs_set_schemes(struct damon_ctx *ctx,
46 struct damon_ctx *ctx);
50 struct damon_ctx *ctx, bool total_bytes_only);
52 void damos_sysfs_mark_finished_regions_updates(struct damon_ctx *ctx);
56 int damon_sysfs_schemes_update_regions_stop(struct damon_ctx *ctx);
60 struct damon_ctx *ctx);
63 struct damon_ctx *ctx);
67 struct damon_ctx *ctx);
/linux-master/io_uring/
H A Dfiletable.c16 static int io_file_bitmap_get(struct io_ring_ctx *ctx) argument
18 struct io_file_table *table = &ctx->file_table;
19 unsigned long nr = ctx->file_alloc_end;
30 if (table->alloc_hint == ctx->file_alloc_start)
33 table->alloc_hint = ctx->file_alloc_start;
63 static int io_install_fixed_file(struct io_ring_ctx *ctx, struct file *file,
65 __must_hold(&req->ctx->uring_lock)
72 if (!ctx->file_data)
74 if (slot_index >= ctx->nr_user_files)
77 slot_index = array_index_nospec(slot_index, ctx
96 __io_fixed_fd_install(struct io_ring_ctx *ctx, struct file *file, unsigned int file_slot) argument
123 struct io_ring_ctx *ctx = req->ctx; local
135 io_fixed_fd_remove(struct io_ring_ctx *ctx, unsigned int offset) argument
160 io_register_file_alloc_range(struct io_ring_ctx *ctx, struct io_uring_file_index_range __user *arg) argument
[all...]
H A Dfutex.h12 int io_futex_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
14 bool io_futex_remove_all(struct io_ring_ctx *ctx, struct task_struct *task,
16 bool io_futex_cache_init(struct io_ring_ctx *ctx);
17 void io_futex_cache_free(struct io_ring_ctx *ctx);
19 static inline int io_futex_cancel(struct io_ring_ctx *ctx, argument
25 static inline bool io_futex_remove_all(struct io_ring_ctx *ctx, argument
30 static inline bool io_futex_cache_init(struct io_ring_ctx *ctx) argument
34 static inline void io_futex_cache_free(struct io_ring_ctx *ctx) argument
/linux-master/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-com.h37 int ipu6_fw_com_open(struct ipu6_fw_com_context *ctx);
38 bool ipu6_fw_com_ready(struct ipu6_fw_com_context *ctx);
39 int ipu6_fw_com_close(struct ipu6_fw_com_context *ctx);
40 int ipu6_fw_com_release(struct ipu6_fw_com_context *ctx, unsigned int force);
42 void *ipu6_recv_get_token(struct ipu6_fw_com_context *ctx, int q_nbr);
43 void ipu6_recv_put_token(struct ipu6_fw_com_context *ctx, int q_nbr);
44 void *ipu6_send_get_token(struct ipu6_fw_com_context *ctx, int q_nbr);
45 void ipu6_send_put_token(struct ipu6_fw_com_context *ctx, int q_nbr);
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddm_services.h46 struct dc_context *ctx,
56 uint32_t dm_read_reg_func(const struct dc_context *ctx, uint32_t address,
62 void dm_write_reg_func(const struct dc_context *ctx, uint32_t address,
65 #define dm_read_reg(ctx, address) \
66 dm_read_reg_func(ctx, address, __func__)
68 #define dm_write_reg(ctx, address, value) \
69 dm_write_reg_func(ctx, address, value, __func__)
72 const struct dc_context *ctx,
76 return cgs_read_ind_register(ctx->cgs_device, addr_space, index);
80 const struct dc_context *ctx,
71 dm_read_index_reg( const struct dc_context *ctx, enum cgs_ind_reg addr_space, uint32_t index) argument
79 dm_write_index_reg( const struct dc_context *ctx, enum cgs_ind_reg addr_space, uint32_t index, uint32_t value) argument
260 dm_get_timestamp(struct dc_context *ctx) argument
[all...]
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_dec.c259 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) argument
262 if (ctx->src_queue_cnt >= 1 && ctx->state == MFCINST_GOT_INST)
265 if (ctx->src_queue_cnt >= 1 &&
266 ctx->state == MFCINST_RUNNING &&
267 ctx->dst_queue_cnt >= ctx->pb_count)
270 if (ctx->state == MFCINST_FINISHING &&
271 ctx->dst_queue_cnt >= ctx
348 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
445 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
494 reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, struct v4l2_requestbuffers *reqbufs) argument
542 reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, struct v4l2_requestbuffers *reqbufs) argument
601 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
622 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
669 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
698 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
711 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
727 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
739 struct s5p_mfc_ctx *ctx = ctrl_to_ctx(ctrl); local
765 struct s5p_mfc_ctx *ctx = ctrl_to_ctx(ctrl); local
804 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
859 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local
940 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local
1009 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local
1071 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local
1088 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local
1133 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local
1190 s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx) argument
1234 s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx) argument
1243 s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx) argument
[all...]
/linux-master/crypto/asymmetric_keys/
H A Dx509_cert_parser.c64 struct x509_parse_context *ctx __free(kfree) = NULL;
77 ctx = kzalloc(sizeof(struct x509_parse_context), GFP_KERNEL);
78 if (!ctx)
81 ctx->cert = cert;
82 ctx->data = (unsigned long)data;
85 ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen);
90 if (ctx->raw_akid) {
92 ctx->raw_akid_size, ctx->raw_akid_size, ctx
145 struct x509_parse_context *ctx = context; local
165 struct x509_parse_context *ctx = context; local
181 struct x509_parse_context *ctx = context; local
295 struct x509_parse_context *ctx = context; local
334 struct x509_parse_context *ctx = context; local
347 struct x509_parse_context *ctx = context; local
372 x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, unsigned char tag, char **_name, size_t vlen) argument
451 struct x509_parse_context *ctx = context; local
471 struct x509_parse_context *ctx = context; local
484 struct x509_parse_context *ctx = context; local
505 struct x509_parse_context *ctx = context; local
566 struct x509_parse_context *ctx = context; local
750 struct x509_parse_context *ctx = context; local
758 struct x509_parse_context *ctx = context; local
769 struct x509_parse_context *ctx = context; local
792 struct x509_parse_context *ctx = context; local
808 struct x509_parse_context *ctx = context; local
[all...]
H A Dpkcs7_parser.c117 struct pkcs7_parse_context *ctx; local
121 ctx = kzalloc(sizeof(struct pkcs7_parse_context), GFP_KERNEL);
122 if (!ctx)
124 ctx->msg = kzalloc(sizeof(struct pkcs7_message), GFP_KERNEL);
125 if (!ctx->msg)
127 ctx->sinfo = kzalloc(sizeof(struct pkcs7_signed_info), GFP_KERNEL);
128 if (!ctx->sinfo)
130 ctx->sinfo->sig = kzalloc(sizeof(struct public_key_signature),
132 if (!ctx->sinfo->sig)
135 ctx
208 struct pkcs7_parse_context *ctx = context; local
227 struct pkcs7_parse_context *ctx = context; local
277 struct pkcs7_parse_context *ctx = context; local
318 struct pkcs7_parse_context *ctx = context; local
335 struct pkcs7_parse_context *ctx = context; local
369 struct pkcs7_parse_context *ctx = context; local
412 struct pkcs7_parse_context *ctx = context; local
452 struct pkcs7_parse_context *ctx = context; local
470 struct pkcs7_parse_context *ctx = context; local
490 struct pkcs7_parse_context *ctx = context; local
507 struct pkcs7_parse_context *ctx = context; local
590 struct pkcs7_parse_context *ctx = context; local
618 struct pkcs7_parse_context *ctx = context; local
631 struct pkcs7_parse_context *ctx = context; local
644 struct pkcs7_parse_context *ctx = context; local
660 struct pkcs7_parse_context *ctx = context; local
677 struct pkcs7_parse_context *ctx = context; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
H A Drv1_clk_mgr.h29 void rv1_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr, struct pp_smu_funcs *pp_smu);
H A Drv2_clk_mgr.h29 void rv2_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr, struct pp_smu_funcs *pp_smu);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.h9 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id);
10 int mapping_remove(struct mapping_ctx *ctx, u32 id);
11 int mapping_find(struct mapping_ctx *ctx, u32 id, void *data);
25 void mapping_destroy(struct mapping_ctx *ctx);

Completed in 191 milliseconds

1234567891011>>