ext4_free_blocks(9)
π ext4_free_blocks(9) π
Okay bestie, welcome to the Kernel API Manual page for ext4_free_blocks(9) β the function that frees given blocks and updates quota. Itβs giving cleanup era, no cap. β¨
πΈ NAME πΈ
ext4_free_blocks β Free given blocks and update quota. π
β¨ SYNOPSIS β¨
void ext4_free_blocks (handle_t *handle , struct inode *inode , struct buffer_head *bh , ext4_fsblk_t block , unsigned long count , int flags );
π ARGUMENTS π
handleβ handle for this transaction. π«inodeβ inode. (short, iconic, we respect it)bhβ optional buffer of the block to be freed. π¦blockβ starting physical block to be freed. π₯countβ number of blocks to be freed. πflagsβ flags used byext4_free_blocks. π
π¦ SEE ALSO π¦
Kernel file: ./fs/ext4/mballoc.c β and the related besties are ext4_mb_clear_bb(9), ext4_group_add_blocks(9), ext4_trim_extent(9), ext4_trim_all_free(9), and ext4_trim_fs(9). π
Catch u later π«Ά β source/version ./fs/ext4, dated October 2026.
π¦ 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