Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dsbitmap.c117 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
132 sb->map = kvzalloc_node(sb->map_nr * sizeof(*sb->map), flags, node); in sbitmap_init_node()
138 for (i = 0; i < sb->map_nr; i++) in sbitmap_init_node()
150 for (i = 0; i < sb->map_nr; i++) in sbitmap_resize()
154 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_resize()
220 for (i = 0; i < sb->map_nr; i++) { in sbitmap_find_bit()
234 if (++index >= sb->map_nr) in sbitmap_find_bit()
311 for (i = 0; i < sb->map_nr; i++) { in sbitmap_any_bit_set()
323 for (i = 0; i < sb->map_nr; i++) { in __sbitmap_weight()
352 seq_printf(m, "map_nr=%u\n", sb->map_nr); in sbitmap_show()
[all …]
/openbmc/linux/include/linux/
H A Dsbitmap.h66 unsigned int map_nr; member
176 if (index == sb->map_nr - 1) in __map_depth()
293 if (++index >= sb->map_nr) in __sbitmap_for_each_set()
/openbmc/linux/drivers/gpu/drm/exynos/
H A 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()