Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/livepatch/
H A 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 …]
H A 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
/openbmc/linux/net/
H A 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 …]
H A Dsocket.c2471 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument
2477 kmsg->msg_control_is_user = true; in __copy_msghdr()
2478 kmsg->msg_get_inq = 0; in __copy_msghdr()
2479 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr()
2480 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr()
2481 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr()
2483 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr()
2485 kmsg->msg_namelen = 0; in __copy_msghdr()
2487 if (kmsg->msg_namelen < 0) in __copy_msghdr()
2490 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr()
[all …]
/openbmc/linux/io_uring/
H A Dnet.c178 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()
406 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg()
417 kmsg in io_sendmsg()
404 struct io_async_msghdr iomsg, *kmsg; io_sendmsg() local
729 io_recvmsg_prep_multishot(struct io_async_msghdr * kmsg,struct io_sr_msg * sr,void __user ** buf,size_t * len) io_recvmsg_prep_multishot() argument
760 io_recvmsg_multishot(struct socket * sock,struct io_sr_msg * io,struct io_async_msghdr * kmsg,unsigned int flags,bool * finished) io_recvmsg_multishot() argument
816 struct io_async_msghdr iomsg, *kmsg; io_recvmsg() local
1264 struct io_async_msghdr iomsg, *kmsg; io_sendmsg_zc() local
[all...]
/openbmc/linux/Documentation/ABI/testing/
H A 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
/openbmc/linux/fs/pstore/
H A DKconfig135 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
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/
H A Dmdev.conf10 kmsg 0:0 0660
/openbmc/linux/fs/proc/
H A DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/openbmc/linux/include/net/
H A Dcompat.h49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dprintk-basics.rst26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
/openbmc/openbmc/poky/meta/files/
H A Ddevice_table-minimal.txt17 /dev/kmsg c 600 root root 1 11 - - -
/openbmc/linux/arch/powerpc/platforms/powernv/
H A DMakefile15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dbug-hunting.rst80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时
81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
H A Dsysrq.rst258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/
H A Dbug-hunting.rst83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時
84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
/openbmc/linux/Documentation/core-api/
H A Dprintk-basics.rst20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h431 extern int __copy_msghdr(struct msghdr *kmsg,
/openbmc/linux/include/linux/
H A Dsocket.h432 extern int __copy_msghdr(struct msghdr *kmsg,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/
H A Dsyslog-ng.conf.sysvinit25 file("/proc/kmsg" program_override("kernel"));
H A Dsyslog-ng.conf.systemd25 file("/proc/kmsg" program_override("kernel"));
/openbmc/linux/Documentation/admin-guide/
H A Dramoops.rst40 Limiting which kinds of kmsg dumps are stored can be controlled via
H A 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".
/openbmc/openbmc/poky/scripts/pybootchartgui/
H A DNEWS167 be present (also in the initrd) [ with a kmsg
/openbmc/linux/Documentation/admin-guide/sysctl/
H A Dkernel.rst426 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

12