Home
last modified time | relevance | path

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

12

/linux-6.15/io_uring/
H A Dnet.c144 if (kmsg->vec.iovec) in io_netmsg_iovec_free()
359 kmsg->msg.msg_name = &kmsg->addr; in io_send_setup()
591 if (arg.iovs != &kmsg->fast_iov && arg.iovs != kmsg->vec.iovec) { in io_send_select_buffer()
592 kmsg->vec.nr = ret; in io_send_select_buffer()
891 kmsg->controllen; in io_recvmsg_prep_multishot()
899 kmsg->msg.msg_controllen = kmsg->controllen; in io_recvmsg_prep_multishot()
921 if (kmsg->namelen) in io_recvmsg_multishot()
935 .controllen = kmsg->controllen - kmsg->msg.msg_controllen, in io_recvmsg_multishot()
944 if (kmsg->msg.msg_namelen > kmsg->namelen) in io_recvmsg_multishot()
1095 if (arg.iovs != &kmsg->fast_iov && arg.iovs != kmsg->vec.iovec) { in io_recv_buf_select()
[all …]
/linux-6.15/tools/testing/selftests/livepatch/
H A Dtest-livepatch.sh60 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 …]
H A Dfunctions.sh21 echo "$1" > /dev/kmsg
113 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg
120 echo "livepatch: kernel.ftrace_enabled = $result" > /dev/kmsg
/linux-6.15/net/
H A Dcompat.c42 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 …]
H A Dsocket.c2448 kmsg->msg_control_is_user = true; in __copy_msghdr()
2449 kmsg->msg_get_inq = 0; in __copy_msghdr()
2452 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr()
2456 kmsg->msg_namelen = 0; in __copy_msghdr()
2458 if (kmsg->msg_namelen < 0) in __copy_msghdr()
2470 kmsg->msg_namelen, in __copy_msghdr()
2471 kmsg->msg_name); in __copy_msghdr()
2476 kmsg->msg_name = NULL; in __copy_msghdr()
2477 kmsg->msg_namelen = 0; in __copy_msghdr()
2483 kmsg->msg_iocb = NULL; in __copy_msghdr()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dnetcons_fragmented_msg.sh105 echo "${MSG}: ${TARGET}" > /dev/kmsg
119 echo "${MSG}: ${TARGET}" > /dev/kmsg
H A Dnetcons_basic.sh46 echo "${MSG}: ${TARGET}" > /dev/kmsg
H A Dnetcons_sysdata.sh170 taskset -c "${CPU}" echo "${MSG}: ${TARGET}" > /dev/kmsg
/linux-6.15/tools/testing/selftests/devices/error_logs/
H A Dtest_device_error_logs.py25 kmsg = "/dev/kmsg" variable
41 with open(kmsg) as f:
/linux-6.15/Documentation/devicetree/bindings/reserved-memory/
H A 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.15/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
/linux-6.15/drivers/gpu/drm/
H A Ddrm_panic.c494 char *kmsg; in drm_panic_get_qr_code_url() local
509 kmsg = qrbuf1; in drm_panic_get_qr_code_url()
516 stream.next_in = kmsg; in drm_panic_get_qr_code_url()
531 kmsg = strchr(kmsg, '\n'); in drm_panic_get_qr_code_url()
532 if (!kmsg) in drm_panic_get_qr_code_url()
535 kmsg += 1; in drm_panic_get_qr_code_url()
536 kmsg_len = strlen(kmsg); in drm_panic_get_qr_code_url()
H A DKconfig149 the user to reboot the system, or "kmsg" which will display the last
150 lines of kmsg.
161 code. The QR code will contain the last lines of kmsg and other debug
171 the QR code will contain the URL and the kmsg compressed with zlib as
172 a URL parameter. If it's empty, the QR code will contain the kmsg as
174 There is a demo code in javascript, to decode and uncompress the kmsg
/linux-6.15/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
/linux-6.15/fs/proc/
H A DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/linux-6.15/include/net/
H A Dcompat.h49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
/linux-6.15/Documentation/networking/
H A Dnetconsole.rst202 echo "This is a message" > /dev/kmsg
226 echo "This is a message" > /dev/kmsg
268 echo "This is a message" > /dev/kmsg
289 echo "This is a message" > /dev/kmsg
320 echo "This is a message" > /dev/kmsg
353 following format which is the same as /dev/kmsg::
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dprintk-basics.rst26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
/linux-6.15/arch/powerpc/platforms/powernv/
H A DMakefile15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/linux-6.15/Documentation/translations/zh_TW/admin-guide/
H A Dbug-hunting.rst83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時
84 中斷以停止傳輸,因爲 ``kmsg`` 是一個“永無止境的文件”。
H A Dsysrq.rst258 的控制檯上,即使它會出現在 dmesg 緩存中,也可以通過 dmesg 命令和 ``/proc/kmsg``
/linux-6.15/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``
/linux-6.15/Documentation/core-api/
H A Dprintk-basics.rst20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h429 extern int __copy_msghdr(struct msghdr *kmsg,

12