Lines Matching refs:hashinfo
60 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_sock_get() local
64 if (IS_ERR(hashinfo)) in raw_sock_get()
65 return ERR_CAST(hashinfo); in raw_sock_get()
67 read_lock(&hashinfo->lock); in raw_sock_get()
69 sk_for_each(s, &hashinfo->ht[slot]) { in raw_sock_get()
85 read_unlock(&hashinfo->lock); in raw_sock_get()
142 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_diag_dump() local
149 if (IS_ERR(hashinfo)) in raw_diag_dump()
157 read_lock(&hashinfo->lock); in raw_diag_dump()
161 sk_for_each(sk, &hashinfo->ht[slot]) { in raw_diag_dump()
184 read_unlock(&hashinfo->lock); in raw_diag_dump()