Home
last modified time | relevance | path

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

/Linux-v5.10/net/netlabel/
Dnetlabel_kapi.c620 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 …]
/Linux-v5.10/include/net/
Dnetlabel.h150 #define NETLBL_CATMAP_MAPSIZE (sizeof(NETLBL_CATMAP_MAPTYPE) * 8) macro
151 #define NETLBL_CATMAP_SIZE (NETLBL_CATMAP_MAPSIZE * \