Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 2 of 2) sorted by relevance

/tools/perf/tests/
Dbitmap.c14 unsigned long *bm = NULL; in get_bitmap() local
17 bm = bitmap_alloc(nbits); in get_bitmap()
19 if (map && bm) { in get_bitmap()
21 set_bit(map->map[i], bm); in get_bitmap()
26 return bm; in get_bitmap()
31 unsigned long *bm = get_bitmap(str, NBITS); in test_bitmap() local
35 bitmap_scnprintf(bm, NBITS, buf, sizeof(buf)); in test_bitmap()
39 free(bm); in test_bitmap()
Dmem2node.c27 unsigned long *bm = NULL; in get_bitmap() local
30 bm = bitmap_alloc(nbits); in get_bitmap()
32 if (map && bm) { in get_bitmap()
34 set_bit(map->map[i], bm); in get_bitmap()
41 free(bm); in get_bitmap()
43 return bm && map ? bm : NULL; in get_bitmap()