Home
last modified time | relevance | path

Searched refs:tag_map (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/dma/ioat/
H A Ddca.c94 u8 tag_map[IOAT_TAG_MAP_LEN]; member
188 entry = ioatdca->tag_map[i]; in ioat_dca_get_tag()
230 static inline int dca3_tag_map_invalid(u8 *tag_map) in dca3_tag_map_invalid() argument
240 return ((tag_map[0] == DCA_TAG_MAP_VALID) && in dca3_tag_map_invalid()
241 (tag_map[1] == DCA_TAG_MAP_VALID) && in dca3_tag_map_invalid()
242 (tag_map[2] == DCA_TAG_MAP_VALID) && in dca3_tag_map_invalid()
243 (tag_map[3] == DCA_TAG_MAP_VALID) && in dca3_tag_map_invalid()
244 (tag_map[4] == DCA_TAG_MAP_VALID)); in dca3_tag_map_invalid()
265 } tag_map; in ioat_dca_init() local
306 tag_map.low = in ioat_dca_init()
[all …]
/openbmc/linux/drivers/block/null_blk/
H A Dnull_blk.h31 unsigned long *tag_map; member
H A Dmain.c773 clear_bit_unlock(tag, nq->tag_map); in put_tag()
784 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
787 } while (test_and_set_bit_lock(tag, nq->tag_map)); in get_tag()
1771 bitmap_free(nq->tag_map); in cleanup_queue()
1902 nq->tag_map = bitmap_zalloc(nq->queue_depth, GFP_KERNEL); in setup_commands()
1903 if (!nq->tag_map) { in setup_commands()