Searched refs:get_bucket (Results 1 – 2 of 2) sorted by relevance
8 #define get_bucket(x) ((x) >> BUCKET_SPACE) macro22 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()
2744 #define get_bucket(x) ((x) >> BUCKET_SPACE) macro2751 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()