fcoe_ctlr_device_add(9)
π fcoe_ctlr_device_add(9) β like, the Kernel API Manual page, bestie π
Okay so picture this: it's a (9) man page straight out of the Kernel API Manual, and the star of the show is fcoe_ctlr_device_add. Buckle up, we're learning sysfs today β¨
πΈ NAME πΈ
fcoe_ctlr_device_add β Add a FIP ctlr to sysfs π«Ά
β¨ SYNOPSIS β¨
struct fcoe_ctlr_device * fcoe_ctlr_device_add (struct device *parent ,
struct fcoe_sysfs_function_template *f , int priv_size );
That's the whole signature, no cap π
π¦ ARGUMENTS π¦
parentβ The parent device to which thefcoe_ctlrinstance should be attached. It's giving "who's your mom" energy, fr fr πfβ The LLD's FCoE sysfs function template pointer. Iconic little template, we love her πpriv_sizeβ Size to be allocated with thefcoe_ctlr_devicefor the LLD. Extra room, extra slay π
π DESCRIPTION π
So basically β¨ this routine allocates a FIP ctlr object with some additional memory for the LLD. Then the FIP ctlr is initialized, added to sysfs, and β the main character moment β attributes are added to it. Obsessed. It's a whole three-step glow-up: allocate β initialize β sysfs + attributes π
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/fcoe/fcoe_sysfs.c β the mothership π§
fcoe_ctlr_device_release(9)fcoe_fcf_device_release(9)fcoe_ctlr_device_flush_work(9)fcoe_ctlr_device_queue_work(9)fcoe_ctlr_device_flush_devloss(9)fcoe_ctlr_device_queue_devloss_work(9)fcoe_ctlr_device_delete(9)fcoe_fcf_device_final_delete(9)fip_timeout_deleted_fcf(9)fcoe_fcf_device_delete(9)fcoe_fcf_device_add(9)
π That's the whole page, bestie β go forth and add your FIP ctlr to sysfs. iykyk π
From ./drivers/scsi/fcoe, dated October 2026, and signed fcoe_ctlr_device_add(9) β catch you in the next man page, mwah π«Άπ
β¨
π¦ 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