/linux-6.6.21/tools/testing/selftests/livepatch/ |
D | test-livepatch.sh | 58 grep 'live patched' /proc/cmdline > /dev/kmsg 59 grep 'live patched' /proc/meminfo > /dev/kmsg 63 grep 'live patched' /proc/cmdline > /dev/kmsg 64 grep 'live patched' /proc/meminfo > /dev/kmsg 69 grep 'live patched' /proc/cmdline > /dev/kmsg 70 grep 'live patched' /proc/meminfo > /dev/kmsg 75 grep 'live patched' /proc/cmdline > /dev/kmsg 76 grep 'live patched' /proc/meminfo > /dev/kmsg 119 grep 'live patched' /proc/cmdline > /dev/kmsg 120 grep 'live patched' /proc/meminfo > /dev/kmsg [all …]
|
D | functions.sh | 17 echo "$1" > /dev/kmsg 90 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg 97 echo "livepatch: kernel.ftrace_enabled = $result" > /dev/kmsg
|
/linux-6.6.21/net/ |
D | compat.c | 36 int __get_compat_msghdr(struct msghdr *kmsg, in __get_compat_msghdr() argument 42 kmsg->msg_flags = msg->msg_flags; in __get_compat_msghdr() 43 kmsg->msg_namelen = msg->msg_namelen; in __get_compat_msghdr() 46 kmsg->msg_namelen = 0; in __get_compat_msghdr() 48 if (kmsg->msg_namelen < 0) in __get_compat_msghdr() 51 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __get_compat_msghdr() 52 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __get_compat_msghdr() 54 kmsg->msg_control_is_user = true; in __get_compat_msghdr() 55 kmsg->msg_get_inq = 0; in __get_compat_msghdr() 56 kmsg->msg_control_user = compat_ptr(msg->msg_control); in __get_compat_msghdr() [all …]
|
D | socket.c | 2436 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument 2442 kmsg->msg_control_is_user = true; in __copy_msghdr() 2443 kmsg->msg_get_inq = 0; in __copy_msghdr() 2444 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr() 2445 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr() 2446 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr() 2448 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr() 2450 kmsg->msg_namelen = 0; in __copy_msghdr() 2452 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2455 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr() [all …]
|
/linux-6.6.21/io_uring/ |
D | net.c | 178 struct io_async_msghdr *kmsg, in io_setup_async_msg() argument 187 kfree(kmsg->free_iov); in io_setup_async_msg() 191 memcpy(async_msg, kmsg, sizeof(*kmsg)); in io_setup_async_msg() 199 if (iter_is_iovec(&kmsg->msg.msg_iter) && !kmsg->free_iov) { in io_setup_async_msg() 200 size_t fast_idx = iter_iov(&kmsg->msg.msg_iter) - kmsg->fast_iov; in io_setup_async_msg() 305 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg() local 316 kmsg = req->async_data; in io_sendmsg() 317 kmsg->msg.msg_control_user = sr->msg_control; in io_sendmsg() 322 kmsg = &iomsg; in io_sendmsg() 327 return io_setup_async_msg(req, kmsg, issue_flags); in io_sendmsg() [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/reserved-memory/ |
D | ramoops.yaml | 46 description: maximum size in bytes of each kmsg dump 81 If present, sets maximum type of kmsg dump reasons to store. 82 This can be set to INT_MAX to store all kmsg dumps. 83 See include/linux/kmsg_dump.h KMSG_DUMP_* for other kmsg dump reason values.
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | dev-kmsg | 1 What: /dev/kmsg 5 Description: The /dev/kmsg character device node provides userspace access 116 the console, /proc/kmsg or the syslog() syscall. 121 disabled and /dev/kmsg output will contain more fragments. If 124 may be removed entirely and /dev/kmsg users are recommended to
|
/linux-6.6.21/fs/pstore/ |
D | Kconfig | 135 int "Size in Kbytes of kmsg dump log to store" 139 This just sets size of kmsg dump (oops, panic, etc) log for 146 int "Maximum kmsg dump reason to store" 150 The maximum reason for kmsg dumps to store. The default is
|
/linux-6.6.21/fs/proc/ |
D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
/linux-6.6.21/include/net/ |
D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | Makefile | 15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | bug-hunting.rst | 80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时 81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
|
D | sysrq.rst | 258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
|
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/ |
D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
|
/linux-6.6.21/Documentation/core-api/ |
D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
/linux-6.6.21/include/linux/ |
D | socket.h | 432 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.6.21/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 431 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.6.21/Documentation/admin-guide/ |
D | ramoops.rst | 40 Limiting which kinds of kmsg dumps are stored can be controlled via
|
D | bug-hunting.rst | 77 ``cat /proc/kmsg > file``, however you have to break in to stop the transfer, 78 since ``kmsg`` is a "never ending file".
|
D | pstore-blk.rst | 145 Limiting which kinds of kmsg dumps are stored can be controlled via
|
D | sysrq.rst | 270 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
|
/linux-6.6.21/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 426 Controls whether the panic kmsg data should be reported to Hyper-V. 429 0 Do not report panic kmsg data. 430 1 Report the panic kmsg data. This is the default behavior. 1082 Control the logging to ``/dev/kmsg`` from userspace: 1086 on unlimited logging to /dev/kmsg from userspace 1087 off logging to /dev/kmsg disabled
|
/linux-6.6.21/Documentation/networking/ |
D | netconsole.rst | 168 following format which is the same as /dev/kmsg::
|
/linux-6.6.21/tools/testing/selftests/wireguard/ |
D | netns.sh | 687 done < /dev/kmsg
|