Home
last modified time | relevance | path

Searched refs:kmsg (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/livepatch/
Dtest-livepatch.sh58 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 …]
Dfunctions.sh17 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/
Dcompat.c36 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 …]
Dsocket.c2359 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/
Dnet.c153 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/
Dramoops.yaml46 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/
Ddev-kmsg1 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/
DKconfig217 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/
DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/linux-6.1.9/include/net/
Dcompat.h49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dprintk-basics.rst26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
/linux-6.1.9/arch/powerpc/platforms/powernv/
DMakefile15 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/
Dbug-hunting.rst80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时
81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
Dsysrq.rst258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
/linux-6.1.9/Documentation/translations/zh_TW/admin-guide/
Dbug-hunting.rst83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時
84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
/linux-6.1.9/Documentation/core-api/
Dprintk-basics.rst20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h424 extern int __copy_msghdr(struct msghdr *kmsg,
/linux-6.1.9/include/linux/
Dsocket.h424 extern int __copy_msghdr(struct msghdr *kmsg,
/linux-6.1.9/Documentation/admin-guide/
Dramoops.rst40 Limiting which kinds of kmsg dumps are stored can be controlled via
Dbug-hunting.rst77 ``cat /proc/kmsg > file``, however you have to break in to stop the transfer,
78 since ``kmsg`` is a "never ending file".
Dpstore-blk.rst145 Limiting which kinds of kmsg dumps are stored can be controlled via
Dsysrq.rst270 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
/linux-6.1.9/Documentation/admin-guide/sysctl/
Dkernel.rst423 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/
Dnetconsole.rst164 following format which is the same as /dev/kmsg::
/linux-6.1.9/tools/testing/selftests/wireguard/
Dnetns.sh665 done < /dev/kmsg

12