/linux-6.12.1/io_uring/ |
D | net.c | 129 static void io_netmsg_iovec_free(struct io_async_msghdr *kmsg) in io_netmsg_iovec_free() argument 131 if (kmsg->free_iov) { in io_netmsg_iovec_free() 132 kfree(kmsg->free_iov); in io_netmsg_iovec_free() 133 kmsg->free_iov_nr = 0; in io_netmsg_iovec_free() 134 kmsg->free_iov = NULL; in io_netmsg_iovec_free() 186 static int io_net_vec_assign(struct io_kiocb *req, struct io_async_msghdr *kmsg, in io_net_vec_assign() argument 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() 193 kfree(kmsg->free_iov); in io_net_vec_assign() 194 kmsg->free_iov = iov; in io_net_vec_assign() [all …]
|
/linux-6.12.1/tools/testing/selftests/livepatch/ |
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 …]
|
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-6.12.1/net/ |
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 …]
|
D | socket.c | 2483 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument 2489 kmsg->msg_control_is_user = true; in __copy_msghdr() 2490 kmsg->msg_get_inq = 0; in __copy_msghdr() 2491 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr() 2492 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr() 2493 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr() 2495 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr() 2497 kmsg->msg_namelen = 0; in __copy_msghdr() 2499 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2502 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr() [all …]
|
/linux-6.12.1/tools/testing/selftests/devices/error_logs/ |
D | test_device_error_logs.py | 25 kmsg = "/dev/kmsg" variable 41 with open(kmsg) as f:
|
/linux-6.12.1/Documentation/ABI/testing/ |
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-6.12.1/drivers/gpu/drm/ |
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()
|
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-6.12.1/fs/pstore/ |
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-6.12.1/fs/proc/ |
D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
/linux-6.12.1/include/net/ |
D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | Makefile | 15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/ |
D | bug-hunting.rst | 80 读取数据并保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必须适时 81 中断以停止传输,因为 ``kmsg`` 是一个“永无止境的文件”。
|
D | sysrq.rst | 258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg``
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/ |
D | bug-hunting.rst | 83 讀取數據並保存它。或者您可以 ``cat /proc/kmsg > file`` ,但是您必須適時 84 中斷以停止傳輸,因爲 ``kmsg`` 是一個“永無止境的文件”。
|
D | sysrq.rst | 258 的控制檯上,即使它會出現在 dmesg 緩存中,也可以通過 dmesg 命令和 ``/proc/kmsg``
|
/linux-6.12.1/tools/testing/selftests/drivers/net/ |
D | netcons_basic.sh | 228 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
/linux-6.12.1/Documentation/networking/ |
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-6.12.1/Documentation/core-api/ |
D | printk-basics.rst | 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
|
/linux-6.12.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 427 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.12.1/include/linux/ |
D | socket.h | 427 extern int __copy_msghdr(struct msghdr *kmsg,
|
/linux-6.12.1/Documentation/admin-guide/ |
D | ramoops.rst | 42 Limiting which kinds of kmsg dumps are stored can be controlled via
|
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".
|