device_param_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ device_param_cb(9) ✨

okay so bestie, this is the device_param_cb page from the Kernel API Manual πŸ’– and it is literally the general callback for a module/cmdline parameter to be evaluated before device initcall level. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

device_param_cb (name , ops , arg , perm );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” a valid C identifier which is the parameter name. yes bestie, valid C identifier, we are not doing chaos here πŸ’…
  • ops β€” the set & get operations for this parameter.
  • arg β€” args for ops. that's the whole vibe.
  • perm β€” visibility in sysfs. slay. ✨

πŸ’œ DESCRIPTION πŸ’œ

The ops can have NULL set or get functions. that's it, that's the description, iykyk 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/moduleparam.h β€” plus the whole squad: module_param(9), module_param_unsafe(9), module_param_named(9), module_param_named_unsafe(9), module_param_cb(9), core_param_cb(9), postcore_param_cb(9), arch_param_cb(9), subsys_param_cb(9), fs_param_cb(9), late_param_cb(9), core_param(9), core_param_unsafe(9), __core_param_cb(9), module_param_string(9), parameq(9), parameqn(9), module_param_array(9), module_param_array_named(9), module_param_hw_named(9), module_param_hw_array(9).


signed off from source/version ./include/linux, dated October 2026 β€” device_param_cb(9) out πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from