* @off: Offset into the shmem file in the receiver's pool
* @size: The number of bytes used in the pool
* @memfds: Arrays of offsets where to update the installed
- * fd number
+ * fd number
* @memfds_fp: Array memfd files queued up for this message
* @memfds_count: Number of memfds
* @fds: Offset to array where to update the installed fd number
* @src_id: The ID of the sender
* @cookie: Message cookie, used for replies
* @dst_name_id: The sequence number of the name this message is
- * addressed to, 0 for messages sent to an ID
+ * addressed to, 0 for messages sent to an ID
*/
struct kdbus_conn_queue {
struct list_head entry;
}
/*
- * Monitor connections get all messages; ignore possible errors
+ * Monitor connections get all messages; ignore possible errors
* when sending messages to monitor connections.
*/
mutex_lock(&ep->bus->lock);
* kdbus_conn_disconnect() - disconnect a connection
* @conn: The connection to disconnect
* @ensure_msg_list_empty: Flag to indicate if the call should fail in
- * case the connection's message list is not
- * empty
+ * case the connection's message list is not
+ * empty
*
* Returns 0 on success.
* If @ensure_msg_list_empty is true, and the connection has pending messages,
* @conn_dst: Connection to copy to
* @conn_src: Connection to copy from
* @name_id: Filter for the sequence number of the registered
- * name, 0 means no filtering.
+ * name, 0 means no filtering.
*
* Move all messages from one connection to another. This is used when
* an ordinary connection is taking over a well-known name from a
* @name: Name to match against
* @bloom: Bloom filter to match against
* @old_id: For KDBUS_ITEM_ID_REMOVE and KDBUS_ITEM_NAME_REMOVE or
- * KDBUS_ITEM_NAME_CHANGE, stores a connection ID
+ * KDBUS_ITEM_NAME_CHANGE, stores a connection ID
* @src_id: For KDBUS_ITEM_ID, stores a connection ID
* @new_id: For KDBUS_ITEM_ID_ADD, KDBUS_ITEM_NAME_ADD or
- * KDBUS_ITEM_NAME_CHANGE, stores a connection ID
+ * KDBUS_ITEM_NAME_CHANGE, stores a connection ID
* @rules_entry: List entry to the entry's rules list
*/
struct kdbus_match_rule {
if (kmsg->notify_type != r->type)
return false;
- switch(r->type) {
+ switch (r->type) {
case KDBUS_ITEM_ID_ADD:
if (r->new_id != KDBUS_MATCH_ID_ANY &&
r->new_id != kmsg->notify_new_id)
} else {
/* messages from userspace */
- switch(r->type) {
+ switch (r->type) {
case KDBUS_ITEM_BLOOM:
if (!kdbus_match_bloom(kmsg->bloom,
r->bloom, conn_src))
* @dst_pool: The receiver's pool to copy to
* @src_pool: The receiver's pool to copy from
* @off: Offset of allocated memory in the source pool,
- * Updated with the offset in the destination pool
+ * Updated with the offset in the destination pool
* @len: Number of bytes to copy
*
* Move memory from one pool to another. Memory will be allocated in the