| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | mpic_msgr.h | 23 /* 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-6.6/arch/powerpc/include/asm/ |
| D | mpic_msgr.h | 23 /* 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/liteos_a/compat/posix/include/ |
| D | mqueue.h | 33 * @defgroup mqueue Message queue 60 * Maximum number of messages in a message queue 66 * Maximum size of a single message in a message queue 118 * Message queue attribute structure 121 long mq_flags; /**< Message queue flags */ 123 long mq_msgsize; /**< Maximum size of a message */ 124 long mq_curmsgs; /**< Number of messages in the current message queue */ 129 * Handle type of a message queue 137 …* This API is used to open an existed message queue that has a specified name or create a new mess… 140 * <li>A message queue does not restrict the read and write permissions.</li> [all …]
|
| /kernel/liteos_a/syscall/ |
| D | net_syscall.c | 395 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 && (size_t)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-6.6/drivers/net/wwan/iosm/ |
| D | iosm_ipc_protocol_ops.h | 33 * enum ipc_mem_msg_cs - Completion status of IPC Message 35 * @IPC_MEM_MSG_CS_SUCCESS: IPC Message completion success. 36 * @IPC_MEM_MSG_CS_ERROR: Message send error. 45 * struct ipc_msg_prep_args_pipe - struct for pipe args for message preparation 53 * struct ipc_msg_prep_args_sleep - struct for sleep args for message 65 * message preparation 73 * struct ipc_msg_prep_map - struct for map argument for message preparation 85 * struct ipc_msg_prep_unmap - struct for unmap argument for message preparation 93 * struct ipc_msg_prep_args - Union to handle different message types 94 * @pipe_open: Pipe open message preparation struct [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
| D | grukservices.h | 11 * 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-6.6/drivers/misc/sgi-gru/ |
| D | grukservices.h | 11 * 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-5.10/drivers/scsi/arm/ |
| D | msgqueue.h | 7 * 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 …]
|
| D | msgqueue.c | 7 * 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-6.6/drivers/scsi/arm/ |
| D | msgqueue.h | 7 * 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 …]
|
| D | msgqueue.c | 7 * 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-6.6/Documentation/ABI/testing/ |
| D | debugfs-scmi-raw | 1 What: /sys/kernel/debug/scmi/<n>/raw/message 5 Description: SCMI Raw synchronous message injection/snooping facility; write 6 a complete SCMI synchronous command message (header included) 12 and sent while the replies are read back one message at time 13 (receiving an EOF at each message boundary). 20 Description: SCMI Raw asynchronous message injection/snooping facility; write 21 a complete SCMI asynchronous command message (header included) 30 and sent while the replies are read back one message at time 31 (receiving an EOF at each message boundary). 38 Description: SCMI Raw message errors facility; any kind of timed-out or [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/soundwire/ |
| D | locking.rst | 11 - 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/driver-api/soundwire/ |
| D | locking.rst | 11 - 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-6.6/Documentation/admin-guide/device-mapper/ |
| D | dm-dust.rst | 9 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/admin-guide/device-mapper/ |
| D | dm-dust.rst | 9 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-6.6/drivers/auxdisplay/ |
| D | line-display.c | 28 * Scroll the current message along the display by one character, rearming the 37 /* update the current message string */ in linedisp_scroll() 41 linedisp->buf[i] = linedisp->message[ch]; in linedisp_scroll() 60 * linedisp_display() - set the message to be displayed 62 * @msg: the message to display 65 * Display a new message @msg on the display. @msg can be longer than the 88 kfree(linedisp->message); in linedisp_display() 89 linedisp->message = NULL; in linedisp_display() 100 kfree(linedisp->message); in linedisp_display() 102 linedisp->message = new_msg; in linedisp_display() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
| D | user_events_selftests.h | 19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument 24 *message = ""; in tracefs_enabled() 32 *message = "Tracefs is not installed"; in tracefs_enabled() 41 *message = "Cannot mount tracefs"; in tracefs_enabled() 52 *message = "Cannot access tracefs"; in tracefs_enabled() 60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument 65 *message = ""; in user_events_enabled() 70 *message = "Must be run as root"; in user_events_enabled() 75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled() 84 *message = "user_events is not installed"; in user_events_enabled() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | mctp.rst | 42 Since MCTP is message-based, only ``SOCK_DGRAM`` sockets are supported. 99 match the network, address, and message type will be received by this socket. 101 messages with the TO bit set, to indicate an incoming request message, rather 118 The ``smctp_type`` field specifies which message types to receive. Only the 121 receiving packets with and without a message integrity check footer. 123 ``sendto()``, ``sendmsg()``, ``send()`` : transmit an MCTP message 126 An MCTP message is transmitted using one of the ``sendto()``, ``sendmsg()`` or 135 /* set message destination */ 142 /* arbitrary message to send, with message-type header */ 152 EID. If ``MCTP_TAG_OWNER`` is not set, the message will be sent with the tag [all …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | genetlink.h | 79 * @nlhdr: netlink message header 80 * @genlhdr: generic netlink message header 206 * genlmsg_parse_deprecated - parse attributes of a genetlink message 207 * @nlh: netlink message header 208 * @family: genetlink message family 225 * genlmsg_parse - parse attributes of a genetlink message 226 * @nlh: netlink message header 227 * @family: genetlink message family 258 * genlmsg_put_reply - Add generic netlink header to a reply message 259 * @skb: socket buffer holding the message [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/ |
| D | cec-ioc-receive.rst | 14 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/greybus/ |
| D | operation.c | 113 * 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-6.6/drivers/greybus/ |
| D | operation.c | 113 * 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/net/ethernet/intel/ixgbe/ |
| D | ixgbe_mbx.c | 10 * 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-6.6/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_mbx.c | 10 * 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 …]
|