debugfs_create_x64(9)
π debugfs_create_x64(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for debugfs_create_x64, and honestly? it's giving "small but mighty" β¨
πΈ NAME πΈ
debugfs_create_x64 β creates a debugfs file that reads and writes an unsigned 64-bit value. that's it, that's the whole gig π
π SYNOPSIS π
void debugfs_create_x64 (const char *name , umode_t mode , struct dentry
*parent , u64 *value );
no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
okay so here's who's who in this little friend group:
nameβ a pointer to a string holding the name of the file you're about to create. name your child wisely πmodeβ the permission that the file should have. yes, that kind of permission, the file-mode kind πparentβ a pointer to the parent dentry for this file. if you set it, it should be a directory dentry, okay? and if this parameter isNULL, then the file gets created in the root of the debugfs filesystem β main character energy, no parent, just vibes πvalueβ a pointer to the variable that the file should read from and write to. this is the actual data bestie, the whole point π
π₯ SEE ALSO π₯
Kernel file ./fs/debugfs/file.c, plus the whole squad β go give them a follow:
debugfs_file_get(9)debugfs_file_put(9)debugfs_enter_cancellation(9)debugfs_leave_cancellation(9)debugfs_create_u8(9)debugfs_create_u16(9)debugfs_create_u32(9)debugfs_create_u64(9)debugfs_create_ulong(9)debugfs_create_x8(9)debugfs_create_x16(9)debugfs_create_x32(9)debugfs_create_size_t(9)debugfs_create_atomic_t(9)debugfs_create_bool(9)debugfs_create_str(9)debugfs_create_blob(9)debugfs_create_u32_array(9)debugfs_print_regs32(9)debugfs_create_regset32(9)debugfs_create_devm_seqfile(9)
like, the whole family reunion fr fr ππ
and that's the page!! sourced from ./fs/debugfs, dated October 2026 β so you know it's fresh πΈ slay, go forth and expose your 64-bit values responsibly, 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