Searched refs:chash_iter (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/include/linux/ |
D | chash.h | 255 struct chash_iter { struct 291 static inline bool chash_iter_is_valid(const struct chash_iter iter) in chash_iter_is_valid() 297 static inline bool chash_iter_is_empty(const struct chash_iter iter) in chash_iter_is_empty() 304 static inline void chash_iter_set_valid(const struct chash_iter iter) in chash_iter_set_valid() 310 static inline void chash_iter_set_invalid(const struct chash_iter iter) in chash_iter_set_invalid() 315 static inline void chash_iter_set_empty(const struct chash_iter iter) in chash_iter_set_empty() 321 static inline u32 chash_iter_key32(const struct chash_iter iter) in chash_iter_key32() 327 static inline u64 chash_iter_key64(const struct chash_iter iter) in chash_iter_key64() 333 static inline u64 chash_iter_key(const struct chash_iter iter) in chash_iter_key() 340 static inline u32 chash_iter_hash32(const struct chash_iter iter) in chash_iter_hash32() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/lib/ |
D | chash.c | 93 struct chash_iter iter = CHASH_ITER_INIT(table, 0); in __chash_table_dump_stats() 169 struct chash_iter iter = CHASH_ITER_INIT(table, 0); in chash_table_dump() 195 struct chash_iter iter = CHASH_ITER_INIT(table, 0); in chash_table_check() 196 struct chash_iter cur = CHASH_ITER_INIT(table, 0); in chash_table_check() 223 static void chash_iter_relocate(struct chash_iter dst, struct chash_iter src) in chash_iter_relocate() 273 static int chash_table_find(struct chash_iter *iter, u64 key, in chash_table_find() 280 struct chash_iter first_redundant = CHASH_ITER_INIT(iter->table, -1); in chash_table_find() 339 struct chash_iter new_iter = in chash_table_find() 399 struct chash_iter iter = CHASH_ITER_INIT(table, hash); in __chash_table_copy_in() 434 struct chash_iter iter = CHASH_ITER_INIT(table, hash); in __chash_table_copy_out()
|