Home
last modified time | relevance | path

Searched refs:BUCKET_SPACE (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dnet-procfs.c7 #define BUCKET_SPACE (32 - NETDEV_HASHBITS - 1) macro
9 #define get_bucket(x) ((x) >> BUCKET_SPACE)
10 #define get_offset(x) ((x) & ((1 << BUCKET_SPACE) - 1))
11 #define set_bucket_offset(b, o) ((b) << BUCKET_SPACE | (o))
/kernel/linux/linux-6.6/net/core/
H A Dnet-procfs.c9 #define BUCKET_SPACE (32 - NETDEV_HASHBITS - 1) macro
11 #define get_bucket(x) ((x) >> BUCKET_SPACE)
12 #define get_offset(x) ((x) & ((1 << BUCKET_SPACE) - 1))
13 #define set_bucket_offset(b, o) ((b) << BUCKET_SPACE | (o))
/kernel/linux/linux-5.10/net/unix/
H A Daf_unix.c2812 #define BUCKET_SPACE (BITS_PER_LONG - (UNIX_HASH_BITS + 1) - 1) macro
2814 #define get_bucket(x) ((x) >> BUCKET_SPACE)
2815 #define get_offset(x) ((x) & ((1L << BUCKET_SPACE) - 1))
2816 #define set_bucket_offset(b, o) ((b) << BUCKET_SPACE | (o))
/kernel/linux/linux-6.6/net/unix/
H A Daf_unix.c3172 #define BUCKET_SPACE (BITS_PER_LONG - (UNIX_HASH_BITS + 1) - 1) macro
3174 #define get_bucket(x) ((x) >> BUCKET_SPACE)
3175 #define get_offset(x) ((x) & ((1UL << BUCKET_SPACE) - 1))
3176 #define set_bucket_offset(b, o) ((b) << BUCKET_SPACE | (o))

Completed in 9 milliseconds