Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 818) sorted by relevance

12345678910>>...33

/kernel/liteos_a/syscall/
Dnet_syscall.c395 ssize_t SysSendMsg(int s, const struct msghdr *message, int flags) in SysSendMsg() argument
401 CHECK_ASPACE(message, sizeof(struct msghdr)); in SysSendMsg()
402 CPY_FROM_CONST_USER(struct msghdr, message); in SysSendMsg()
404 if (message && message->msg_iovlen > IOV_MAX) { in SysSendMsg()
409 CHECK_FIELD_ASPACE(message, msg_name, message->msg_namelen); in SysSendMsg()
410 CHECK_FIELD_ASPACE(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysSendMsg()
411 CHECK_FIELD_ASPACE(message, msg_control, message->msg_controllen); in SysSendMsg()
413 DUP_FIELD_FROM_USER(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysSendMsg()
414 CHECK_ARRAY_FIELD_ASPACE(message, msg_iov, message->msg_iovlen, iov_base, iov_len, in SysSendMsg()
415 FREE_DUP_FIELD(message, msg_iov)); in SysSendMsg()
[all …]
/kernel/linux/linux-5.10/Documentation/sphinx/
Dkernellog.py16 def warn(app, message): argument
18 logger.warning(message)
20 app.warn(message)
22 def verbose(app, message): argument
24 logger.verbose(message)
26 app.verbose(message)
28 def info(app, message): argument
30 logger.info(message)
32 app.info(message)
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dmchp23k256.c65 struct spi_message message; in mchp23k256_write() local
69 spi_message_init(&message); in mchp23k256_write()
78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
86 ret = spi_sync(flash->spi, &message); in mchp23k256_write()
93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write()
94 *retlen += message.actual_length - cmd_len; in mchp23k256_write()
104 struct spi_message message; in mchp23k256_read() local
108 spi_message_init(&message); in mchp23k256_read()
118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dintel_ish.h12 TP_PROTO(const char *message),
14 TP_ARGS(message),
17 __string(message, message)
21 __assign_str(message, message);
24 TP_printk("%s", __get_str(message))
/kernel/linux/linux-5.10/drivers/hv/
Dhv_kvp.c201 struct hv_kvp_msg *message = (struct hv_kvp_msg *)msg; in kvp_on_msg() local
205 if (len < sizeof(*message)) in kvp_on_msg()
214 return kvp_handle_handshake(message); in kvp_on_msg()
228 data = &message->body.kvp_enum_data; in kvp_on_msg()
244 error = message->error; in kvp_on_msg()
253 kvp_respond_to_host(message, error); in kvp_on_msg()
376 struct hv_kvp_msg *message; in kvp_send_key() local
388 message = kzalloc(sizeof(*message), GFP_KERNEL); in kvp_send_key()
389 if (!message) in kvp_send_key()
392 message->kvp_hdr.operation = operation; in kvp_send_key()
[all …]
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_012.cpp49 struct msghdr message = {0}; in SocketNullTestInternal() local
207 message.msg_iov = NULL; in SocketNullTestInternal()
208 message.msg_iovlen = 1; in SocketNullTestInternal()
209 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal()
213 message.msg_iov = gIov; in SocketNullTestInternal()
214 message.msg_iovlen = 1 + IOV_MAX; in SocketNullTestInternal()
215 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal()
219 message.msg_iov = reinterpret_cast<struct iovec *>(0xbad); in SocketNullTestInternal()
220 message.msg_iovlen = 1; in SocketNullTestInternal()
221 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-dust.rst9 the user can send a message to the target to start failing read
93 $ sudo dmsetup message dust1 0 addbadblock 60
96 $ sudo dmsetup message dust1 0 addbadblock 67
99 $ sudo dmsetup message dust1 0 addbadblock 72
111 To enable the "fail read on bad block" behavior, send the "enable" message::
113 $ sudo dmsetup message dust1 0 enable
144 result in an "Invalid argument" error, as well as a helpful message::
146 $ sudo dmsetup message dust1 0 addbadblock 88
147 device-mapper: message ioctl on dust1 failed: Invalid argument
151 result in an "Invalid argument" error, as well as a helpful message::
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/soundwire/
Dlocking.rst29 SoundWire message transfer lock. This mutex is part of
30 Bus data structure (sdw_bus). This lock is used to serialize the message
40 1. For every message transfer
44 b. Transfer message (Read/Write) to Slave1 or broadcast message on
60 | | b. Transfer message
74 2. For every message transfer in Prepare operation
78 b. Transfer message (Read/Write) to Slave1 or broadcast message on
99 | | b. Transfer message
/kernel/linux/linux-5.10/lib/
Dglobtest.c30 char const *message; in test() local
33 message = msg_error; in test()
35 message = msg_ok; in test()
39 printk(message, pat, str, mismatch + 3*match); in test()
134 static char const message[] __initconst = in glob_init() local
154 printk(message, successes, n); in glob_init()
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/
Dlogging.h125 #define info(message, vargs...) \ argument
128 fprintf(stderr, "\t%s: "message, INFO, ##vargs); \
131 #define error(message, err, args...) \ argument
135 fprintf(stderr, "\t%s: %s: "message, \
138 fprintf(stderr, "\t%s: "message, ERROR, ##args); \
142 #define fail(message, args...) \ argument
145 fprintf(stderr, "\t%s: "message, FAIL, ##args); \
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_cex2a.h49 unsigned char message[128]; member
59 unsigned char message[256]; member
69 unsigned char message[512]; member
82 unsigned char message[128]; member
95 unsigned char message[256]; member
108 unsigned char message[512]; member
Dzcrypt_msgtype50.c77 unsigned char message[128]; member
87 unsigned char message[256]; member
97 unsigned char message[512]; member
110 unsigned char message[128]; member
123 unsigned char message[256]; member
136 unsigned char message[512]; member
219 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
230 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
241 inp = meb3->message + sizeof(meb3->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
296 inp = crb1->message + sizeof(crb1->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Doperation.c215 static int gb_message_send(struct gb_message *message, gfp_t gfp) in gb_message_send() argument
217 struct gb_connection *connection = message->operation->connection; in gb_message_send()
219 trace_gb_message_send(message); in gb_message_send()
222 message, in gb_message_send()
229 static void gb_message_cancel(struct gb_message *message) in gb_message_cancel() argument
231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel()
233 hd->driver->message_cancel(message); in gb_message_cancel()
310 struct gb_message *message, in gb_operation_message_init() argument
316 header = message->buffer; in gb_operation_message_init()
318 message->header = header; in gb_operation_message_init()
[all …]
/kernel/uniproton/
DCMakeLists.txt28 message("UniProton BINARY_DIR=${RPROTON_BINARY_DIR}")
50 message("CMAKE_C_COMPILER is ${CMAKE_C_COMPILER}")
51 message("CMAKE_AR is ${CMAKE_AR}")
52 message("CMAKE_LINKER is ${CMAKE_LINKER}")
53 message("CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX}")
54 message("BUILD_MACHINE_PLATFORM= ${BUILD_MACHINE_PLATFORM}")
55 message("CONFIG_FILE_PATH= ${CONFIG_FILE_PATH}")
60 message("=============== COMPILE_MODE is ${COMPILE_MODE} ===============")
/kernel/linux/linux-5.10/sound/soc/intel/common/
Dsst-dsp.c195 void sst_dsp_outbox_write(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_outbox_write() argument
201 memcpy_toio(sst->mailbox.out_base, message, bytes); in sst_dsp_outbox_write()
204 trace_sst_ipc_outbox_wdata(i, *(u32 *)(message + i)); in sst_dsp_outbox_write()
208 void sst_dsp_outbox_read(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_outbox_read() argument
214 memcpy_fromio(message, sst->mailbox.out_base, bytes); in sst_dsp_outbox_read()
217 trace_sst_ipc_outbox_rdata(i, *(u32 *)(message + i)); in sst_dsp_outbox_read()
221 void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_inbox_write() argument
227 memcpy_toio(sst->mailbox.in_base, message, bytes); in sst_dsp_inbox_write()
230 trace_sst_ipc_inbox_wdata(i, *(u32 *)(message + i)); in sst_dsp_inbox_write()
234 void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_inbox_read() argument
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dapplespi.c291 struct message { struct
598 struct spi_message *message, void (*complete)(void *)) in applespi_async() argument
600 message->complete = complete; in applespi_async()
601 message->context = applespi; in applespi_async()
603 return spi_async(applespi->spi, message); in applespi_async()
753 struct message *message = (struct message *)packet->data; in applespi_send_cmd_msg() local
785 message->type = cpu_to_le16(0x1020); in applespi_send_cmd_msg()
786 msg_len = sizeof(message->tp_info_command); in applespi_send_cmd_msg()
788 message->zero = 0x02; in applespi_send_cmd_msg()
789 message->rsp_buf_len = cpu_to_le16(0x0200); in applespi_send_cmd_msg()
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dkeyspan_remote.c183 struct keyspan_message message; in keyspan_check_data() local
248 message.system = 0; in keyspan_check_data()
253 message.system = message.system << 1; in keyspan_check_data()
257 message.system = (message.system << 1) + 1; in keyspan_check_data()
269 message.button = 0; in keyspan_check_data()
274 message.button = message.button << 1; in keyspan_check_data()
278 message.button = (message.button << 1) + 1; in keyspan_check_data()
292 message.toggle = 0; in keyspan_check_data()
296 message.toggle = 1; in keyspan_check_data()
318 __func__, message.system, message.button, message.toggle); in keyspan_check_data()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Duterror.c175 const char *message; in acpi_ut_prefixed_namespace_error() local
186 message = "Failure creating named object"; in acpi_ut_prefixed_namespace_error()
192 message = "Could not resolve symbol"; in acpi_ut_prefixed_namespace_error()
198 message = "Failure resolving symbol"; in acpi_ut_prefixed_namespace_error()
207 acpi_os_printf("%s [%s], %s", message, in acpi_ut_prefixed_namespace_error()
301 const char *message, in acpi_ut_method_error() argument
319 acpi_ns_print_node_pathname(node, message); in acpi_ut_method_error()
/kernel/linux/linux-5.10/drivers/mailbox/
Dmailbox-test.c39 char *message; member
113 tdev->message = kzalloc(MBOX_MAX_MSG_LEN, GFP_KERNEL); in mbox_test_message_write()
114 if (!tdev->message) in mbox_test_message_write()
117 ret = copy_from_user(tdev->message, userbuf, count); in mbox_test_message_write()
133 data = tdev->message; in mbox_test_message_write()
136 tdev->message, MBOX_MAX_MSG_LEN); in mbox_test_message_write()
144 kfree(tdev->message); in mbox_test_message_write()
276 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message() argument
286 } else if (message) { in mbox_test_receive_message()
288 message, MBOX_MAX_MSG_LEN); in mbox_test_receive_message()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/
Dcec-ioc-receive.rst14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message
39 To receive a CEC message the application has to fill in the
45 is non-zero and no message arrived within ``timeout`` milliseconds, then
48 A received message can be:
50 1. a message received from another CEC device (the ``sequence`` field will
55 To send a CEC message the application has to fill in the struct
100 - Timestamp in ns of when the last byte of the message was transmitted.
105 - Timestamp in ns of when the last byte of the message was received.
110 - The length of the message. For :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>` this is filled in
113 filled in by the driver with the length of the reply message if ``reply`` was set.
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-mpc52xx.c80 struct spi_message *message; /* current message */ member
100 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel()
158 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle()
159 list_del_init(&ms->message->queue); in mpc52xx_spi_fsmstate_idle()
163 spi = ms->message->spi; in mpc52xx_spi_fsmstate_idle()
175 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; in mpc52xx_spi_fsmstate_idle()
192 ms->transfer = container_of(ms->message->transfers.next, in mpc52xx_spi_fsmstate_idle()
235 ms->message->status = -EIO; in mpc52xx_spi_fsmstate_transfer()
236 if (ms->message->complete) in mpc52xx_spi_fsmstate_transfer()
237 ms->message->complete(ms->message->context); in mpc52xx_spi_fsmstate_transfer()
[all …]
/kernel/linux/linux-5.10/Documentation/infiniband/
Dtag_matching.rst15 message envelopes may match, the pair that includes the earliest posted-send
21 When a message is sent from the sender to the receiver, the communication
24 this is an expected message, otherwise it is called an unexpected message.
31 1. The Eager protocol- the complete message is sent when the send is
39 A fin message needs to be received in order for the buffer to be reused.
45 unexpected message list. The application posts receive buffers through calls
51 pre-posted receive for this arriving message, it is passed to the software and
52 placed in the unexpected message list. Otherwise the match is processed,
57 When a receive-message is posted, the communication library will first check
58 the software unexpected message list for a matching receive. If a match is
[all …]
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Ddot_command.c17 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) in ibmasm_receive_message() argument
20 struct dot_command_header *header = (struct dot_command_header *)message; in ibmasm_receive_message()
25 size = get_dot_command_size(message); in ibmasm_receive_message()
34 ibmasm_receive_event(sp, message, size); in ibmasm_receive_message()
37 ibmasm_receive_command_response(sp, message, size); in ibmasm_receive_message()
40 ibmasm_receive_heartbeat(sp, message, size); in ibmasm_receive_message()
/kernel/linux/linux-5.10/Documentation/driver-api/nfc/
Dnfc-pn544.rst19 write functions behave a bit differently because the message formats
26 HCI messages consist of an eight bit header and the message body. The
27 header contains the message length. Maximum size for an HCI message is
30 and third (LSB) bytes of the message. The maximum FW message length is
/kernel/linux/linux-5.10/Documentation/driver-api/md/
Dmd-cluster.rst62 managed through three locks: "token", "message", and "ack", together
63 with the Lock Value Block (LVB) of one of the "message" lock.
76 other nodes to acknowledge the message before proceeding. Only one
77 message can be processed at a time.
96 RESYNCING message identifies a range of the devices that the
112 array. The slot-number of the device is included in the message.
137 3.2.2 message
144 The resource, acquiring which means the message has been
157 sender get EX on "message"::
161 "message":EX
[all …]

12345678910>>...33