Home
last modified time | relevance | path

Searched refs:ctx_map (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c46 static unsigned long ctx_map; variable
116 unsigned long map = ctx_map; in omap_vrfb_restore_context()
261 BUG_ON(!(ctx_map & (1 << ctx))); in omap_vrfb_release_ctx()
263 clear_bit(ctx, &ctx_map); in omap_vrfb_release_ctx()
290 if ((ctx_map & (1 << ctx)) == 0) in omap_vrfb_request_ctx()
301 set_bit(ctx, &ctx_map); in omap_vrfb_request_ctx()
/linux-6.6.21/tools/testing/selftests/bpf/
Dveristat.c839 } ctx_map[] = { in guess_prog_type_by_ctx_name() local
865 for (i = 0; i < ARRAY_SIZE(ctx_map); i++) { in guess_prog_type_by_ctx_name()
866 if (strcmp(ctx_map[i].uapi_name, ctx_name) == 0 || in guess_prog_type_by_ctx_name()
867 (ctx_map[i].kern_name && strcmp(ctx_map[i].kern_name, ctx_name) == 0)) { in guess_prog_type_by_ctx_name()
868 *prog_type = ctx_map[i].prog_type; in guess_prog_type_by_ctx_name()
869 *attach_type = ctx_map[i].attach_type; in guess_prog_type_by_ctx_name()
/linux-6.6.21/block/
Dblk-mq-sysfs.c38 sbitmap_free(&hctx->ctx_map); in blk_mq_hw_sysfs_release()
Dblk-mq.c63 sbitmap_any_bit_set(&hctx->ctx_map) || in blk_mq_hctx_has_pending()
75 if (!sbitmap_test_bit(&hctx->ctx_map, bit)) in blk_mq_hctx_mark_pending()
76 sbitmap_set_bit(&hctx->ctx_map, bit); in blk_mq_hctx_mark_pending()
84 sbitmap_clear_bit(&hctx->ctx_map, bit); in blk_mq_hctx_clear_pending()
1724 sbitmap_for_each_set(&hctx->ctx_map, flush_busy_ctx, &data); in blk_mq_flush_busy_ctxs()
1762 __sbitmap_for_each_set(&hctx->ctx_map, off, in blk_mq_dequeue_from_ctx()
3759 if (sbitmap_init_node(&hctx->ctx_map, nr_cpu_ids, ilog2(8), in blk_mq_alloc_hctx()
3777 sbitmap_free(&hctx->ctx_map); in blk_mq_alloc_hctx()
3965 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
Dblk-mq-sched.c231 if (!sbitmap_any_bit_set(&hctx->ctx_map)) in blk_mq_do_dispatch_ctx()
Dblk-mq-debugfs.c394 sbitmap_bitmap_show(&hctx->ctx_map, m); in hctx_ctx_map_show()
/linux-6.6.21/include/linux/
Dblk-mq.h349 struct sbitmap ctx_map; member
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dcnic.c1661 dma_addr_t ctx_map; in cnic_get_bnx2x_ctx() local
1671 ctx_map = cp->ctx_arr[blk].mapping + align_off + in cnic_get_bnx2x_ctx()
1678 ctx_addr->lo = ctx_map & 0xffffffff; in cnic_get_bnx2x_ctx()
1679 ctx_addr->hi = (u64) ctx_map >> 32; in cnic_get_bnx2x_ctx()