| /linux/io_uring/ |
| H A D | net.c | 160 static void io_netmsg_iovec_free(struct io_async_msghdr *kmsg) in io_netmsg_iovec_free() argument 162 if (kmsg->vec.iovec) in io_netmsg_iovec_free() 163 io_vec_free(&kmsg->vec); in io_netmsg_iovec_free() 201 struct io_async_msghdr *kmsg) in io_mshot_prep_retry() argument 352 struct io_async_msghdr *kmsg = req->async_data; in io_send_setup() local 362 kmsg->msg.msg_name = NULL; in io_send_setup() 363 kmsg->msg.msg_namelen = 0; in io_send_setup() 364 kmsg->msg.msg_control = NULL; in io_send_setup() 365 kmsg->msg.msg_controllen = 0; in io_send_setup() 366 kmsg->msg.msg_ubuf = NULL; in io_send_setup() [all …]
|
| /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 in __get_compat_msghdr() 83 get_compat_msghdr(struct msghdr * kmsg,struct compat_msghdr __user * umsg,struct sockaddr __user ** save_addr,struct iovec ** iov) get_compat_msghdr() argument 139 cmsghdr_from_user_compat_to_kern(struct msghdr * kmsg,struct sock * sk,unsigned char * stackbuf,int stackbuf_size) cmsghdr_from_user_compat_to_kern() argument 227 put_cmsg_compat(struct msghdr * kmsg,int level,int type,int len,void * data) put_cmsg_compat() argument [all...] |
| H A D | socket.c | 2468 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument 2474 kmsg->msg_control_is_user = true; in __copy_msghdr() 2475 kmsg->msg_get_inq = 0; in __copy_msghdr() 2476 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr() 2477 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr() 2478 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr() 2480 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr() 2482 kmsg->msg_namelen = 0; in __copy_msghdr() 2484 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2487 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr() [all …]
|
| /linux/tools/testing/selftests/livepatch/ |
| H 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 …]
|
| H A D | functions.sh | 25 echo "$1" > /dev/kmsg 117 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg 124 echo "livepatch: kernel.ftrace_enabled = $result" > /dev/kmsg
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | netcons_fragmented_msg.sh | 105 echo "${MSG}: ${TARGET}" > /dev/kmsg 119 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| H A D | netcons_torture.sh | 51 echo "netconsole selftest: ${COUNT} additional targets were created" > /dev/kmsg 110 echo "${MSG}: ${TARGET} ${i}" > /dev/kmsg
|
| H A D | netcons_cmdline.sh | 39 # The content of kmsg will be save to the following file 51 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| H A D | netcons_basic.sh | 26 # The content of kmsg will be save to the following file 59 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| H A D | netpoll_basic.py | 309 with open("/dev/kmsg", "w", encoding="utf-8") as kmsg: 312 kmsg.write(f"{msg}-{j}\n")
|
| H A D | netcons_sysdata.sh | 198 taskset -c "${CPU}" echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| /linux/tools/testing/selftests/devices/error_logs/ |
| H A D | test_device_error_logs.py | 25 kmsg = "/dev/kmsg" variable 41 with open(kmsg) as f:
|
| /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
|
| /linux/tools/testing/selftests/ |
| H A D | run_kselftest.sh | 118 [ -w /dev/kmsg ] && echo "kselftest: Running tests in $collection" >> /dev/kmsg
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_panic.c | 662 char *kmsg; in drm_panic_get_qr_code_url() local 677 kmsg = qrbuf1; in drm_panic_get_qr_code_url() 684 stream.next_in = kmsg; in drm_panic_get_qr_code_url() 699 kmsg = strchr(kmsg, '\n'); in drm_panic_get_qr_code_url() 700 if (!kmsg) in drm_panic_get_qr_code_url() 703 kmsg += 1; in drm_panic_get_qr_code_url() 704 kmsg_len = strlen(kmsg); in drm_panic_get_qr_code_url()
|
| H A D | Kconfig | 95 the user to reboot the system, or "kmsg" which will display the last 96 lines of kmsg. 107 code. The QR code will contain the last lines of kmsg and other debug 117 the QR code will contain the URL and the kmsg compressed with zlib as 118 a URL parameter. If it's empty, the QR code will contain the kmsg as 120 There is a demo code in javascript, to decode and uncompress the kmsg
|
| /linux/Documentation/networking/ |
| H A D | netconsole.rst | 199 echo "This is a message" > /dev/kmsg 223 echo "This is a message" > /dev/kmsg 265 echo "This is a message" > /dev/kmsg 286 echo "This is a message" > /dev/kmsg 317 echo "This is a message" > /dev/kmsg 364 echo "This is message #1" > /dev/kmsg 365 echo "This is message #2" > /dev/kmsg 382 following format which is the same as /dev/kmsg::
|
| /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
|
| /linux/fs/proc/ |
| H A D | Makefile | 34 proc-$(CONFIG_PRINTK) += kmsg.o
|
| /linux/include/net/ |
| H A D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | printk-basics.rst | 26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 214 echo "${MSG}: ${TARGET}" > /dev/kmsg
|
| /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
|
| /linux/include/linux/ |
| H A D | socket.h | 444 extern int __copy_msghdr(struct msghdr *kmsg,
|
| /linux/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 444 extern int __copy_msghdr(struct msghdr *kmsg,
|