Search notes:

/proc/cmdline

/proc/cmdline contains the arguments («command line») with which the kernel was started.
The value in /proc/cmdline should also be found with dmesg. The following command prints, at least in my current Linux environment, the same line twice:
$ cat /proc/cmdline  && dmesg | grep -o -P '(?<=Command line: ).*'

TODO

init/main.c has the following comment:
Unknown boot options get handed to init, unless they look like unused parameters (modprobe will find them in /proc/cmdline).

See also

Documentation/admin-guide/kernel-parameters.rst
A list of command line parameters
When modprobe loads a module, it parses the command line.
/proc
/proc/bootconfig

Index