Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c265 bmd2bmp(int bmd) in bmd2bmp() argument
267 if (bmd < 0 || bmd >= BMAP_MAX) in bmd2bmp()
270 return (&bitmap[bmd]); in bmd2bmp()
302 bmd_free(int bmd) in bmd_free() argument
306 bmp = bmd2bmp(bmd); in bmd_free()
656 int bmd; in bm_alloc() local
662 bmd = bmd_alloc(); in bm_alloc()
663 if (bmd < 0) in bm_alloc()
664 return (bmd); in bm_alloc()
666 bmp = bmd2bmp(bmd); in bm_alloc()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/include/
H A Dbitmap.h152 #define bm_setone(bmd, bn) bm_set((bmd), (bn), 1, 1) argument
153 #define dbm_setone(bmd, bn) dbm_set((bmd), (bn), 1, 1) argument
154 #define bm_unsetone(bmd, bn) bm_set((bmd), (bn), 1, 0) argument
155 #define dbm_unsetone(bmd, bn) dbm_set((bmd), (bn), 1, 0) argument
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mark.c130 count_bits_cb(int bmd, u_longlong_t bn, void *arg) in count_bits_cb() argument
132 if (dbm_getone(bmd, bn)) { in count_bits_cb()
155 count_set_bits(char *path, int bmd) in count_set_bits() argument
163 (void) dbm_apply_ifset(bmd, count_bits_cb, &cnt); in count_set_bits()
251 int bmd; in mark_cb() local
281 bmd = mpp->mp_bmd; in mark_cb()
282 bl = dbm_getlen(bmd); in mark_cb()
303 (void) dbm_setone(bmd, pstp->st_ino); in mark_cb()
325 (void) dbm_setone(bmd, (u_longlong_t)estp->st_ino); in mark_cb()
326 (void) dbm_setone(bmd, (u_longlong_t)pstp->st_ino); in mark_cb()
[all …]