libie_debugfs_enable_write(9)
π
libie_debugfs_enable_write β the kernel API manual, bestie edition β¨
Okay so likeβ¦ hi. Welcome to the libie_debugfs_enable_write(9) page from the Kernel API Manual (section 9, obviously, we're in the grown-up kernel docs). This is the write side of the enable file and she's doing exactly one job: letting userspace write into that file. Iconic, honestly. π
β¨ NAME β¨
libie_debugfs_enable_write β write into the 'enable' file π«Ά
Periodt. That's the whole vibe. If you came here looking for the read girlie, she's got her own page (scroll down to SEE ALSO, babes).
πΈ SYNOPSIS πΈ
ssize_t libie_debugfs_enable_write (struct file *filp , const char
__user *buf , size_t count , loff_t *ppos );
Look at her. Four arguments, returns a ssize_t, that's the classic write-handler silhouette π
β she's literally serving file-operations energy. Standard, no cap.
π ARGUMENTS π
Bestie, let's meet the cast π§:
filpβ the opened file. Like, the file that got opened. That one. She's the main character here. πbufβ where to find the user's data. It'sconst char __user *, so it's the user's side of the pool and you lowkey can't just dereference it however you want, iykyk. π¦countβ the length of the user's data. Asize_t, so she's a big girl and she's unsigned. πpposβ file position offset. It's aloff_t *, so it's a pointer to where we are in the file. Classic. β
Not me being obsessed with the fact that all four of these are just handed to you by the VFS. You didn't have to do anything. She just arrives. π
π₯ SEE ALSO π₯
The whole group chat, in the order the original ordered them (don't come for me, I'm being faithful π):
- Kernel file
./drivers/net/ethernet/intel/libie/fwlog.c libie_fwlog_realloc_rings(9)libie_fwlog_supported(9)libie_aq_fwlog_set(9)libie_fwlog_set(9)libie_aq_fwlog_register(9)libie_fwlog_register(9)libie_fwlog_unregister(9)libie_fwlog_print_module_cfg(9)libie_debugfs_module_show(9)libie_debugfs_module_write(9)libie_debugfs_nr_messages_read(9)libie_debugfs_nr_messages_write(9)libie_debugfs_enable_read(9)libie_debugfs_log_size_read(9)libie_debugfs_log_size_write(9)libie_debugfs_data_read(9)libie_debugfs_data_write(9)libie_debugfs_fwlog_init(9)libie_aq_fwlog_get(9)libie_fwlog_set_supported(9)libie_fwlog_init(9)libie_fwlog_deinit(9)libie_get_fwlog_data(9)
Yup, that's twenty-four of them. I counted. Don't test me. π
And that's the page! π
Cute little sign-off for the girlies who read to the bottom: this one comes to you from the source ./drivers/net/ethernet/intel/l... (yes, the line was truncated in the original, and yes, I'm keeping it exactly like that β character for character, bestie, that's the rule π), dated October 2026, and she is filed under libie_debugfs_enable_write(9) in the Kernel API Manual. 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