Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/video/fbdev/omap2/
Dvrfb.c58 static unsigned long ctx_map; variable
128 unsigned long map = ctx_map; in omap_vrfb_restore_context()
273 BUG_ON(!(ctx_map & (1 << ctx))); in omap_vrfb_release_ctx()
275 clear_bit(ctx, &ctx_map); in omap_vrfb_release_ctx()
302 if ((ctx_map & (1 << ctx)) == 0) in omap_vrfb_request_ctx()
313 set_bit(ctx, &ctx_map); in omap_vrfb_request_ctx()
/linux-4.4.14/block/
Dblk-mq.c45 for (i = 0; i < hctx->ctx_map.size; i++) in blk_mq_hctx_has_pending()
46 if (hctx->ctx_map.map[i].word) in blk_mq_hctx_has_pending()
55 return &hctx->ctx_map.map[ctx->index_hw / hctx->ctx_map.bits_per_word]; in get_bm()
59 ((ctx)->index_hw & ((hctx)->ctx_map.bits_per_word - 1))
693 for (i = 0; i < hctx->ctx_map.size; i++) { in flush_busy_ctxs()
694 struct blk_align_bitmap *bm = &hctx->ctx_map.map[i]; in flush_busy_ctxs()
701 off = i * hctx->ctx_map.bits_per_word; in flush_busy_ctxs()
1650 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_exit_hctx()
1710 if (blk_mq_alloc_bitmap(&hctx->ctx_map, node)) in blk_mq_init_hctx()
1737 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_init_hctx()
[all …]
/linux-4.4.14/include/linux/
Dblk-mq.h41 struct blk_mq_ctxmap ctx_map; member
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic.c1663 dma_addr_t ctx_map; in cnic_get_bnx2x_ctx() local
1673 ctx_map = cp->ctx_arr[blk].mapping + align_off + in cnic_get_bnx2x_ctx()
1680 ctx_addr->lo = ctx_map & 0xffffffff; in cnic_get_bnx2x_ctx()
1681 ctx_addr->hi = (u64) ctx_map >> 32; in cnic_get_bnx2x_ctx()