Lines Matching refs:net_spot
791 u32 net_spot = CIPSO_V4_INV_CAT; in cipso_v4_map_cat_rbm_hton() local
810 net_spot = host_spot; in cipso_v4_map_cat_rbm_hton()
815 net_spot = host_cat_array[host_spot]; in cipso_v4_map_cat_rbm_hton()
816 if (net_spot >= CIPSO_V4_INV_CAT) in cipso_v4_map_cat_rbm_hton()
820 if (net_spot >= net_clen_bits) in cipso_v4_map_cat_rbm_hton()
822 netlbl_bitmap_setbit(net_cat, net_spot, 1); in cipso_v4_map_cat_rbm_hton()
824 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()
825 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()
852 int net_spot = -1; in cipso_v4_map_cat_rbm_ntoh() local
864 net_spot = netlbl_bitmap_walk(net_cat, in cipso_v4_map_cat_rbm_ntoh()
866 net_spot + 1, in cipso_v4_map_cat_rbm_ntoh()
868 if (net_spot < 0) { in cipso_v4_map_cat_rbm_ntoh()
869 if (net_spot == -2) in cipso_v4_map_cat_rbm_ntoh()
876 host_spot = net_spot; in cipso_v4_map_cat_rbm_ntoh()
879 if (net_spot >= net_cat_size) in cipso_v4_map_cat_rbm_ntoh()
881 host_spot = net_cat_array[net_spot]; in cipso_v4_map_cat_rbm_ntoh()