Searched refs:spot (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | calipso.c | 613 int spot = -1; in calipso_map_cat_hton() local 618 spot = netlbl_catmap_walk(secattr->attr.mls.cat, in calipso_map_cat_hton() 619 spot + 1); in calipso_map_cat_hton() 620 if (spot < 0) in calipso_map_cat_hton() 622 if (spot >= net_clen_bits) in calipso_map_cat_hton() 624 netlbl_bitmap_setbit(net_cat, spot, 1); in calipso_map_cat_hton() 626 if (spot > net_spot_max) in calipso_map_cat_hton() 627 net_spot_max = spot; in calipso_map_cat_hton() 652 int spot = -1; in calipso_map_cat_ntoh() local 656 spot in calipso_map_cat_ntoh() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | calipso.c | 613 int spot = -1; in calipso_map_cat_hton() local 618 spot = netlbl_catmap_walk(secattr->attr.mls.cat, in calipso_map_cat_hton() 619 spot + 1); in calipso_map_cat_hton() 620 if (spot < 0) in calipso_map_cat_hton() 622 if (spot >= net_clen_bits) in calipso_map_cat_hton() 624 netlbl_bitmap_setbit(net_cat, spot, 1); in calipso_map_cat_hton() 626 if (spot > net_spot_max) in calipso_map_cat_hton() 627 net_spot_max = spot; in calipso_map_cat_hton() 652 int spot = -1; in calipso_map_cat_ntoh() local 656 spot in calipso_map_cat_ntoh() [all...] |
/kernel/linux/linux-5.10/net/netlabel/ |
H A D | netlabel_kapi.c | 605 * returns the spot of the first set bit or -ENOENT if no bits are set. 659 * returns the spot of the first cleared bit or -ENOENT if the offset is past 812 u32 spot = start; in netlbl_catmap_setrng() local 814 while (rc == 0 && spot <= end) { in netlbl_catmap_setrng() 815 if (((spot & (BITS_PER_LONG - 1)) == 0) && in netlbl_catmap_setrng() 816 ((end - spot) > BITS_PER_LONG)) { in netlbl_catmap_setrng() 818 spot, in netlbl_catmap_setrng() 821 spot += BITS_PER_LONG; in netlbl_catmap_setrng() 823 rc = netlbl_catmap_setbit(catmap, spot++, flags); in netlbl_catmap_setrng()
|
/kernel/linux/linux-6.6/net/netlabel/ |
H A D | netlabel_kapi.c | 605 * returns the spot of the first set bit or -ENOENT if no bits are set. 659 * returns the spot of the first cleared bit or -ENOENT if the offset is past 812 u32 spot = start; in netlbl_catmap_setrng() local 814 while (rc == 0 && spot <= end) { in netlbl_catmap_setrng() 815 if (((spot & (BITS_PER_LONG - 1)) == 0) && in netlbl_catmap_setrng() 816 ((end - spot) > BITS_PER_LONG)) { in netlbl_catmap_setrng() 818 spot, in netlbl_catmap_setrng() 821 spot += BITS_PER_LONG; in netlbl_catmap_setrng() 823 rc = netlbl_catmap_setbit(catmap, spot++, flags); in netlbl_catmap_setrng()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_eeprom.c | 3150 int spot; in ar9300_uncompress_block() local 3155 spot = 0; in ar9300_uncompress_block() 3160 spot += offset; in ar9300_uncompress_block() 3164 if (length > 0 && spot >= 0 && spot+length <= mdataSize) { in ar9300_uncompress_block() 3166 "Restore at %d: spot=%d offset=%d length=%d\n", in ar9300_uncompress_block() 3167 it, spot, offset, length); in ar9300_uncompress_block() 3168 memcpy(&mptr[spot], &block[it+2], length); in ar9300_uncompress_block() 3169 spot += length; in ar9300_uncompress_block() 3172 "Bad restore at %d: spot in ar9300_uncompress_block() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_eeprom.c | 3150 int spot; in ar9300_uncompress_block() local 3155 spot = 0; in ar9300_uncompress_block() 3160 spot += offset; in ar9300_uncompress_block() 3164 if (length > 0 && spot >= 0 && spot+length <= mdataSize) { in ar9300_uncompress_block() 3166 "Restore at %d: spot=%d offset=%d length=%d\n", in ar9300_uncompress_block() 3167 it, spot, offset, length); in ar9300_uncompress_block() 3168 memcpy(&mptr[spot], &block[it+2], length); in ar9300_uncompress_block() 3169 spot += length; in ar9300_uncompress_block() 3172 "Bad restore at %d: spot in ar9300_uncompress_block() [all...] |
Completed in 13 milliseconds