/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_redirect_map_kern.c | 56 int xdp_redirect_map_prog(struct xdp_md *ctx) in xdp_redirect_map_prog() argument 58 void *data_end = (void *)(long)ctx->data_end; in xdp_redirect_map_prog() 59 void *data = (void *)(long)ctx->data; in xdp_redirect_map_prog() 87 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog() argument
|
H A D | xdp_redirect_kern.c | 56 int xdp_redirect_prog(struct xdp_md *ctx) in xdp_redirect_prog() argument 58 void *data_end = (void *)(long)ctx->data_end; in xdp_redirect_prog() 59 void *data = (void *)(long)ctx->data; in xdp_redirect_prog() 85 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog() argument
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.bpf.c | 42 int iter(struct bpf_iter__task_file *ctx) in iter() argument 44 struct file *file = ctx->file; in iter() 45 struct task_struct *task = ctx->task; in iter() 76 bpf_seq_write(ctx->meta->seq, &e, sizeof(e)); in iter()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | expr.y | 26 %parse-param { struct expr_parse_ctx *ctx } 52 struct expr_parse_ctx *ctx __maybe_unused, 72 expr__add_id(ctx, $1); 91 if (expr__resolve_id(ctx, $1, &data)) {
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | crypto.c | 4 static int ubifs_crypt_get_context(struct inode *inode, void *ctx, size_t len) in ubifs_crypt_get_context() argument 7 ctx, len); in ubifs_crypt_get_context() 10 static int ubifs_crypt_set_context(struct inode *inode, const void *ctx, in ubifs_crypt_set_context() argument 19 ctx, len, 0, false); in ubifs_crypt_set_context()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_gem.h | 120 struct ww_acquire_ctx ctx; member 126 void i915_gem_ww_ctx_init(struct i915_gem_ww_ctx *ctx, bool intr); 127 void i915_gem_ww_ctx_fini(struct i915_gem_ww_ctx *ctx); 128 int __must_check i915_gem_ww_ctx_backoff(struct i915_gem_ww_ctx *ctx);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic.h | 72 int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 73 int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, 75 int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx); 76 int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx);
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | crypto.c | 4 static int ubifs_crypt_get_context(struct inode *inode, void *ctx, size_t len) in ubifs_crypt_get_context() argument 7 ctx, len); in ubifs_crypt_get_context() 10 static int ubifs_crypt_set_context(struct inode *inode, const void *ctx, in ubifs_crypt_set_context() argument 19 ctx, len, 0, false); in ubifs_crypt_set_context()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubp.c | 36 hubp2->base.ctx 97 struct dc_context *ctx, in hubp31_construct() 104 hubp2->base.ctx = ctx; in hubp31_construct() 95 hubp31_construct( struct dcn20_hubp *hubp2, struct dc_context *ctx, uint32_t inst, const struct dcn_hubp2_registers *hubp_regs, const struct dcn_hubp2_shift *hubp_shift, const struct dcn_hubp2_mask *hubp_mask) hubp31_construct() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn10/ |
H A D | dcn10_fpu.c | 130 if (dc->ctx->dce_version == DCN_VERSION_1_01) { in dcn10_resource_construct_fp() 140 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 146 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct_fp() 156 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct_fp()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/ |
H A D | ocs-hcu.h | 83 int ocs_hcu_hash_init(struct ocs_hcu_hash_ctx *ctx, enum ocs_hcu_algo algo); 86 struct ocs_hcu_hash_ctx *ctx, 90 const struct ocs_hcu_hash_ctx *ctx, 95 const struct ocs_hcu_hash_ctx *ctx, u8 *dgst,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/include/ |
H A D | vector.h | 34 struct dc_context *ctx; member 39 struct dc_context *ctx, 44 struct dc_context *ctx, 51 struct dc_context *ctx,
|
/kernel/linux/linux-6.6/crypto/ |
H A D | arc4.c | 21 struct arc4_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_arc4_setkey() local 23 return arc4_setkey(ctx, in_key, key_len); in crypto_arc4_setkey() 29 struct arc4_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_arc4_crypt() local 36 arc4_crypt(ctx, walk.dst.virt.addr, walk.src.virt.addr, in crypto_arc4_crypt()
|
/kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
H A D | smd-rpm.c | 33 int qcom_icc_rpm_smd_send(int ctx, int rsc_type, int id, u32 val) in qcom_icc_rpm_smd_send() argument 41 return qcom_rpm_smd_write(icc_smd_rpm, ctx, rsc_type, id, &req, in qcom_icc_rpm_smd_send() 46 int qcom_icc_rpm_set_bus_rate(const struct rpm_clk_resource *clk, int ctx, u32 rate) in qcom_icc_rpm_set_bus_rate() argument 59 ctx, in qcom_icc_rpm_set_bus_rate()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | dlfilter.h | 41 int (*start)(void **data, void *ctx); 42 int (*stop)(void *data, void *ctx); 46 void *ctx); 49 void *ctx);
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_unix.c | 25 int dump_unix(struct bpf_iter__unix *ctx) in dump_unix() argument 27 struct unix_sock *unix_sk = ctx->unix_sk; in dump_unix() 35 seq = ctx->meta->seq; in dump_unix() 36 seq_num = ctx->meta->seq_num; in dump_unix()
|
H A D | for_each_hash_map_elem.c | 23 struct __sk_buff *ctx; member 32 struct __sk_buff *skb = data->ctx; in check_hash_elem() 68 data.ctx = 0; in check_percpu_elem() 86 data.ctx = skb; in test_pkt_access()
|
H A D | test_map_lookup_percpu_elem.c | 39 static int read_percpu_elem_callback(__u32 index, struct read_percpu_elem_ctx *ctx) in read_percpu_elem_callback() argument 44 value = bpf_map_lookup_percpu_elem(ctx->map, &key, index); in read_percpu_elem_callback() 46 ctx->sum += *value; in read_percpu_elem_callback() 51 int sysenter_getuid(const void *ctx) in sysenter_getuid() argument
|
H A D | bpf_iter_task_vma.c | 26 SEC("iter/task_vma") int proc_maps(struct bpf_iter__task_vma *ctx) in proc_maps() argument 28 struct vm_area_struct *vma = ctx->vma; in proc_maps() 29 struct seq_file *seq = ctx->meta->seq; in proc_maps() 30 struct task_struct *task = ctx->task; in proc_maps()
|
H A D | local_kptr_stash.c | 70 long stash_rb_nodes(void *ctx) in stash_rb_nodes() argument 76 long stash_plain(void *ctx) in stash_plain() argument 98 long unstash_rb_node(void *ctx) in unstash_rb_node() argument 119 long stash_test_ref_kfunc(void *ctx) in stash_test_ref_kfunc() argument
|
H A D | test_subprogs.c | 66 int prog1(void *ctx) in prog1() argument 81 int prog2(void *ctx) in prog2() argument 99 int prog3(void *ctx) in prog3() argument 115 int prog4(void *ctx) in prog4() argument
|
H A D | vrf_socket_lookup.c | 18 static void socket_lookup(void *ctx, void *data_end, void *data) in socket_lookup() argument 44 sk = bpf_skc_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup() 46 sk = bpf_sk_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup() 49 sk = bpf_sk_lookup_udp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mjpega_dump_header_bsf.c | 34 static int mjpega_dump_header(AVBSFContext *ctx, AVPacket *out) in mjpega_dump_header() argument 41 ret = ff_bsf_get_packet(ctx, &in); in mjpega_dump_header() 84 av_log(ctx, AV_LOG_ERROR, "bitstream already formatted\n"); in mjpega_dump_header() 93 av_log(ctx, AV_LOG_ERROR, "could not find SOS marker in bitstream\n"); in mjpega_dump_header()
|
/third_party/ffmpeg/doc/examples/ |
H A D | avio_list_dir.c | 60 AVIODirContext *ctx = NULL; in list_op() local 64 if ((ret = avio_open_dir(&ctx, input_dir, NULL)) < 0) { in list_op() 71 if ((ret = avio_read_dir(ctx, &entry)) < 0) { in list_op() 101 avio_close_dir(&ctx); in list_op()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_field.c | 54 AVFilterContext *ctx = outlink->src; in config_props_output() local 55 FieldContext *field = ctx->priv; in config_props_output() 56 AVFilterLink *inlink = ctx->inputs[0]; in config_props_output() 63 av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d type:%s -> w:%d h:%d\n", in config_props_output()
|