nilfs_sufile..._alloc_range(9)
π NAME π
nilfs_sufile_set_alloc_range β okay bestie, welcome to the nilfs_sufile..._alloc_range(9) page from the Kernel API Manual β¨ this functionβs whole job is to limit range of segment to be allocated, and it is lowkey iconic for it π
β¨ SYNOPSIS β¨
Hereβs the exact signature, no edits, no cap:
int nilfs_sufile_set_alloc_range (struct inode *sufile , __u64 start ,
__u64 end );
π ARGUMENTS π
sufileβ the inode of segment usage file, aka the main character of this whole operation π«Άstartβ the minimum segment number of allocatable region (inclusive) πΈendβ the maximum segment number of allocatable region (inclusive) π¦
π RETURN π
Returns 0 on success, or -ERANGE if segment range is invalid β thatβs the vibe check, and if it fails, it fails π
π¦ SEE ALSO π¦
Bestie, if you wanna go deeper, the Kernel file is ./fs/nilfs2/sufile.c, and hereβs the whole squad:
struct nilfs_sufile_info(9)nilfs_sufile_segment_usage_offset(9)nilfs_sufile_get_ncleansegs(9)nilfs_sufile_updatev(9)nilfs_sufile_alloc(9)nilfs_sufile_mark_dirty(9)nilfs_sufile_set_segment_usage(9)nilfs_sufile_get_stat(9)nilfs_sufile_truncate_range(9)nilfs_sufile_resize(9)nilfs_sufile_get_suinfo(9)nilfs_sufile_set_suinfo(9)nilfs_sufile_trim_fs(9)nilfs_sufile_read(9)
Signed off with sparkle from the ./fs/nilfs2 source tree, October 2026 edition of nilfs_sufile..._alloc_range(9) β stay slay, bestie π
πβ¨
π¦ 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