Home
last modified time | relevance | path

Searched full:message (Results 1 – 25 of 4448) sorted by relevance

12345678910>>...178

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpic_msgr.h23 /* Get a message register
25 * @reg_num: the MPIC message register to get
27 * A pointer to the message register is returned. If
28 * the message register asked for is already in use, then
30 * with an actual message register, then ENODEV is returned.
35 /* Relinquish a message register
37 * @msgr: the message register to return
39 * Disables the given message register and marks it as free.
40 * After this call has completed successully the message
46 /* Enable a message register
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dmpic_msgr.h28 /* Get a message register
30 * @reg_num: the MPIC message register to get
32 * A pointer to the message register is returned. If
33 * the message register asked for is already in use, then
35 * with an actual message register, then ENODEV is returned.
40 /* Relinquish a message register
42 * @msgr: the message register to return
44 * Disables the given message register and marks it as free.
45 * After this call has completed successully the message
51 /* Enable a message register
[all …]
/kernel/liteos_a/compat/posix/include/
Dmqueue.h33 * @defgroup mqueue Message queue
60 * Maximum number of messages in a message queue
66 * Maximum size of a single message in a message queue
114 * Message queue attribute structure
117 long mq_flags; /**< Message queue flags */
119 long mq_msgsize; /**< Maximum size of a message */
120 long mq_curmsgs; /**< Number of messages in the current message queue */
125 * Handle type of a message queue
133 …* This API is used to open an existed message queue that has a specified name or create a new mess…
136 * <li>A message queue does not restrict the read and write permissions.</li>
[all …]
/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/drivers/misc/sgi-gru/
Dgrukservices.h11 * Message queues using the GRU to send/receive messages.
13 * These function allow the user to create a message queue for
17 * the message. This is transparent to the caller.
24 * - cross partition message
32 void *mq; /* message queue vaddress */
42 * a message queue. The caller must ensure that the queue is
45 * Message queue size is the total number of bytes allocated
50 * mqd pointer to message queue descriptor
52 * bytes size of message queue in bytes
65 * Send a message to a message queue.
[all …]
/kernel/linux/linux-4.19/drivers/misc/sgi-gru/
Dgrukservices.h24 * Message queues using the GRU to send/receive messages.
26 * These function allow the user to create a message queue for
30 * the message. This is transparent to the caller.
37 * - cross partition message
45 void *mq; /* message queue vaddress */
55 * a message queue. The caller must ensure that the queue is
58 * Message queue size is the total number of bytes allocated
63 * mqd pointer to message queue descriptor
65 * bytes size of message queue in bytes
78 * Send a message to a message queue.
[all …]
/kernel/linux/linux-5.10/drivers/scsi/arm/
Dmsgqueue.h7 * message queue handling
12 struct message { struct
19 struct message msg; argument
33 * Purpose : initialise a message queue
47 * Purpose : calculate the total length of all messages on the message queue
54 * Function: struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno)
55 * Purpose : return a message & its length
56 * Params : msgq - queue to obtain message from
57 * : msgno - message number
58 * Returns : pointer to message string, or NULL
[all …]
Dmsgqueue.c7 * message queue handling
18 * Purpose : Allocate a message queue entry
19 * Params : msgq - message queue to claim entry for
20 * Returns : message queue entry or NULL.
34 * Purpose : free a message queue entry
35 * Params : msgq - message queue to free entry from
36 * mq - message queue entry to free
48 * Purpose : initialise a message queue
76 * Purpose : calculate the total length of all messages on the message queue
92 * Function: struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno)
[all …]
/kernel/linux/linux-4.19/drivers/scsi/arm/
Dmsgqueue.h10 * message queue handling
15 struct message { struct
22 struct message msg; argument
36 * Purpose : initialise a message queue
50 * Purpose : calculate the total length of all messages on the message queue
57 * Function: struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno)
58 * Purpose : return a message & its length
59 * Params : msgq - queue to obtain message from
60 * : msgno - message number
61 * Returns : pointer to message string, or NULL
[all …]
Dmsgqueue.c10 * message queue handling
21 * Purpose : Allocate a message queue entry
22 * Params : msgq - message queue to claim entry for
23 * Returns : message queue entry or NULL.
37 * Purpose : free a message queue entry
38 * Params : msgq - message queue to free entry from
39 * mq - message queue entry to free
51 * Purpose : initialise a message queue
79 * Purpose : calculate the total length of all messages on the message queue
95 * Function: struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno)
[all …]
/kernel/linux/linux-4.19/Documentation/driver-api/soundwire/
Dlocking.rst11 - Message lock
26 Message lock
29 SoundWire message transfer lock. This mutex is part of
30 Bus data structure (sdw_bus). This lock is used to serialize the message
38 Message transfer.
40 1. For every message transfer
42 a. Acquire Message lock.
44 b. Transfer message (Read/Write) to Slave1 or broadcast message on
47 c. Release Message lock ::
57 <-------------------------------+ a. Acquire Message lock
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/soundwire/
Dlocking.rst11 - Message lock
26 Message lock
29 SoundWire message transfer lock. This mutex is part of
30 Bus data structure (sdw_bus). This lock is used to serialize the message
38 Message transfer.
40 1. For every message transfer
42 a. Acquire Message lock.
44 b. Transfer message (Read/Write) to Slave1 or broadcast message on
47 c. Release Message lock
59 <-------------------------------+ a. Acquire Message lock
[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-4.19/drivers/s390/crypto/
Dzcrypt_msgtype50.c40 MODULE_DESCRIPTION("Cryptographic Accelerator (message type 50), " \
45 * The type 50 message family is associated with a CEX2A card.
79 unsigned char message[128]; member
89 unsigned char message[256]; member
99 unsigned char message[512]; member
112 unsigned char message[128]; member
125 unsigned char message[256]; member
138 unsigned char message[512]; member
194 * Convert a ICAMEX message to a type50 MEX message.
212 struct type50_meb1_msg *meb1 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
[all …]
/kernel/linux/linux-4.19/Documentation/md/
Dmd-cluster.txt50 2.2 Message passing locks
54 managed through three locks: "token", "message", and "ack", together
55 with the Lock Value Block (LVB) of one of the "message" lock.
66 other nodes to acknowledge the message before proceeding. Only one
67 message can be processed at a time.
69 3.1 Message Types
80 RESYNCING message identifies a range of the devices that the
86 the array. Message contains an identifier for that device. See
90 array. The slot-number of the device is included in the message.
108 3.2.2 message: The lock resource which carries the data to
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/cec/
Dcec-ioc-receive.rst13 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message
37 To receive a CEC message the application has to fill in the
43 is non-zero and no message arrived within ``timeout`` milliseconds, then
46 A received message can be:
48 1. a message received from another CEC device (the ``sequence`` field will
53 To send a CEC message the application has to fill in the struct
98 - Timestamp in ns of when the last byte of the message was transmitted.
103 - Timestamp in ns of when the last byte of the message was received.
108 - The length of the message. For :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>` this is filled in
111 filled in by the driver with the length of the reply message if ``reply`` was set.
[all …]
/kernel/linux/linux-5.10/include/net/
Dgenetlink.h76 * @nlhdr: netlink message header
77 * @genlhdr: generic netlink message header
203 * genlmsg_parse_deprecated - parse attributes of a genetlink message
204 * @nlh: netlink message header
205 * @family: genetlink message family
222 * genlmsg_parse - parse attributes of a genetlink message
223 * @nlh: netlink message header
224 * @family: genetlink message family
255 * genlmsg_put_reply - Add generic netlink header to a reply message
256 * @skb: socket buffer holding the 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-4.19/include/net/
Dnetlink.h16 * Message Format:
34 * struct nlmsghdr netlink message header
36 * Message Construction:
37 * nlmsg_new() create a new netlink message
38 * nlmsg_put() add a netlink message to an skb
40 * nlmsg_end() finalize netlink message
41 * nlmsg_get_pos() return current position in message
42 * nlmsg_trim() trim part of message
43 * nlmsg_cancel() cancel message construction
44 * nlmsg_free() free a netlink message
[all …]
Dgenetlink.h74 * @nlhdr: netlink message header
75 * @genlhdr: generic netlink message header
160 * genlmsg_parse - parse attributes of a genetlink message
161 * @nlh: netlink message header
162 * @family: genetlink message family
193 * genlmsg_put_reply - Add generic netlink header to a reply message
194 * @skb: socket buffer holding the message
197 * @flags: netlink message flags
212 * genlmsg_end - Finalize a generic netlink message
213 * @skb: socket buffer the message is stored in
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Doperation.c113 * If no error occurs before sending the request message the only
215 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()
227 * Cancel a message we have passed to the host device layer to be sent.
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()
284 /* Cancel request message if scheduled by timeout. */ in gb_operation_work()
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Doperation.c113 * If no error occurs before sending the request message the only
215 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()
227 * Cancel a message we have passed to the host device layer to be sent.
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()
284 /* Cancel request message if scheduled by timeout. */ in gb_operation_work()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c10 * ixgbe_read_mbx - Reads a message from the mailbox
12 * @msg: The message buffer
16 * returns SUCCESS if it successfully read message from buffer
33 * ixgbe_write_mbx - Write a message to the mailbox
35 * @msg: The message buffer
39 * returns SUCCESS if it successfully copied message into the buffer
106 * ixgbe_poll_for_msg - Wait for message notification
110 * returns SUCCESS if it successfully received a message notification
131 * ixgbe_poll_for_ack - Wait for message acknowledgement
135 * returns SUCCESS if it successfully received a message acknowledgement
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c10 * ixgbe_read_mbx - Reads a message from the mailbox
12 * @msg: The message buffer
16 * returns SUCCESS if it successfully read message from buffer
33 * ixgbe_write_mbx - Write a message to the mailbox
35 * @msg: The message buffer
39 * returns SUCCESS if it successfully copied message into the buffer
106 * ixgbe_poll_for_msg - Wait for message notification
110 * returns SUCCESS if it successfully received a message notification
131 * ixgbe_poll_for_ack - Wait for message acknowledgement
135 * returns SUCCESS if it successfully received a message acknowledgement
[all …]
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dcommon.h3 * System Control and Management Interface (SCMI) Message Protocol
36 * struct scmi_msg_resp_prot_version - Response for a message
45 * Response to a generic message with message type SCMI_MSG_VERSION
66 * struct scmi_msg_hdr - Message(Tx/Rx) header
68 * @id: The identifier of the message being sent
69 * @protocol_id: The identifier of the protocol used to send @id message
70 * @seq: The token to identify the message. When a message returns, the
71 * platform returns the whole message header unmodified including the
88 * @hdr: pointer to header containing all the information on message id,
91 * Return: 32-bit packed message header to be sent to the platform.
[all …]

12345678910>>...178