Home
last modified time | relevance | path

Searched refs:ctx (Results 1451 - 1475 of 5786) sorted by relevance

1...<<51525354555657585960>>...232

/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
H A Dinode.c110 size_t size, struct spu_context *ctx) in spufs_new_file()
127 inode->i_private = SPUFS_I(inode)->i_ctx = get_spu_context(ctx); in spufs_new_file()
183 struct spu_context *ctx) in spufs_fill_dir()
191 files->mode & mode, files->size, ctx); in spufs_fill_dir()
232 struct spu_context *ctx; in spufs_mkdir() local
242 ctx = alloc_spu_context(SPUFS_I(dir)->i_gang); /* XXX gang */ in spufs_mkdir()
243 SPUFS_I(inode)->i_ctx = ctx; in spufs_mkdir()
244 if (!ctx) { in spufs_mkdir()
249 ctx->flags = flags; in spufs_mkdir()
263 mode, ctx); in spufs_mkdir()
108 spufs_new_file(struct super_block *sb, struct dentry *dentry, const struct file_operations *fops, umode_t mode, size_t size, struct spu_context *ctx) spufs_new_file() argument
181 spufs_fill_dir(struct dentry *dir, const struct spufs_tree_descr *files, umode_t mode, struct spu_context *ctx) spufs_fill_dir() argument
371 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, struct spu_context *neighbor) spufs_set_affinity() argument
614 struct spufs_fs_context *ctx = fc->fs_private; spufs_parse_param() local
683 struct spufs_fs_context *ctx = fc->fs_private; spufs_create_root() local
743 struct spufs_fs_context *ctx; spufs_init_fs_context() local
[all...]
H A Dgang.c52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx() argument
55 ctx->gang = get_spu_gang(gang); in spu_gang_add_ctx()
56 list_add(&ctx->gang_list, &gang->list); in spu_gang_add_ctx()
61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx() argument
64 WARN_ON(ctx->gang != gang); in spu_gang_remove_ctx()
65 if (!list_empty(&ctx->aff_list)) { in spu_gang_remove_ctx()
66 list_del_init(&ctx->aff_list); in spu_gang_remove_ctx()
69 list_del_init(&ctx->gang_list); in spu_gang_remove_ctx()
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/
H A Dinode.c112 size_t size, struct spu_context *ctx) in spufs_new_file()
129 inode->i_private = SPUFS_I(inode)->i_ctx = get_spu_context(ctx); in spufs_new_file()
185 struct spu_context *ctx) in spufs_fill_dir()
193 files->mode & mode, files->size, ctx); in spufs_fill_dir()
234 struct spu_context *ctx; in spufs_mkdir() local
241 ctx = alloc_spu_context(SPUFS_I(dir)->i_gang); /* XXX gang */ in spufs_mkdir()
242 SPUFS_I(inode)->i_ctx = ctx; in spufs_mkdir()
243 if (!ctx) { in spufs_mkdir()
248 ctx->flags = flags; in spufs_mkdir()
262 mode, ctx); in spufs_mkdir()
110 spufs_new_file(struct super_block *sb, struct dentry *dentry, const struct file_operations *fops, umode_t mode, size_t size, struct spu_context *ctx) spufs_new_file() argument
183 spufs_fill_dir(struct dentry *dir, const struct spufs_tree_descr *files, umode_t mode, struct spu_context *ctx) spufs_fill_dir() argument
370 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, struct spu_context *neighbor) spufs_set_affinity() argument
610 struct spufs_fs_context *ctx = fc->fs_private; spufs_parse_param() local
679 struct spufs_fs_context *ctx = fc->fs_private; spufs_create_root() local
739 struct spufs_fs_context *ctx; spufs_init_fs_context() local
[all...]
H A Dgang.c52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx() argument
55 ctx->gang = get_spu_gang(gang); in spu_gang_add_ctx()
56 list_add(&ctx->gang_list, &gang->list); in spu_gang_add_ctx()
61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx() argument
64 WARN_ON(ctx->gang != gang); in spu_gang_remove_ctx()
65 if (!list_empty(&ctx->aff_list)) { in spu_gang_remove_ctx()
66 list_del_init(&ctx->aff_list); in spu_gang_remove_ctx()
69 list_del_init(&ctx->gang_list); in spu_gang_remove_ctx()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_h264.c196 assemble_scaling_list(struct hantro_ctx *ctx) in assemble_scaling_list() argument
198 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in assemble_scaling_list()
204 struct hantro_h264_dec_priv_tbl *tbl = ctx->h264_dec.priv.cpu; in assemble_scaling_list()
226 static void prepare_table(struct hantro_ctx *ctx) in prepare_table() argument
228 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in prepare_table()
230 struct hantro_h264_dec_priv_tbl *tbl = ctx->h264_dec.priv.cpu; in prepare_table()
231 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in prepare_table()
242 assemble_scaling_list(ctx); in prepare_table()
252 static void update_dpb(struct hantro_ctx *ctx) in update_dpb() argument
259 dec_param = ctx in update_dpb()
313 hantro_h264_get_ref_buf(struct hantro_ctx *ctx, unsigned int dpb_idx) hantro_h264_get_ref_buf() argument
338 hantro_h264_dec_prepare_run(struct hantro_ctx *ctx) hantro_h264_dec_prepare_run() argument
381 hantro_h264_dec_exit(struct hantro_ctx *ctx) hantro_h264_dec_exit() argument
390 hantro_h264_dec_init(struct hantro_ctx *ctx) hantro_h264_dec_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c46 clk_mgr_dce->base.ctx
48 clk_mgr->ctx->logger
252 struct dc_bios *bp = clk_mgr->ctx->dc_bios; in dce_set_clock()
254 struct dmcu *dmcu = clk_mgr_dce->base.ctx->dc->res_pool->dmcu; in dce_set_clock()
292 struct dc_bios *bp = clk_mgr->ctx->dc_bios; in dce112_set_clock()
293 struct dc *core_dc = clk_mgr->ctx->dc; in dce112_set_clock()
321 if (!((clk_mgr->ctx->asic_id.chip_family == FAMILY_AI) && in dce112_set_clock()
322 ASICREV_IS_VEGA20_P(clk_mgr->ctx->asic_id.hw_internal_rev))) in dce112_set_clock()
331 if (!IS_FPGA_MAXIMUS_DC(core_dc->ctx->dce_environment)) { in dce112_set_clock()
345 struct dc_debug_options *debug = &clk_mgr_dce->base.ctx in dce_clock_read_integrated_info()
811 dce_clk_mgr_construct( struct dce_clk_mgr *clk_mgr_dce, struct dc_context *ctx, const struct clk_mgr_registers *regs, const struct clk_mgr_shift *clk_shift, const struct clk_mgr_mask *clk_mask) dce_clk_mgr_construct() argument
845 dce_clk_mgr_create( struct dc_context *ctx, const struct clk_mgr_registers *regs, const struct clk_mgr_shift *clk_shift, const struct clk_mgr_mask *clk_mask) dce_clk_mgr_create() argument
868 dce110_clk_mgr_create( struct dc_context *ctx, const struct clk_mgr_registers *regs, const struct clk_mgr_shift *clk_shift, const struct clk_mgr_mask *clk_mask) dce110_clk_mgr_create() argument
893 dce112_clk_mgr_create( struct dc_context *ctx, const struct clk_mgr_registers *regs, const struct clk_mgr_shift *clk_shift, const struct clk_mgr_mask *clk_mask) dce112_clk_mgr_create() argument
918 dce120_clk_mgr_create(struct dc_context *ctx) dce120_clk_mgr_create() argument
940 dce121_clk_mgr_create(struct dc_context *ctx) dce121_clk_mgr_create() argument
[all...]
/kernel/linux/linux-5.10/arch/arm64/crypto/
H A Daes-ce-ccm-glue.c20 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() argument
29 return 6 + ctx->key_length / 4; in num_rounds()
49 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() local
51 return ce_aes_expandkey(ctx, in_key, key_len); in ccm_setkey()
137 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() local
153 ccm_update_mac(ctx, mac, (u8 *)&ltag, ltag.len, &macp); in ccm_calculate_auth_mac()
165 ccm_update_mac(ctx, mac, p, n, &macp); in ccm_calculate_auth_mac()
175 struct crypto_aes_ctx *ctx, bool enc) in ccm_crypt_fallback()
199 aes_encrypt(ctx, buf, walk->iv); in ccm_crypt_fallback()
200 aes_encrypt(ctx, ma in ccm_crypt_fallback()
174 ccm_crypt_fallback(struct skcipher_walk *walk, u8 mac[], u8 iv0[], struct crypto_aes_ctx *ctx, bool enc) ccm_crypt_fallback() argument
225 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); ccm_encrypt() local
282 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); ccm_decrypt() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c54 struct dc_context *ctx, in dm_helpers_parse_edid_caps()
170 struct dc_context *ctx, in dm_helpers_dp_update_branch_info()
178 struct dc_context *ctx, in dm_helpers_dp_mst_write_payload_allocation_table()
236 struct dc_context *ctx, in dm_helpers_dp_mst_poll_pending_down_reply()
244 struct dc_context *ctx, in dm_helpers_dp_mst_clear_payload_allocation_table()
253 struct dc_context *ctx, in dm_helpers_dp_mst_poll_for_allocation_change_trigger()
279 struct dc_context *ctx, in dm_helpers_dp_mst_send_payload_allocation()
308 void dm_dtn_log_begin(struct dc_context *ctx, in dm_dtn_log_begin() argument
318 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()
321 void dm_dtn_log_append_v(struct dc_context *ctx, in dm_dtn_log_append_v() argument
53 dm_helpers_parse_edid_caps( struct dc_context *ctx, const struct dc_edid *edid, struct dc_edid_caps *edid_caps) dm_helpers_parse_edid_caps() argument
169 dm_helpers_dp_update_branch_info( struct dc_context *ctx, const struct dc_link *link) dm_helpers_dp_update_branch_info() argument
177 dm_helpers_dp_mst_write_payload_allocation_table( struct dc_context *ctx, const struct dc_stream_state *stream, struct dp_mst_stream_allocation_table *proposed_table, bool enable) dm_helpers_dp_mst_write_payload_allocation_table() argument
235 dm_helpers_dp_mst_poll_pending_down_reply( struct dc_context *ctx, const struct dc_link *link) dm_helpers_dp_mst_poll_pending_down_reply() argument
243 dm_helpers_dp_mst_clear_payload_allocation_table( struct dc_context *ctx, const struct dc_link *link) dm_helpers_dp_mst_clear_payload_allocation_table() argument
252 dm_helpers_dp_mst_poll_for_allocation_change_trigger( struct dc_context *ctx, const struct dc_stream_state *stream) dm_helpers_dp_mst_poll_for_allocation_change_trigger() argument
278 dm_helpers_dp_mst_send_payload_allocation( struct dc_context *ctx, const struct dc_stream_state *stream, bool enable) dm_helpers_dp_mst_send_payload_allocation() argument
382 dm_dtn_log_end(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx) dm_dtn_log_end() argument
395 dm_helpers_dp_mst_start_top_mgr( struct dc_context *ctx, const struct dc_link *link, bool boot) dm_helpers_dp_mst_start_top_mgr() argument
419 dm_helpers_dp_mst_stop_top_mgr( struct dc_context *ctx, const struct dc_link *link) dm_helpers_dp_mst_stop_top_mgr() argument
437 dm_helpers_dp_read_dpcd( struct dc_context *ctx, const struct dc_link *link, uint32_t address, uint8_t *data, uint32_t size) dm_helpers_dp_read_dpcd() argument
456 dm_helpers_dp_write_dpcd( struct dc_context *ctx, const struct dc_link *link, uint32_t address, const uint8_t *data, uint32_t size) dm_helpers_dp_write_dpcd() argument
474 dm_helpers_submit_i2c( struct dc_context *ctx, const struct dc_link *link, struct i2c_command *cmd) dm_helpers_submit_i2c() argument
508 dm_helpers_dp_write_dsc_enable( struct dc_context *ctx, const struct dc_stream_state *stream, bool enable ) dm_helpers_dp_write_dsc_enable() argument
551 dm_helpers_read_local_edid( struct dc_context *ctx, struct dc_link *link, struct dc_sink *sink) dm_helpers_read_local_edid() argument
626 dm_set_dcn_clocks(struct dc_context *ctx, struct dc_clocks *clks) dm_set_dcn_clocks() argument
632 dm_helpers_allocate_gpu_mem( struct dc_context *ctx, enum dc_gpu_mem_alloc_type type, size_t size, long long *addr) dm_helpers_allocate_gpu_mem() argument
642 dm_helpers_free_gpu_mem( struct dc_context *ctx, enum dc_gpu_mem_alloc_type type, void *pvMem) dm_helpers_free_gpu_mem() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c206 struct ionic_admin_ctx *ctx, in ionic_adminq_check_err()
214 if (ctx->comp.comp.status || timeout) { in ionic_adminq_check_err()
215 opcode_str = ionic_opcode_to_str(ctx->cmd.cmd.opcode); in ionic_adminq_check_err()
216 status_str = ionic_error_to_str(ctx->comp.comp.status); in ionic_adminq_check_err()
218 ionic_error_to_errno(ctx->comp.comp.status); in ionic_adminq_check_err()
221 opcode_str, ctx->cmd.cmd.opcode, in ionic_adminq_check_err()
235 struct ionic_admin_ctx *ctx = cb_arg; in ionic_adminq_cb() local
239 if (!ctx) in ionic_adminq_cb()
245 memcpy(&ctx->comp, comp, sizeof(*comp)); in ionic_adminq_cb()
249 &ctx in ionic_adminq_cb()
205 ionic_adminq_check_err(struct ionic_lif *lif, struct ionic_admin_ctx *ctx, bool timeout) ionic_adminq_check_err() argument
254 ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) ionic_adminq_post() argument
290 ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx) ionic_adminq_post_wait() argument
[all...]
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
H A Ddpio-service.c205 struct dpaa2_io_notification_ctx *ctx; in dpaa2_io_irq() local
209 ctx = (void *)(uintptr_t)q64; in dpaa2_io_irq()
210 ctx->cb(ctx); in dpaa2_io_irq()
243 * @ctx: the notification context.
259 struct dpaa2_io_notification_ctx *ctx, in dpaa2_io_service_register()
265 d = service_select_by_cpu(d, ctx->desired_cpu); in dpaa2_io_service_register()
273 ctx->dpio_id = d->dpio_desc.dpio_id; in dpaa2_io_service_register()
274 ctx->qman64 = (u64)(uintptr_t)ctx; in dpaa2_io_service_register()
258 dpaa2_io_service_register(struct dpaa2_io *d, struct dpaa2_io_notification_ctx *ctx, struct device *dev) dpaa2_io_service_register() argument
298 dpaa2_io_service_deregister(struct dpaa2_io *service, struct dpaa2_io_notification_ctx *ctx, struct device *dev) dpaa2_io_service_deregister() argument
328 dpaa2_io_service_rearm(struct dpaa2_io *d, struct dpaa2_io_notification_ctx *ctx) dpaa2_io_service_rearm() argument
[all...]
/kernel/linux/linux-5.10/drivers/tee/optee/
H A Drpc.c54 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() argument
138 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() argument
236 static void handle_rpc_supp_cmd(struct tee_context *ctx, in handle_rpc_supp_cmd() argument
255 arg->ret = optee_supp_thrd_req(ctx, arg->cmd, arg->num_params, params); in handle_rpc_supp_cmd()
263 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl() argument
267 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl()
275 ret = optee_supp_thrd_req(ctx, OPTEE_MSG_RPC_CMD_SHM_ALLOC, 1, &param); in cmd_alloc_suppl()
281 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl()
286 static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_rpc_func_cmd_shm_alloc() argument
314 shm = cmd_alloc_suppl(ctx, s in handle_rpc_func_cmd_shm_alloc()
384 cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) cmd_free_suppl() argument
409 handle_rpc_func_cmd_shm_free(struct tee_context *ctx, struct optee_msg_arg *arg) handle_rpc_func_cmd_shm_free() argument
451 handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct tee_shm *shm, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd() argument
496 optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, struct optee_call_ctx *call_ctx) optee_handle_rpc() argument
[all...]
/kernel/linux/linux-6.6/security/keys/trusted-keys/
H A Dtrusted_tpm2.c101 struct tpm2_key_context ctx; in tpm2_key_decode() local
104 memset(&ctx, 0, sizeof(ctx)); in tpm2_key_decode()
106 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, in tpm2_key_decode()
111 if (ctx.priv_len + ctx.pub_len > MAX_BLOB_SIZE) in tpm2_key_decode()
114 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode()
119 options->keyhandle = ctx.parent; in tpm2_key_decode()
121 memcpy(blob, ctx in tpm2_key_decode()
133 struct tpm2_key_context *ctx = context; tpm2_key_parent() local
168 struct tpm2_key_context *ctx = context; tpm2_key_pub() local
180 struct tpm2_key_context *ctx = context; tpm2_key_priv() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
H A Dcht_bsw_rt5672.c56 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in platform_clock_control() local
66 if (ctx->mclk) { in platform_clock_control()
67 ret = clk_prepare_enable(ctx->mclk); in platform_clock_control()
99 if (ctx->mclk) in platform_clock_control()
100 clk_disable_unprepare(ctx->mclk); in platform_clock_control()
193 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); in cht_codec_init() local
212 if (ctx->use_ssp0) { in cht_codec_init()
227 &ctx->headset, in cht_codec_init()
233 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
234 snd_jack_set_key(ctx in cht_codec_init()
266 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(rtd->card); cht_codec_fixup() local
390 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); cht_suspend_pre() local
407 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); cht_resume_post() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_hw_sequencer.c69 static void dce112_init_pte(struct dc_context *ctx) in dce112_init_pte() argument
77 value = dm_read_reg(ctx, addr); in dce112_init_pte()
109 dm_write_reg(ctx, addr, value); in dce112_init_pte()
121 struct dc_context *ctx = dc->ctx; in dce112_enable_display_power_gating() local
123 if (IS_FPGA_MAXIMUS_DC(ctx->dce_environment)) in dce112_enable_display_power_gating()
141 dm_write_reg(ctx, in dce112_enable_display_power_gating()
147 dce112_init_pte(ctx); in dce112_enable_display_power_gating()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dccg.c41 dccg_dcn->base.ctx
43 dccg->ctx->logger
53 struct dc_context *ctx, in dccg3_create()
67 base->ctx = ctx; in dccg3_create()
78 struct dc_context *ctx, in dccg30_create()
92 base->ctx = ctx; in dccg30_create()
52 dccg3_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) dccg3_create() argument
77 dccg30_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) dccg30_create() argument
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm4-ce-cipher-glue.c23 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_setkey() local
25 return sm4_expandkey(ctx, key, key_len); in sm4_ce_setkey()
30 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_encrypt() local
33 sm4_crypt_block(ctx->rkey_enc, out, in); in sm4_ce_encrypt()
36 sm4_ce_do_crypt(ctx->rkey_enc, out, in); in sm4_ce_encrypt()
43 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt() local
46 sm4_crypt_block(ctx->rkey_dec, out, in); in sm4_ce_decrypt()
49 sm4_ce_do_crypt(ctx->rkey_dec, out, in); in sm4_ce_decrypt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_get_stack_rawtp.c33 * usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK);
36 * ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0);
58 int bpf_prog1(void *ctx) in bpf_prog1() argument
73 data->kern_stack_size = bpf_get_stack(ctx, data->kern_stack, in bpf_prog1()
75 data->user_stack_size = bpf_get_stack(ctx, data->user_stack, max_len, in bpf_prog1()
78 ctx, data->user_stack_buildid, max_buildid_len, in bpf_prog1()
80 bpf_perf_event_output(ctx, &perfmap, 0, data, sizeof(*data)); in bpf_prog1()
87 usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); in bpf_prog1()
91 ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); in bpf_prog1()
97 bpf_perf_event_output(ctx, in bpf_prog1()
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
H A Dsof_sdw_hdmi.c29 struct mc_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_sdw_hdmi_init() local
41 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in sof_sdw_hdmi_init()
49 struct mc_private *ctx = snd_soc_card_get_drvdata(card); in sof_sdw_hdmi_card_late_probe() local
55 if (!ctx->idisp_codec) in sof_sdw_hdmi_card_late_probe()
58 if (list_empty(&ctx->hdmi_pcm_list)) in sof_sdw_hdmi_card_late_probe()
61 pcm = list_first_entry(&ctx->hdmi_pcm_list, struct hdmi_pcm, in sof_sdw_hdmi_card_late_probe()
65 if (ctx->common_hdmi_codec_drv) in sof_sdw_hdmi_card_late_probe()
68 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in sof_sdw_hdmi_card_late_probe()
/kernel/linux/linux-5.10/tools/bpf/runqslower/
H A Drunqslower.bpf.c41 int handle__sched_wakeup(u64 *ctx) in handle__sched_wakeup() argument
44 struct task_struct *p = (void *)ctx[0]; in handle__sched_wakeup()
50 int handle__sched_wakeup_new(u64 *ctx) in handle__sched_wakeup_new() argument
53 struct task_struct *p = (void *)ctx[0]; in handle__sched_wakeup_new()
59 int handle__sched_switch(u64 *ctx) in handle__sched_switch() argument
64 struct task_struct *prev = (struct task_struct *)ctx[1]; in handle__sched_switch()
65 struct task_struct *next = (struct task_struct *)ctx[2]; in handle__sched_switch()
91 bpf_perf_event_output(ctx, &events, BPF_F_CURRENT_CPU, in handle__sched_switch()
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
H A Dutil.c13 struct perf_gtk_context *ctx; in perf_gtk__activate_context() local
15 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()
16 if (ctx) in perf_gtk__activate_context()
17 ctx->main_window = window; in perf_gtk__activate_context()
19 return ctx; in perf_gtk__activate_context()
22 int perf_gtk__deactivate_context(struct perf_gtk_context **ctx) in perf_gtk__deactivate_context() argument
24 if (!perf_gtk__is_active_context(*ctx)) in perf_gtk__deactivate_context()
27 zfree(ctx); in perf_gtk__deactivate_context()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dccg.c41 dccg_dcn->base.ctx
43 dccg->ctx->logger
56 struct dc_context *ctx, in dccg3_create()
70 base->ctx = ctx; in dccg3_create()
81 struct dc_context *ctx, in dccg30_create()
95 base->ctx = ctx; in dccg30_create()
55 dccg3_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) dccg3_create() argument
80 dccg30_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) dccg30_create() argument
/kernel/linux/linux-6.6/tools/perf/ui/gtk/
H A Dutil.c13 struct perf_gtk_context *ctx; in perf_gtk__activate_context() local
15 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()
16 if (ctx) in perf_gtk__activate_context()
17 ctx->main_window = window; in perf_gtk__activate_context()
19 return ctx; in perf_gtk__activate_context()
22 int perf_gtk__deactivate_context(struct perf_gtk_context **ctx) in perf_gtk__deactivate_context() argument
24 if (!perf_gtk__is_active_context(*ctx)) in perf_gtk__deactivate_context()
27 zfree(ctx); in perf_gtk__deactivate_context()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod-events.h13 TP_PROTO(struct task_struct *task, struct bpf_testmod_test_read_ctx *ctx),
14 TP_ARGS(task, ctx),
24 __entry->off = ctx->off;
25 __entry->len = ctx->len;
33 TP_PROTO(struct task_struct *task, struct bpf_testmod_test_write_ctx *ctx),
34 TP_ARGS(task, ctx)
47 TP_PROTO(struct bpf_testmod_test_writable_ctx *ctx),
48 TP_ARGS(ctx),
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_helper_restricted.c60 int raw_tp_timer(void *ctx) in raw_tp_timer() argument
68 int tp_timer(void *ctx) in tp_timer() argument
76 int kprobe_timer(void *ctx) in kprobe_timer() argument
84 int perf_event_timer(void *ctx) in perf_event_timer() argument
92 int raw_tp_spin_lock(void *ctx) in raw_tp_spin_lock() argument
100 int tp_spin_lock(void *ctx) in tp_spin_lock() argument
108 int kprobe_spin_lock(void *ctx) in kprobe_spin_lock() argument
116 int perf_event_spin_lock(void *ctx) in perf_event_spin_lock() argument
H A Dtest_map_ops.c32 static u64 callback(u64 map, u64 key, u64 val, u64 ctx, u64 flags) in callback() argument
38 int map_update(void *ctx) in map_update() argument
52 int map_delete(void *ctx) in map_delete() argument
65 int map_push(void *ctx) in map_push() argument
78 int map_pop(void *ctx) in map_pop() argument
91 int map_peek(void *ctx) in map_peek() argument
104 int map_for_each_pass(void *ctx) in map_for_each_pass() argument
122 int map_for_each_fail(void *ctx) in map_for_each_fail() argument

Completed in 12 milliseconds

1...<<51525354555657585960>>...232