Lines Matching defs:node_idx
60 u32 node_idx;
70 node_idx = (offset - iter->startbit) / NETLBL_CATMAP_MAPSIZE;
72 (NETLBL_CATMAP_MAPSIZE * node_idx);
74 node_idx = 0;
77 bitmap = iter->bitmap[node_idx] >> node_bit;
86 (NETLBL_CATMAP_MAPSIZE * node_idx) + node_bit;
88 if (++node_idx >= NETLBL_CATMAP_MAPCNT) {
91 node_idx = 0;
95 bitmap = iter->bitmap[node_idx];
117 u32 node_idx;
128 node_idx = (offset - iter->startbit) / NETLBL_CATMAP_MAPSIZE;
130 (NETLBL_CATMAP_MAPSIZE * node_idx);
132 node_idx = 0;
138 bitmap = iter->bitmap[node_idx];
146 (NETLBL_CATMAP_MAPSIZE * node_idx) +
148 else if (++node_idx >= NETLBL_CATMAP_MAPCNT) {
152 node_idx = 0;
178 u32 node_idx;
192 node_idx = (bit - iter->startbit) / NETLBL_CATMAP_MAPSIZE;
193 node_bit = bit - iter->startbit - (NETLBL_CATMAP_MAPSIZE * node_idx);
194 iter->bitmap[node_idx] |= NETLBL_CATMAP_BIT << node_bit;