Lines Matching refs:net_spot
881 u32 net_spot = CIPSO_V4_INV_CAT; in cipso_v4_map_cat_rbm_hton() local
900 net_spot = host_spot; in cipso_v4_map_cat_rbm_hton()
905 net_spot = host_cat_array[host_spot]; in cipso_v4_map_cat_rbm_hton()
906 if (net_spot >= CIPSO_V4_INV_CAT) in cipso_v4_map_cat_rbm_hton()
910 if (net_spot >= net_clen_bits) in cipso_v4_map_cat_rbm_hton()
912 cipso_v4_bitmap_setbit(net_cat, net_spot, 1); in cipso_v4_map_cat_rbm_hton()
914 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()
915 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()
942 int net_spot = -1; in cipso_v4_map_cat_rbm_ntoh() local
954 net_spot = cipso_v4_bitmap_walk(net_cat, in cipso_v4_map_cat_rbm_ntoh()
956 net_spot + 1, in cipso_v4_map_cat_rbm_ntoh()
958 if (net_spot < 0) { in cipso_v4_map_cat_rbm_ntoh()
959 if (net_spot == -2) in cipso_v4_map_cat_rbm_ntoh()
966 host_spot = net_spot; in cipso_v4_map_cat_rbm_ntoh()
969 if (net_spot >= net_cat_size) in cipso_v4_map_cat_rbm_ntoh()
971 host_spot = net_cat_array[net_spot]; in cipso_v4_map_cat_rbm_ntoh()