Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 15 of 15) sorted by relevance

/net/netfilter/
Dnf_conntrack_h323_asn1.c96 unsigned int bit; member
100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;}
101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;}
102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;}
167 bits += bs->bit; in nf_h323_error_boundary()
180 unsigned int b = (*bs->cur) & (0x80 >> bs->bit); in get_bit()
192 v = (*bs->cur) & (0xffU >> bs->bit); in get_bits()
193 l = b + bs->bit; in get_bits()
197 bs->bit = l; in get_bits()
200 bs->bit = 0; in get_bits()
[all …]
Dxt_connlabel.c36 if (test_bit(info->bit, labels->bits)) in connlabel_mt()
40 if (!test_and_set_bit(info->bit, labels->bits)) in connlabel_mt()
69 ret = nf_connlabels_get(par->net, info->bit); in connlabel_mt_check()
Dnf_conntrack_netlink.c1865 unsigned int bit; in __ctnetlink_change_status() local
1871 for (bit = 0; bit < __IPS_MAX_BIT; bit++) { in __ctnetlink_change_status()
1872 if (on & (1 << bit)) in __ctnetlink_change_status()
1873 set_bit(bit, &ct->status); in __ctnetlink_change_status()
1874 else if (off & (1 << bit)) in __ctnetlink_change_status()
1875 clear_bit(bit, &ct->status); in __ctnetlink_change_status()
DKconfig742 bool "Netfilter Xtables 32bit support"
746 This option provides a translation layer to run 32bit arp,ip(6),ebtables
747 binaries on 64bit kernels.
1219 to a connection. The kernel only stores bit values - mapping
/net/netlabel/
Dnetlabel_kapi.c612 u32 bit; in netlbl_catmap_walk() local
621 bit = offset % NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walk()
624 bit = 0; in netlbl_catmap_walk()
626 bitmap = iter->bitmap[idx] >> bit; in netlbl_catmap_walk()
632 bit++; in netlbl_catmap_walk()
635 (NETLBL_CATMAP_MAPSIZE * idx) + bit; in netlbl_catmap_walk()
645 bit = 0; in netlbl_catmap_walk()
668 u32 bit; in netlbl_catmap_walkrng() local
678 bit = offset % NETLBL_CATMAP_MAPSIZE; in netlbl_catmap_walkrng()
681 bit = 0; in netlbl_catmap_walkrng()
[all …]
/net/ceph/
Dpagelist.c77 size_t bit = pl->room; in ceph_pagelist_append() local
81 buf, bit); in ceph_pagelist_append()
82 pl->length += bit; in ceph_pagelist_append()
83 pl->room -= bit; in ceph_pagelist_append()
84 buf += bit; in ceph_pagelist_append()
85 len -= bit; in ceph_pagelist_append()
/net/ipv4/netfilter/
Dipt_CLUSTERIP.c701 unsigned int bit; /* current bit */ member
724 idx->bit = ffs(local_nodes); in clusterip_seq_start()
726 clear_bit(idx->bit - 1, &idx->val); in clusterip_seq_start()
740 idx->bit = ffs(idx->val); in clusterip_seq_next()
741 clear_bit(idx->bit - 1, &idx->val); in clusterip_seq_next()
758 seq_printf(s, "%u", idx->bit); in clusterip_seq_show()
/net/mac80211/
Dmesh.c1012 u32 bit; in ieee80211_mbss_info_change_notify() local
1018 for_each_set_bit(bit, &bits, sizeof(changed) * BITS_PER_BYTE) in ieee80211_mbss_info_change_notify()
1019 set_bit(bit, &ifmsh->mbss_changed); in ieee80211_mbss_info_change_notify()
1567 u32 bit, changed = 0; in mesh_bss_info_changed() local
1569 for_each_set_bit(bit, &ifmsh->mbss_changed, in mesh_bss_info_changed()
1571 clear_bit(bit, &ifmsh->mbss_changed); in mesh_bss_info_changed()
1572 changed |= BIT(bit); in mesh_bss_info_changed()
DKconfig115 This option increases code size a bit and inserts a lot
/net/rfkill/
Dcore.c567 u32 bit = RFKILL_BLOCK_SW; in __rfkill_set_sw_state() local
571 bit = RFKILL_BLOCK_SW_PREV; in __rfkill_set_sw_state()
574 rfkill->state |= bit; in __rfkill_set_sw_state()
576 rfkill->state &= ~bit; in __rfkill_set_sw_state()
/net/ethtool/
Dioctl.c2458 u32 bit; in ethtool_get_per_queue_coalesce() local
2470 for_each_set_bit(bit, queue_mask, MAX_NUM_QUEUE) { in ethtool_get_per_queue_coalesce()
2473 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, &coalesce); in ethtool_get_per_queue_coalesce()
2489 u32 bit; in ethtool_set_per_queue_coalesce() local
2507 for_each_set_bit(bit, queue_mask, MAX_NUM_QUEUE) { in ethtool_set_per_queue_coalesce()
2510 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, tmp); in ethtool_set_per_queue_coalesce()
2526 ret = dev->ethtool_ops->set_per_queue_coalesce(dev, bit, &coalesce); in ethtool_set_per_queue_coalesce()
2536 for_each_set_bit(i, queue_mask, bit) { in ethtool_set_per_queue_coalesce()
/net/ipv6/
DKconfig133 IPv6 address into a 64 bit locator and 64 bit identifier. The
Dip6_fib.c751 int bit; in fib6_add_1() local
871 bit = __ipv6_addr_diff(addr, &key->addr, sizeof(*addr)); in fib6_add_1()
878 if (plen > bit) { in fib6_add_1()
898 in->fn_bit = bit; in fib6_add_1()
916 if (addr_bit_set(addr, bit)) { in fib6_add_1()
/net/sched/
DKconfig529 tristate "Universal 32bit comparisons w/ hashing (U32)"
533 32bit pieces based comparison scheme.
632 simple packet data comparisons for 8, 16, and 32bit values.
/net/ipv4/
DKconfig635 provide multi-bit feedback to the end hosts. It is designed to provide: