/Linux-v5.15/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 | 16 echo "$1" > /dev/kmsg 80 echo "livepatch: $result" > /dev/kmsg
|
/Linux-v5.15/net/ |
D | compat.c | 36 int __get_compat_msghdr(struct msghdr *kmsg, in __get_compat_msghdr() argument 47 kmsg->msg_flags = msg.msg_flags; in __get_compat_msghdr() 48 kmsg->msg_namelen = msg.msg_namelen; in __get_compat_msghdr() 51 kmsg->msg_namelen = 0; in __get_compat_msghdr() 53 if (kmsg->msg_namelen < 0) in __get_compat_msghdr() 56 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __get_compat_msghdr() 57 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __get_compat_msghdr() 59 kmsg->msg_control_is_user = true; in __get_compat_msghdr() 60 kmsg->msg_control_user = compat_ptr(msg.msg_control); in __get_compat_msghdr() 61 kmsg->msg_controllen = msg.msg_controllen; in __get_compat_msghdr() [all …]
|
D | socket.c | 2283 int __copy_msghdr_from_user(struct msghdr *kmsg, in __copy_msghdr_from_user() argument 2294 kmsg->msg_control_is_user = true; in __copy_msghdr_from_user() 2295 kmsg->msg_control_user = msg.msg_control; in __copy_msghdr_from_user() 2296 kmsg->msg_controllen = msg.msg_controllen; in __copy_msghdr_from_user() 2297 kmsg->msg_flags = msg.msg_flags; in __copy_msghdr_from_user() 2299 kmsg->msg_namelen = msg.msg_namelen; in __copy_msghdr_from_user() 2301 kmsg->msg_namelen = 0; in __copy_msghdr_from_user() 2303 if (kmsg->msg_namelen < 0) in __copy_msghdr_from_user() 2306 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr_from_user() 2307 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __copy_msghdr_from_user() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/reserved-memory/ |
D | ramoops.txt | 33 - record-size: maximum size in bytes of each kmsg dump. 54 - max-reason: if present, sets maximum type of kmsg dump reasons to store 56 store all kmsg dumps. See include/linux/kmsg_dump.h KMSG_DUMP_* for other 57 kmsg dump reason values. Setting this to 0 (KMSG_DUMP_UNDEF), means the
|
/Linux-v5.15/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-v5.15/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-v5.15/fs/proc/ |
D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
/Linux-v5.15/Documentation/translations/zh_CN/ |
D | oops-tracing.txt | 45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
|
/Linux-v5.15/Documentation/translations/zh_TW/ |
D | oops-tracing.txt | 44 cat /proc/kmsg > file, 然而你必須介入中止傳輸, kmsg是一個「永不結束的文件」。如
|
/Linux-v5.15/include/net/ |
D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg,
|
/Linux-v5.15/Documentation/translations/zh_CN/core-api/ |
D | printk-basics.rst | 25 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
D | Makefile | 6 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
|
/Linux-v5.15/Documentation/translations/zh_CN/admin-guide/ |
D | bug-hunting.rst | 80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时 81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
|
/Linux-v5.15/Documentation/translations/zh_TW/admin-guide/ |
D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
|
/Linux-v5.15/fs/ |
D | io_uring.c | 4687 struct io_async_msghdr *kmsg) in io_setup_async_msg() argument 4694 kfree(kmsg->free_iov); in io_setup_async_msg() 4699 memcpy(async_msg, kmsg, sizeof(*kmsg)); in io_setup_async_msg() 4749 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg() local 4759 kmsg = req->async_data; in io_sendmsg() 4760 if (!kmsg) { in io_sendmsg() 4764 kmsg = &iomsg; in io_sendmsg() 4771 min_ret = iov_iter_count(&kmsg->msg.msg_iter); in io_sendmsg() 4773 ret = __sys_sendmsg_sock(sock, &kmsg->msg, flags); in io_sendmsg() 4775 return io_setup_async_msg(req, kmsg); in io_sendmsg() [all …]
|
/Linux-v5.15/Documentation/core-api/ |
D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
/Linux-v5.15/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 412 extern int __copy_msghdr_from_user(struct msghdr *kmsg,
|
/Linux-v5.15/include/linux/ |
D | socket.h | 412 extern int __copy_msghdr_from_user(struct msghdr *kmsg,
|
/Linux-v5.15/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-v5.15/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 418 Controls whether the panic kmsg data should be reported to Hyper-V. 421 0 Do not report panic kmsg data. 422 1 Report the panic kmsg data. This is the default behavior. 987 Control the logging to ``/dev/kmsg`` from userspace: 991 on unlimited logging to /dev/kmsg from userspace 992 off logging to /dev/kmsg disabled
|
/Linux-v5.15/Documentation/networking/ |
D | netconsole.rst | 164 following format which is the same as /dev/kmsg::
|