batadv_bitmap_shift_left(9)
π batadv_bitmap_shift_left(9) π
okay so real quick β this is a page from the Kernel API Manual, bestie. Kernel API Manual. That's the manual name, we're not copying the header line, we're just gonna say it out loud once so you know where we are. π
β¨ NAME β¨
batadv_bitmap_shift_left β shift the sequence number bitmap left. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
void batadv_bitmap_shift_left (unsigned long *seq_bits , s32 n );
like, look at her. no return value, she just does it. main character energy fr. π
π«Ά ARGUMENTS π«Ά
seq_bitsβ the sequence number bitmap you want to shift. yes, it's a pointer tounsigned long, don't @ me. πnβ number of positions to shift left. it's ans32, so it could be negative, whichβ¦ we'll get to that. π
π₯ DESCRIPTION π₯
So what she does is: shift seq_bits by n positions. simple. iconic. no notes. β¨
But β and this is the important part, bestie, don't skip it β it's a no-op if n is not within the bounds of the bitmap. so if you hand her a number that doesn't fit inside the bitmap's bounds, she does literally nothing. not an error, not a panic, just vibes and silence. π
lowkey a whole mood tbh β if the input's out of bounds she simply refuses to participate. π
π§ SEE ALSO π§
- Kernel file
./net/batman-adv/bitarray.c batadv_bit_get_packet(9)
both of these are your next stops, iykyk. go read them, they're literally right there. ππ
and that's the whole page, bestie β you ate this one, no cap π
this has been ./net/batman-adv (that's the source, and the version-ish thing), dated October 2026, signing off with a lil kiss πβ¨
π¦ 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