Searched defs:bitmap (Results 1 - 7 of 7) sorted by relevance
/net/netlabel/ |
H A D | netlabel_kapi.c | 412 * @catmap: pointer to the category bitmap 472 * @catmap: the category bitmap 476 * This function walks a LSM secattr category bitmap starting at @offset and 485 NETLBL_CATMAP_MAPTYPE bitmap; local 498 bitmap = iter->bitmap[idx] >> bit; 501 if (bitmap != 0) { 502 while ((bitmap & NETLBL_CATMAP_BIT) == 0) { 503 bitmap >>= 1; 516 bitmap 541 NETLBL_CATMAP_MAPTYPE bitmap; local 596 netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap, u32 *offset, unsigned long *bitmap) argument 707 netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap, u32 offset, unsigned long bitmap, gfp_t flags) argument [all...] |
/net/sched/ |
H A D | cls_u32.c | 42 #include <linux/bitmap.h> 529 unsigned long *bitmap = kzalloc(BITS_TO_LONGS(NR_U32_NODE) * sizeof(unsigned long), local 531 if (!bitmap) 537 set_bit(TC_U32_NODE(n->handle), bitmap); 539 i = find_next_zero_bit(bitmap, NR_U32_NODE, 0x800); 541 i = find_next_zero_bit(bitmap, NR_U32_NODE, 1); 543 kfree(bitmap);
|
H A D | sch_generic.c | 459 * - bitmap indicating which of the bands contain skbs 462 u32 bitmap; member in struct:pfifo_fast_priv 467 * Convert a bitmap to the first band number where an skb is queued, where: 468 * bitmap=0 means there are no skbs on any band. 469 * bitmap=1 means there is an skb on band 0. 470 * bitmap=7 means there are skbs on all 3 bands, etc. 487 priv->bitmap |= (1 << band); 498 int band = bitmap2band[priv->bitmap]; 506 priv->bitmap &= ~(1 << band); 517 int band = bitmap2band[priv->bitmap]; [all...] |
H A D | sch_qfq.c | 754 /* return the pointer to the group with lowest index in the bitmap */ 756 unsigned long bitmap) 758 int index = __ffs(bitmap); 762 static inline unsigned long mask_from(unsigned long bitmap, int from) argument 764 return bitmap & ~((1UL << from) - 1); 755 qfq_ffs(struct qfq_sched *q, unsigned long bitmap) argument
|
/net/batman-adv/ |
H A D | bat_iv_ogm.c | 1291 unsigned long *bitmap; local 1338 bitmap = neigh_ifinfo->bat_iv.real_bits; 1339 need_update |= batadv_bit_get_packet(bat_priv, bitmap, 1342 packet_count = bitmap_weight(bitmap,
|
/net/ipv4/ |
H A D | cipso_ipv4.c | 87 /* Restricted bitmap (tag #1) flags */ 103 /* Base length of the restrictive category bitmap tag (tag #1). */ 109 /* Base length of the ranged categories bitmap tag (tag #5). */ 136 * cipso_v4_bitmap_walk - Walk a bitmap looking for a bit 137 * @bitmap: the bitmap 143 * Starting at @offset, walk the bitmap from left to right until either the 147 static int cipso_v4_bitmap_walk(const unsigned char *bitmap, argument 159 byte = bitmap[byte_offset]; 171 byte = bitmap[ 189 cipso_v4_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) argument 827 cipso_v4_map_cat_rbm_valid(const struct cipso_v4_doi *doi_def, const unsigned char *bitmap, u32 bitmap_len) argument [all...] |
H A D | udp.c | 137 unsigned long *bitmap, 150 (bitmap || udp_sk(sk2)->udp_port_hash == num) && 157 if (bitmap) 159 bitmap); 222 DECLARE_BITMAP(bitmap, PORTS_PER_CHAIN); 236 bitmap_zero(bitmap, PORTS_PER_CHAIN); 238 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, 249 !test_bit(snum >> udptable->log, bitmap) && 135 udp_lib_lport_inuse(struct net *net, __u16 num, const struct udp_hslot *hslot, unsigned long *bitmap, struct sock *sk, int (*saddr_comp)(const struct sock *sk1, const struct sock *sk2), unsigned int log) argument
|
Completed in 124 milliseconds