rhashtable_walk_peek(9)
πΈ rhashtable_walk_peek(9) πΈ
okay so bestie, welcome to the Kernel API Manual β¨ this little cutie lives in the kernel and it's about peeking at your hash table without messing up where you're standing. very demure, very mindful π
π NAME π
rhashtable_walk_peek β return the next object but don't advance the iterator π«Ά like, look but don't touch, yk?
β¨ SYNOPSIS β¨
void * rhashtable_walk_peek (struct rhashtable_iter *iter );
π ARGUMENTS π
iterβ hash table iterator π¦ (this is the little guy doing the walking, iykyk)
π« DESCRIPTION π«
So like, this function returns the next object, or NULL when you've hit the end of the table π. That's it, that's the vibe.
It returns -EAGAIN if a resize event occurred β οΈ. And no cap, here's the tea: the iterator will rewind back to the beginning and you may continue to use it π₯. Not me getting sent back to the start and still being iconic ππ
π SEE ALSO π
Kernel file ./lib/rhashtable.c β and the whole friend group fr fr:
rhashtable_shrink(9)rhashtable_next_key(9)rhashtable_walk_enter(9)rhashtable_walk_exit(9)rhashtable_walk_start_check(9)__rhashtable_walk_find_next(9)rhashtable_walk_next(9)rhashtable_walk_stop(9)rhashtable_free_and_destroy(9)
and that's the whole page bestie π§π β this one came straight out of ./lib, dated October 2026, and it's literally called rhashtable_walk_peek(9) in case you forgot already ππ«Ά peek responsibly, mwah π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms