Lines Matching refs:NETLBL_CATMAP_MAPSIZE
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()
859 idx = offset / NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_setlong()
860 iter->bitmap[idx] |= bitmap << (offset % NETLBL_CATMAP_MAPSIZE); in netlbl_catmap_setlong()