Searched refs:NETLBL_CATMAP_MAPSIZE (Results 1 – 2 of 2) sorted by relevance
620 idx = offset / NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walk()621 bit = offset % NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walk()635 (NETLBL_CATMAP_MAPSIZE * idx) + bit; in netlbl_catmap_walk()677 idx = offset / NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walkrng()678 bit = offset % NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walkrng()696 (NETLBL_CATMAP_MAPSIZE * idx) + bit - 1; in netlbl_catmap_walkrng()758 idx = off / NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_getlong()759 *bitmap = iter->bitmap[idx] >> (off % NETLBL_CATMAP_MAPSIZE); in netlbl_catmap_getlong()787 idx = bit / NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_setbit()788 iter->bitmap[idx] |= NETLBL_CATMAP_BIT << (bit % NETLBL_CATMAP_MAPSIZE); in netlbl_catmap_setbit()[all …]
150 #define NETLBL_CATMAP_MAPSIZE (sizeof(NETLBL_CATMAP_MAPTYPE) * 8) macro151 #define NETLBL_CATMAP_SIZE (NETLBL_CATMAP_MAPSIZE * \