Lines Matching refs:bkt
92 static inline void lock_uid_by_bkt(u32 bkt) in lock_uid_by_bkt() argument
94 spin_lock(&uid_lock[bkt]); in lock_uid_by_bkt()
97 static inline void unlock_uid_by_bkt(u32 bkt) in unlock_uid_by_bkt() argument
99 spin_unlock(&uid_lock[bkt]); in unlock_uid_by_bkt()
201 u32 bkt; in uid_cputime_show() local
203 for (bkt = 0, uid_entry = NULL; uid_entry == NULL && in uid_cputime_show()
204 bkt < HASH_SIZE(hash_table); bkt++) { in uid_cputime_show()
206 lock_uid_by_bkt(bkt); in uid_cputime_show()
207 hlist_for_each_entry(uid_entry, &hash_table[bkt], hash) { in uid_cputime_show()
215 unlock_uid_by_bkt(bkt); in uid_cputime_show()
347 u32 bkt; in uid_io_show() local
349 for (bkt = 0, uid_entry = NULL; uid_entry == NULL && bkt < HASH_SIZE(hash_table); in uid_io_show()
350 bkt++) { in uid_io_show()
351 lock_uid_by_bkt(bkt); in uid_io_show()
352 hlist_for_each_entry(uid_entry, &hash_table[bkt], hash) { in uid_io_show()
369 unlock_uid_by_bkt(bkt); in uid_io_show()