Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/
Dtest-livepatch.sh58 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 …]
Dfunctions.sh16 echo "$1" > /dev/kmsg
80 echo "livepatch: $result" > /dev/kmsg
/kernel/linux/linux-5.10/net/
Dcompat.c36 int __get_compat_msghdr(struct msghdr *kmsg, in __get_compat_msghdr() argument
47 kmsg->msg_flags = msg.msg_flags; in __get_compat_msghdr()
48 kmsg->msg_namelen = msg.msg_namelen; in __get_compat_msghdr()
51 kmsg->msg_namelen = 0; in __get_compat_msghdr()
53 if (kmsg->msg_namelen < 0) in __get_compat_msghdr()
56 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __get_compat_msghdr()
57 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __get_compat_msghdr()
59 kmsg->msg_control_is_user = true; in __get_compat_msghdr()
60 kmsg->msg_control_user = compat_ptr(msg.msg_control); in __get_compat_msghdr()
61 kmsg->msg_controllen = msg.msg_controllen; in __get_compat_msghdr()
[all …]
Dsocket.c2230 int __copy_msghdr_from_user(struct msghdr *kmsg, in __copy_msghdr_from_user() argument
2241 kmsg->msg_control_is_user = true; in __copy_msghdr_from_user()
2242 kmsg->msg_control_user = msg.msg_control; in __copy_msghdr_from_user()
2243 kmsg->msg_controllen = msg.msg_controllen; in __copy_msghdr_from_user()
2244 kmsg->msg_flags = msg.msg_flags; in __copy_msghdr_from_user()
2246 kmsg->msg_namelen = msg.msg_namelen; in __copy_msghdr_from_user()
2248 kmsg->msg_namelen = 0; in __copy_msghdr_from_user()
2250 if (kmsg->msg_namelen < 0) in __copy_msghdr_from_user()
2253 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr_from_user()
2254 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __copy_msghdr_from_user()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/
Dramoops.txt33 - record-size: maximum size in bytes of each kmsg dump.
48 - max-reason: if present, sets maximum type of kmsg dump reasons to store
50 store all kmsg dumps. See include/linux/kmsg_dump.h KMSG_DUMP_* for other
51 kmsg dump reason values. Setting this to 0 (KMSG_DUMP_UNDEF), means the
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
/kernel/linux/linux-5.10/fs/proc/
DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/kernel/linux/linux-5.10/include/net/
Dcompat.h59 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg,
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/
Doops-tracing.txt45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
/kernel/linux/linux-5.10/fs/pstore/
DKconfig222 int "Size in Kbytes of kmsg dump log to store"
226 This just sets size of kmsg dump (oops, panic, etc) log for
233 int "Maximum kmsg dump reason to store"
237 The maximum reason for kmsg dumps to store. The default is
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
DMakefile6 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c4684 struct io_async_msghdr *kmsg) in io_setup_async_msg() argument
4691 kfree(kmsg->free_iov); in io_setup_async_msg()
4696 memcpy(async_msg, kmsg, sizeof(*kmsg)); in io_setup_async_msg()
4700 if (!kmsg->free_iov) { in io_setup_async_msg()
4701 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov; in io_setup_async_msg()
4754 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg() local
4765 kmsg = req->async_data; in io_sendmsg()
4766 if (!kmsg) { in io_sendmsg()
4770 kmsg = &iomsg; in io_sendmsg()
4777 min_ret = iov_iter_count(&kmsg->msg.msg_iter); in io_sendmsg()
[all …]
/kernel/linux/linux-5.10/Documentation/core-api/
Dprintk-basics.rst20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
/kernel/linux/linux-5.10/include/linux/
Dsocket.h409 extern int __copy_msghdr_from_user(struct msghdr *kmsg,
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h408 extern int __copy_msghdr_from_user(struct msghdr *kmsg,
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dramoops.rst38 Limiting which kinds of kmsg dumps are stored can be controlled via
Dbug-hunting.rst77 ``cat /proc/kmsg > file``, however you have to break in to stop the transfer,
78 since ``kmsg`` is a "never ending file".
Dpstore-blk.rst142 Limiting which kinds of kmsg dumps are stored can be controlled via
Dsysrq.rst268 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
Dkernel-parameters.txt697 from /proc/kmsg.
3613 kmsg. This only for the users who doubt kdump always
4016 Control writing to /dev/kmsg.
4017 on - unlimited logging to /dev/kmsg from userspace
4018 off - logging to /dev/kmsg disabled
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dkernel.rst412 Controls whether the panic kmsg data should be reported to Hyper-V.
415 0 Do not report panic kmsg data.
416 1 Report the panic kmsg data. This is the default behavior.
980 Control the logging to ``/dev/kmsg`` from userspace:
984 on unlimited logging to /dev/kmsg from userspace
985 off logging to /dev/kmsg disabled
/kernel/linux/linux-5.10/Documentation/networking/
Dnetconsole.rst164 following format which is the same as /dev/kmsg::
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh653 done < /dev/kmsg
/kernel/linux/linux-5.10/lib/
DKconfig.debug15 to /dev/kmsg. This flag just specifies if the timestamp should
/kernel/linux/linux-5.10/Documentation/filesystems/
Dproc.rst687 kmsg Kernel messages

12