Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/omap2/omapfb/
H A 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/tools/testing/selftests/bpf/progs/
H A Dkfunc_call_test.c189 } ctx_map SEC(".maps");
202 struct ctx_val *ctx_val = bpf_map_lookup_elem(&ctx_map, &key); in kfunc_call_ctx()
/linux/tools/testing/selftests/bpf/
H A Dveristat.c997 } ctx_map[] = { in guess_prog_type_by_ctx_name() local
1023 for (i = 0; i < ARRAY_SIZE(ctx_map); i++) { in guess_prog_type_by_ctx_name()
1024 if (strcmp(ctx_map[i].uapi_name, ctx_name) == 0 || in guess_prog_type_by_ctx_name()
1025 (ctx_map[i].kern_name && strcmp(ctx_map[i].kern_name, ctx_name) == 0)) { in guess_prog_type_by_ctx_name()
1026 *prog_type = ctx_map[i].prog_type; in guess_prog_type_by_ctx_name()
1027 *attach_type = ctx_map[i].attach_type; in guess_prog_type_by_ctx_name()
/linux/block/
H A Dblk-mq-sysfs.c38 sbitmap_free(&hctx->ctx_map); in blk_mq_hw_sysfs_release()
H A 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()
1788 sbitmap_for_each_set(&hctx->ctx_map, flush_busy_ctx, &data); in blk_mq_flush_busy_ctxs()
1825 __sbitmap_for_each_set(&hctx->ctx_map, off, in blk_mq_dequeue_from_ctx()
3966 if (sbitmap_init_node(&hctx->ctx_map, nr_cpu_ids, ilog2(8), in blk_mq_alloc_hctx()
3984 sbitmap_free(&hctx->ctx_map); in blk_mq_alloc_hctx()
4174 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
H A Dblk-mq-sched.c231 if (!sbitmap_any_bit_set(&hctx->ctx_map)) in blk_mq_do_dispatch_ctx()
H A Dblk-mq-debugfs.c395 sbitmap_bitmap_show(&hctx->ctx_map, m); in hctx_ctx_map_show()
/linux/include/linux/
H A Dblk-mq.h371 struct sbitmap ctx_map; member
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c1670 dma_addr_t ctx_map; in cnic_get_bnx2x_ctx() local
1680 ctx_map = cp->ctx_arr[blk].mapping + align_off + in cnic_get_bnx2x_ctx()
1687 ctx_addr->lo = ctx_map & 0xffffffff; in cnic_get_bnx2x_ctx()
1688 ctx_addr->hi = (u64) ctx_map >> 32; in cnic_get_bnx2x_ctx()