Searched refs:bm (Results 1 – 2 of 2) sorted by relevance
14 unsigned long *bm = NULL; in get_bitmap() local17 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() local35 bitmap_scnprintf(bm, NBITS, buf, sizeof(buf)); in test_bitmap()39 free(bm); in test_bitmap()
27 unsigned long *bm = NULL; in get_bitmap() local30 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()