| /linux/io_uring/ |
| A D | net.c | 131 if (kmsg->free_iov) { in io_netmsg_iovec_free() 191 kmsg->free_iov_nr = kmsg->msg.msg_iter.nr_segs; in io_net_vec_assign() 192 if (kmsg->free_iov) in io_net_vec_assign() 375 kmsg->msg.msg_name = &kmsg->addr; in io_send_setup() 619 if (arg.iovs != &kmsg->fast_iov && arg.iovs != kmsg->free_iov) { in io_send() 898 kmsg->controllen; in io_recvmsg_prep_multishot() 906 kmsg->msg.msg_controllen = kmsg->controllen; in io_recvmsg_prep_multishot() 942 .controllen = kmsg->controllen - kmsg->msg.msg_controllen, in io_recvmsg_multishot() 951 if (kmsg->msg.msg_namelen > kmsg->namelen) in io_recvmsg_multishot() 1103 if (arg.iovs != &kmsg->fast_iov && arg.iovs != kmsg->free_iov) { in io_recv_buf_select() [all …]
|
| /linux/tools/testing/selftests/livepatch/ |
| A D | test-livepatch.sh | 60 grep 'live patched' /proc/cmdline > /dev/kmsg 61 grep 'live patched' /proc/meminfo > /dev/kmsg 65 grep 'live patched' /proc/cmdline > /dev/kmsg 66 grep 'live patched' /proc/meminfo > /dev/kmsg 71 grep 'live patched' /proc/cmdline > /dev/kmsg 72 grep 'live patched' /proc/meminfo > /dev/kmsg 77 grep 'live patched' /proc/cmdline > /dev/kmsg 78 grep 'live patched' /proc/meminfo > /dev/kmsg 124 grep 'live patched' /proc/cmdline > /dev/kmsg 125 grep 'live patched' /proc/meminfo > /dev/kmsg [all …]
|
| A D | functions.sh | 17 echo "$1" > /dev/kmsg 91 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg 98 echo "livepatch: kernel.ftrace_enabled = $result" > /dev/kmsg
|
| /linux/net/ |
| A D | compat.c | 42 kmsg->msg_flags = msg->msg_flags; in __get_compat_msghdr() 46 kmsg->msg_namelen = 0; in __get_compat_msghdr() 48 if (kmsg->msg_namelen < 0) 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() 65 kmsg->msg_namelen, in __get_compat_msghdr() 66 kmsg->msg_name); in __get_compat_msghdr() 71 kmsg->msg_name = NULL; in __get_compat_msghdr() 72 kmsg->msg_namelen = 0; in __get_compat_msghdr() 78 kmsg->msg_iocb = NULL; in __get_compat_msghdr() [all …]
|
| A D | socket.c | 2489 kmsg->msg_control_is_user = true; in __copy_msghdr() 2490 kmsg->msg_get_inq = 0; in __copy_msghdr() 2493 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr() 2497 kmsg->msg_namelen = 0; in __copy_msghdr() 2499 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2511 kmsg->msg_namelen, in __copy_msghdr() 2512 kmsg->msg_name); in __copy_msghdr() 2517 kmsg->msg_name = NULL; in __copy_msghdr() 2518 kmsg->msg_namelen = 0; in __copy_msghdr() 2524 kmsg->msg_iocb = NULL; in __copy_msghdr() [all …]
|
| /linux/tools/testing/selftests/devices/error_logs/ |
| A D | test_device_error_logs.py | 25 kmsg = "/dev/kmsg" variable 41 with open(kmsg) as f:
|
| /linux/Documentation/devicetree/bindings/reserved-memory/ |
| A 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/Documentation/ABI/testing/ |
| 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
|
| /linux/drivers/gpu/drm/ |
| A D | drm_panic.c | 702 char *kmsg; in drm_panic_get_qr_code_url() local 717 kmsg = qrbuf1; in drm_panic_get_qr_code_url() 724 stream.next_in = kmsg; in drm_panic_get_qr_code_url() 739 kmsg = strchr(kmsg, '\n'); in drm_panic_get_qr_code_url() 740 if (!kmsg) in drm_panic_get_qr_code_url() 743 kmsg += 1; in drm_panic_get_qr_code_url() 744 kmsg_len = strlen(kmsg); in drm_panic_get_qr_code_url()
|
| A D | Kconfig | 146 the user to reboot the system, or "kmsg" which will display the last 147 lines of kmsg. 157 code. The QR code will contain the last lines of kmsg and other debug 167 the QR code will contain the URL and the kmsg compressed with zlib as 168 a URL parameter. If it's empty, the QR code will contain the kmsg as 170 There is a demo code in javascript, to decode and uncompress the kmsg
|
| /linux/fs/pstore/ |
| 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
|
| /linux/fs/proc/ |
| A D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
| /linux/include/net/ |
| A D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| A D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
| /linux/arch/powerpc/platforms/powernv/ |
| A D | Makefile | 15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
|
| /linux/tools/testing/selftests/drivers/net/ |
| A D | netcons_basic.sh | 228 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| A D | bug-hunting.rst | 80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时 81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
|
| A D | sysrq.rst | 258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
|
| /linux/Documentation/translations/zh_TW/admin-guide/ |
| A D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個“永無止境的文件”。
|
| A D | sysrq.rst | 258 的控制檯上,即使它會出現在 dmesg 緩存中,也可以通過 dmesg 命令和 ``/proc/kmsg``
|
| /linux/Documentation/networking/ |
| A D | netconsole.rst | 195 echo "This is a message" > /dev/kmsg 219 echo "This is a message" > /dev/kmsg 250 following format which is the same as /dev/kmsg::
|
| /linux/Documentation/core-api/ |
| A D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
| /linux/include/linux/ |
| A D | socket.h | 427 extern int __copy_msghdr(struct msghdr *kmsg,
|
| /linux/tools/perf/trace/beauty/include/linux/ |
| A D | socket.h | 427 extern int __copy_msghdr(struct msghdr *kmsg,
|
| /linux/Documentation/admin-guide/ |
| A D | ramoops.rst | 42 Limiting which kinds of kmsg dumps are stored can be controlled via
|