Home
last modified time | relevance | path

Searched refs:get_bucket (Results 1 – 2 of 2) sorted by relevance

/net/core/
Dnet-procfs.c8 #define get_bucket(x) ((x) >> BUCKET_SPACE) macro
22 h = &net->dev_name_head[get_bucket(*pos)]; in dev_from_same_bucket()
41 bucket = get_bucket(*pos) + 1; in dev_from_bucket()
59 if (get_bucket(*pos) >= NETDEV_HASHENTRIES) in dev_seq_start()
/net/unix/
Daf_unix.c2744 #define get_bucket(x) ((x) >> BUCKET_SPACE) macro
2751 unsigned long bucket = get_bucket(*pos); in unix_from_bucket()
2785 bucket = get_bucket(*pos) + 1; in unix_next_socket()
2800 if (get_bucket(*pos) >= ARRAY_SIZE(unix_socket_table)) in unix_seq_start()