Searched refs:bit (Results 1 – 9 of 9) sorted by relevance
/net/netfilter/ |
D | nf_conntrack_h323_asn1.c | 99 unsigned int bit; member 103 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} 104 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} 105 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} 171 unsigned int b = (*bs->cur) & (0x80 >> bs->bit); in get_bit() 184 v = (*bs->cur) & (0xffU >> bs->bit); in get_bits() 185 l = b + bs->bit; in get_bits() 189 bs->bit = l; in get_bits() 192 bs->bit = 0; in get_bits() 198 bs->bit = l - 8; in get_bits() [all …]
|
/net/netlabel/ |
D | netlabel_kapi.c | 527 u32 bit, in netlbl_secattr_catmap_setbit() argument 535 bit >= (iter->startbit + NETLBL_CATMAP_SIZE)) in netlbl_secattr_catmap_setbit() 537 if (bit >= (iter->startbit + NETLBL_CATMAP_SIZE)) { in netlbl_secattr_catmap_setbit() 542 iter->startbit = bit & ~(NETLBL_CATMAP_SIZE - 1); in netlbl_secattr_catmap_setbit() 546 node_idx = (bit - iter->startbit) / NETLBL_CATMAP_MAPSIZE; in netlbl_secattr_catmap_setbit() 547 node_bit = bit - iter->startbit - (NETLBL_CATMAP_MAPSIZE * node_idx); in netlbl_secattr_catmap_setbit()
|
/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 557 unsigned int bit; /* current bit */ member 581 idx->bit = ffs(local_nodes); in clusterip_seq_start() 583 clear_bit(idx->bit - 1, &idx->val); in clusterip_seq_start() 597 idx->bit = ffs(idx->val); in clusterip_seq_next() 598 clear_bit(idx->bit - 1, &idx->val); in clusterip_seq_next() 614 seq_printf(s, "%u", idx->bit); in clusterip_seq_show()
|
/net/ipv6/ |
D | ip6_fib.c | 423 int bit; in fib6_add_1() local 509 bit = __ipv6_addr_diff(addr, &key->addr, addrlen); in fib6_add_1() 516 if (plen > bit) { in fib6_add_1() 536 in->fn_bit = bit; in fib6_add_1() 557 if (addr_bit_set(addr, bit)) { in fib6_add_1()
|
/net/ |
D | TUNABLE | 48 (tunable) should be 8K - a bit for 8K machines like
|
/net/ipv4/ |
D | cipso_ipv4.c | 190 u32 bit, in cipso_v4_bitmap_setbit() argument 197 byte_spot = bit / 8; in cipso_v4_bitmap_setbit() 198 bitmask = 0x80 >> (bit % 8); in cipso_v4_bitmap_setbit()
|
/net/sched/ |
D | Kconfig | 269 tristate "Universal 32bit comparisons w/ hashing (U32)" 273 32bit pieces based comparison scheme. 366 simple packet data comparisons for 8, 16, and 32bit values.
|
/net/mac80211/ |
D | Kconfig | 118 This option increases code size a bit and inserts a lot
|
/net/core/ |
D | sock.c | 427 static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool) in sock_valbool_flag() argument 430 sock_set_flag(sk, bit); in sock_valbool_flag() 432 sock_reset_flag(sk, bit); in sock_valbool_flag()
|