gfs2_rgrpd_get_next(9)
β¨ gfs2_rgrpd_get_next π
okay so bestie, welcome to the Kernel API Manual entry for gfs2_rgrpd_get_next β it's a tiny little function from the GFS2 filesystem world and it does exactly one (1) thing, but it does it iconically. we're talking resource groups, we're talking linked-list energy, we're talking a function so short it barely needs a page but here we are and honestly? obsessed. π
πΈ NAME πΈ
gfs2_rgrpd_get_next β get the next RG π¦
like, that's it. that's the whole job. get the next RG. no cap.
β¨ SYNOPSIS β¨
struct gfs2_rgrpd * gfs2_rgrpd_get_next (struct gfs2_rgrpd *rgd );
it takes one struct gfs2_rgrpd * and hands you back another struct gfs2_rgrpd *. simple as. π«Ά
π§ ARGUMENTS π§
rgdβ the resource group descriptor π like, this is your starting point, your main character, the rgrp you're standing on before you go find the next one.
β RETURN β
The next rgrp β¨ that's the whole vibe. you give it an rgrp, you get the next rgrp back. periodt. π₯
π« SEE ALSO π«
soooo there's a whole friend group here, and ngl it's a big one. all of these live in the kernel file ./fs/gfs2/rgrp.c β go say hi π
gfs2_setbit(9)gfs2_testbit(9)gfs2_bit_search(9)rs_cmp(9)gfs2_bitfit(9)gfs2_rbm_from_block(9)gfs2_rbm_add(9)gfs2_unaligned_extlen(9)gfs2_free_extlen(9)gfs2_bitcount(9)gfs2_rgrp_verify(9)gfs2_blk2rgrpd(9)gfs2_rgrpd_get_first(9)__rs_deltree(9)gfs2_rs_deltree(9)gfs2_rs_delete(9)return_all_reservations(9)compute_bitstructs(9)gfs2_ri_total(9)read_rindex_entry(9)set_rgrp_preferences(9)gfs2_ri_update(9)gfs2_rindex_update(9)gfs2_rgrp_go_instantiate(9)gfs2_rgrp_brelse(9)gfs2_fitrim(9)rs_insert(9)rgd_free(9)rg_mblk_search(9)gfs2_next_unreserved_block(9)gfs2_reservation_check_and_update(9)gfs2_rbm_find(9)try_rgrp_unlink(9)gfs2_rgrp_congested(9)gfs2_rgrp_used_recently(9)fast_to_acquire(9)gfs2_inplace_reserve(9)gfs2_inplace_release(9)gfs2_alloc_extent(9)rgblk_free(9)gfs2_rgrp_dump(9)gfs2_adjust_reservation(9)gfs2_set_alloc_start(9)gfs2_alloc_blocks(9)__gfs2_free_blocks(9)gfs2_free_meta(9)gfs2_check_blk_type(9)gfs2_rlist_add(9)gfs2_rlist_alloc(9)gfs2_rlist_free(9)
π real talk: that list is giving "the entire rgrp.c file got invited to the party" and we love that for them. iykyk.
and that's the page!! mwah π this lil number ships out of ./fs/gfs2 and the manual's dated October 2026 β so yeah, she's from the future, she's iconic, she's gfs2_rgrpd_get_next(9), and she's literally just here to hand you the next RG. slay. ππ
π¦ 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