Home
last modified time | relevance | path

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

12

/linux/io_uring/
H A Dnet.c162 static void io_netmsg_iovec_free(struct io_async_msghdr *kmsg) in io_netmsg_iovec_free()
164 if (kmsg->vec.iovec) in io_netmsg_iovec_free()
165 io_vec_free(&kmsg->vec); in io_netmsg_iovec_free()
203 struct io_async_msghdr *kmsg) in io_mshot_prep_retry()
323 struct io_async_msghdr *kmsg = req->async_data; in io_send_setup()
333 kmsg->msg.msg_name = NULL; in io_send_setup()
334 kmsg->msg.msg_namelen = 0; in io_send_setup()
335 kmsg->msg.msg_control = NULL; in io_send_setup()
336 kmsg->msg.msg_controllen = 0; in io_send_setup()
337 kmsg in io_send_setup()
161 io_netmsg_iovec_free(struct io_async_msghdr * kmsg) io_netmsg_iovec_free() argument
202 io_mshot_prep_retry(struct io_kiocb * req,struct io_async_msghdr * kmsg) io_mshot_prep_retry() argument
322 struct io_async_msghdr *kmsg = req->async_data; io_send_setup() local
368 struct io_async_msghdr *kmsg = req->async_data; io_sendmsg_setup() local
451 io_bundle_nbufs(struct io_async_msghdr * kmsg,int ret) io_bundle_nbufs() argument
483 io_net_kbuf_recyle(struct io_kiocb * req,struct io_buffer_list * bl,struct io_async_msghdr * kmsg,int len) io_net_kbuf_recyle() argument
492 io_send_finish(struct io_kiocb * req,struct io_async_msghdr * kmsg,struct io_br_sel * sel) io_send_finish() argument
532 struct io_async_msghdr *kmsg = req->async_data; io_sendmsg() local
579 io_send_select_buffer(struct io_kiocb * req,unsigned int issue_flags,struct io_br_sel * sel,struct io_async_msghdr * kmsg) io_send_select_buffer() argument
629 struct io_async_msghdr *kmsg = req->async_data; io_send() local
750 struct io_async_msghdr *kmsg; io_recvmsg_prep_setup() local
854 io_recv_finish(struct io_kiocb * req,struct io_async_msghdr * kmsg,struct io_br_sel * sel,bool mshot_finished,unsigned issue_flags,int consumed) io_recv_finish() argument
936 io_recvmsg_prep_multishot(struct io_async_msghdr * kmsg,struct io_sr_msg * sr,void __user ** buf,size_t * len) io_recvmsg_prep_multishot() argument
967 io_recvmsg_multishot(struct socket * sock,struct io_sr_msg * io,struct io_async_msghdr * kmsg,unsigned int flags,bool * finished) io_recvmsg_multishot() argument
1023 struct io_async_msghdr *kmsg = req->async_data; io_recvmsg() local
1118 io_recv_buf_select(struct io_kiocb * req,struct io_async_msghdr * kmsg,struct io_br_sel * sel,unsigned int issue_flags) io_recv_buf_select() argument
1195 struct io_async_msghdr *kmsg = req->async_data; io_recv() local
1498 io_send_zc_import(struct io_kiocb * req,struct io_async_msghdr * kmsg,unsigned int issue_flags) io_send_zc_import() argument
1530 struct io_async_msghdr *kmsg = req->async_data; io_sendmsg_zc() local
1970 struct io_async_msghdr *kmsg = (struct io_async_msghdr *) entry; io_netmsg_cache_free() local
[all...]
/linux/tools/testing/selftests/livepatch/
H A Dtest-livepatch.sh62 grep 'live patched' /proc/cmdline > /dev/kmsg
63 grep 'live patched' /proc/meminfo > /dev/kmsg
67 grep 'live patched' /proc/cmdline > /dev/kmsg
68 grep 'live patched' /proc/meminfo > /dev/kmsg
73 grep 'live patched' /proc/cmdline > /dev/kmsg
74 grep 'live patched' /proc/meminfo > /dev/kmsg
79 grep 'live patched' /proc/cmdline > /dev/kmsg
80 grep 'live patched' /proc/meminfo > /dev/kmsg
126 grep 'live patched' /proc/cmdline > /dev/kmsg
127 grep 'live patched' /proc/meminfo > /dev/kmsg
[all...]
H A Dfunctions.sh27 echo "$1" > /dev/kmsg
119 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg
126 echo "livepatch: kernel.ftrace_enabled = $result" > /dev/kmsg
/linux/net/
H A Dcompat.c36 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 …]
H A Dsocket.c2590 int __copy_msghdr(struct msghdr *kmsg, in __copy_msghdr() argument
2596 kmsg->msg_control_is_user = true; in __copy_msghdr()
2597 kmsg->msg_get_inq = 0; in __copy_msghdr()
2598 kmsg->msg_control_user = msg->msg_control; in __copy_msghdr()
2599 kmsg->msg_controllen = msg->msg_controllen; in __copy_msghdr()
2600 kmsg->msg_flags = msg->msg_flags; in __copy_msghdr()
2602 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr()
2604 kmsg->msg_namelen = 0; in __copy_msghdr()
2606 if (kmsg->msg_namelen < 0) in __copy_msghdr()
2609 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr()
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dnetcons_fragmented_msg.sh
H A Dnetcons_torture.sh
H A Dnetcons_cmdline.sh
H A Dnetcons_basic.sh
H A Dnetpoll_basic.py309 with open("/dev/kmsg", "w", encoding="utf-8") as kmsg:
312 kmsg.write(f"{msg}-{j}\n")
H A Dnetcons_sysdata.sh
/linux/tools/testing/selftests/drivers/net/netconsole/
H A Dnetcons_fragmented_msg.sh105 echo "${MSG}: ${TARGET}" > /dev/kmsg
119 echo "${MSG}: ${TARGET}" > /dev/kmsg
H A Dnetcons_userdata.sh54 echo "${MSG}: ${TARGET}" > /dev/kmsg
111 echo "${MSG}: ${TARGET} ${i}" > /dev/kmsg
H A Dnetcons_cmdline.sh51 echo "${MSG}: ${TARGET}" > /dev/kmsg
H A Dnetcons_resume.sh109 echo "${MSG}: ${TARGET}" > /dev/kmsg
H A Dnetcons_sysdata.sh198 taskset -c "${CPU}" echo "${MSG}: ${TARGET}" > /dev/kmsg
/linux/tools/testing/selftests/devices/error_logs/
H A Dtest_device_error_logs.py25 kmsg = "/dev/kmsg" variable
41 with open(kmsg) as f:
/linux/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/tools/testing/selftests/
H A Drun_kselftest.sh152 [ -w /dev/kmsg ] && echo "kselftest: Running tests in $collection" >> /dev/kmsg
/linux/Documentation/networking/
H A Dnetconsole.rst199 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 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/tools/testing/selftests/ublk/
H A Dtest_common.sh144 echo "ublk selftest: $TID starting at $(date '+%F %T')" | tee /dev/kmsg
195 echo "ublk selftest: $TID done at $(date '+%F %T')" | tee /dev/kmsg
/linux/fs/proc/
H A DMakefile36 proc-$(CONFIG_PRINTK) += kmsg.o
/linux/include/net/
H A Dcompat.h49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg,
/linux/Documentation/translations/zh_CN/core-api/
H A Dprintk-basics.rst26 所有的printk()消息都会被打印到内核日志缓冲区,这是一个通过/dev/kmsg输出到用户空间的环

12