/linux-6.1.9/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.1.9/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 | 2359 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument 2365 kmsg->msg_control_is_user = true; in __copy_msghdr() 2366 kmsg->msg_get_inq = 0; in __copy_msghdr() 2367 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr() 2368 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr() 2369 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr() 2371 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr() 2373 kmsg->msg_namelen = 0; in __copy_msghdr() 2375 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2378 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr() [all …]
|
/linux-6.1.9/io_uring/ |
D | net.c | 153 struct io_async_msghdr *kmsg, in io_setup_async_msg() argument 162 kfree(kmsg->free_iov); in io_setup_async_msg() 166 memcpy(async_msg, kmsg, sizeof(*kmsg)); in io_setup_async_msg() 170 if (!kmsg->free_iov) { in io_setup_async_msg() 171 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov; in io_setup_async_msg() 272 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg() local 283 kmsg = req->async_data; in io_sendmsg() 288 kmsg = &iomsg; in io_sendmsg() 293 return io_setup_async_msg(req, kmsg, issue_flags); in io_sendmsg() 299 min_ret = iov_iter_count(&kmsg->msg.msg_iter); in io_sendmsg() [all …]
|
/linux-6.1.9/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.1.9/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.1.9/fs/pstore/ |
D | Kconfig | 217 int "Size in Kbytes of kmsg dump log to store" 221 This just sets size of kmsg dump (oops, panic, etc) log for 228 int "Maximum kmsg dump reason to store" 232 The maximum reason for kmsg dumps to store. The default is
|
/linux-6.1.9/fs/proc/ |
D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
/linux-6.1.9/include/net/ |
D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | Makefile | 15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
|
/linux-6.1.9/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.1.9/Documentation/translations/zh_TW/admin-guide/ |
D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
|
/linux-6.1.9/Documentation/core-api/ |
D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
/linux-6.1.9/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 424 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.1.9/include/linux/ |
D | socket.h | 424 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.1.9/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.1.9/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 423 Controls whether the panic kmsg data should be reported to Hyper-V. 426 0 Do not report panic kmsg data. 427 1 Report the panic kmsg data. This is the default behavior. 1012 Control the logging to ``/dev/kmsg`` from userspace: 1016 on unlimited logging to /dev/kmsg from userspace 1017 off logging to /dev/kmsg disabled
|
/linux-6.1.9/Documentation/networking/ |
D | netconsole.rst | 164 following format which is the same as /dev/kmsg::
|
/linux-6.1.9/tools/testing/selftests/wireguard/ |
D | netns.sh | 665 done < /dev/kmsg
|