Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
Dsbitmap.c98 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
113 sb->map = kvzalloc_node(sb->map_nr * sizeof(*sb->map), flags, node); in sbitmap_init_node()
128 for (i = 0; i < sb->map_nr; i++) in sbitmap_resize()
132 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_resize()
205 for (i = 0; i < sb->map_nr; i++) { in __sbitmap_get()
214 if (++index >= sb->map_nr) in __sbitmap_get()
247 for (i = 0; i < sb->map_nr; i++) { in __sbitmap_get_shallow()
266 if (index >= sb->map_nr) { in __sbitmap_get_shallow()
296 for (i = 0; i < sb->map_nr; i++) { in sbitmap_any_bit_set()
308 for (i = 0; i < sb->map_nr; i++) { in __sbitmap_weight()
[all …]
/linux-6.1.9/include/linux/
Dsbitmap.h61 unsigned int map_nr; member
165 if (index == sb->map_nr - 1) in __map_depth()
282 if (++index >= sb->map_nr) in __sbitmap_for_each_set()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c192 unsigned int map_nr; member
692 for (i = 0; i < buf_info->map_nr; i++) { in g2d_map_cmdlist_gem()
764 buf_info->map_nr = i; in g2d_map_cmdlist_gem()
775 for (i = 0; i < buf_info->map_nr; i++) { in g2d_unmap_cmdlist_gem()
796 buf_info->map_nr = 0; in g2d_unmap_cmdlist_gem()
1251 node->buf_info.map_nr = req->cmd_buf_nr; in exynos_g2d_set_cmdlist_ioctl()