Lines Matching refs:spot
617 int spot = -1; in calipso_map_cat_hton() local
622 spot = netlbl_catmap_walk(secattr->attr.mls.cat, in calipso_map_cat_hton()
623 spot + 1); in calipso_map_cat_hton()
624 if (spot < 0) in calipso_map_cat_hton()
626 if (spot >= net_clen_bits) in calipso_map_cat_hton()
628 netlbl_bitmap_setbit(net_cat, spot, 1); in calipso_map_cat_hton()
630 if (spot > net_spot_max) in calipso_map_cat_hton()
631 net_spot_max = spot; in calipso_map_cat_hton()
656 int spot = -1; in calipso_map_cat_ntoh() local
660 spot = netlbl_bitmap_walk(net_cat, in calipso_map_cat_ntoh()
662 spot + 1, in calipso_map_cat_ntoh()
664 if (spot < 0) { in calipso_map_cat_ntoh()
665 if (spot == -2) in calipso_map_cat_ntoh()
671 spot, in calipso_map_cat_ntoh()