/openbmc/linux/tools/testing/selftests/livepatch/ |
H A 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 …]
|
H A 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
|
/openbmc/linux/net/ |
H A 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 …]
|
H A D | socket.c | 2471 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 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() 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 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
|
/openbmc/linux/fs/pstore/ |
H A 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
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/ |
H A D | mdev.conf | 10 kmsg 0:0 0660
|
/openbmc/linux/fs/proc/ |
H A D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
/openbmc/linux/include/net/ |
H A D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
/openbmc/openbmc/poky/meta/files/ |
H A D | device_table-minimal.txt | 17 /dev/kmsg c 600 root root 1 11 - - -
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | Makefile | 15 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 D | bug-hunting.rst | 80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时 81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
|
H A D | sysrq.rst | 258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
|
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/ |
H A D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個「永無止境的文件」。
|
/openbmc/linux/Documentation/core-api/ |
H A D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 431 extern int __copy_msghdr(struct msghdr *kmsg,
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 432 extern int __copy_msghdr(struct msghdr *kmsg,
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/ |
H A D | syslog-ng.conf.sysvinit | 25 file("/proc/kmsg" program_override("kernel"));
|
H A D | syslog-ng.conf.systemd | 25 file("/proc/kmsg" program_override("kernel"));
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | ramoops.rst | 40 Limiting which kinds of kmsg dumps are stored can be controlled via
|
H A 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".
|
/openbmc/openbmc/poky/scripts/pybootchartgui/ |
H A D | NEWS | 167 be present (also in the initrd) [ with a kmsg
|
/openbmc/linux/Documentation/admin-guide/sysctl/ |
H A 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
|