Searched refs:message (Results 1 - 200 of 2288) sorted by relevance

1234567891011>>

/linux-4.1.27/drivers/scsi/arm/
H A Dmsgqueue.h10 * message queue handling
15 struct message { struct
22 struct message msg;
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
63 extern struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno);
67 * Purpose : add a message onto a message queue
68 * Params : msgq - queue to add message on
69 * length - length of message
70 * ... - message bytes
77 * Purpose : flush all messages from message queue
H A 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)
96 * Purpose : return a message
97 * Params : msgq - queue to obtain message from
98 * : msgno - message number
99 * Returns : pointer to message string, or NULL
101 struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno) msgqueue_getmsg()
112 * Purpose : add a message onto a message queue
113 * Params : msgq - queue to add message on
114 * length - length of message
115 * ... - message bytes
148 * Purpose : flush all messages from message queue
170 MODULE_DESCRIPTION("SCSI message queue handling");
H A Dacornscsi.c24 * reconnect race condition causing a warning message.
832 * POINTER - DISCONNECT message sequence. acornscsi_done()
1328 struct message *msg; acornscsi_sendmessage()
1331 printk("scsi%d.%c: sending message ", acornscsi_sendmessage()
1339 acornscsi_sbic_wait(host, ASR_DBR, ASR_DBR, 1000, "sending message 1"); acornscsi_sendmessage()
1353 acornscsi_sbic_wait(host, ASR_DBR, ASR_DBR, 1000, "sending message 2"); acornscsi_sendmessage()
1366 * 'When a target sends this (MESSAGE_REJECT) message, it acornscsi_sendmessage()
1367 * shall change to MESSAGE IN phase and send this message acornscsi_sendmessage()
1368 * prior to requesting additional message bytes from the acornscsi_sendmessage()
1370 * initiator can determine which message byte is rejected. acornscsi_sendmessage()
1385 printk("scsi%d: timeout while sending message\n", host->host->host_no); acornscsi_sendmessage()
1416 * Purpose : Read one message byte from connected target
1422 unsigned char message; acornscsi_readmessagebyte() local
1426 acornscsi_sbic_wait(host, ASR_DBR, ASR_DBR, 1000, "for message byte"); acornscsi_readmessagebyte()
1428 message = sbic_arm_read(host, SBIC_DATA); acornscsi_readmessagebyte()
1431 acornscsi_sbic_wait(host, ASR_INT, ASR_INT, 1000, "for interrupt after message byte"); acornscsi_readmessagebyte()
1435 return message; acornscsi_readmessagebyte()
1440 * Purpose : Read complete message from connected target & action message
1446 unsigned char message[16]; acornscsi_message() local
1450 message[msgidx] = acornscsi_readmessagebyte(host); acornscsi_message()
1454 if (message[0] == EXTENDED_MESSAGE || acornscsi_message()
1455 (message[0] >= 0x20 && message[0] <= 0x2f)) acornscsi_message()
1460 if (message[0] == EXTENDED_MESSAGE) acornscsi_message()
1461 msglen += message[msgidx]; acornscsi_message()
1475 printk("scsi%d.%c: message in: ", acornscsi_message()
1477 spi_print_msg(message); acornscsi_message()
1485 * a tagged I/O process, the SIMPLE QUEUE TAG message shall acornscsi_message()
1486 * be sent immediately following the IDENTIFY message...' acornscsi_message()
1488 if (message[0] == SIMPLE_QUEUE_TAG) acornscsi_message()
1489 host->scsi.reconnected.tag = message[1]; acornscsi_message()
1494 switch (message[0]) { acornscsi_message()
1504 host->scsi.SCp.Message = message[0]; acornscsi_message()
1510 * 'The SAVE DATA POINTER message is sent from a target to acornscsi_message()
1523 * 'The RESTORE POINTERS message is sent from a target to acornscsi_message()
1541 * message or by disconnecting without issuing a SAVE POINTERS acornscsi_message()
1542 * message. When reconnection is completed, the most recent acornscsi_message()
1575 * message is received, it shall respond with a MESSAGE REJECT acornscsi_message()
1576 * message and accept the I/O process as if it were untagged. acornscsi_message()
1606 /* tag queue reconnect... message[1] = queue tag. Print something to indicate something happened! */ acornscsi_message()
1609 message[1]); acornscsi_message()
1613 switch (message[2]) { acornscsi_message()
1620 * command from this message. If we get a MESSAGE PARITY ERROR, acornscsi_message()
1626 message[4], message[3] * 4); acornscsi_message()
1628 calc_sync_xfer(message[3] * 4, message[4]); acornscsi_message()
1633 * to be in operation AFTER the target leaves message out phase. acornscsi_message()
1636 period = max_t(unsigned int, message[3], sdtr_period / 4); acornscsi_message()
1637 length = min_t(unsigned int, message[4], sdtr_size); acornscsi_message()
1663 default: /* reject message */ acornscsi_message()
1664 printk(KERN_ERR "scsi%d.%c: unrecognised message %02X, rejecting\n", acornscsi_message()
1666 message[0]); acornscsi_message()
2045 case PHASE_MSGOUT: /* STATE: connected & sent IDENTIFY message */ acornscsi_sbicintr()
2152 * Command reconnected - if MESGIN, get message - it may be acornscsi_sbicintr()
2193 case 0x8e: /* message out */ acornscsi_sbicintr()
2199 case 0x8f: /* message in */ acornscsi_sbicintr()
2242 case 0x1f: /* message in */ acornscsi_sbicintr()
2243 case 0x4f: /* message in */ acornscsi_sbicintr()
2244 case 0x8f: /* message in */ acornscsi_sbicintr()
2293 case 0x1f: /* message in */ acornscsi_sbicintr()
2294 case 0x4f: /* message in */ acornscsi_sbicintr()
2295 case 0x8f: /* message in */ acornscsi_sbicintr()
2332 case PHASE_MSGIN: /* STATE: message in */ acornscsi_sbicintr()
2349 printk("scsi%d.%c: strange message in disconnection\n", acornscsi_sbicintr()
2356 printk(KERN_ERR "scsi%d.%c: PHASE_MSGIN, SSR %02X after message in?\n", acornscsi_sbicintr()
2362 case PHASE_DONE: /* STATE: received status & message */ acornscsi_sbicintr()
2573 * reconnects, we will give it an ABORT message. The acornscsi_do_abort()
2594 * we will give it an ABORT message since the command could not acornscsi_do_abort()
H A Dfas216.c32 * 26-08-1998 RMK Improved message support wrt MESSAGE_REJECT
71 * > RESET message is received, until a hard reset condition occurs, or until one
74 * > mode is entered at power on, after a BUS DEVICE RESET message, or after a hard
268 [PHASE_MSGIN] = "message in", fas216_drv_phase()
270 [PHASE_MSGOUT_EXPECT] = "expect message out", fas216_drv_phase()
271 [PHASE_MSGOUT] = "message out", fas216_drv_phase()
406 * fas216_get_last_msg - retrive last message from the list
410 * Retrieve a last message from the list, using position in fifo.
416 struct message *msg; fas216_get_last_msg()
488 * not accept an SDTR message, some targets may not initiate synchronous
495 * SDTR message with a MESSAGE REJECT message if the either the
502 * every INQUIRY or REQUEST SENSE message, unless the target itself has
508 * fas216_handlesync - Handle a synchronous transfer message
510 * @msg: message from target
512 * Handle a synchronous transfer message from the target
527 * message with a MESSAGE REJECT message. fas216_handlesync()
551 * message containing our capability, limited by fas216_handlesync()
568 * until this message is accepted by the device fas216_handlesync()
578 * bounds, we must reject the message. fas216_handlesync()
899 case PHASE_MSGIN_DISCONNECT: /* message in - disconnecting */ fas216_disconnect_intr()
913 case PHASE_MSGOUT: /* message out - possible ABORT message */ fas216_disconnect_intr()
1020 * an INITIATOR DETECTED ERROR message. fas216_reselected_intr()
1051 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) fas216_parse_message() argument
1055 switch (message[0]) { fas216_parse_message()
1110 fas216_handlesync(info, message); fas216_parse_message()
1114 fas216_log(info, 0, "reject, last message 0x%04x", fas216_parse_message()
1126 switch (message[2]) { fas216_parse_message()
1128 fas216_handlesync(info, message); fas216_parse_message()
1142 fas216_log(info, 0, "unrecognised message, rejecting"); fas216_parse_message()
1143 printk("scsi%d.%c: message was", info->host->host_no, fas216_target(info)); fas216_parse_message()
1145 printk("%s%02X", i & 31 ? " " : "\n ", message[i]); fas216_parse_message()
1207 fas216_log(info, LOG_ERROR, "timed out waiting for message byte"); fas216_get_msg_byte()
1215 fas216_log(info, LOG_ERROR, "parity error during message in phase"); fas216_get_msg_byte()
1227 unsigned char *message = info->scsi.message; fas216_message() local
1233 message[0] = fas216_readb(info, REG_FF); fas216_message()
1235 if (message[0] == EXTENDED_MESSAGE) { fas216_message()
1239 message[1] = msgbyte; fas216_message()
1241 for (msglen = 2; msglen < message[1] + 2; msglen++) { fas216_message()
1245 message[msglen] = msgbyte; fas216_message()
1259 printk("scsi%d.%c: message in: ", fas216_message()
1262 printk("%02X ", message[i]); fas216_message()
1267 fas216_parse_message(info, message, msglen); fas216_message()
1281 * fas216_send_command - send command after all message bytes have been sent
1284 * Send a command to a target after all message bytes have been sent
1305 * fas216_send_messageout - handle bus service to send a message
1308 * Handle bus service to send a message.
1320 struct message *msg; fas216_send_messageout()
1460 * If we get another message out phase, this usually STATE()
1510 printk(KERN_ERR "scsi%d.%c: disconnect message received, but bus service %s?\n",
1560 * Read status then message byte. fas216_funcdone_intr()
1573 case PHASE_MSGIN: /* message in phase */ fas216_funcdone_intr()
1685 struct message *msg; __fas216_start_command()
1688 printk("scsi%d.%c: message out: ", __fas216_start_command()
1702 * We have an easy message length to send... __fas216_start_command()
1704 struct message *msg; __fas216_start_command()
1709 /* load message bytes */ __fas216_start_command()
1726 * We have an unusual number of message bytes to send. __fas216_start_command()
1730 struct message *msg = msgqueue_getmsg(&info->scsi.msgs, 0); __fas216_start_command()
1742 * information transfer phase (message out) for test purposes.
1779 * build outgoing message bytes fas216_start_command()
1785 * add tag message if required fas216_start_command()
1847 struct message *msg; fas216_do_bus_device_reset()
1979 * Clean up from issuing a BUS DEVICE RESET message to a device.
2367 * an abort message. fas216_find_command()
2444 * ABORT or ABORT_TAG message. We can only do this fas216_eh_abort()
2508 * a bus device reset message to this device. fas216_eh_device_reset()
/linux-4.1.27/arch/powerpc/include/asm/
H A 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
53 * @msgr: the message register to enable
55 * The given message register is enabled for sending
60 /* Disable a message register
62 * @msgr: the message register to disable
64 * The given message register is disabled for sending
69 /* Write a message to a message register
71 * @msgr: the message register to write to
72 * @message: the message to write
74 * The given 32-bit message is written to the given message
75 * register. Writing to an enabled message registers fires
78 static inline void mpic_msgr_write(struct mpic_msgr *msgr, u32 message) mpic_msgr_write() argument
80 out_be32(msgr->base, message); mpic_msgr_write()
83 /* Read a message from a message register
85 * @msgr: the message register to read from
87 * Returns the 32-bit value currently in the given message register.
96 /* Clear a message register
98 * @msgr: the message register to clear
100 * Clears any interrupts associated with the given message register.
107 /* Set the destination CPU for the message register
109 * @msgr: the message register whose destination is to be set
110 * @cpu_num: the Linux CPU number to bind the message register to
121 /* Get the IRQ number for the message register
122 * @msgr: the message register whose IRQ is to be returned
124 * Returns the IRQ number associated with the given message register.
125 * NO_IRQ is returned if this message register is not capable of
126 * receiving interrupts. What message register can and cannot receive
/linux-4.1.27/tools/build/feature/
H A Dtest-libaudit.c7 printf("error message: %s\n", audit_errno_to_name(0)); main()
/linux-4.1.27/drivers/isdn/sc/
H A Dmessage.h1 /* $Id: message.h,v 1.1.10.1 2001/09/23 22:24:59 kai Exp $
22 * Board message macros, defines and structures
30 #define MSG_DATA_LEN 48 /* Maximum size of message payload */
31 #define MSG_LEN 64 /* Size of a message */
32 #define CMPID 0 /* Loader message process ID */
33 #define CEPID 64 /* Firmware message process ID */
36 * Macro to determine if a message is a loader message
44 * Macro to determine if a message is a firmware message
55 /* message types */
63 /* message classes */
67 /* message codes */
88 /* message types */
99 /* message classes */
109 /* message codes (B) = BRI only, (P) = PRI only, (V) = POTS only */
180 * a buffer in shared RAM. Used by LnkRead and LnkWrite message
190 * Message payload template for an HWConfig message
206 struct message { struct
226 typedef struct message ReqMessage; /* Request message */
227 typedef struct message RspMessage; /* Response message */
230 * The first 5010 bytes of shared memory contain the message queues,
H A DMakefile10 ioctl.o interrupt.o message.o timer.o
H A Dinterrupt.c20 #include "message.h"
47 * Push the message to the adapter structure for interrupt_handler()
67 * Check for a linkRead message interrupt_handler()
92 * Handle a connection message interrupt_handler()
98 pr_debug("%s: Connect message: line %d: status %d: cause 0x%x\n", interrupt_handler()
140 * Handle a disconnection message interrupt_handler()
144 pr_debug("%s: disconnect message: line %d: status %d: cause 0x%x\n", interrupt_handler()
157 * Handle a startProc engine up message interrupt_handler()
160 pr_debug("%s: Received EngineUp message\n", interrupt_handler()
200 * Covert the message data to the adapter->phystat code interrupt_handler()
237 pr_debug("%s: Received unhandled message (%d,%d,%d) link %d\n", interrupt_handler()
H A Dmessage.c1 /* $Id: message.c,v 1.5.8.2 2001/09/23 22:24:59 kai Exp $
22 #include "message.h"
26 * receive a message from the board
46 * Map in the DPM to the base page and copy the message receivemessage()
58 * Tell the board that the message is received receivemessage()
81 * send a message to the board
106 pr_debug("%s: Attempt to send CM message with engine up\n", sendmessage()
112 pr_debug("%s: Attempt to send CE message with engine down\n", sendmessage()
206 * See if we got our message back send_and_receive()
216 pr_debug("%s: Got ASYNC message\n", send_and_receive()
227 pr_debug("%s: SAR message timeout\n", sc_adapter[card]->devicename); send_and_receive()
/linux-4.1.27/include/uapi/linux/
H A Dmsg.h11 #define MSG_NOERROR 010000 /* no error if message is too big */
18 struct msg *msg_first; /* first message on queue,unused */
19 struct msg *msg_last; /* last message in queue,unused */
35 /* message buffer for msgsnd and msgrcv calls */
37 __kernel_long_t mtype; /* type of message */
38 char mtext[1]; /* message text */
63 * MSGMNB is the default size of a new message queue. Non-root tasks can
69 * MAXMAX is the maximum size of an individual message, it's a global
70 * (per-namespace) limit that applies for all message queues.
76 #define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */
77 #define MSGMNB 16384 /* <= INT_MAX */ /* default max size of a message queue */
80 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
81 #define MSGTQL MSGMNB /* number of system message headers */
82 #define MSGMAP MSGMNB /* number of entries in message map */
83 #define MSGSSZ 16 /* message segment size */
H A Dipmi.h108 * message. Instead, we use remote_SWID and local_SWID. This means
109 * that any message (a request or response) from another device will
115 * message came from, or the SWID we are sending the message to.
117 * message is a little weird, but this is required.
148 * A raw IPMI message without any addressing. This covers both
181 * it allows you to get the message results when you send a response
182 * message.
191 response message, this will
253 unsigned char __user *addr; /* Address to send the message to. */
256 long msgid; /* The sequence number for the message. This
265 * Send a message to the interfaces. error values are:
269 * - EMSGSIZE - The message to was too large.
286 * Send a message to the interfaces with timing parameters. error values
291 * - EMSGSIZE - The message to was too large.
302 unsigned char __user *addr; /* Address the message was from is put
308 the actual message length when the
309 message is received. */
318 size of the message buffer. The
321 actual message length when the message
326 * Receive a message. error values:
330 * - EMSGSIZE - The message to was too large to fit into the message buffer,
331 * the message will be left in the buffer. */
336 * Like RECEIVE_MSG, but if the message won't fit in the buffer, it
H A Dconnector.h28 * Process Events connector unique ids -- used for message routing
54 * Maximum connector's message size.
60 * are used for message routing and
H A Dmqueue.h26 __kernel_long_t mq_flags; /* message queue flags */
28 __kernel_long_t mq_msgsize; /* maximum message size */
44 * removed, either due to a close() on the message queue fd or due to a
H A Dneighbour.h78 * spread over multiple messages to avoid running into message
79 * size limits on systems with many interfaces. The first message
82 * This message is followed by 0..n messages carrying device
85 * used to identify sequences. The initial message can be identified
H A Dnet_dropmon.h47 /* These are the netlink message types for this protocol */
H A Datm_tcp.h36 int type; /* message type; both directions */
H A Datmarp.h36 enum atmarp_ctrl_type type; /* message type */
/linux-4.1.27/drivers/s390/crypto/
H A Dzcrypt_msgtype50.c52 MODULE_DESCRIPTION("Cryptographic Accelerator (message type 50), " \
60 * The type 50 message family is associated with a CEX2A card.
94 unsigned char message[128]; member in struct:type50_meb1_msg
104 unsigned char message[256]; member in struct:type50_meb2_msg
114 unsigned char message[512]; member in struct:type50_meb3_msg
127 unsigned char message[128]; member in struct:type50_crb1_msg
140 unsigned char message[256]; member in struct:type50_crb2_msg
153 unsigned char message[512]; member in struct:type50_crb3_msg
177 * Convert a ICAMEX message to a type50 MEX message.
195 struct type50_meb1_msg *meb1 = ap_msg->message; ICAMEX_msg_to_type50MEX_msg()
203 inp = meb1->message + sizeof(meb1->message) - mod_len; ICAMEX_msg_to_type50MEX_msg()
205 struct type50_meb2_msg *meb2 = ap_msg->message; ICAMEX_msg_to_type50MEX_msg()
213 inp = meb2->message + sizeof(meb2->message) - mod_len; ICAMEX_msg_to_type50MEX_msg()
216 struct type50_meb3_msg *meb3 = ap_msg->message; ICAMEX_msg_to_type50MEX_msg()
224 inp = meb3->message + sizeof(meb3->message) - mod_len; ICAMEX_msg_to_type50MEX_msg()
235 * Convert a ICACRT message to a type50 CRT message.
260 struct type50_crb1_msg *crb1 = ap_msg->message; ICACRT_msg_to_type50CRT_msg()
271 inp = crb1->message + sizeof(crb1->message) - mod_len; ICACRT_msg_to_type50CRT_msg()
273 struct type50_crb2_msg *crb2 = ap_msg->message; ICACRT_msg_to_type50CRT_msg()
284 inp = crb2->message + sizeof(crb2->message) - mod_len; ICACRT_msg_to_type50CRT_msg()
287 struct type50_crb3_msg *crb3 = ap_msg->message; ICACRT_msg_to_type50CRT_msg()
298 inp = crb3->message + sizeof(crb3->message) - mod_len; ICACRT_msg_to_type50CRT_msg()
318 * Copy results from a type 80 reply message back to user space.
321 * @reply: reply AP message.
332 struct type80_hdr *t80h = reply->message; convert_type80()
349 data = reply->message + t80h->len - outputdatalength; convert_type80()
361 switch (((unsigned char *) reply->message)[1]) { convert_response()
380 * "msg" has finished with the reply message "reply".
383 * @msg: pointer to the AP message
384 * @reply: pointer to the AP reply message
397 /* Copy the reply message to the request message buffer. */ zcrypt_cex2a_receive()
399 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_cex2a_receive()
402 t80h = reply->message; zcrypt_cex2a_receive()
410 memcpy(msg->message, reply->message, length); zcrypt_cex2a_receive()
412 memcpy(msg->message, reply->message, sizeof(error_reply)); zcrypt_cex2a_receive()
435 ap_msg.message = kmalloc(MSGTYPE50_CRB2_MAX_MSG_SIZE, zcrypt_cex2a_modexpo()
438 ap_msg.message = kmalloc(MSGTYPE50_CRB3_MAX_MSG_SIZE, zcrypt_cex2a_modexpo()
440 if (!ap_msg.message) zcrypt_cex2a_modexpo()
459 kfree(ap_msg.message); zcrypt_cex2a_modexpo()
479 ap_msg.message = kmalloc(MSGTYPE50_CRB2_MAX_MSG_SIZE, zcrypt_cex2a_modexpo_crt()
482 ap_msg.message = kmalloc(MSGTYPE50_CRB3_MAX_MSG_SIZE, zcrypt_cex2a_modexpo_crt()
484 if (!ap_msg.message) zcrypt_cex2a_modexpo_crt()
503 kfree(ap_msg.message); zcrypt_cex2a_modexpo_crt()
508 * The crypto operations for message type 50.
H A Dzcrypt_pcica.c76 * Convert a ICAMEX message to a type4 MEX message.
88 unsigned char *modulus, *exponent, *message; ICAMEX_msg_to_type4MEX_msg() local
94 struct type4_sme *sme = ap_msg->message; ICAMEX_msg_to_type4MEX_msg()
103 message = sme->message + sizeof(sme->message) - mod_len; ICAMEX_msg_to_type4MEX_msg()
105 struct type4_lme *lme = ap_msg->message; ICAMEX_msg_to_type4MEX_msg()
114 message = lme->message + sizeof(lme->message) - mod_len; ICAMEX_msg_to_type4MEX_msg()
119 copy_from_user(message, mex->inputdata, mod_len)) ICAMEX_msg_to_type4MEX_msg()
125 * Convert a ICACRT message to a type4 CRT message.
145 struct type4_scr *scr = ap_msg->message; ICACRT_msg_to_type4CRT_msg()
157 inp = scr->message + sizeof(scr->message) - mod_len; ICACRT_msg_to_type4CRT_msg()
159 struct type4_lcr *lcr = ap_msg->message; ICACRT_msg_to_type4CRT_msg()
171 inp = lcr->message + sizeof(lcr->message) - mod_len; ICACRT_msg_to_type4CRT_msg()
185 * Copy results from a type 84 reply message back to user space.
188 * @reply: reply AP message.
199 struct type84_hdr *t84h = reply->message; convert_type84()
212 data = reply->message + t84h->len - outputdatalength; convert_type84()
224 switch (((unsigned char *) reply->message)[1]) { convert_response()
243 * "msg" has finished with the reply message "reply".
246 * @msg: pointer to the AP message
247 * @reply: pointer to the AP reply message
260 /* Copy the reply message to the request message buffer. */ zcrypt_pcica_receive()
262 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_pcica_receive()
265 t84h = reply->message; zcrypt_pcica_receive()
268 memcpy(msg->message, reply->message, length); zcrypt_pcica_receive()
270 memcpy(msg->message, reply->message, sizeof error_reply); zcrypt_pcica_receive()
292 ap_msg.message = kmalloc(PCICA_MAX_MESSAGE_SIZE, GFP_KERNEL); zcrypt_pcica_modexpo()
293 if (!ap_msg.message) zcrypt_pcica_modexpo()
312 kfree(ap_msg.message); zcrypt_pcica_modexpo()
331 ap_msg.message = kmalloc(PCICA_MAX_MESSAGE_SIZE, GFP_KERNEL); zcrypt_pcica_modexpo_crt()
332 if (!ap_msg.message) zcrypt_pcica_modexpo_crt()
351 kfree(ap_msg.message); zcrypt_pcica_modexpo_crt()
H A Dzcrypt_msgtype6.c59 MODULE_DESCRIPTION("Cryptographic Coprocessor (message type 6), " \
131 * card in a type6 message. The 3 fields that must be filled in at execution
153 * Convert a ICAMEX message to a type6 MEX message.
156 * @ap_msg: pointer to AP message
187 } __packed * msg = ap_msg->message; ICAMEX_msg_to_type6MEX_msgX()
201 /* message header, cprbx and f&r */ ICAMEX_msg_to_type6MEX_msgX()
220 * Convert a ICACRT message to a type6 CRT message.
223 * @ap_msg: pointer to AP message
255 } __packed * msg = ap_msg->message; ICACRT_msg_to_type6CRT_msgX()
269 /* message header, cprbx and f&r */ ICACRT_msg_to_type6CRT_msgX()
287 * Convert a XCRB message to a type6 CPRB message.
290 * @ap_msg: pointer to AP message
311 } __packed * msg = ap_msg->message; XCRB_msg_to_type6CPRB_msgX()
315 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; XCRB_msg_to_type6CPRB_msgX()
415 } __packed * msg = ap_msg->message; xcrb_msg_to_type6_ep11cprb_msgx()
487 * Copy results from a type 86 ICA reply message back to user space.
490 * @reply: reply AP message.
551 struct type86x_reply *msg = reply->message; convert_type86_ica()
612 * Copy results from a type 86 XCRB reply message back to user space.
615 * @reply: reply AP message.
624 struct type86_fmt2_msg *msg = reply->message; convert_type86_xcrb()
625 char *data = reply->message; convert_type86_xcrb()
643 * Copy results from a type 86 EP11 XCRB reply message back to user space.
646 * @reply: reply AP message.
655 struct type86_fmt2_msg *msg = reply->message; convert_type86_ep11_xcrb()
656 char *data = reply->message; convert_type86_ep11_xcrb()
677 } __packed * msg = reply->message; convert_type86_rng()
678 char *data = reply->message; convert_type86_rng()
691 struct type86x_reply *msg = reply->message; convert_response_ica()
694 switch (((unsigned char *) reply->message)[1]) { convert_response_ica()
729 struct type86x_reply *msg = reply->message; convert_response_xcrb()
732 switch (((unsigned char *) reply->message)[1]) { convert_response_xcrb()
760 struct type86_ep11_reply *msg = reply->message; convert_response_ep11_xcrb()
763 switch (((unsigned char *)reply->message)[1]) { convert_response_ep11_xcrb()
787 struct type86x_reply *msg = reply->message; convert_response_rng()
812 * "msg" has finished with the reply message "reply".
815 * @msg: pointer to the AP message
816 * @reply: pointer to the AP reply message
831 /* Copy the reply message to the request message buffer. */ zcrypt_msgtype6_receive()
833 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_msgtype6_receive()
836 t86r = reply->message; zcrypt_msgtype6_receive()
844 memcpy(msg->message, reply->message, length); zcrypt_msgtype6_receive()
849 memcpy(msg->message, reply->message, length); zcrypt_msgtype6_receive()
852 memcpy(msg->message, &error_reply, zcrypt_msgtype6_receive()
856 memcpy(msg->message, reply->message, sizeof(error_reply)); zcrypt_msgtype6_receive()
863 * "msg" has finished with the reply message "reply".
866 * @msg: pointer to the AP message
867 * @reply: pointer to the AP reply message
882 /* Copy the reply message to the request message buffer. */ zcrypt_msgtype6_receive_ep11()
884 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_msgtype6_receive_ep11()
887 t86r = reply->message; zcrypt_msgtype6_receive_ep11()
894 memcpy(msg->message, reply->message, length); zcrypt_msgtype6_receive_ep11()
897 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_msgtype6_receive_ep11()
900 memcpy(msg->message, reply->message, sizeof(error_reply)); zcrypt_msgtype6_receive_ep11()
925 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); zcrypt_msgtype6_modexpo()
926 if (!ap_msg.message) zcrypt_msgtype6_modexpo()
945 free_page((unsigned long) ap_msg.message); zcrypt_msgtype6_modexpo()
966 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); zcrypt_msgtype6_modexpo_crt()
967 if (!ap_msg.message) zcrypt_msgtype6_modexpo_crt()
986 free_page((unsigned long) ap_msg.message); zcrypt_msgtype6_modexpo_crt()
1007 ap_msg.message = kmalloc(MSGTYPE06_MAX_MSG_SIZE, GFP_KERNEL); zcrypt_msgtype6_send_cprb()
1008 if (!ap_msg.message) zcrypt_msgtype6_send_cprb()
1026 kzfree(ap_msg.message); zcrypt_msgtype6_send_cprb()
1047 ap_msg.message = kmalloc(MSGTYPE06_MAX_MSG_SIZE, GFP_KERNEL); zcrypt_msgtype6_send_ep11_cprb()
1048 if (!ap_msg.message) zcrypt_msgtype6_send_ep11_cprb()
1066 kzfree(ap_msg.message); zcrypt_msgtype6_send_ep11_cprb()
1088 ap_msg.message = kmalloc(MSGTYPE06_MAX_MSG_SIZE, GFP_KERNEL); zcrypt_msgtype6_rng()
1089 if (!ap_msg.message) zcrypt_msgtype6_rng()
1104 kfree(ap_msg.message); zcrypt_msgtype6_rng()
H A Dzcrypt_msgtype6.h40 * The type 6 message family is associated with PCICC or PCIXCC cards.
42 * It contains a message header followed by a CPRB, both of which
81 * The type 86 message family is associated with PCICC and PCIXCC cards.
83 * It contains a message header followed by a CPRB. The CPRB is
87 * the 8-byte message header is of interest.
89 * The non-error message is shown below.
120 * Prepare a type6 CPRB message for random number generation
123 * @ap_msg: pointer to AP message
137 } __packed * msg = ap_msg->message; rng_type6CPRB_msgX()
H A Dzcrypt_pcicc.c59 #define PCICC_MAX_MESSAGE_SIZE 0x710 /* max size type6 v1 crt message */
89 * in a type6 message. The 3 fields that must be filled in at execution
110 * Check the message for PKCS11 padding.
128 * Check the message for PKCS12 padding.
146 * Convert a ICAMEX message to a type6 MEX message.
176 } __attribute__((packed)) *msg = ap_msg->message; ICAMEX_msg_to_type6MEX_msg()
186 /* static message header and f&r */ ICAMEX_msg_to_type6MEX_msg()
218 /* message header, cprb and f&r */ ICAMEX_msg_to_type6MEX_msg()
233 * Convert a ICACRT message to a type6 CRT message.
263 } __attribute__((packed)) *msg = ap_msg->message; ICACRT_msg_to_type6CRT_msg()
280 /* message header, cprb and f&r */ ICACRT_msg_to_type6CRT_msg()
297 * Copy results from a type 86 reply message back to user space.
300 * @reply: reply AP message.
355 struct type86_reply *msg = reply->message; convert_type86()
420 struct type86_reply *msg = reply->message; convert_response()
446 * "msg" has finished with the reply message "reply".
449 * @msg: pointer to the AP message
450 * @reply: pointer to the AP reply message
463 /* Copy the reply message to the request message buffer. */ zcrypt_pcicc_receive()
465 memcpy(msg->message, &error_reply, sizeof(error_reply)); zcrypt_pcicc_receive()
468 t86r = reply->message; zcrypt_pcicc_receive()
473 memcpy(msg->message, reply->message, length); zcrypt_pcicc_receive()
475 memcpy(msg->message, reply->message, sizeof error_reply); zcrypt_pcicc_receive()
497 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); zcrypt_pcicc_modexpo()
498 if (!ap_msg.message) zcrypt_pcicc_modexpo()
518 free_page((unsigned long) ap_msg.message); zcrypt_pcicc_modexpo()
537 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); zcrypt_pcicc_modexpo_crt()
538 if (!ap_msg.message) zcrypt_pcicc_modexpo_crt()
558 free_page((unsigned long) ap_msg.message); zcrypt_pcicc_modexpo_crt()
H A Dzcrypt_pcica.h30 * The type 4 message family is associated with a PCICA card.
59 unsigned char message[128]; member in struct:type4_sme
67 unsigned char message[256]; member in struct:type4_lme
75 unsigned char message[128]; member in struct:type4_scr
86 unsigned char message[256]; member in struct:type4_lcr
H A Dzcrypt_cex2a.h30 * The type 50 message family is associated with a CEX2A card.
64 unsigned char message[128]; member in struct:type50_meb1_msg
74 unsigned char message[256]; member in struct:type50_meb2_msg
84 unsigned char message[512]; member in struct:type50_meb3_msg
97 unsigned char message[128]; member in struct:type50_crb1_msg
110 unsigned char message[256]; member in struct:type50_crb2_msg
123 unsigned char message[512]; member in struct:type50_crb3_msg
H A Dap_bus.h173 struct list_head pendingq; /* List of message sent to AP queue. */
175 struct list_head requestq; /* List of message yet to be sent. */
179 struct ap_message *reply; /* Per device reply message. */
189 void *message; /* Pointer to message buffer. */ member in struct:ap_message
216 * Initialize a message before using. Otherwise this might result in
229 * for the first time. Otherwise the ap message queue will get
H A Dzcrypt_pcixcc.c54 #define PCIXCC_MAX_ICA_MESSAGE_SIZE 0x77c /* max size type6 v2 crt message */
94 * Micro-code detection function. Its sends a message to a pcixcc card
183 /* Wait for the test message to complete. */ zcrypt_pcixcc_mcl()
208 * Large random number detection function. Its sends a message to a pcixcc
226 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); zcrypt_pcixcc_rng_supported()
227 if (!ap_msg.message) zcrypt_pcixcc_rng_supported()
231 rc = ap_send(ap_dev->qid, 0x0102030405060708ULL, ap_msg.message, zcrypt_pcixcc_rng_supported()
236 /* Wait for the test message to complete. */ zcrypt_pcixcc_rng_supported()
239 rc = ap_recv(ap_dev->qid, &psmid, ap_msg.message, 4096); zcrypt_pcixcc_rng_supported()
250 reply = ap_msg.message; zcrypt_pcixcc_rng_supported()
256 free_page((unsigned long) ap_msg.message); zcrypt_pcixcc_rng_supported()
264 * This is checked by sending a test message to the device.
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrukservices.h26 * 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
63 * mqd pointer to message queue descriptor
65 * bytes size of message queue in bytes
78 * Send a message to a message queue.
80 * Note: The message queue transport mechanism uses the first 32
81 * bits of the message. Users should avoid using these bits.
85 * mqd pointer to message queue descriptor
86 * mesg pointer to message. Must be 64-bit aligned
87 * bytes size of message in bytes
90 * 0 message sent
98 #define MQE_OK 0 /* message sent successfully */
106 * Advance the receive pointer for the message queue to the next message.
111 * mqd pointer to message queue descriptor
112 * mesq message being freed
118 * Get next message from message queue. Returns pointer to
119 * message OR NULL if no message present.
120 * User must call gru_free_message() after message is processed
121 * in order to move the queue pointers to next message.
124 * mqd pointer to message queue descriptor
127 * p pointer to message
128 * NULL no message available
/linux-4.1.27/include/net/
H A Daf_rxrpc.h23 RXRPC_SKB_MARK_DATA, /* data message */
24 RXRPC_SKB_MARK_FINAL_ACK, /* final ACK received message */
25 RXRPC_SKB_MARK_BUSY, /* server busy message */
26 RXRPC_SKB_MARK_REMOTE_ABORT, /* remote abort message */
27 RXRPC_SKB_MARK_NET_ERROR, /* network error message */
28 RXRPC_SKB_MARK_LOCAL_ERROR, /* local error message */
29 RXRPC_SKB_MARK_NEW_CALL, /* local error message */
H A Dgenetlink.h80 * @nlhdr: netlink message header
81 * @genlhdr: generic netlink message header
212 * genlmsg_parse - parse attributes of a genetlink message
213 * @nlh: netlink message header
214 * @family: genetlink message family
245 * genlmsg_put_reply - Add generic netlink header to a reply message
246 * @skb: socket buffer holding the message
249 * @flags: netlink message flags
264 * genlmsg_end - Finalize a generic netlink message
265 * @skb: socket buffer the message is stored in
274 * genlmsg_cancel - Cancel construction of a generic netlink message
275 * @skb: socket buffer the message is stored in
276 * @hdr: generic netlink message header
285 * genlmsg_multicast_netns - multicast a netlink message to a specific netns
288 * @skb: netlink message as socket buffer
304 * genlmsg_multicast - multicast a netlink message to the default netns
306 * @skb: netlink message as socket buffer
320 * genlmsg_multicast_allns - multicast a netlink message to all net namespaces
322 * @skb: netlink message as socket buffer
334 * genlmsg_unicast - unicast a netlink message
335 * @skb: netlink message as socket buffer
345 * @skb: netlink message to be sent back
354 * gennlmsg_data - head of message payload
355 * @gnlh: genetlink message header
363 * genlmsg_len - length of message payload
364 * @gnlh: genetlink message header
374 * genlmsg_msg_size - length of genetlink message not including padding
375 * @payload: length of message payload
383 * genlmsg_total_size - length of genetlink message including padding
384 * @payload: length of message payload
392 * genlmsg_new - Allocate a new generic netlink message
393 * @payload: size of the message payload
H A Dnetlink.h33 * struct nlmsghdr netlink message header
36 * nlmsg_new() create a new netlink message
37 * nlmsg_put() add a netlink message to an skb
39 * nlmsg_end() finalize netlink message
40 * nlmsg_get_pos() return current position in message
41 * nlmsg_trim() trim part of message
42 * nlmsg_cancel() cancel message construction
43 * nlmsg_free() free a netlink message
46 * nlmsg_multicast() multicast message to several groups
47 * nlmsg_unicast() unicast a message to a single socket
48 * nlmsg_notify() send notification message
51 * nlmsg_msg_size(payload) length of message w/o padding
52 * nlmsg_total_size(payload) length of message w/ padding
56 * nlmsg_data(nlh) head of message payload
57 * nlmsg_len(nlh) length of message payload
63 * nlmsg_next(nlh, remaining) get next netlink message
64 * nlmsg_parse() parse attributes of a message
65 * nlmsg_find_attr() find an attribute in a message
67 * nlmsg_validate() validate netlink message incl. attrs
222 * @nlh: Netlink message header of original request
262 * nlmsg_msg_size - length of netlink message not including padding
263 * @payload: length of message payload
271 * nlmsg_total_size - length of netlink message including padding
272 * @payload: length of message payload
280 * nlmsg_padlen - length of padding at the message's tail
281 * @payload: length of message payload
289 * nlmsg_data - head of message payload
290 * @nlh: netlink message header
298 * nlmsg_len - length of message payload
299 * @nlh: netlink message header
308 * @nlh: netlink message header
320 * @nlh: netlink message header
329 * nlmsg_ok - check if the netlink message fits into the remaining bytes
330 * @nlh: netlink message header
331 * @remaining: number of bytes remaining in message stream
341 * nlmsg_next - next netlink message in message stream
342 * @nlh: netlink message header
343 * @remaining: number of bytes remaining in message stream
345 * Returns the next netlink message in the message stream and
346 * decrements remaining by the size of the current message.
359 * nlmsg_parse - parse attributes of a netlink message
360 * @nlh: netlink message header
380 * nlmsg_find_attr - find a specific attribute in a netlink message
381 * @nlh: netlink message header
395 * nlmsg_validate - validate a netlink message including attributes
396 * @nlh: netlinket message header
414 * @nlh: netlink message header
426 * @nlh: netlink message header
435 * nlmsg_put - Add a new netlink message to an skb
436 * @skb: socket buffer to store message in
438 * @seq: sequence number of message
439 * @type: message type
440 * @payload: length of message payload
441 * @flags: message flags
444 * the message header and payload.
456 * nlmsg_put_answer - Add a new callback based netlink message to an skb
457 * @skb: socket buffer to store message in
459 * @type: message type
460 * @payload: length of message payload
461 * @flags: message flags
464 * the message header and payload.
476 * nlmsg_new - Allocate a new netlink message
477 * @payload: size of the message payload
489 * nlmsg_end - Finalize a netlink message
490 * @skb: socket buffer the message is stored in
491 * @nlh: netlink message header
493 * Corrects the netlink message header to include the appeneded
495 * the message.
503 * nlmsg_get_pos - return current position in netlink message
504 * @skb: socket buffer the message is stored in
506 * Returns a pointer to the current tail of the message.
514 * nlmsg_trim - Trim message to a mark
515 * @skb: socket buffer the message is stored in
518 * Trims the message to the provided mark.
529 * nlmsg_cancel - Cancel construction of a netlink message
530 * @skb: socket buffer the message is stored in
531 * @nlh: netlink message header
533 * Removes the complete netlink message including all
542 * nlmsg_free - free a netlink message
543 * @skb: socket buffer of netlink message
551 * nlmsg_multicast - multicast a netlink message
553 * @skb: netlink message as socket buffer
573 * nlmsg_unicast - unicast a netlink message
574 * @sk: netlink socket to spread message to
575 * @skb: netlink message as socket buffer
591 * @pos: loop counter, set to current message
592 * @head: head of message stream
593 * @len: length of message stream
604 * @nlh: netlink message header to write the flag to
607 * and if it did, advertises it in the netlink message header.
611 * each message that is generated.
1186 * @skb: socket buffer the message is stored in
H A Dgue.h23 * C bit indicates contol message when set, data message when unset.
24 * For a control message, proto/ctype is interpreted as a type of
25 * control message. For data messages, proto/ctype is the IP protocol
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Dos.h13 /* KERN: message identifiers */
17 /* MEMX: message identifiers */
34 /* I2C_: message identifiers */
/linux-4.1.27/drivers/s390/net/
H A Dsmsgiucv.h2 * IUCV special message driver
/linux-4.1.27/drivers/usb/core/
H A DMakefile5 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
/linux-4.1.27/include/rdma/
H A Drdma_netlink.h36 * Put a new message in a supplied skb.
38 * @nlh: Pointer to put the header of the new netlink message.
39 * @seq: The message sequence number.
40 * @len: The requested message length to allocate.
42 * @op: message content op.
50 * @nlh: Header of the netlink message to append the attribute to.
62 * @nlh: Header of the netlink message to send
72 * @nlh: Header of the netlink message to send
H A Dib_cm.h420 * ib_send_cm_rtu - Sends a connection ready to use message in response
421 * to a connection reply message.
424 * ready to use message.
437 * disconnection request message.
449 * disconnection reply message.
453 * to the timewait state, even if an error occurs sending the DREP message.
468 * IB_EVENT_COMM_EST - Used when a message is received on a connected
476 * ib_send_cm_rej - Sends a connection rejection message to the
484 * rejection message.
497 * ib_send_cm_mra - Sends a message receipt acknowledgement to a connection
498 * message.
499 * @cm_id: Connection identifier associated with the connection message.
501 * the sender to reply to the connection message. The upper 3-bits
504 * message receipt acknowledgement.
515 * message.
519 * load alternate path message.
548 * ib_send_cm_apr - Sends an alternate path response message in response to
556 * alternate path response message.
H A Diw_portmap.h127 * @cb: Contains the received message (payload and netlink header)
138 * @cb: Contains the received message (payload and netlink header)
146 * @cb: Contains the received message (payload and netlink header)
154 * @cb: Contains the received message (payload and netlink header)
164 * @cb: Contains the received message (payload and netlink header)
172 * @cb: Contains the received message (payload and netlink header)
183 * @cb: Contains the received message (payload and netlink header)
/linux-4.1.27/arch/m68k/include/asm/
H A Dmac_iop.h45 #define IOP_MSG_NEW 1 /* new message sent */
46 #define IOP_MSG_RCVD 2 /* message received; processing */
47 #define IOP_MSG_COMPLETE 3 /* message processing complete */
49 /* IOP message status codes */
51 #define IOP_MSGSTATUS_UNUSED 0 /* Unusued message structure */
53 #define IOP_MSGSTATUS_SENT 2 /* message sent, awaiting reply */
54 #define IOP_MSGSTATUS_COMPLETE 3 /* message complete and reply rcvd */
55 #define IOP_MSGSTATUS_UNSOL 6 /* message is unsolicited */
139 struct iop_msg *next; /* next message in queue or NULL */
143 int status; /* status of this message */
144 __u8 message[IOP_MSG_LEN]; /* the message being sent/received */ member in struct:iop_msg
145 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */
/linux-4.1.27/drivers/misc/ibmasm/
H A Ddot_command.c28 * Dispatch an incoming message to the specific handler for the message.
31 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) ibmasm_receive_message() argument
34 struct dot_command_header *header = (struct dot_command_header *)message; ibmasm_receive_message()
39 size = get_dot_command_size(message); ibmasm_receive_message()
48 ibmasm_receive_event(sp, message, size); ibmasm_receive_message()
51 ibmasm_receive_command_response(sp, message, size); ibmasm_receive_message()
54 ibmasm_receive_heartbeat(sp, message, size); ibmasm_receive_message()
57 dev_err(sp->dev, "Received unknown message from service processor\n"); ibmasm_receive_message()
H A Dlowlevel.c37 struct i2o_message *message; ibmasm_send_i2o_message() local
47 message = get_i2o_message(sp->base_address, mfa); ibmasm_send_i2o_message()
49 memcpy_toio(&message->header, &header, sizeof(struct i2o_header)); ibmasm_send_i2o_message()
50 memcpy_toio(&message->data, command->buffer, command_size); ibmasm_send_i2o_message()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddigitv.h13 * Always 7 bytes bulk message(s) for controlling
19 * write or first message of a read:
22 * second message of a read
H A Dttusb2.h20 * out message:
23 * in message (complete block is always 0x40 bytes long)
/linux-4.1.27/scripts/kconfig/
H A Dkxgettext.c83 struct message { struct
86 struct message *next;
90 static struct message *message__list;
92 static struct message *message__new(const char *msg, char *option, message__new()
95 struct message *self = malloc(sizeof(*self)); message__new()
120 static struct message *mesage__find(const char *msg) mesage__find()
122 struct message *m = message__list; mesage__find()
133 static int message__add_file_line(struct message *self, const char *file, message__add_file_line()
155 struct message *m = mesage__find(escaped); message__add()
189 static void message__print_file_lineno(struct message *self) message__print_file_lineno()
208 static void message__print_gettext_msgid_msgstr(struct message *self) message__print_gettext_msgid_msgstr()
218 struct message *m = message__list; menu__xgettext()
/linux-4.1.27/tools/testing/selftests/ipc/
H A Dmsgque.c82 struct msg1 message; check_and_destroy_queue() local
86 ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE, check_and_destroy_queue()
91 printf("Failed to read IPC message: %m\n"); check_and_destroy_queue()
96 printf("Wrong message size: %d (expected %d)\n", ret, check_and_destroy_queue()
101 if (message.mtype != msgque->messages[cnt].mtype) { check_and_destroy_queue()
102 printf("Wrong message type\n"); check_and_destroy_queue()
106 if (memcmp(message.mtext, msgque->messages[cnt].mtext, ret)) { check_and_destroy_queue()
107 printf("Wrong message content\n"); check_and_destroy_queue()
115 printf("Wrong message number\n"); check_and_destroy_queue()
163 printf("Failed to copy IPC message: %m (%d)\n", errno); dump_queue()
179 printf("First message send failed (%m)\n"); fill_msgque()
187 printf("Second message send failed (%m)\n"); fill_msgque()
/linux-4.1.27/include/linux/ceph/
H A Dmsgr.h5 * Data types for message passing layer used by Ceph.
74 /* used by message exchange protocol */
84 #define CEPH_MSGR_TAG_MSG 7 /* message */
85 #define CEPH_MSGR_TAG_ACK 8 /* message ack */
121 * message header
124 __le64 seq; /* message seq# for this session */
126 __le16 type; /* message type */
128 __le16 version; /* version of message encoding */
142 __le64 seq; /* message seq# for this session */
144 __le16 type; /* message type */
146 __le16 version; /* version of message encoding */
175 // sig holds the 64 bits of the digital signature for the message PLR
H A Dmessenger.h25 /* handle an incoming message. */
38 /* a remote host as terminated a message exchange session, and messages
74 CEPH_MSG_DATA_NONE, /* message contains no data payload */
144 * a single message. it contains a header (src, dest, message type, etc.),
145 * footer (crc values, mainly), a "front" message body, and possibly a
154 struct kvec front; /* unaligned blobs of message */
198 const char *error_msg; /* error message, if any */
216 u64 out_seq; /* last message queued for send */
218 u64 in_seq, in_seq_acked; /* last message received, acked */
226 /* message out temps */
228 struct ceph_msg *out_msg; /* sending message (== tail of
240 /* message in temps */
H A Dmsgpool.h14 int type; /* preallocated message type */
/linux-4.1.27/include/linux/
H A Dmsg.h7 /* one msg_msg structure for each message */
11 size_t m_ts; /* message text size */
14 /* the actual message follows immediately */
H A Dhtirq.h5 u32 address_lo; /* low 32 bits of the ht irq message */
6 u32 address_hi; /* high 32 bits of the it irq message */
H A Dpim.h16 /* PIMv2 register message header layout (ietf-draft-idmr-pimvsm-v2-00.ps */
H A Drpmsg.h53 * @flags: message flags
54 * @data: @len bytes of message payload data
56 * Every message sent(/received) on the rpmsg bus begins with this header.
68 * struct rpmsg_ns_msg - dynamic name service announcement message
73 * This message is sent across to publish a new service, or announce
160 * @callback: invoked when an inbound message is received on the channel
181 * rpmsg_send() - send a message across to the remote processor
183 * @data: payload of message
187 * The message will be sent to the remote processor which the @rpdev
205 * rpmsg_sendto() - send a message across to the remote processor, specify dst
207 * @data: payload of message
212 * The message will be sent to the remote processor which the @rpdev
231 * rpmsg_send_offchannel() - send a message using explicit src/dst addresses
235 * @data: payload of message
240 * The message will be sent to the remote processor which the @rpdev
258 * rpmsg_send() - send a message across to the remote processor
260 * @data: payload of message
264 * The message will be sent to the remote processor which the @rpdev
282 * rpmsg_sendto() - send a message across to the remote processor, specify dst
284 * @data: payload of message
289 * The message will be sent to the remote processor which the @rpdev
307 * rpmsg_send_offchannel() - send a message using explicit src/dst addresses
311 * @data: payload of message
316 * The message will be sent to the remote processor which the @rpdev
H A Dipmi_smi.h45 drivers to bind into the IPMI message handler. */
58 * get message or get event command that the interface initiated.
75 /* Will be called when the system is done with the message
97 /* Called to enqueue an SMI message to be sent. This
99 should report back the error in a received message. It may
102 a time by the message handler, a new message will not be
103 delivered until the previous message is returned. */
131 setting. The message handler does the mode handling. Note
137 message handler get the modules that this handler belongs
224 * The data_size should be zero if this is an asynchronous message. If
225 * the lower layer gets an error sending a message, it should format
226 * an error response in the message response.
H A Dipmi.h45 /* Opaque type for a IPMI message user. One of these is needed to
52 * ipmi_free_recv_msg() when done with the message. The link is not
53 * used after the message is delivered, so the upper layer may use the
59 /* The type of message as defined in the "Receive Types"
68 /* The user_msg_data is the data supplied when a message was
69 sent, if this is a response to a sent message. If this is
70 not a response to a sent message, then user_msg_data will
75 /* Call this when done with the message. It will presumably free
76 the message and do any other necessary cleanup. */
84 /* Allocate and free the receive message. */
88 /* Routine type to call when a message needs to be routed to
141 * the retry time. The retries is the number of times the message
227 * without change, assuming it sends a message every 30 seconds or
H A Dptp_classify.h29 #define PTP_CLASS_NONE 0x00 /* not a PTP event message */
47 #define PTP_GEN_BIT 0x08 /* indicates general message, if set in message type */
H A Drio_drv.h238 * rio_send_doorbell - Send a doorbell message to a device
240 * @data: Doorbell message data
242 * Send a doorbell message to a RIO device. The doorbell message
305 * rio_add_outb_message - Add RIO message to an outbound mailbox queue
307 * @rdev: RIO device the message is be sent to
309 * @buffer: Pointer to the message buffer
310 * @len: Length of the message buffer
312 * Adds a RIO message buffer to an outbound mailbox queue for
331 * @buffer: Pointer to the message buffer
343 * rio_get_inb_message - Get A RIO message from an inbound mailbox queue
347 * Get a RIO message from an inbound mailbox queue. Returns 0 on success.
H A Dblktrace_api.h40 * blk_add_trace_msg - Add a (simple) message to the blktrace stream
42 * @fmt: format to print message in
46 * Records a (simple) message onto the blktrace stream.
/linux-4.1.27/net/wimax/
H A Dop-msg.c34 * A destination "pipe name" is added to each message; it is up to the
41 * The maximum capacity of this transport is PAGESIZE per message (so
47 * When a message is received from user space, it is passed verbatim
59 * If the message delivery needs to happen on a different context to
61 * pointer to the message that can be delivered later on with
66 * wimax_gnl_doit_msg_from_user() Process a message from user space
68 * wimax_dev->op_msg_from_user() Delivery of message to the driver
70 * wimax_msg() Send a message to user space
89 * wimax_msg_alloc - Create a new skb for sending a message to userspace
92 * @pipe_name: "named pipe" the message will be sent to
93 * @msg: pointer to the message data to send
94 * @size: size of the message to send (in bytes), including the header.
101 * Allocates an skb that will contain the message to send to user
112 * beginning of the user message.
141 dev_err(dev, "no memory to create generic netlink message\n"); wimax_msg_alloc()
177 * wimax_msg_data_len - Return a pointer and size of a message's payload
179 * @msg: Pointer to a message created with wimax_msg_alloc()
180 * @size: Pointer to where to store the message's size
182 * Returns the pointer to the message data.
202 * wimax_msg_data - Return a pointer to a message's payload
204 * @msg: Pointer to a message created with wimax_msg_alloc()
223 * wimax_msg_len - Return a message's payload length
225 * @msg: Pointer to a message created with wimax_msg_alloc()
244 * wimax_msg_send - Send a pre-allocated message to user space
255 * Sends a free-form message that was preallocated with
265 * beginning of the user message.
290 * wimax_msg - Send a message to user space
293 * @pipe_name: "named pipe" the message will be sent to
294 * @buf: pointer to the message to send.
302 * Sends a free-form message to user space on the device @wimax_dev.
325 * Relays a message from user space to the driver
330 * This call will block while handling/relaying the message.
391 d_printf(1, dev, "CRX: wimax message %zu bytes\n", msg_len); wimax_gnl_doit_msg_from_user()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c35 * ixgbe_read_mbx - Reads a message from the mailbox
37 * @msg: The message buffer
41 * returns SUCCESS if it successfully read message from buffer
58 * ixgbe_write_mbx - Write a message to the mailbox
60 * @msg: The message buffer
64 * returns SUCCESS if it successfully copied message into the buffer
131 * ixgbe_poll_for_msg - Wait for message notification
135 * returns SUCCESS if it successfully received a message notification
156 * ixgbe_poll_for_ack - Wait for message acknowledgement
160 * returns SUCCESS if it successfully received a message acknowledgement
181 * ixgbe_read_posted_mbx - Wait for message notification and receive message
183 * @msg: The message buffer
187 * returns SUCCESS if it successfully received a message notification and
203 /* if ack received read message */ ixgbe_read_posted_mbx()
208 * ixgbe_write_posted_mbx - Write a message to the mailbox, wait for ack
210 * @msg: The message buffer
214 * returns SUCCESS if it successfully copied message into the buffer and
215 * received an ack to that message within delay * timeout period
348 * ixgbe_write_mbx_pf - Places a message in the mailbox
350 * @msg: The message buffer
354 * returns SUCCESS if it successfully copied message into the buffer
367 /* flush msg and acks as we are overwriting the message buffer */ ixgbe_write_mbx_pf()
371 /* copy the caller specified message to the mailbox memory buffer */ ixgbe_write_mbx_pf()
375 /* Interrupt VF to tell it a message has been sent and release buffer*/ ixgbe_write_mbx_pf()
385 * ixgbe_read_mbx_pf - Read a message from the mailbox
387 * @msg: The message buffer
391 * This function copies a message from the mailbox buffer to the caller's
393 * a message due to a VF request so no polling for message is needed.
406 /* copy the message to the mailbox memory buffer */ ixgbe_read_mbx_pf()
410 /* Acknowledge the message and release buffer */ ixgbe_read_mbx_pf()
H A Dixgbe_mbx.h40 #define IXGBE_PFMAILBOX_STS 0x00000001 /* Initiate message send to VF */
41 #define IXGBE_PFMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */
47 #define IXGBE_MBVFICR_VFREQ_VF1 0x00000001 /* bit for VF 1 message */
105 /* length of permanent address message returned from PF */
107 /* word in permanent address message with the current multicast type */
110 #define IXGBE_PF_CONTROL_MSG 0x0100 /* PF control message */
/linux-4.1.27/arch/tile/kernel/
H A Dmessaging.c49 int message[HV_MAX_MESSAGE_SIZE/sizeof(int)]; hv_message_intr() local
71 rmi = hv_receive_message(*state, (HV_VirtAddr) message, hv_message_intr()
72 sizeof(message)); hv_message_intr()
87 tag = message[0]; hv_message_intr()
89 evaluate_message(message[0]); hv_message_intr()
91 panic("Received IPI message %d in UP mode", tag); hv_message_intr()
94 HV_IntrMsg *him = (HV_IntrMsg *)message; hv_message_intr()
103 * We shouldn't have gotten a message downcall with no hv_message_intr()
/linux-4.1.27/include/linux/mfd/
H A Dipaq-micro.h37 STATE_ID, /* Next byte is ID & message length */
44 * @len: length of message in TX buffer
58 * @id: message ID from packet
73 * struct ipaq_micro_msg - message to the iPAQ microcontroller
74 * @id: 4-bit ID of the message
80 * @node: list node if message gets queued
101 * @msg: current message
102 * @queue: message queue
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dmbx.c31 * ixgbevf_poll_for_msg - Wait for message notification
34 * returns 0 if it successfully received a message notification
54 * ixgbevf_poll_for_ack - Wait for message acknowledgment
57 * returns 0 if it successfully received a message acknowledgment
77 * ixgbevf_read_posted_mbx - Wait for message notification and receive message
79 * @msg: The message buffer
82 * returns 0 if it successfully received a message notification and
95 /* if ack received read message, otherwise we timed out */ ixgbevf_read_posted_mbx()
103 * ixgbevf_write_posted_mbx - Write a message to the mailbox, wait for ack
105 * @msg: The message buffer
108 * returns 0 if it successfully copied message into the buffer and
109 * received an ack to that message within delay * timeout period
244 * ixgbevf_write_mbx_vf - Write a message to the mailbox
246 * @msg: The message buffer
249 * returns 0 if it successfully copied message into the buffer
261 /* flush msg and acks as we are overwriting the message buffer */ ixgbevf_write_mbx_vf()
265 /* copy the caller specified message to the mailbox memory buffer */ ixgbevf_write_mbx_vf()
272 /* Drop VFU and interrupt the PF to tell it a message has been sent */ ixgbevf_write_mbx_vf()
280 * ixgbevf_read_mbx_vf - Reads a message from the inbox intended for VF
282 * @msg: The message buffer
285 * returns 0 if it successfully read message from buffer
297 /* copy the message from the mailbox memory buffer */ ixgbevf_read_mbx_vf()
H A Dmbx.h40 #define IXGBE_VFMAILBOX_ACK 0x00000002 /* Ack PF message received */
43 #define IXGBE_VFMAILBOX_PFSTS 0x00000010 /* PF wrote a message in the MB */
52 #define IXGBE_PFMAILBOX_STS 0x00000001 /* Initiate message send to VF */
53 #define IXGBE_PFMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */
59 #define IXGBE_MBVFICR_VFREQ_VF1 0x00000001 /* bit for VF 1 message */
115 /* length of permanent address message returned from PF */
117 /* word in permanent address message with the current multicast type */
120 #define IXGBE_PF_CONTROL_MSG 0x0100 /* PF control message */
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c27 * igb_read_mbx - Reads a message from the mailbox
29 * @msg: The message buffer
33 * returns SUCCESS if it successfully read message from buffer
51 * igb_write_mbx - Write a message to the mailbox
53 * @msg: The message buffer
57 * returns SUCCESS if it successfully copied message into the buffer
128 * igb_poll_for_msg - Wait for message notification
132 * returns SUCCESS if it successfully received a message notification
157 * igb_poll_for_ack - Wait for message acknowledgement
161 * returns SUCCESS if it successfully received a message acknowledgement
186 * igb_read_posted_mbx - Wait for message notification and receive message
188 * @msg: The message buffer
192 * returns SUCCESS if it successfully received a message notification and
213 * igb_write_posted_mbx - Write a message to the mailbox, wait for ack
215 * @msg: The message buffer
219 * returns SUCCESS if it successfully copied message into the buffer and
220 * received an ack to that message within delay * timeout period
338 * igb_write_mbx_pf - Places a message in the mailbox
340 * @msg: The message buffer
344 * returns SUCCESS if it successfully copied message into the buffer
357 /* flush msg and acks as we are overwriting the message buffer */ igb_write_mbx_pf()
361 /* copy the caller specified message to the mailbox memory buffer */ igb_write_mbx_pf()
365 /* Interrupt VF to tell it a message has been sent and release buffer*/ igb_write_mbx_pf()
377 * igb_read_mbx_pf - Read a message from the mailbox
379 * @msg: The message buffer
383 * This function copies a message from the mailbox buffer to the caller's
385 * a message due to a VF request so no polling for message is needed.
398 /* copy the message to the mailbox memory buffer */ igb_read_mbx_pf()
402 /* Acknowledge the message and release buffer */ igb_read_mbx_pf()
H A De1000_mbx.h29 #define E1000_P2VMAILBOX_STS 0x00000001 /* Initiate message send to VF */
30 #define E1000_P2VMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */
36 #define E1000_MBVFICR_VFREQ_VF1 0x00000001 /* bit for VF 1 message */
64 #define E1000_PF_CONTROL_MSG 0x0100 /* PF control message */
/linux-4.1.27/drivers/input/misc/
H A Dkeyspan_remote.c155 * Somehow we've missed the last message. The message will be repeated keyspan_load_tester()
185 * Routine that handles all the logic needed to parse out the message from the remote.
191 struct keyspan_message message; keyspan_check_data() local
196 * In stage 0 we want to find the start of a message. The remote sends a 0xFF as filler. keyspan_check_data()
197 * So the first byte that isn't a FF should be the start of a new message. keyspan_check_data()
250 * message. We need to parse out the system code, button code, keyspan_check_data()
256 message.system = 0; keyspan_check_data()
261 message.system = message.system << 1; keyspan_check_data()
265 message.system = (message.system << 1) + 1; keyspan_check_data()
277 message.button = 0; keyspan_check_data()
282 message.button = message.button << 1; keyspan_check_data()
286 message.button = (message.button << 1) + 1; keyspan_check_data()
300 message.toggle = 0; keyspan_check_data()
304 message.toggle = 1; keyspan_check_data()
309 "%s - Error in message, invalid toggle.\n", keyspan_check_data()
321 "Bad message received, no stop bit found.\n"); keyspan_check_data()
325 "%s found valid message: system: %d, button: %d, toggle: %d\n", keyspan_check_data()
326 __func__, message.system, message.button, message.toggle); keyspan_check_data()
328 if (message.toggle != remote->toggle) { keyspan_check_data()
329 keyspan_report_button(remote, message.button, 1); keyspan_check_data()
330 keyspan_report_button(remote, message.button, 0); keyspan_check_data()
331 remote->toggle = message.toggle; keyspan_check_data()
375 * Routine used to handle a new message that has come in.
472 remote->toggle = -1; /* Set to -1 so we will always not match the toggle from the first remote message. */ keyspan_probe()
H A Dad714x-spi.c35 struct spi_message message; ad714x_spi_read() local
40 spi_message_init(&message); ad714x_spi_read()
47 spi_message_add_tail(&xfer[0], &message); ad714x_spi_read()
51 spi_message_add_tail(&xfer[1], &message); ad714x_spi_read()
53 error = spi_sync(spi, &message); ad714x_spi_read()
/linux-4.1.27/drivers/infiniband/core/
H A Diwpm_util.h95 * iwpm_get_nlmsg_request - Allocate and initialize netlink message request
96 * @nlmsg_seq: Sequence number of the netlink message
107 * iwpm_free_nlmsg_request - Deallocate netlink message request
108 * @kref: Holds reference of netlink message request
113 * iwpm_find_nlmsg_request - Find netlink message request in the request list
116 * Returns the found netlink message request,
123 * @nlmsg_request: Netlink message request to service
132 * message to send to the port mapper
134 * Returns the sequence number for the netlink message.
205 * @nltb: Holds address of each netlink message attributes
206 * @nla_count: Number of netlink message attributes
222 * iwpm_create_nlmsg - Allocate skb and form a netlink message
223 * @nl_op: Netlink message opcode
224 * @nlh: Holds address of the netlink message header in skb
228 * is insufficient to store the message header and payload
234 * iwpm_parse_nlmsg - Validate and parse the received netlink message
239 * @msg_type: Type of netlink message
/linux-4.1.27/drivers/staging/nvec/
H A Dnvec.h36 * A message must store up to a SMBus block operation which consists of
43 * enum nvec_event_size - The size of an event message
44 * @NVEC_2BYTES: The message has one command byte and one data byte
45 * @NVEC_3BYTES: The message has one command byte and two data bytes
46 * @NVEC_VAR_SIZE: The message has one command byte, one count byte, and has
50 * Events can be fixed or variable sized. This is useless on other message
60 * enum nvec_msg_type - The type of a message
69 * Events can be fixed or variable sized. This is useless on other message
86 * struct nvec_msg - A buffer for a single message
88 * @data: The data of the message
92 * @used: Used for the message pool to mark a message as free/allocated.
123 * @rx: The message currently being retrieved or %NULL
125 * @tx: The message currently being transferred
127 * @ec_transfer: A completion that will be completed once a message has been
132 * @sync_write: A completion to signal that a synchronous message is complete
134 * @last_sync_msg: The last synchronous message.
H A Dnvec.c64 * @NVEC_MSG_RX: The message is an incoming message (from EC)
65 * @NVEC_MSG_TX: The message is an outgoing message (to EC)
138 * Prints a message about control events not handled in the notifier
163 * Allocate a single &struct nvec_msg object from the message pool of
169 * situation where all buffers are full and a message is thus endlessly
193 * @msg: A message (must be allocated by nvec_msg_alloc() and belong to @nvec)
195 * Free the given message
207 * @msg: A message
215 * nvec_msg_size - Get the size of a message
216 * @msg: The message to get the size for
250 * nvec_write_async - Asynchronously write a message to NVEC
252 * @data: The message data, starting with the request type
255 * Queue a single message to be transferred to the embedded controller
287 * nvec_write_sync - Write a message to nvec and read the response
297 * Returns: A pointer to the response message on success,
409 * parse_msg - Print some information and call the notifiers on an RX message
411 * @msg: A message received by @nvec
413 * Paarse some pieces of the message and then call the chain of notifiers
526 * nvec_invalid_flags - Send an error message about invalid flags and jump
541 * nvec_tx_set - Set the message to transfer (nvec->tx)
546 * tx_scratch message to send a no operation message.
565 dev_dbg(nvec->dev, "Sending message of length %u, command 0x%x\n", nvec_tx_set()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c30 * e1000_poll_for_msg - Wait for message notification
33 * returns SUCCESS if it successfully received a message notification
56 * e1000_poll_for_ack - Wait for message acknowledgment
59 * returns SUCCESS if it successfully received a message acknowledgment
82 * e1000_read_posted_mbx - Wait for message notification and receive message
84 * @msg: The message buffer
87 * returns SUCCESS if it successfully received a message notification and
100 /* if ack received read message, otherwise we timed out */ e1000_read_posted_mbx()
108 * e1000_write_posted_mbx - Write a message to the mailbox, wait for ack
110 * @msg: The message buffer
113 * returns SUCCESS if it successfully copied message into the buffer and
114 * received an ack to that message within delay * timeout period
249 * e1000_write_mbx_vf - Write a message to the mailbox
251 * @msg: The message buffer
254 * returns SUCCESS if it successfully copied message into the buffer
270 /* copy the caller specified message to the mailbox memory buffer */ e1000_write_mbx_vf()
277 /* Drop VFU and interrupt the PF to tell it a message has been sent */ e1000_write_mbx_vf()
285 * e1000_read_mbx_vf - Reads a message from the inbox intended for VF
287 * @msg: The message buffer
290 * returns SUCCESS if it successfully read message from buffer
302 /* copy the message from the mailbox memory buffer */ e1000_read_mbx_vf()
H A Dmbx.h33 #define E1000_V2PMAILBOX_ACK 0x00000002 /* Ack PF message received */
36 #define E1000_V2PMAILBOX_PFSTS 0x00000010 /* PF wrote a message in the MB */
69 #define E1000_PF_CONTROL_MSG 0x0100 /* PF control message */
/linux-4.1.27/include/crypto/
H A Dhash.h23 * These data structures define modular message digest algorithm
30 * struct hash_alg_common - define properties of message digest
67 * struct ahash_alg - asynchronous message digest definition
76 * final message digest as this only adds more data into the
105 * is only needed for keyed message digests. SHAx/MDx/CRCx do NOT
150 * struct shash_alg - synchronous message digest definition
161 * @descsize: Size of the operational state for the message digest. This state
214 * The asynchronous message digest API is used with the ciphers of type
276 * crypto_ahash_digestsize() - obtain message digest size
279 * The size for the message digest created by the message digest cipher
283 * Return: message digest size of cipher
366 * crypto_ahash_finup() - update and finalize message digest
374 * Return: 0 if the message digest creation was successful; < 0 if an error
380 * crypto_ahash_final() - calculate message digest
384 * Finalize the message digest operation and create the message digest
385 * based on all data added to the cipher handle. The message digest is placed
388 * Return: 0 if the message digest creation was successful; < 0 if an error
394 * crypto_ahash_digest() - calculate message digest for a buffer
402 * Return: 0 if the message digest creation was successful; < 0 if an error
408 * crypto_ahash_export() - extract current message digest state
424 * crypto_ahash_import() - import message digest state
440 * crypto_ahash_init() - (re)initialize message digest handle
444 * The call (re-)initializes the message digest referenced by the ahash_request
448 * Return: 0 if the message digest initialization was successful; < 0 if an
457 * crypto_ahash_update() - add data to message digest for processing
461 * Updates the message digest state of the &ahash_request handle. The input data
465 * Return: 0 if the message digest update was successful; < 0 if an error
479 * to plaintext and the message digest output buffer, asynchronous callback
504 * message digest API calls. During
579 * @result: buffer that is filled with the message digest -- the caller must
585 * The source scatter/gather list points to the data the message digest is to
600 * The synchronous message digest API is used with the ciphers of type
603 * The message digest API is able to maintain state information for the
606 * The synchronous message digest API can store user-related context in in its
611 * crypto_alloc_shash() - allocate message digest handle
613 * message digest cipher
617 * Allocate a cipher handle for a message digest. The returned &struct
619 * API invocation for that message digest.
633 * crypto_free_shash() - zeroize and free the message digest handle
651 * The block size for the message digest cipher referenced with the cipher
672 * crypto_shash_digestsize() - obtain message digest size
675 * The size for the message digest created by the message digest cipher
731 * crypto_shash_setkey() - set key for message digest
736 * The caller provided key is set for the keyed message digest cipher. The
737 * cipher handle must point to a keyed message digest cipher in order for this
746 * crypto_shash_digest() - calculate message digest for buffer
756 * Return: 0 if the message digest creation was successful; < 0 if an error
763 * crypto_shash_export() - extract operational state for message digest
795 * crypto_shash_init() - (re)initialize message digest
798 * The call (re-)initializes the message digest referenced by the
802 * Return: 0 if the message digest initialization was successful; < 0 if an
811 * crypto_shash_update() - add data to message digest for processing
813 * @data: input data to be added to the message digest
816 * Updates the message digest state of the operational state handle.
818 * Return: 0 if the message digest update was successful; < 0 if an error
825 * crypto_shash_final() - calculate message digest
827 * @out: output buffer filled with the message digest
829 * Finalize the message digest operation and create the message digest
830 * based on all data added to the cipher handle. The message digest is placed
834 * Return: 0 if the message digest creation was successful; < 0 if an error
840 * crypto_shash_finup() - calculate message digest of buffer
850 * Return: 0 if the message digest creation was successful; < 0 if an error
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dtx.c81 * - A TX message: a combination of a message header, payload
87 * Closed: we are not appending more payloads to this TX message
89 * whichever). We have appended padding so the whole message
93 * - Most of the time we keep a TX message open to which we append
97 * the end of the FIFO), we close the message, mark the rest of the
98 * FIFO space unusable (skip_tail), create a new message at the
99 * beginning of the FIFO (if there is space) and append the message
103 * engine. So we don't write a message to the remaining FIFO space
106 * - We overload one of the fields in the message header to use it as
107 * 'size' of the TX message, so we can iterate over them. It also
135 * - The whole message has to be padded to i2400m->bus_tx_block_size;
140 * When we append a message, we tell the bus specific code to kick in
142 * the lockin we do. The TX code will only send a TX message at the
144 * course, when the bus-specific driver attempts to TX a message that
148 * partially full FIFO, with a closed message ready to be delivered
149 * (with a moved message header to make sure it is size-aligned to
150 * 16), TAIL room that was unusable (and thus is marked with a message
152 * incomplete message with a couple of payloads.
162 * | TX message padding | |
186 * | msg_hdr (size X) [this message is closed] | \|/
219 * | msg_hdr (size X) \|/ [message is open] |
230 * i2400m_tx_new() Opens a new message in the FIFO
231 * i2400m_tx_fits() Checks if a new payload fits in the message
232 * i2400m_tx_close() Closes an open message in the FIFO
240 * i2400m_tx_msg_get() Gets first message ready to go
242 * i2400m_tx_msg_sent() Ack the message is sent; repeat from
278 * documents, the maximum number of payloads per message can be
279 * up to 60. Increasing the number of payloads to 60 per message
288 * documents, the maximum size of each message can be up to 16KiB.
414 * i2400m_tx() calls i2400m_tx_close() to close the message, since there
417 * i2400m_tx_new() to allocate space for new message header calling
419 * to accommodate the message header, but there is enough head space.
452 * If the tail room space is not enough to push the message i2400m_tx_fifo_push()
455 * this message in the TX FIFO. i2400m_tx_fifo_push()
457 * in tail room of the TX FIFO to accommodate the message. i2400m_tx_fifo_push()
459 * can figure out, if the caller wants to push the message i2400m_tx_fifo_push()
462 * cannot accommodate the message. i2400m_tx_fifo_push()
490 * Tail room can get to be zero if a message was opened when there was
523 * message (if there are still descriptors left unused).
526 * 0 if the message won't fit, 1 if it will.
530 * Assumes a TX message is active (i2400m->tx_msg).
544 * Start a new TX message header in the queue.
547 * the message header.
549 * We allocate the biggest TX message header we might need (one that'd
555 * Assumes that the previous message is CLOSED (eg: either
569 * accommodate the new message header I2400M_TX_PLD_SIZE, but i2400m_tx_new()
571 * Adding bus_tx_room_min padding while allocating a new TX message i2400m_tx_new()
582 d_printf(2, dev, "new TX message: tail full, trying head\n"); i2400m_tx_new()
590 d_printf(2, dev, "new TX message: %p @%zu\n", i2400m_tx_new()
596 * Finalize the current TX message header
598 * Sets the message header to be at the proper location depending on
602 * Appends padding bytes to make sure the whole TX message (counting
603 * from the 'relocated' message header) is aligned to
609 * TX message, as the "msg header and payload descriptors" will be
625 /* We can get this situation when a new message was started i2400m_tx_close()
632 /* Relocate the message header i2400m_tx_close()
640 * figure out where the next TX message starts (and where the i2400m_tx_close()
652 * message so the size is a multiple of i2400m->bus_tx_block_size. i2400m_tx_close()
694 * room for the message in the queue).
704 * Whenever we write to a message, we increase msg->size, so it
705 * reflects exactly how big the message is. This is needed so that if
731 /* If there is no current TX message, create one; if the i2400m_tx()
745 d_printf(2, dev, "closing TX message (fits %u singleton " i2400m_tx()
755 * TX message. The total message size must not exceed the maximum i2400m_tx()
756 * size of each message I2400M_TX_MSG_SIZE. If it exceeds, i2400m_tx()
757 * close the current message and push this skb into the new message. i2400m_tx()
760 d_printf(2, dev, "TX: message too big, going new\n"); i2400m_tx()
766 /* So we have a current message header; now append space for i2400m_tx()
767 * the message -- if there is not enough, try the head */ i2400m_tx()
814 * i2400m_tx_msg_get - Get the first TX message in the FIFO to start sending it
817 * @bus_size: where to place the size of the TX message
819 * Called by the bus-specific driver to get the first TX message at
823 * transferring that message (i2400m->tx_msg_size).
829 * The size of the TX message to be transmitted might be smaller than
830 * that of the TX message in the FIFO (in case the header was
832 * use. We keep the message's size in i2400m->tx_msg_size so that
887 /* Now we have a valid TX message (with payloads) to TX */ i2400m_tx_msg_get()
921 * i2400m_tx_msg_sent - indicate the transmission of a TX message
925 * Called by the bus-specific driver when a message has been sent;
929 * Should be called even if the message send failed and we are
930 * dropping this TX message.
H A Dcontrol.c271 * i2400m_msg_check_status - translate a message's status code
274 * @l3l4_hdr: message header
275 * @strbuf: buffer to place a formatted error message (unless NULL).
280 * and a message in @strbuf describing the error.
471 * @l3l4_hdr: pointer to message; it has been already validated for
473 * @size: size of the message (header + payload). The header length
504 * @l3l4_hdr: pointer to message; it has been already validated for
506 * @size: size of the message (header + payload). The header length
521 /* Chew on the message, we might need some information from i2400m_report_hook()
554 * @l3l4_hdr: pointer to message; it has been already validated for
556 * @size: size of the message
572 /* Chew on the message, we might need some information from i2400m_msg_ack_hook()
593 * i2400m_msg_size_check() - verify message size and header are congruent
595 * It is ok if the total message size is larger than the expected
608 dev_err(dev, "bad size for message header " i2400m_msg_size_check()
616 dev_err(dev, "bad size for message code 0x%04x (expected %zu, " i2400m_msg_size_check()
655 * i2400m_msg_to_dev - Send a control message to the device and get a response
661 * @buf: pointer to the buffer containing the message to be sent; it
670 * Pointer to skb containing the ack message. You need to check the
674 * - the message wasn't formatted correctly
675 * - couldn't send the message
677 * - the ack message wasn't formatted correctly
688 * This function delivers a message/command to the device and waits
696 * The i2400m handles only one message at the same time, thus we need
699 * We write the message and then wait for an answer to come back. The
703 * stack message pipe. Acks are saved and passed back to us through an
738 * the message to the device */ i2400m_msg_to_dev()
746 dev_err(dev, "can't send message 0x%04x: %d\n", i2400m_msg_to_dev()
764 /* The RX path in rx.c will put any response for this message i2400m_msg_to_dev()
771 dev_err(dev, "timeout waiting for reply to message 0x%04x\n", i2400m_msg_to_dev()
777 dev_err(dev, "error waiting for reply to message 0x%04x: %d\n", i2400m_msg_to_dev()
803 dev_err(dev, "HW BUG? reply to message 0x%04x: %d\n", i2400m_msg_to_dev()
808 dev_err(dev, "HW BUG? bad reply 0x%04x to message 0x%04x\n", i2400m_msg_to_dev()
998 * Returns: 0 if ok, < 0 errno code an error and a message in the
1239 /* Send the message! */ i2400m_set_init_config()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dvendor.h29 * enum brcmf_nlattrs - nl80211 message attributes
31 * @BRCMF_NLATTR_LEN: message body length
32 * @BRCMF_NLATTR_DATA: message body
45 * struct brcmf_vndr_dcmd_hdr - message header for cfg80211 vendor command dcmd
/linux-4.1.27/net/rds/
H A DMakefile2 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
/linux-4.1.27/tools/hv/
H A Dhv_vss_daemon.c150 struct msghdr message; netlink_send() local
164 memset(&message, 0, sizeof(message)); netlink_send()
165 message.msg_name = &addr; netlink_send()
166 message.msg_namelen = sizeof(addr); netlink_send()
167 message.msg_iov = iov; netlink_send()
168 message.msg_iovlen = 2; netlink_send()
170 return sendmsg(fd, &message, 0); netlink_send()
185 struct cn_msg *message; main() local
254 message = (struct cn_msg *)vss_recv_buffer; main()
255 message->id.idx = CN_VSS_IDX; main()
256 message->id.val = CN_VSS_VAL; main()
257 message->ack = 0; main()
258 vss_msg = (struct hv_vss_msg *)message->data; main()
261 message->len = sizeof(struct hv_vss_msg); main()
263 len = netlink_send(fd, message); main()
/linux-4.1.27/drivers/scsi/
H A Dscsi_netlink.c37 * scsi_nl_rcv_msg - Receive message handler.
40 * Description: Extracts message from a receive buffer.
41 * Validates message header and calls appropriate transport message handler
86 printk(KERN_WARNING "%s: discarding partial message\n", scsi_nl_rcv_msg()
92 * Deliver message to the appropriate transport scsi_nl_rcv_msg()
98 /* Locate the driver that corresponds to the message */ scsi_nl_rcv_msg()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_rmu.c10 * - Added Port-Write message handling
199 * fsl_rio_tx_handler - MPC85xx outbound message interrupt handler
203 * Handles outbound message interrupts. Executes a register outbound
216 pr_info("RIO: outbound message transmission error\n"); fsl_rio_tx_handler()
222 pr_info("RIO: outbound message queue overflow\n"); fsl_rio_tx_handler()
235 /* Ack the end-of-message interrupt */ fsl_rio_tx_handler()
244 * fsl_rio_rx_handler - MPC85xx inbound message interrupt handler
248 * Handles inbound message interrupts. Executes a registered inbound
261 pr_info("RIO: inbound message reception error\n"); fsl_rio_rx_handler()
419 /* Save PW message (if there is room in FIFO), fsl_rio_port_write_handler()
491 /* Process one message */ fsl_pw_dpc()
506 /* Pass the port-write message to RIO core for processing */ fsl_pw_dpc()
514 * @enable: 1=enable; 0=disable port-write message handling
613 * fsl_rio_doorbell_send - Send a MPC85xx doorbell message
617 * @data: 16-bit info field of RapidIO doorbell message
619 * Sends a MPC85xx doorbell message. Returns %0 on success or
641 * fsl_add_outb_message - Add message to the MPC85xx outbound message queue
642 * @mport: Master port with outbound message queue
643 * @rdev: Target of outbound message
646 * @len: Length of message
648 * Adds the @buffer message to the MPC85xx outbound message queue. Returns
675 /* Set mbox field for message, and set destid */ fsl_add_outb_message()
702 * @mport: Master port implementing the outbound message unit
707 * Initializes buffer ring, request the outbound message interrupt,
708 * and enables the outbound message unit. Returns %0 on success and
746 /* Initialize outbound message descriptor ring */ fsl_open_outb_mbox()
768 /* Hook up outbound message handler */ fsl_open_outb_mbox()
775 * Configure outbound message unit fsl_open_outb_mbox()
810 * @mport: Master port implementing the outbound message unit
813 * Disables the outbound message unit, free all buffers, and
814 * frees the outbound message interrupt.
821 /* Disable inbound message unit */ fsl_close_outb_mbox()
835 * @mport: Master port implementing the inbound message unit
840 * Initializes buffer ring, request the inbound message interrupt,
841 * and enables the inbound message unit. Returns %0 on success
864 /* Initialize inbound message ring */ fsl_open_inb_mbox()
880 /* Hook up inbound message handler */ fsl_open_inb_mbox()
891 * Configure inbound message unit: fsl_open_inb_mbox()
893 * 4KB max message size fsl_open_inb_mbox()
911 * @mport: Master port implementing the inbound message unit
914 * Disables the inbound message unit, free all buffers, and
915 * frees the inbound message interrupt.
922 /* Disable inbound message unit */ fsl_close_inb_mbox()
934 * fsl_add_inb_buffer - Add buffer to the MPC85xx inbound message queue
935 * @mport: Master port implementing the inbound message unit
939 * Adds the @buf buffer to the MPC85xx inbound message queue. Returns
967 * fsl_get_inb_message - Fetch inbound message from the MPC85xx message unit
968 * @mport: Master port implementing the inbound message unit
971 * Gets the next available inbound message from the inbound message queue.
972 * A pointer to the message is returned on success or NULL on failure.
995 "RIO: inbound message copy failed, no buffers\n"); fsl_get_inb_message()
999 /* Copy max message size, caller is expected to allocate that big */ fsl_get_inb_message()
1085 pr_err("%s: unable to find 'reg' property of message-unit\n", fsl_rio_setup_rmu()
H A Dmpic_msgr.c107 * the message register blocks. They are clearly very inefficent. However,
161 /* The probe function for a single message register block.
179 /* Allocate the message register array upon the first device mpic_msgr_probe()
184 dev_info(&dev->dev, "Found %d message registers\n", mpic_msgr_probe()
191 "No memory for message register blocks\n"); mpic_msgr_probe()
197 /* IO map the message register block. */ mpic_msgr_probe()
201 dev_err(&dev->dev, "Failed to iomap MPIC message registers"); mpic_msgr_probe()
209 "Failed to find message register block alias\n"); mpic_msgr_probe()
212 dev_info(&dev->dev, "Setting up message register block %d\n", mpic_msgr_probe()
221 /* Build up the appropriate message register data structures. */ mpic_msgr_probe()
228 dev_err(&dev->dev, "No memory for message register\n"); mpic_msgr_probe()
/linux-4.1.27/arch/m68k/mac/
H A Diop.c30 * 990610 (jmt) - Finished the message passing framework and it seems to work.
33 * IOP. The trick now is figuring out the message formats.
61 * The host talks to the IOPs using a rather simple message-passing scheme via
65 * an incoming and and outgoing message queue with a depth of one.
67 * A message is 32 bytes plus a state byte for the channel (MSG_IDLE, MSG_NEW,
68 * MSG_RCVD, MSG_COMPLETE). To send a message you copy the message into the
71 * receives the message and then to MSG_COMPLETE when the message processing
76 * To receive message from the IOP the same procedure is used except the roles
77 * are reversed. That is, the IOP puts message in the channel with a state of
78 * MSG_NEW, and the host receives the message and move its state to MSG_RCVD
89 * Since each channel handles only one message we have to implement a small
92 * The handler for a message is called when the message state goes to
95 * For receiving message we maintain a list of handler functions to call when
96 * a message is received on that IOP/channel combination. The handlers are
97 * called much like an interrupt handler and are passed a copy of the message
98 * from the IOP. The message state will be in MSG_RCVD while the handler runs;
100 * finished; this function moves the message state to MSG_COMPLETE and signals
102 * message processing to a bottom-half handler if the processing will take
141 * IOP message queues
341 * Complete reception of a message, which just means copying the reply
370 * Actually put a message into a send channel buffer
381 iop_writeb(iop, offset, msg->message[i]); iop_do_send()
390 * Handle sending a message on a channel that
423 * Handle reception of a message on a channel that has
446 msg->message[i] = iop_readb(iop, offset); iop_handle_recv()
452 /* the message ourselves to avoid possible stalls. */ iop_handle_recv()
458 printk("iop_handle_recv: unclaimed message on iop %d channel %d\n", iop_num, chan); iop_handle_recv()
461 printk(" %02X", (uint) msg->message[i]); iop_handle_recv()
470 * Send a message
472 * The message is placed at the end of the send queue. Afterwards if the
473 * channel is idle we force an immediate send of the next message in the
495 memcpy(msg->message, msg_data, msg_len); iop_send_message()
581 /* INT0 indicates a state change on an outgoing message channel */ iop_ism_irq()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_log.c105 * the master logging function. this function will format the message as
109 * @param [in] level the event log level of the message
111 * @param [in] format the formatting string for the message
143 * where the actual message can be inserted. esas2r_log_master()
179 * formats and logs a message to the system log.
181 * @param [in] level the event level of the message
182 * @param [in] format the formating string for the message
202 * formats and logs a message to the system log. this message will include
205 * @param [in] level the event level of the message
207 * @param [in] format the formatting string for the message
230 * formats and logs a message to the system log. this message will include
233 * @param [in] level the event level of the message
/linux-4.1.27/net/netlabel/
H A Dnetlabel_unlabeled.h39 * This message is sent from an application to add a new static label for
58 * This message is sent from an application to remove an existing static
76 * This message can be sent either from an application or by the kernel in
77 * response to an application generated STATICLIST message. When sent by an
97 * This message is sent from an application to set the default static
115 * This message is sent from an application to remove the existing default
129 * This message can be sent either from an application or by the kernel in
130 * response to an application generated STATICLISTDEF message. When sent by
132 * The kernel should response with the following message.
149 * This message is sent from an application to specify if the kernel should
158 * This message can be sent either from an application or by the kernel in
159 * response to an application generated LIST message. When sent by an
161 * message with a LIST message on success.
H A Dnetlabel_mgmt.c82 * netlbl_mgmt_add - Handle an ADD message
88 * from the message to the hash table. See netlabel.h for a description of the
89 * message format. Returns zero on success, negative values on failure.
369 * netlbl_mgmt_add - Handle an ADD message
374 * Process a user generated ADD message and add the domains from the message
375 * to the hash table. See netlabel.h for a description of the message format.
401 * netlbl_mgmt_remove - Handle a REMOVE message
406 * Process a user generated REMOVE message and remove the specified domain
432 * message. Returns the size of the message on success, negative values on
462 * netlbl_mgmt_listall - Handle a LISTALL message
467 * Process a user generated LISTALL message and dumps the domain hash table in
468 * a form suitable for use in a kernel generated LISTALL message. Returns zero
494 * netlbl_mgmt_adddef - Handle an ADDDEF message
499 * Process a user generated ADDDEF message and respond accordingly. Returns
524 * netlbl_mgmt_removedef - Handle a REMOVEDEF message
529 * Process a user generated REMOVEDEF message and remove the default domain
543 * netlbl_mgmt_listdef - Handle a LISTDEF message
548 * Process a user generated LISTDEF message and dumps the default domain
549 * mapping in a form suitable for use in a kernel generated LISTDEF message.
590 * netlbl_mgmt_protocols_cb - Write an individual PROTOCOL message response
593 * @protocol: the NetLabel protocol to use in the message
597 * answer a application's PROTOCOLS message. Returns the size of the message
627 * netlbl_mgmt_protocols - Handle a PROTOCOLS message
632 * Process a user generated PROTOCOLS message and respond accordingly.
661 * netlbl_mgmt_version - Handle a VERSION message
666 * Process a user generated VERSION message and respond accordingly. Returns
H A Dnetlabel_user.c82 * netlbl_audit_start_common - Start an audit message
83 * @type: audit message type
87 * Start an audit message using the type specified in @type and fill the audit
88 * message with some fields common to all NetLabel audit messages. Returns
H A Dnetlabel_cipso_v4.c91 * netlbl_cipsov4_add_common - Parse the common sections of a ADD message
96 * Parse the common sections of a ADD message and fill in the related values
137 * message and add it to the CIPSO V4 engine. Return zero on success and
337 * Create a new CIPSO_V4_MAP_PASS DOI definition based on the given ADD message
377 * message and add it to the CIPSO V4 engine. Return zero on success and
410 * netlbl_cipsov4_add - Handle an ADD message
415 * Create a new DOI definition based on the given ADD message and add it to the
448 * netlbl_cipsov4_list - Handle a LIST message
453 * Process a user generated LIST message and respond accordingly. While the
454 * response message generated by the kernel is straightforward, determining
456 * the message to know the size). In order to keep this function sane what we
460 * give up and just send an error message. Returns zero on success and
618 * message. Returns the size of the message on success, negative values on
652 * netlbl_cipsov4_listall - Handle a LISTALL message
657 * Process a user generated LISTALL message and respond accordingly. Returns
701 * netlbl_cipsov4_remove - Handle a REMOVE message
706 * Process a user generated REMOVE message and respond accordingly. Returns
/linux-4.1.27/net/nfc/hci/
H A Dhcp.c29 * Payload is the HCP message data only. Instruction will be prepended.
87 packet->message.header = HCP_HEADER(type, instruction); nfc_hci_hcp_message_tx()
89 memcpy(packet->message.data, ptr, nfc_hci_hcp_message_tx()
94 memcpy(&packet->message, ptr, data_link_len); nfc_hci_hcp_message_tx()
128 * Receive hcp message for pipe, with type and cmd.
129 * skb contains optional message data only.
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.c24 * fm10k_tlv_msg_init - Initialize message block for TLV data storage
25 * @msg: Pointer to message block
26 * @msg_id: Message ID indicating message type
28 * This function return success if provided with a valid message pointer
42 * fm10k_tlv_attr_put_null_string - Place null terminated string on message
43 * @msg: Pointer to message block
65 /* write data to message */ fm10k_tlv_attr_put_null_string()
78 /* write last piece of data to message */ fm10k_tlv_attr_put_null_string()
81 /* record attribute header, update message length */ fm10k_tlv_attr_put_null_string()
119 * fm10k_tlv_attr_put_mac_vlan - Store MAC/VLAN attribute in message
120 * @msg: Pointer to message block
140 /* record attribute header, update message length */ fm10k_tlv_attr_put_mac_vlan()
180 * @msg: Pointer to message block
204 * fm10k_tlv_attr_put_value - Store integer value attribute in message
205 * @msg: Pointer to message block
211 * in a message attribute. The function will return success provided
232 /* record attribute header, update message length */ fm10k_tlv_attr_put_value()
276 * fm10k_tlv_attr_put_le_struct - Store little endian structure in message
277 * @msg: Pointer to message block
282 * This function will place a little endian structure value in a message
303 /* record attribute header, update message length */ fm10k_tlv_attr_put_le_struct()
347 * @msg: Pointer to message block
352 * structure within the message this mechanism allows for that. The
374 * @msg: Pointer to message block
377 * message pointer should be pointing to the parent of the nest. So in
420 /* verify this is an attribute and not a message */ fm10k_tlv_attr_validate()
482 * return FM10K_ERR_PARAM on any input or message error,
501 /* pull length from the message header */ fm10k_tlv_attr_parse()
508 /* no attributes to parse, just raw data, message becomes attribute */ fm10k_tlv_attr_parse()
546 * fm10k_tlv_msg_parse - Parses message header and calls function handler
548 * @msg: Pointer to message
550 * @func: Function array containing list of message handling functions
553 * message. The handler will identify the message type and call the correct
554 * handler for the given message. It will return the value from the function
555 * call on a recognized message type, otherwise it will return
570 /* verify this is a message and not an attribute */ fm10k_tlv_msg_parse()
574 /* grab message ID */ fm10k_tlv_msg_parse()
595 * fm10k_tlv_msg_error - Default handler for unrecognized TLV message IDs
597 * @results: Pointer array to message, results[0] is pointer to message
601 * a minimum it just indicates that the message requested was
625 /* The message below is meant to be used as a test message to demonstrate
647 * fm10k_tlv_msg_test_generate_data - Stuff message with data
648 * @msg: Pointer to message
651 * This function is meant to load a message buffer with attribute data
683 * fm10k_tlv_msg_test_create - Create a test message testing all attributes
684 * @msg: Pointer to message
687 * This function is meant to load a message buffer with all attribute types
711 * fm10k_tlv_msg_test - Validate all results on test message receive
713 * @results: Pointer array to attributes in the message
717 * message placed in the message buffer. It is the default handler
H A Dfm10k_tlv.h36 * The message header format described here is used for messages that are
38 * mailbox size we will provide a message with the above header and it
41 * Len: Length of the message in bytes excluding the message header
43 * Rule: These will be the message/argument types we pass
45 /* message data header */
H A Dfm10k_mbx.h81 * post a connect message with no specified destination and will
84 * destination is received or when a data message is received with
88 * receiving either an error message, or a disconnect message. It will
111 * Type: There are 4 supported message types
112 * 0x8: Data header - used to transport message data
115 * 0xE: Error header - used to address message exceptions
126 * CRC: Running CRC for all data since connect plus current message header
127 * Size: Maximum message size - Applies only to connect headers
128 * The maximum message size is provided during connect to avoid
257 /* minimum and maximum message size in dwords */
270 /* message FIFOs */
H A Dfm10k_mbx.c24 * fm10k_fifo_init - Initialize a message FIFO
27 * @size: maximum message size to store in FIFO, must be 2^n - 1
95 * fm10k_fifo_head_len - Retrieve length of first message in FIFO
98 * This function returns the size of the first message in the FIFO
108 /* retieve the message length */ fm10k_fifo_head_len()
113 * fm10k_fifo_head_drop - Drop the first message in FIFO
116 * This function returns the size of the message dropped from the FIFO
225 * fm10k_mbx_pushed_tail_len - Retrieve the length of message being pushed
228 * This function will return the length of the message currently being
245 * @msg: message array to populate
247 * @len: length of FIFO to copy into message header
249 * This function will take a message and copy it into a section of the
262 /* copy end of message before start of message */ fm10k_fifo_write_copy()
268 /* Copy remaining message into Tx FIFO */ fm10k_fifo_write_copy()
273 * fm10k_fifo_enqueue - Enqueues the message to the tail of the FIFO
275 * @msg: message array to read
277 * This function enqueues a message up to the size specified by the length
278 * contained in the first DWORD of the message and will place at the tail
289 /* verify there is room for the message */ fm10k_fifo_enqueue()
293 /* Copy message into FIFO */ fm10k_fifo_enqueue()
306 * fm10k_mbx_validate_msg_size - Validate incoming message based on size
311 * the start of a message larger than the mailbox is detected.
322 /* offset in message is based off of current message size */ fm10k_mbx_validate_msg_size()
329 /* message extends out of pushed section, but fits in FIFO */ fm10k_mbx_validate_msg_size()
370 /* Copy message from Tx FIFO */ fm10k_mbx_write_copy()
378 /* write message to hardware FIFO */ fm10k_mbx_write_copy()
423 /* Copy message out from the Tx FIFO */ fm10k_mbx_pull_head()
454 /* Copy message into Rx FIFO */ fm10k_mbx_read_copy()
462 /* read message from hardware FIFO */ fm10k_mbx_read_copy()
475 * @tail: tail index of message
478 * incoming message. It then updates the acknowledgment number and
505 /* determine if there are any invalid lengths in message */ fm10k_mbx_push_tail()
668 * fm10k_mbx_rx_ready - Indicates that a message is ready in the Rx FIFO
671 * This function returns true if there is a message in the Rx FIFO to dequeue.
706 * fm10k_mbx_deqeueue_rx - Dequeues the message from the head in the Rx FIFO
741 * fm10k_mbx_enqueue_tx - Enqueues the message to the tail of the Tx FIFO
744 * @msg: message array to read
746 * This function enqueues a message up to the size specified by the length
747 * contained in the first DWORD of the message and will place at the tail
764 /* enqueue the message on the Tx FIFO */ fm10k_mbx_enqueue_tx()
781 /* begin processing message, ignore errors as this is just meant fm10k_mbx_enqueue_tx()
792 * fm10k_mbx_read - Copies the mbmem to local message buffer
796 * This function copies the message from the mbmem to the message array
819 * fm10k_mbx_write - Copies the local message buffer to mbmem
823 * This function copies the message from the the message array to mbmem
902 * fm10k_mbx_create_error_msg - Generate a error message
907 * that it may shift the message by 1 DWORD and then place an error header
908 * at the start of the message.
912 /* only generate an error message for these types */ fm10k_mbx_create_error_msg()
933 * fm10k_mbx_validate_msg_hdr - Validate common fields in the message header
935 * @msg: message array to read
939 * including unrecognized type, invalid route, or a malformed message.
1002 * This function will generate an outgoing message based on the current
1004 * of the outgoing message excluding header on success, and a negative value
1052 /* just do a quick resysnc to start of message */ fm10k_mbx_reset_work()
1113 * @msg: message array to process
1116 * appropriate message. It will return a value indicating the number of
1162 * appropriate message. It will return a value indicating the number of
1182 /* abort on message size errors */ fm10k_mbx_process_data()
1203 * appropriate message. It will return a value indicating the number of
1255 * appropriate message. It will return a value indicating the number of
1291 /* send a connect message to get data flowing again */ fm10k_mbx_process_error()
1403 * mailbox with a broadcast connect message and then initialize the lock.
1404 * This is safe since the connect message is a single DWORD so the mailbox
1430 /* enable interrupt and notify other party of new message */ fm10k_mbx_connect()
1442 * fm10k_mbx_validate_handlers - Validate layout of message parsing data
1445 * This function validates the layout of the message parsing data. This
1501 * This function associates a set of message handling ops with a mailbox.
1510 /* initialize the message handlers */ fm10k_mbx_register_handlers()
1558 /* initialize the message handlers */ fm10k_pfvf_mbx_init()
1686 /* enable interrupt and notify other party of new message */ fm10k_sm_mbx_connect()
1694 /* enable interrupt and notify other party of new message */ fm10k_sm_mbx_connect()
1822 * that it may set the error bit in the local message header
1826 /* only generate an error message for these types */ fm10k_sm_mbx_create_error_msg()
1844 * fm10k_sm_mbx_receive - Take message from Rx mailbox FIFO and put it in Rx
1848 * This function will dequeue one message from the Rx switch manager mailbox
1871 /* guarantee head aligns with the end of the last message */ fm10k_sm_mbx_receive()
1883 * fm10k_sm_mbx_transmit - Take message from Tx and put it in Tx mailbox FIFO
1887 * This function will dequeue one message from the Tx mailbox FIFO and place
1912 /* guarantee we stop on a message boundary */ fm10k_sm_mbx_transmit()
1928 * This function will generate an outgoing message based on the current
1930 * of the outgoing message excluding header on success, and a negative value
2026 /* abort on message size errors */ fm10k_sm_mbx_process_version_1()
2111 /* initialize the message handlers */ fm10k_sm_mbx_init()
/linux-4.1.27/include/net/iucv/
H A Diucv.h37 * IUCV_IPRMDATA Indicates that your program can handle a message in the
38 * parameter list / a message is sent in the parameter list.
44 * IUCV_IPBUFLST Indicates that an address list is used for the message data.
88 * msglim: 16 bit message limit
105 * id: 32 bit message id
107 * class: 32 bit target class of a message (source class for replies)
108 * tag: 32 bit tag to be associated with the message
109 * length: 32 bit length of the message / reply
111 * rmmsg: 8 byte inline message
112 * flags: message properties (IUCV_IPPRTY)
175 * type 0x06 or type 0x07 has been received. A new message is
181 * type 0x08 or type 0x09 has been received. A message send with
214 * @msglim: initial message limit
319 * @srccls: source class of message
321 * Cancels a message you have sent.
332 * @flags: flags that affect how the message is received (IUCV_IPBUFLST)
352 * @flags: flags that affect how the message is received (IUCV_IPBUFLST)
374 * The reject function refuses a specified message. Between the time you
375 * are notified of a message and the time that you complete the message,
376 * the message may be rejected.
391 * must identify completely the message to which you wish to reply. ie,
404 * @flags: how the message is sent (IUCV_IPRMDATA, IUCV_IPPRTY, IUCV_IPBUFLST)
405 * @srccls: source class of message
410 * transmitted is in a buffer and this is a one-way message and the
411 * receiver will not reply to the message.
424 * @flags: how the message is sent (IUCV_IPRMDATA, IUCV_IPPRTY, IUCV_IPBUFLST)
425 * @srccls: source class of message
430 * transmitted is in a buffer and this is a one-way message and the
431 * receiver will not reply to the message.
444 * @flags: how the message is sent and the reply is received
446 * @srccls: source class of message
454 * reply to the message and a buffer is provided into which IUCV moves
455 * the reply to this message.
H A Daf_iucv.h134 u32 class; /* target class of message */
135 u32 tag; /* tag associated with message */
147 #define SCM_IUCV_TRGCLS 0x0001 /* target class control message */
/linux-4.1.27/drivers/usb/serial/
H A Dkeyspan_usa49msg.h88 message in which OVERRUN was reported; the lost character(s)
91 (3) An RX data message in which the first byte has 0x80 clear
93 (4) a control message specifying disablePort will be answered
94 with a status message, but no further status will be sent
102 1999apr14 add resetDataToggle to control message
108 2001jul05 change message format to improve OVERRUN case
118 portNumber message
127 0. 0/1/2/3 port control message follows
128 0x80 set non-port control message follows
133 there are three types of "commands" sent in the control message:
165 but must be specified correctly in every host message).
211 a control message with the disableStatusMessages flags
213 this message, and then suppress further status messages;
215 sends any control message (either global or port-specific).
231 portNumber message
248 controlResponse,// 1=a control message has been processed
253 // bits in RX data message when STAT byte is included
H A Dkeyspan_usa67msg.h42 Fourth revision: This message format supports the USA28XG
92 message in which OVERRUN was reported; the lost character(s)
95 (3) An RX data message in which the first byte has 0x80 clear
103 1999apr14 add resetDataToggle to control message
106 2001jul05 change message format to improve OVERRUN case
122 there are three types of "commands" sent in the control message:
158 but must be specified correctly in every host message).
208 txAck, // indicates a TX message acknowledgement
210 controlResponse;// 1=a control message has been processed
213 // bits in RX data message when STAT byte is included
H A Dkeyspan_usa28msg.h38 Note: these message formats are common to USA18, USA19, and USA28;
48 alternating string of parity and data bytes, so the message
54 always an odd number for the total message length.
82 1999may06 add resetDataToggle to control message
83 2000mar21 add rs232invalid to status response message
97 there are four types of "commands" sent in the control message:
120 but must be correct in every host message).
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dpmu.h20 u32 message; member in struct:nvkm_pmu::__anon4138
24 int (*message)(struct nvkm_pmu *, u32[2], u32, u32, u32, u32); member in struct:nvkm_pmu
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dnfnetlink.h29 /* General form of address family dependent message.
39 /* netfilter netlink message types are split in two pieces:
/linux-4.1.27/drivers/spi/
H A Dspi-mpc52xx.c81 struct spi_message *message; /* current message */ member in struct:mpc52xx_spi
101 cs = ms->message->spi->chip_select; mpc52xx_spi_chipsel()
109 * for the first transfer in a message, and by the wait state when the
110 * previous transfer in a message is complete.
159 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); mpc52xx_spi_fsmstate_idle()
160 list_del_init(&ms->message->queue); mpc52xx_spi_fsmstate_idle()
164 spi = ms->message->spi; mpc52xx_spi_fsmstate_idle()
176 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; mpc52xx_spi_fsmstate_idle()
193 ms->transfer = container_of(ms->message->transfers.next, mpc52xx_spi_fsmstate_idle()
236 ms->message->status = -EIO; mpc52xx_spi_fsmstate_transfer()
237 if (ms->message->complete) mpc52xx_spi_fsmstate_transfer()
238 ms->message->complete(ms->message->context); mpc52xx_spi_fsmstate_transfer()
283 ms->message->actual_length += ms->transfer->len; mpc52xx_spi_fsmstate_wait()
285 /* Check if there is another transfer in this message. If there mpc52xx_spi_fsmstate_wait()
287 * to start the next message. */ mpc52xx_spi_fsmstate_wait()
288 if (ms->transfer->transfer_list.next == &ms->message->transfers) { mpc52xx_spi_fsmstate_wait()
291 ms->message->status = 0; mpc52xx_spi_fsmstate_wait()
292 if (ms->message->complete) mpc52xx_spi_fsmstate_wait()
293 ms->message->complete(ms->message->context); mpc52xx_spi_fsmstate_wait()
H A Dspi.c771 * __spi_pump_messages - function which processes spi message queue
773 * @in_kthread: true if we are in the context of the message pump thread
775 * This function checks if there is any spi message in the queue that
777 * and transfer each message.
792 /* Make sure we are not already running a message */ __spi_pump_messages()
885 "failed to prepare message: %d\n", ret); __spi_pump_messages()
903 "failed to transfer one message from queue\n"); __spi_pump_messages()
909 * spi_pump_messages - kthread work function which processes spi message queue
932 dev_err(&master->dev, "failed to create message pump task\n"); spi_init_queue()
939 * message pump with high (realtime) priority to reduce the transfer spi_init_queue()
941 * request and the scheduling of the message pump thread. Without this spi_init_queue()
942 * setting the message pump thread will remain at default priority. spi_init_queue()
946 "will run message pump with realtime priority\n"); spi_init_queue()
958 * If there are more messages in the queue, the next message is returned from
966 /* get a pointer to the next message, if any */ spi_get_next_queued_message()
977 * spi_finalize_current_message() - the current message is complete
978 * @master: the master to return the message to
980 * Called by the driver to notify the core that the message in the front of the
999 "failed to unprepare message: %d\n", ret); spi_finalize_current_message()
1049 * friends on every SPI message. Do this instead. spi_stop_queue()
1066 "could not stop message queue\n"); spi_stop_queue()
1122 * @msg: spi message which is to handled is queued to driver queue
1811 static int __spi_validate(struct spi_device *spi, struct spi_message *message) __spi_validate() argument
1817 if (list_empty(&message->transfers)) __spi_validate()
1829 list_for_each_entry(xfer, &message->transfers, transfer_list) { __spi_validate()
1845 list_for_each_entry(xfer, &message->transfers, transfer_list) { __spi_validate()
1846 message->frame_length += xfer->len; __spi_validate()
1920 message->status = -EINPROGRESS; __spi_validate()
1925 static int __spi_async(struct spi_device *spi, struct spi_message *message) __spi_async() argument
1929 message->spi = spi; __spi_async()
1931 trace_spi_message_submit(message); __spi_async()
1933 return master->transfer(spi, message); __spi_async()
1939 * @message: describes the data transfers, including completion callback
1946 * Before that invocation, the value of message->status is undefined.
1947 * When the callback is issued, message->status holds either zero (to
1959 * the entire message is aborted, and the device is deselected.
1960 * Until returning from the associated message completion callback,
1965 int spi_async(struct spi_device *spi, struct spi_message *message) spi_async() argument
1971 ret = __spi_validate(spi, message); spi_async()
1980 ret = __spi_async(spi, message); spi_async()
1991 * @message: describes the data transfers, including completion callback
1998 * Before that invocation, the value of message->status is undefined.
1999 * When the callback is issued, message->status holds either zero (to
2011 * the entire message is aborted, and the device is deselected.
2012 * Until returning from the associated message completion callback,
2017 int spi_async_locked(struct spi_device *spi, struct spi_message *message) spi_async_locked() argument
2023 ret = __spi_validate(spi, message); spi_async_locked()
2029 ret = __spi_async(spi, message); spi_async_locked()
2051 static int __spi_sync(struct spi_device *spi, struct spi_message *message, __spi_sync() argument
2059 status = __spi_validate(spi, message); __spi_sync()
2063 message->complete = spi_complete; __spi_sync()
2064 message->context = &done; __spi_sync()
2065 message->spi = spi; __spi_sync()
2073 * support for driver implemented message queues. __spi_sync()
2078 trace_spi_message_submit(message); __spi_sync()
2080 status = __spi_queued_transfer(spi, message, false); __spi_sync()
2084 status = spi_async_locked(spi, message); __spi_sync()
2098 status = message->status; __spi_sync()
2100 message->context = NULL; __spi_sync()
2107 * @message: describes the data transfers
2112 * drivers may DMA directly into and out of the message buffers.
2114 * Note that the SPI device's chip select is active during the message,
2117 * by leaving it selected in anticipation that the next message will go
2121 * message will not be freed before this call returns.
2125 int spi_sync(struct spi_device *spi, struct spi_message *message) spi_sync() argument
2127 return __spi_sync(spi, message, 0); spi_sync()
2134 * @message: describes the data transfers
2139 * drivers may DMA directly into and out of the message buffers.
2147 int spi_sync_locked(struct spi_device *spi, struct spi_message *message) spi_sync_locked() argument
2149 return __spi_sync(spi, message, 1); spi_sync_locked()
2238 struct spi_message message; spi_write_then_read() local
2256 spi_message_init(&message); spi_write_then_read()
2260 spi_message_add_tail(&x[0], &message); spi_write_then_read()
2264 spi_message_add_tail(&x[1], &message); spi_write_then_read()
2272 status = spi_sync(spi, &message); spi_write_then_read()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A DMakefile17 divacapi-y := capimain.o capifunc.o message.o capidtmf.o
H A Dcapimain.c57 * alloc a message buffer
70 * free a message buffer
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_auth.h13 #define MD5_SIGNATURE_SIZE 16 /* 16 bytes in a MD5 message digest */
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpkcs7_verify.c1 /* Verify the signature on a PKCS#7 message.
60 /* Digest the message [RFC2315 9.3] */ pkcs7_digest()
70 * message digest attribute amongst them which corresponds to the pkcs7_digest()
123 * Find the key (X.509 certificate) to use to verify a PKCS#7 message. PKCS#7
137 /* I'm _assuming_ that the generator of the PKCS#7 message will pkcs7_find_key()
139 * PKCS#7 message - but I can't be 100% sure of that. It's pkcs7_find_key()
215 /* Look through the X.509 certificates in the PKCS#7 message's pkcs7_verify_sig_chain()
265 * Verify one signed information block from a PKCS#7 message.
274 /* First of all, digest the data in the PKCS#7 message and the pkcs7_verify_one()
304 * pkcs7_verify - Verify a PKCS#7 message
305 * @pkcs7: The PKCS#7 message to be verified
307 * Verify a PKCS#7 message is internally consistent - that is, the data digest
308 * matches the digest in the AuthAttrs and any signature in the message or one
310 * message can be verified.
312 * This does not look to match the contents of the PKCS#7 message against any
320 * (*) -EBADMSG if some part of the message was invalid, or:
H A Dpkcs7_parser.c52 * pkcs7_free_message - Free a PKCS#7 message
53 * @pkcs7: The PKCS#7 message to free
82 * pkcs7_parse_message - Parse a PKCS#7 message
83 * @data: The raw binary ASN.1 encoded message to be parsed
84 * @datalen: The size of the encoded message
134 * @pkcs7: The preparsed PKCS#7 message to access
139 * Get access to the data content of the PKCS#7 message, including, optionally,
141 * data object was missing from the message.
287 * Extract the data from the message and store that and its content type OID in
H A Dpkcs7_trust.c1 /* Validate the trust chain of a PKCS#7 message.
60 /* One of the X.509 certificates in the PKCS#7 message pkcs7_validate_trust_one()
149 * Validate that the certificate chain inside the PKCS#7 message intersects
164 * the message.
/linux-4.1.27/drivers/net/hyperv/
H A Dhyperv_net.h310 * This message is used by the VSC to initialize the channel after the channels
311 * has been opened. This message should never include anything other then
312 * versioning (i.e. this message will be the same for ever).
320 * This message is used by the VSP to complete the initialization of the
321 * channel. This message should never include anything other then versioning
322 * (i.e. this message will be the same for ever).
338 * This message is used by the VSC to send the NDIS version to the VSP. The VSP
347 * This message is used by the VSC to send a receive buffer to the VSP. The VSP
363 * This message is used by the VSP to acknowledge a receive buffer send by the
364 * VSC. This message must be sent by the VSP before the VSP uses the receive
394 * This message is sent by the VSC to revoke the receive buffer. After the VSP
403 * This message is used by the VSC to send a send buffer to the VSP. The VSC
412 * This message is used by the VSP to acknowledge a send buffer sent by the
413 * VSC. This message must be sent by the VSP before the VSP uses the sent
429 * This message is sent by the VSC to revoke the send buffer. After the VSP
437 * This message is used by both the VSP and the VSC to send a RNDIS message to
459 * This message is used by both the VSP and the VSC to complete a RNDIS message
461 * message cannot use any resources associated with the original RNDIS packet.
683 /* NdisInitialize message */
714 /* NdisHalt message */
719 /* NdisQueryRequest message */
736 /* NdisSetRequest message */
751 /* NdisReset message */
762 /* NdisMIndicateStatus message */
776 /* NdisKeepAlive message */
788 * Data message. All Offset fields contain byte offsets from the beginning of
804 /* Optional Out of Band data associated with a Data message. */
811 /* Packet extension field contents associated with a Data message. */
999 /* CoNdisMiniportCreateVc message */
1012 /* CoNdisMiniportDeleteVc message */
1024 /* CoNdisMiniportQueryRequest message */
1034 /* CoNdisMiniportSetRequest message */
1044 /* CoNdisIndicateStatus message */
1083 /* CoNdisMiniportActivateVc message */
1100 /* CoNdisMiniportDeactivateVc message */
1141 /* Remote NDIS message format */
1145 /* Total length of this message, from the beginning */
1149 /* Actual message */
1156 /* get the size of an RNDIS message. Pass in the message type, */
1162 /* get pointer to info buffer with message pointer */
1166 /* get pointer to status buffer with message pointer */
1170 /* get pointer to OOBD buffer with message pointer */
1174 /* get pointer to data buffer with message pointer */
1178 /* get pointer to contained message from NDIS_MESSAGE pointer */
1182 /* get pointer to contained message from NDIS_MESSAGE pointer */
/linux-4.1.27/drivers/connector/
H A Dconnector.c48 * msg->seq and msg->ack are used to determine message genealogy.
49 * When someone sends message it puts there locally unique sequence
53 * Sequence number is incremented with each message to be sent.
55 * If we expect a reply to our message then the sequence number in
56 * received message MUST be the same as in original message, and
59 * If we receive a message and its sequence number is not equal to the
60 * one we are expecting then it is a new message.
62 * If we receive a message and its sequence number is the same as one
64 * the acknowledgement number in the original message + 1, then it is
65 * a new message.
70 * The message is sent to, the portid if given, the group if given, both if
/linux-4.1.27/drivers/misc/mei/
H A Dhbm.c141 * @hbm_cmd: host bus message command
158 * mei_hbm_cl_write - write simple hbm client message
162 * @hbm_cmd: host bus message command
181 * the message address match
184 * @cmd: hbm client message
217 * mei_hbm_start_wait - wait for start response message.
245 * mei_hbm_start_req - sends start request message.
262 /* host start message */ mei_hbm_start_req()
272 dev_err(dev->dev, "version message write failed: ret = %d\n", mei_hbm_start_req()
283 * mei_hbm_enum_clients_req - sends enumeration client request message.
428 * mei_hbm_stop_req - send stop request message
506 * @flow_control: flow control response bus message
529 * mei_hbm_cl_disconnect_req - sends disconnect message to fw.
564 * @cmd: disconnect client response host bus message
600 * @cmd: connect client response host bus message
623 * @rs: hbm client message
671 * @disconnect_req: disconnect request bus message from the me
730 * handle the read bus message cmd processing.
733 * @hdr: header of bus message
748 /* read the message to our buffer */ mei_hbm_dispatch()
754 /* ignore spurious message and prevent reset nesting mei_hbm_dispatch()
764 dev_dbg(dev->dev, "hbm: start: response message received.\n"); mei_hbm_dispatch()
814 dev_dbg(dev->dev, "hbm: client connect response: message received.\n"); mei_hbm_dispatch()
819 dev_dbg(dev->dev, "hbm: client disconnect response: message received.\n"); mei_hbm_dispatch()
824 dev_dbg(dev->dev, "hbm: client flow control response: message received.\n"); mei_hbm_dispatch()
852 dev_dbg(dev->dev, "hbm: properties response: message received.\n"); mei_hbm_dispatch()
883 dev_dbg(dev->dev, "hbm: enumeration response: message received\n"); mei_hbm_dispatch()
909 dev_dbg(dev->dev, "hbm: stop response: message received\n"); mei_hbm_dispatch()
926 dev_dbg(dev->dev, "hbm: disconnect request: message received\n"); mei_hbm_dispatch()
933 dev_dbg(dev->dev, "hbm: stop request: message received\n"); mei_hbm_dispatch()
H A Dhw.h25 #define MEI_HW_READY_TIMEOUT 2 /* Timeout on ready message */
49 /* Host bus message command opcode */
51 /* Host bus message command RESPONSE */
170 * @hbm_cmd: bus message command header
253 * @hbm_cmd: bus message command header
264 * @hbm_cmd: bus message command header
279 * @hbm_cmd: bus message command header
H A Dinterrupt.c61 * @mei_hdr: header of mei client message
73 * mei_irq_discard_msg - discard received message
76 * @hdr: message header
86 dev_dbg(dev->dev, "discarding message " MEI_HDR_FMT "\n", mei_irq_discard_msg()
91 * mei_cl_irq_read_msg - process client message
94 * @mei_hdr: header of mei client message
127 cl_dbg(dev, cl, "message overflow. size %d len %d idx %ld\n", mei_cl_irq_read_msg()
160 * mei_cl_irq_disconnect_rsp - send disconnection response message
339 dev_err(dev->dev, "corrupted message header 0x%08X\n", mei_irq_read_handler()
348 /* we can't read the message */ mei_irq_read_handler()
353 /* HBM message */ mei_irq_read_handler()
367 cl_dbg(dev, cl, "got a message\n"); mei_irq_read_handler()
395 /* set the event since message has been read */ mei_irq_read_handler()
465 /* send disconnect message */ mei_irq_write_handler()
472 /* send flow control message */ mei_irq_write_handler()
479 /* connect message */ mei_irq_write_handler()
H A Dwd.c105 * mei_wd_send - sends watch dog message to fw.
110 * -EIO when message send fails
111 * -EINVAL when invalid message is to be sent
131 dev_err(dev->dev, "wd: invalid message is to be sent, aborting\n"); mei_wd_send()
137 dev_err(dev->dev, "wd: write message failed\n"); mei_wd_send()
151 * mei_wd_stop - sends watchdog stop message to fw.
157 * -EIO when message send fails
158 * -EINVAL when invalid message is to be sent
159 * -ETIME on message timeout
H A Dhbm.h25 * enum mei_hbm_state - host bus message protocol state
28 * @MEI_HBM_STARTING : start request message was sent
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/
H A Dsmp-shx3.c32 unsigned int message = (unsigned int)(long)arg; ipi_interrupt_handler() local
38 x &= (1 << (message << 2)); ipi_interrupt_handler()
41 smp_message_recv(message); ipi_interrupt_handler()
110 static void shx3_send_ipi(unsigned int cpu, unsigned int message) shx3_send_ipi() argument
116 __raw_writel(1 << (message << 2), addr); /* C0INTICI..CnINTICI */ shx3_send_ipi()
/linux-4.1.27/fs/jfs/
H A Djfs_debug.h25 * global debug message, data structure/macro definitions
67 /* information message: e.g., configuration, major event */
73 /* debug message: ad hoc */
79 /* warn message: */
85 /* error event message: e.g., i/o error */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dbase.c38 u32 process, u32 message, u32 data0, u32 data1) nvkm_pmu_send()
54 pmu->recv.message = message; nvkm_pmu_send()
67 nv_wr32(pmu, 0x10a1c4, message); nvkm_pmu_send()
90 u32 process, message, data0, data1; nvkm_pmu_recv() local
106 message = nv_rd32(pmu, 0x10a1c4); nvkm_pmu_recv()
117 message == pmu->recv.message) { nvkm_pmu_recv()
127 * so assume that any unexpected message is an error. nvkm_pmu_recv()
134 process, message, data0, data1); nvkm_pmu_recv()
196 pmu->message = nvkm_pmu_send; _nvkm_pmu_init()
37 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], u32 process, u32 message, u32 data0, u32 data1) nvkm_pmu_send() argument
/linux-4.1.27/drivers/hv/
H A Dhv_kvp.c59 struct hv_kvp_msg *kvp_msg; /* current message */
182 struct hv_kvp_msg *message; kvp_cn_callback() local
186 message = (struct hv_kvp_msg *)msg->data; kvp_cn_callback()
194 if (kvp_handle_handshake(message)) kvp_cn_callback()
204 data = &message->body.kvp_enum_data; kvp_cn_callback()
217 * We use the message header information from kvp_cn_callback()
220 error = message->error; kvp_cn_callback()
229 kvp_respond_to_host(message, error); kvp_cn_callback()
347 struct hv_kvp_msg *message; kvp_send_key() local
362 message = (struct hv_kvp_msg *)msg->data; kvp_send_key()
363 message->kvp_hdr.operation = operation; kvp_send_key()
364 message->kvp_hdr.pool = pool; kvp_send_key()
378 switch (message->kvp_hdr.operation) { kvp_send_key()
380 process_ib_ipinfo(in_msg, message, KVP_OP_SET_IP_INFO); kvp_send_key()
383 process_ib_ipinfo(in_msg, message, KVP_OP_GET_IP_INFO); kvp_send_key()
391 message->body.kvp_set.data.value_size = kvp_send_key()
396 message->body.kvp_set.data.value, kvp_send_key()
406 message->body.kvp_set.data.value_size = kvp_send_key()
407 sprintf(message->body.kvp_set.data.value, kvp_send_key()
417 message->body.kvp_set.data.value_size = kvp_send_key()
418 sprintf(message->body.kvp_set.data.value, kvp_send_key()
424 message->body.kvp_set.data.key_size = kvp_send_key()
429 message->body.kvp_set.data.key, kvp_send_key()
434 message->body.kvp_delete.key_size = kvp_send_key()
439 message->body.kvp_delete.key, kvp_send_key()
444 message->body.kvp_enum_data.index = kvp_send_key()
454 kvp_respond_to_host(message, HV_E_FAIL); kvp_send_key()
593 * This callback is invoked when we get a KVP message from the host.
H A Dhv_balloon.c154 * type: Type of the message.
155 * size: Size of the message in bytes; including the header.
166 * A generic message format for dynamic memory.
167 * Specific message formats are defined later in the file.
172 __u8 data[]; /* enclosed message */
177 * Specific message types supporting the dynamic memory protocol.
181 * Version negotiation message. Sent from the guest to the host.
198 * Version response message; Host to Guest and indicates
227 * Response to the capabilities message. This is sent from the host to the
228 * guest. This message notifies if the host has accepted the guest's
243 * This message is used to report memory pressure from the guest.
244 * This message is not part of any transaction and there is no
245 * response to this message.
274 * Message to ask the guest to allocate memory - balloon up message.
275 * This message is sent from the host to the guest. The guest may not be
289 * Balloon response message; this message is sent from the guest
290 * to the host in response to the balloon message.
293 * more_pages: If FALSE, this is the last message of the transaction.
294 * if TRUE there will atleast one more message from the guest.
311 * Un-balloon message; this message is sent from the host
314 * more_pages: If FALSE, this is the last message of the transaction.
315 * if TRUE there will atleast one more message from the guest.
334 * Un-balloon response message; this message is sent from the guest
345 * Hot add request message. Message sent from the host to the guest.
359 * Hot add response message.
360 * This message is sent by the guest to report the status of a hot add request.
366 * not complete this message until the hot add can succeed, and the host must
395 * Header for the information message.
404 * This message is sent from the host to the guest to pass
1410 pr_err("Unhandled message: type: %d\n", dm_hdr->type); balloon_onchannelcallback()
/linux-4.1.27/drivers/isdn/gigaset/
H A Dcapi.c99 _cmsg hcmsg; /* for message composition triggered from hardware */
206 * dump CAPI message to kernel messages for debugging
324 * emit DATA_B3_CONF message
338 /* frequent message, avoid _cmsg overhead */ send_data_b3_conf()
351 /* emit message */ send_data_b3_conf()
439 * prepend DATA_B3_IND message to payload gigaset_skb_rcvd()
441 * frequent message, avoid _cmsg overhead gigaset_skb_rcvd()
458 /* emit message */ gigaset_skb_rcvd()
510 * be stored in the PLCI and used in the CONNECT_RESP message gigaset_isdn_icall()
516 /* prepare CONNECT_IND message, using B channel number as PLCI */ gigaset_isdn_icall()
640 /* build CONNECT_IND message for this application */ gigaset_isdn_icall()
652 dev_err(cs->dev, "%s: message parser failure\n", gigaset_isdn_icall()
667 /* emit message */ gigaset_isdn_icall()
680 * send a DISCONNECT_IND message to an application
704 dev_err(cs->dev, "%s: message parser failure\n", __func__); send_disconnect_ind()
713 * send a DISCONNECT_B3_IND message to an application
739 dev_err(cs->dev, "%s: message parser failure\n", __func__); send_disconnect_b3_ind()
786 /* prepare CONNECT_ACTIVE_IND message gigaset_isdn_connD()
801 /* build and emit CONNECT_ACTIVE_IND message */ gigaset_isdn_connD()
808 dev_err(cs->dev, "%s: message parser failure\n", __func__); gigaset_isdn_connD()
912 dev_err(cs->dev, "%s: message parser failure\n", __func__); gigaset_isdn_connB()
1110 * outgoing CAPI message handler
1115 * helper function: emit reply message with given Info value
1126 * so they'll fit into the _REQ message skb send_conf()
1131 dev_err(cs->dev, "%s: message parser failure\n", __func__); send_conf()
1141 * process FACILITY_REQ message
1155 /* decode message */ do_facility_req()
1157 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_facility_req()
1241 /* Function: copy from _REQ message */ do_facility_req()
1270 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_facility_req()
1280 * process LISTEN_REQ message
1289 /* decode message */ do_listen_req()
1291 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_listen_req()
1304 * process ALERT_REQ message
1313 /* decode message */ do_alert_req()
1315 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_alert_req()
1324 * process CONNECT_REQ message
1342 /* decode message */ do_connect_req()
1344 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_connect_req()
1619 * process CONNECT_RESP message
1633 /* decode message */ do_connect_resp()
1635 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_connect_resp()
1791 * process CONNECT_B3_REQ message
1803 /* decode message */ do_connect_b3_req()
1805 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_connect_b3_req()
1835 * process CONNECT_B3_RESP message
1838 * The emitted message is always shorter than the received one,
1852 /* decode message */ do_connect_b3_resp()
1854 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_connect_b3_resp()
1898 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_connect_b3_resp()
1907 * process DISCONNECT_REQ message
1922 /* decode message */ do_disconnect_req()
1924 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_disconnect_req()
1964 * is still needed for creating the _CONF message do_disconnect_req()
1985 dev_err(cs->dev, "%s: message parser failure\n", do_disconnect_req()
2008 * process DISCONNECT_B3_REQ message
2020 /* decode message */ do_disconnect_b3_req()
2022 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_disconnect_b3_req()
2062 * process DATA_B3_REQ message
2078 /* frequent message, avoid _cmsg overhead */ do_data_b3_req()
2096 /* message too short for announced data length */ do_data_b3_req()
2113 /* pull CAPI message into link layer header */ do_data_b3_req()
2135 * process RESET_B3_REQ message
2144 /* decode message */ do_reset_b3_req()
2146 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_reset_b3_req()
2156 * unsupported CAPI message handler
2164 /* decode message */ do_unsupported()
2166 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_unsupported()
2175 * CAPI message handler: no-op
2183 /* decode message */ do_nothing()
2185 dev_err(cs->dev, "%s: message parser failure\n", __func__); do_nothing()
2201 /* table of outgoing CAPI message handlers with lookup function */
2260 * gigaset_send_message() - accept a CAPI message from an application
2262 * @skb: CAPI message.
2293 /* unknown/unsupported message type */ gigaset_send_message()
2295 dev_notice(cs->dev, "%s: unsupported message %u\n", gigaset_send_message()
2307 /* process message */ gigaset_send_message()
/linux-4.1.27/sound/pci/mixart/
H A Dmixart_core.c51 /* read the message frame fifo */ retrieve_msg_frame()
58 return 0; /* no message posted */ retrieve_msg_frame()
89 /* copy message descriptor from miXart to driver */ get_msg()
115 * free message frame address get_msg()
142 * send a message to miXart. return: the msg_frame used for this message
158 /* get message frame address */ send_msg()
163 dev_err(&mgr->pci->dev, "error: no message frame available\n"); send_msg()
181 /* TODO : use memcpy_toio() with intermediate buffer to copy the message */ send_msg()
183 /* copy message descriptor to card memory */ send_msg()
195 /* copy message data to card memory */ send_msg()
248 /* send the message */ snd_mixart_send_msg()
300 /* send the message */ snd_mixart_send_msg_wait_notif()
329 /* just send the message (do not mark it as a pending one) */ snd_mixart_send_msg_nonblock()
356 /* process the message ... */ snd_mixart_process_msg()
362 /* answer to a message on that we did not wait for (send_msg_nonblock) */ snd_mixart_process_msg()
397 "doesn't know what to do with message %x\n", snd_mixart_process_msg()
545 /* answer or notification to a message we are waiting for*/ snd_mixart_threaded_irq()
551 /* answer to a message we did't want to wait for */ snd_mixart_threaded_irq()
H A Dmixart_hwdep.h104 /* message DRV -> EMB */
107 /* message EMB -> DRV */
117 /* firmware addresses of the message fifos */
127 /* defines for mailbox message frames */
142 #define MIXART_PCI_OMIMR_OFFSET 0x34 /* outbound message interrupt mask register */
143 #define MIXART_PCI_OMISR_OFFSET 0x30 /* outbound message interrupt status register */
/linux-4.1.27/drivers/staging/i2o/
H A Dexec-osm.c13 * A lot of the I2O message side code from this is taken from the Red
53 u32 m; /* message id */
54 struct i2o_message *msg; /* pointer to the reply message */
104 * i2o_msg_post_wait_mem - Post and wait a message with DMA buffers
106 * @msg: message to post
110 * This API allows an OSM to post a message and then be told whether or
111 * not the system received a successful reply. If the message times out
113 * this situation the message may (should) complete at an indefinite time
144 * Fill in the message initiator context and transaction context. i2o_msg_post_wait_mem()
160 * Post the message to the controller. At some point later it will i2o_msg_post_wait_mem()
179 * FIXME: try abort message i2o_msg_post_wait_mem()
200 * @m: message id
201 * @msg: pointer to the I2O reply message
205 * before the timeout, the i2o_exec_wait struct is filled with the message
207 * the message m back to the controller! If the message reaches us after
211 * Return 0 on success and if the message m should not be given back to the
212 * I2O controller, or >0 on success and if the message should be given back
214 * message must also be given back to the controller.
225 * message is still outstanding. If not, it means that the IOP took i2o_msg_post_wait_complete()
226 * longer to respond to the message than we had allowed and timer has i2o_msg_post_wait_complete()
449 * @m: message id
450 * @msg: pointer to the I2O reply message
471 * the preserved message to find the right request again. i2o_exec_reply()
505 * If this happens, we want to dump the message to the syslog so i2o_exec_reply()
510 printk(KERN_WARNING "%s: Unsolicited message reply sent to core! Message dumped to syslog\n", i2o_exec_reply()
H A Di2o.h39 /* message queue empty */
201 /* Reply message status defines for all messages */
412 /* MFA and I2O message used by mempool */
415 struct i2o_message msg; /* I2O message */
552 struct i2o_io in_queue; /* inbound message queue Host->IOP */
553 struct i2o_dma out_queue; /* outbound message queue IOP->Host */
788 * i2o_out_to_virt - Turn an I2O message to a virtual address
790 * @m: message engine value
792 * Turn a receive message from an I2O controller bus address into
808 * i2o_msg_in_to_virt - Turn an I2O message to a virtual address
810 * @m: message engine value
812 * Turn a send message from an I2O controller bus address into
826 * i2o_msg_get - obtain an I2O message from the IOP
829 * This function tries to get a message frame. If no message frame is
831 * The returned pointer to the message frame is not in I/O memory, it is
835 * On a success a pointer to the message frame is returned. If the message
860 * i2o_msg_post - Post I2O message to I2O controller
861 * @c: I2O controller to which the message should be send
862 * @msg: message returned by i2o_msg_get()
864 * Post the message to the I2O controller and return immediately.
879 * i2o_msg_post_wait - Post and wait a message and wait until return
881 * @msg: message to post
884 * This API allows an OSM to post a message and then be told whether or
885 * not the system received a successful reply. If the message times out
920 * i2o_msg_nop - Returns a message which is not used
921 * @c: I2O controller from which the message was created
922 * @msg: message which should be returned
924 * If you fetch a message via i2o_msg_get, and can't use it, you must
925 * return the message with this function. Otherwise the MFA is lost as well
941 * @m: the message identifier
943 * The I2O controller must be informed that the reply message is not needed
944 * anymore. If you forget to flush the reply, the message frame can't be
H A Ddriver.c177 * i2o_driver_dispatch - dispatch an I2O reply message
178 * @c: I2O controller of the message
179 * @m: I2O message number
181 * The reply is delivered to the driver from which the original message
184 * Returns 0 on success and the message should not be flushed. Returns > 0
185 * on success and if the message should be flushed afterwords. Returns
186 * negative error code on failure (the message will be flushed too).
222 /* cut of header from message size (in 32-bit words) */ i2o_driver_dispatch()
H A Dmemory.c26 * @body_size: maximum body size used for message in 32-bit words.
56 * i2o_dma_map_single - Map pointer to controller and fill in I2O message.
61 * @sg_ptr: pointer to the SG list inside the I2O message
64 * SGL elements into the I2O message. For details on DMA handling see also
113 * i2o_dma_map_sg - Map a SG List to controller and fill in I2O message.
118 * @sg_ptr: pointer to the SG list inside the I2O message
121 * SGL elements into the I2O message. For details on DMA handling see also
/linux-4.1.27/net/rxrpc/
H A Dar-recvmsg.c42 * receive a message from an RxRPC socket
85 /* get the next message on the Rx queue */ rxrpc_recvmsg()
93 /* wait for a message to turn up */ rxrpc_recvmsg()
156 /* receive the message */ rxrpc_recvmsg()
224 /* move on to the next data message */ rxrpc_recvmsg()
356 * rxrpc_kernel_data_delivered - Record delivery of data message
359 * Record the delivery of a data message. This permits RxRPC to keep its
378 * rxrpc_kernel_is_data_last - Determine if data message is last one
381 * Determine if data message is last one for the parent call.
395 * rxrpc_kernel_get_abort_code - Get the abort code from an RxRPC abort message
398 * Get the abort code from an RxRPC abort message.
412 * rxrpc_kernel_get_error - Get the error number from an RxRPC error message
415 * Get the error number from an RxRPC error message.
/linux-4.1.27/net/nfc/nci/
H A Dhci.c67 struct nci_hcp_message message; member in struct:nci_hcp_packet
235 struct nci_hcp_message *message; nci_hci_send_cmd() local
257 message = (struct nci_hcp_message *)conn_info->rx_skb->data; nci_hci_send_cmd()
259 NCI_HCP_MSG_GET_CMD(message->header)); nci_hci_send_cmd()
370 /* Receive hcp message for pipe, with type and cmd.
371 * skb contains optional message data only.
401 struct nci_hcp_message *message; nci_hci_msg_rx_work() local
407 message = (struct nci_hcp_message *)skb->data; nci_hci_msg_rx_work()
408 type = NCI_HCP_MSG_GET_TYPE(message->header); nci_hci_msg_rx_work()
409 instruction = NCI_HCP_MSG_GET_CMD(message->header); nci_hci_msg_rx_work()
477 type = NCI_HCP_MSG_GET_TYPE(packet->message.header); nci_hci_data_received_cb()
514 struct nci_hcp_message *message; nci_hci_set_param() local
548 message = (struct nci_hcp_message *)conn_info->rx_skb->data; nci_hci_set_param()
550 NCI_HCP_MSG_GET_CMD(message->header)); nci_hci_set_param()
562 struct nci_hcp_message *message; nci_hci_get_param() local
588 message = (struct nci_hcp_message *)conn_info->rx_skb->data; nci_hci_get_param()
590 NCI_HCP_MSG_GET_CMD(message->header)); nci_hci_get_param()
/linux-4.1.27/sound/usb/line6/
H A Ddriver.c48 struct message { struct
59 static int line6_send_raw_message_async_part(struct message *msg,
87 Send raw message in pieces of wMaxPacketSize bytes.
123 struct message *msg = (struct message *)urb->context; line6_async_request_sent()
133 Asynchronously send part of a raw message.
135 static int line6_send_raw_message_async_part(struct message *msg, line6_send_raw_message_async_part()
174 Asynchronously send raw message.
179 struct message *msg; line6_send_raw_message_async()
182 /* create message: */ line6_send_raw_message_async()
183 msg = kmalloc(sizeof(struct message), GFP_ATOMIC); line6_send_raw_message_async()
195 /* set message data: */ line6_send_raw_message_async()
227 Send sysex message in pieces of wMaxPacketSize bytes.
239 Allocate buffer for sysex message and prepare header.
240 @param code sysex message code
277 dev_dbg(line6->ifcdev, "%d %d buffer overflow - message skipped\n", line6_data_received()
634 int line6_suspend(struct usb_interface *interface, pm_message_t message) line6_suspend() argument
/linux-4.1.27/include/linux/spi/
H A Dspi.h246 * @transfer: adds a message to the controller's transfer queue.
249 * @queued: whether this master is providing an internal message queue
250 * @kworker: thread struct for message pump
251 * @kworker_task: pointer to task for message pump kworker thread
252 * @pump_messages: work struct for scheduling work to the message pump
253 * @queue_lock: spinlock to syncronise access to message queue
254 * @queue: message queue
256 * @cur_msg: the currently in-flight message
258 * in-flight message
259 * @cur_msg_mapped: message has been mapped for DMA
261 * @busy: message pump is busy
262 * @running: message pump is running
268 * @prepare_transfer_hardware: a message will soon arrive from the queue
272 * message while queuing transfers that arrive in the meantime. When the
273 * driver is finished with this message, it must call
275 * message
281 * @prepare_message: set up the controller to transfer a single message,
312 * an SPI slave device. For each such message it queues, it calls the
313 * message's completion function when the transaction completes.
377 * just to add the message to the queue.
380 * + To a given spi_device, message queueing is pure fifo
382 * + The master's main job is to process its message queue,
388 * + Chipselect stays active during the entire message
390 * + The message transfers use clock and SPI mode parameters
438 struct spi_message *message);
440 struct spi_message *message);
450 struct spi_message *message);
491 /* Calls the driver make to interact with the message queue */
523 * well as the data buffers) for as long as the message is queued.
573 * it stays selected until after the last transfer in a message. Drivers
576 * (i) If the transfer isn't the last one in the message, this flag is
578 * message. Toggling chipselect in this way may be needed to terminate
582 * (ii) When the transfer is the last one in the message, the chip may
585 * a performance hint; starting a message to another device deselects
588 * spi_message submissions, where the content of one message is determined
600 * insulate against future API updates. After you submit a message
639 * @frame_length: the total number of bytes in the message
643 * @queue: for use by whichever driver currently owns the message
644 * @state: for use by whichever driver currently owns the message
657 * insulate against future API updates. After you submit a message
670 * a specific message scheduling algorithm.
672 * Some controller drivers (message-at-a-time queue processing)
674 * others (with multi-message pipelines) could need a flag to
718 * the given array to the message.
731 /* It's fine to embed message and transaction structures in other data
759 extern int spi_async(struct spi_device *spi, struct spi_message *message);
761 struct spi_message *message);
770 extern int spi_sync(struct spi_device *spi, struct spi_message *message);
771 extern int spi_sync_locked(struct spi_device *spi, struct spi_message *message);
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
H A Dptllnd_wire.h58 * Portals LND Wire message format.
64 #define LNET_MSG_MATCHBITS 0 /* the value for the message channel */
78 __u32 kptlhm_max_msg_size; /* max message size */
83 __u32 ptlm_magic; /* I'm a Portals LND message */
85 __u8 ptlm_type; /* the message type */
87 __u32 ptlm_nob; /* # bytes in whole message */
H A Dsocklnd.h54 __u32 kshm_magic; /* magic number of socklnd message */
55 __u32 kshm_version; /* version of socklnd message */
79 __u32 ksm_type; /* type of socklnd message */
83 ksock_lnet_msg_t lnetmsg; /* lnet message, it's empty if it's NOOP */
/linux-4.1.27/arch/tile/include/asm/
H A Dsmp.h31 /* Send a message to processors specified in mask */
34 /* Send a message to all but the sending processor */
37 /* Send a message to a specific processor */
40 /* Process an IPI message */
67 /* Hypervisor message tags sent via the tile send_IPI*() routines. */
136 /* Function for start-cpu message to cause us to jump to. */
/linux-4.1.27/fs/ntfs/
H A Ddebug.h37 * ntfs_debug - write a debug level message to syslog
38 * @f: a printf format string containing the message
41 * ntfs_debug() writes a DEBUG level message to the syslog but only if the
/linux-4.1.27/sound/soc/intel/common/
H A Dsst-dsp.c300 void sst_dsp_outbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_outbox_write() argument
306 memcpy_toio(sst->mailbox.out_base, message, bytes); sst_dsp_outbox_write()
309 trace_sst_ipc_outbox_wdata(i, *(u32 *)(message + i)); sst_dsp_outbox_write()
313 void sst_dsp_outbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_outbox_read() argument
319 memcpy_fromio(message, sst->mailbox.out_base, bytes); sst_dsp_outbox_read()
322 trace_sst_ipc_outbox_rdata(i, *(u32 *)(message + i)); sst_dsp_outbox_read()
326 void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_inbox_write() argument
332 memcpy_toio(sst->mailbox.in_base, message, bytes); sst_dsp_inbox_write()
335 trace_sst_ipc_inbox_wdata(i, *(u32 *)(message + i)); sst_dsp_inbox_write()
339 void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_inbox_read() argument
345 memcpy_fromio(message, sst->mailbox.in_base, bytes); sst_dsp_inbox_read()
348 trace_sst_ipc_inbox_rdata(i, *(u32 *)(message + i)); sst_dsp_inbox_read()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_vq.c46 * field of the work request message, and reflected back by the adapter
47 * in the verbs reply message. The function handle_vq() in the interrupt
49 * 1) append a copy of the verbs reply message
59 * the verbs work request message, and reflected back in the reply message.
76 * message. The are always allocated by the kernel verbs handlers, and _may_ be
145 * a verb reply message. If the associated
171 * vq_send_wr - post a verbs request message to the Verbs Request Queue.
172 * If a message is not available in the MQ, then block until one is available.
/linux-4.1.27/drivers/remoteproc/
H A Domap_remoteproc.h46 * message waiting in its own receive-side vring. please note that currently
47 * this message is optional: alternatively, one can explicitly send the index
51 * @RP_MBOX_CRASH: this message is sent if BIOS crashes
53 * @RP_MBOX_ECHO_REQUEST: a mailbox-level "ping" message.
/linux-4.1.27/drivers/staging/skein/
H A Dskein_api.h41 * message authentication codes (MAC).
60 * // Now update Skein with any number of message bits. A function that
62 * skein_update_bits(&ctx, message, msg_length);
180 * Update Skein with the next part of the message.
185 * Pointer to the message.
187 * Length of the message in @b bytes
195 * Update the hash with a message bit string.
203 * Pointer to the message.
205 * Length of the message in @b bits.
/linux-4.1.27/include/uapi/linux/usb/
H A Dcdc-wdm.h16 * defining the message limit for both reading and writing.
/linux-4.1.27/arch/sh/include/asm/
H A Dsmp-ops.h9 void (*send_ipi)(unsigned int cpu, unsigned int message);
/linux-4.1.27/fs/ecryptfs/
H A Dmessaging.c187 printk(KERN_WARNING "%s: Warning: dropping message that is in " ecryptfs_exorcise_daemon()
200 * @msg: The ecryptfs message received; the caller should sanity check
202 * @seq: The sequence number of the message; must match the sequence
203 * number for the existing message context waiting for this
206 * Processes a response message after sending an operation request to
210 * response message contains this index so that we can copy over the
211 * response message into the msg_ctx that the process holds a
214 * proceed to read off and process the response message. Returns zero
244 printk(KERN_WARNING "%s: Invalid message sequence; " ecryptfs_process_response()
270 * @msg_ctx: The message context allocated for the send
302 printk(KERN_ERR "%s: Error attempting to send message to " ecryptfs_send_message_locked()
312 * @msg_ctx: The message context allocated for the send
332 * @msg_ctx: The context that was assigned when sending a message
333 * @msg: The incoming message from userspace; not set if rc != 0
337 * returned, msg will point to a valid message from userspace; a
338 * non-zero value is returned upon failure to receive a message or an
H A Dmiscdev.c149 * @msg_type: Type of message
150 * @msg_flags: Flags for message
198 * Octets 5-N1 not written if the packet type does not include a message
215 * ecryptfs_miscdev_read - format and send message from queue
217 * @buf: User buffer into which to copy the next message on the daemon queue
221 * Pulls the most recent message from the daemon queue, formats it for
269 * message from the queue; try again */ ecryptfs_miscdev_read()
296 "pending message\n", __func__, count, total_length); ecryptfs_miscdev_read()
319 * message type other than ECRYPTFS_MSG_REQUEST */ ecryptfs_miscdev_read()
331 * ecryptfs_miscdev_response - miscdevess response to message previously sent to daemon
354 "Error processing response message; rc = [%d]\n", rc); ecryptfs_miscdev_response()
450 "message of unrecognized type [%d]\n", ecryptfs_miscdev_write()
483 * miscdev handle by that daemon will return the oldest message placed
484 * on the message queue for the daemon.
/linux-4.1.27/drivers/misc/sgi-xp/
H A Dxpc.h200 * Info pertinent to a GRU message queue using a watch list for irq generation.
203 void *address; /* address of GRU message queue */
204 unsigned int order; /* size of GRU message queue as a power of 2 */
205 int irq; /* irq raised when message is received in mq */
221 u8 type; /* message's type */
225 /* activate_mq defined message types */
301 * Define a Get/Put value pair (pointers) used with a message queue.
317 u16 entry_size; /* sizeof each message entry */
318 u16 remote_nentries; /* #of message entries in remote msg queue */
319 u16 local_nentries; /* #of message entries in local msg queue */
320 unsigned long local_msgqueue_pa; /* phys addr of local message queue */
344 * Define a sn2 styled message.
346 * A user-defined message resides in the payload area. The max size of the
349 * The size of a message entry (within a message queue) must be a 128-byte
351 * from one message queue to another.
358 u64 payload; /* user defined portion of message */
368 * The format of a uv XPC notify_mq GRU message is as follows:
370 * A user-defined message resides in the payload area. The max size of the
373 * The size of a message (payload and header) sent via the GRU must be either 1
396 * This is used to notify a message's sender that their message was received
413 * a msg slot on the remote partition into which is copied a sent message.
437 * Each channel structure manages two message queues (circular buffers).
439 * these message queues (local_msgqueue) holds the locally created messages
440 * that are destined for the remote partition. The other of these message
445 * two message queues. Consider the local_msgqueue to be on one partition
485 * the clearing of the message flags of any previously received messages.
489 * recipients. [ To allow for a multi-message copy, another pointer
490 * (next_msg_to_pull) has been added to keep track of the next message
499 * sender that the message was received by its intended recipient.
501 * new messages, by the clearing of the message flags of the acknowledged
510 struct xpc_msg_sn2 *local_msgqueue; /* local message queue */
513 /* partition's local message queue */
515 /* local message queue */
H A Dxp.h114 xpMsgReceived, /* 4: message received */
115 xpMsgDelivered, /* 5: message delivered and acknowledged */
124 xpUnequalMsgSizes, /* 11: message size disparity between sides */
183 xpPayloadTooBig, /* 55: payload too large for message slot */
189 xpGruSendMqError, /* 59: gru send message queue related error */
192 xpBadMsgType, /* 61: invalid message type */
214 * argument indicates the max number of entries allowed in the message queue.
216 * A reason code of xpMsgReceived indicates that a XPC message arrived from
218 * specifies the address of the message's payload. The user must call
241 * A reason code of xpMsgDelivered indicates that the message was delivered
263 * or an incoming message received, or an error condition encountered. A
272 u16 entry_size; /* message queue's message entry size */
H A Dxpnet.c17 * replaced with a point-to-point message structure which passes
30 * The message payload transferred by XPC.
45 u16 version; /* Version for this message */
46 u16 embedded_bytes; /* #of bytes embedded in XPC message */
56 * Determine the size of our message, the cacheline aligned size,
57 * and then the number of message will request from XPC.
59 * XPC expects each message to exist in an individual cacheline.
91 * whether all outstanding message sends have completed. The skb can
199 dev_dbg(xpnet, "copying embedded message. memcpy(0x%p, 0x%p, " xpnet_receive()
253 * state or message reception on a connection.
263 case xpMsgReceived: /* message received */ xpnet_connection_activity()
350 * Notification that the other end has received the message and
353 * release the skb and then release our pending message structure.
363 dev_dbg(xpnet, "message to %d notified with reason %d\n", xpnet_send_completed()
401 dev_dbg(xpnet, "sending XPC message to %d:%d\n" xpnet_send()
461 /* calculate how many bytes to embed in the XPC message */ xpnet_dev_hard_start_xmit()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dpack_generic.c67 LASSERTF(0, "incorrect message magic: %08x\n", magic); lustre_msg_hdr_size()
111 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_check_version()
171 LASSERTF(0, "incorrect message magic: %08x\n", magic); lustre_msg_size()
178 * and will correctly handle the different message formats. */ lustre_packed_msg_size()
185 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_packed_msg_size()
381 LASSERTF(0, "incorrect message magic: %08x\n", lustre_pack_reply_flags()
434 LASSERTF(0, "incorrect message magic: %08x(msg:%p)\n", m->lm_magic, m); lustre_msg_buf()
494 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_shrink_msg()
523 /* can't even look inside the message */ lustre_unpack_msg_v2()
524 CERROR("message length %d too small for lustre_msg\n", len); lustre_unpack_msg_v2()
544 CERROR("message length %d too small for %d buflens\n", lustre_unpack_msg_v2()
571 * message magic and version first. In the future, struct __lustre_unpack_msg()
573 * rather than a short message. __lustre_unpack_msg()
579 /* can't even look inside the message */ __lustre_unpack_msg()
580 CERROR("message length %d too small for magic/version check\n", __lustre_unpack_msg()
675 * lustre_msg_buflen - return the length of buffer \a n in message \a m
677 * \param n message index (base 0)
679 * returns zero for non-existent message indices
687 CERROR("incorrect message magic: %08x\n", m->lm_magic); lustre_msg_buflen()
709 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); lustre_msg_set_buflen()
715 /* NB return the bufcount for lustre_msg_v2 format, so if message is packed
723 CERROR("incorrect message magic: %08x\n", m->lm_magic); lustre_msg_bufcount()
741 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); lustre_msg_string()
785 CERROR("incorrect message magic: %08x\n", msg->lm_magic); __lustre_swab_buf()
810 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msghdr_get_flags()
825 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msghdr_set_flags()
841 /* flags might be printed in debug code while message lustre_msg_get_flags()
858 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_add_flags()
873 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_flags()
888 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_clear_flags()
920 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_add_op_flags()
935 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_op_flags()
952 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_handle()
970 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_type()
988 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_version()
1004 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_add_version()
1021 CERROR("incorrect message magic: %08x(msg:%p)\n", msg->lm_magic, msg); lustre_msg_get_opc()
1040 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_last_xid()
1058 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_last_committed()
1078 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_versions()
1096 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_transno()
1114 /* status might be printed in debug code while message lustre_msg_get_status()
1209 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_conn_cnt()
1233 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_magic()
1255 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_timeout()
1276 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_service_time()
1297 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_jobid()
1309 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_get_cksum()
1327 CERROR("incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_calc_cksum()
1342 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_handle()
1357 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_type()
1372 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_opc()
1387 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_last_xid()
1402 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_last_committed()
1422 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_versions()
1437 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_transno()
1452 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_status()
1467 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_conn_cnt()
1484 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_timeout()
1500 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_service_time()
1530 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_jobid()
1544 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); lustre_msg_set_cksum()
/linux-4.1.27/drivers/media/i2c/m5mols/
H A Dm5mols.h255 * message sends the information about the command, command category, and total
256 * message size. The second message is used to retrieve the data specifed in
257 * the first message
259 * 1st message 2nd message
263 * - size1: message data size(5 in this case)
264 * - size2: desired buffer size of the 2nd message
267 * The I2C write operation needs just one message. The message includes
270 * 1st message
/linux-4.1.27/drivers/edac/
H A Dppc4xx_edac.c100 * following pieces of information in the driver-unique message to the
298 * ppc4xx_edac_generate_bank_message - generate interpretted bank status message
300 * with the bank message being generated.
302 * message from.
304 * message.
308 * driver-unique report message associated with the ECCESS[BKNER]
360 * ppc4xx_edac_generate_checkbit_message - generate interpretted checkbit message
362 * with the checkbit message being generated.
364 * message from.
366 * message.
370 * driver-unique report message associated with the ECCESS[CKBER]
418 * ppc4xx_edac_generate_lane_message - generate interpretted byte lane message
420 * with the byte lane message being generated.
422 * message from.
424 * message.
428 * driver-unique report message associated with the ECCESS[BNCE]
483 * ppc4xx_edac_generate_ecc_message - generate interpretted ECC status message
485 * with the ECCES message being generated.
487 * message from.
489 * message.
493 * driver-unique report message associated with the ECCESS register of
539 * ppc4xx_edac_generate_plb_message - generate interpretted PLB status message
541 * with the PLB message being generated.
543 * message from.
545 * message.
549 * driver-unique report message associated with the PLB-related BESR
584 * ppc4xx_edac_generate_message - generate interpretted status message
586 * with the driver-unique message being generated.
588 * message from.
590 * message.
594 * EDAC report message from the specified ECC status.
633 char message[PPC4XX_EDAC_MESSAGE_SIZE]; ppc4xx_ecc_dump_status() local
635 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); ppc4xx_ecc_dump_status()
649 message); ppc4xx_ecc_dump_status()
715 * interface, so we just pass driver-unique message to the "no info"
723 char message[PPC4XX_EDAC_MESSAGE_SIZE]; ppc4xx_edac_handle_ce() local
725 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); ppc4xx_edac_handle_ce()
732 message, ""); ppc4xx_edac_handle_ce()
754 char message[PPC4XX_EDAC_MESSAGE_SIZE]; ppc4xx_edac_handle_ue() local
756 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); ppc4xx_edac_handle_ue()
763 message, ""); ppc4xx_edac_handle_ue()
/linux-4.1.27/net/tipc/
H A Dmsg.c2 * net/tipc/msg.c: TIPC message header routines
51 * tipc_buf_acquire - creates a TIPC message buffer
52 * @size: message size (including TIPC header)
192 /* tipc_msg_validate - validate basic format of received message
194 * This routine ensures a TIPC message has an acceptable header, and at least
196 * that the entire message header is stored in the main fragment of the message
197 * buffer, to simplify future access to message header fields.
199 * Note: Having extra info present in the message header or data areas is OK.
238 * @m: User message
243 * Returns message data size or errno: -ENOMEM, -EFAULT
387 * @pos: position in outer message of msg to be extracted.
424 * tipc_msg_make_bundle(): Create bundle buf and append message to its tail
428 * @dnode: destination node for message. (Not always present in header)
467 * @buf: buffer containing message to be reversed
468 * @dnode: return value: node where to send message after reversal
469 * @err: error code to be set in message
508 * tipc_msg_lookup_dest(): try to find new destination for named message
509 * @skb: the buffer containing the message.
511 * @err: return value: error code to use, if message to be rejected
548 * reassemble the clones into one message
H A Dmsg.h2 * net/tipc/msg.h: Include file for TIPC message header routines
43 * Constants and routines used to read and write TIPC payload message headers
45 * Note: Some items are also used with TIPC internal message headers
51 * Payload message users are defined in TIPC's public API:
61 * Payload message types
69 * Internal message users
84 #define SHORT_H_SIZE 24 /* In-cluster basic payload message */
85 #define BASIC_H_SIZE 32 /* Basic payload message */
86 #define NAMED_H_SIZE 40 /* Named payload message */
87 #define MCAST_H_SIZE 44 /* Multicast payload message */
97 * TIPC message buffer code
99 * TIPC message buffer headroom reserves space for the worst-case
100 * link-level device header (in case the message is sent off-node).
369 pr_warn("Trying to set illegal importance in message\n"); msg_set_importance()
482 * Constants and routines used to read and write TIPC internal message headers
486 * Connection management protocol message types
493 * Name distributor message types
499 * Segmentation message types
506 * Link management protocol message types
513 * Changeover tunnel message types
519 * Config protocol message types
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_ioctl.h70 unsigned char dbg; /* 0: without OID debug message
71 * 1: with OID debug message */
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_intr.c42 * qib_format_hwmsg - format a single hwerror message
43 * @msg message buffer
44 * @msgl length of message buffer
45 * @hwmsg message to add to message buffer
59 * @msg message buffer
60 * @msgl message buffer length
223 * We print the message and disable interrupts, in hope of qib_bad_intrstatus()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_ibmvtpm.h59 /* vTPM CRQ response is the message type | 0x80 */
63 /* vTPM CRQ message types */
/linux-4.1.27/include/uapi/scsi/
H A Dscsi_netlink_fc.h43 /* macro to round up message lengths to 8byte boundary */
51 * Note: if Vendor Unique message, &event_data will be start of
H A Dscsi_bsg_fc.h41 /* define the class masks for the message codes */
78 * This message requests the FC host to login to the remote port
97 * This message requests the FC host to remove an enumerated
118 * This message requests the FC_Host to send an ELS to a specific
183 * This message requests that a CT Request be performed with the
218 * Identifies the vendor that the message is formatted for. This
219 * should be the recipient of the message.
243 * This message requests that an ELS be performed with the rport.
262 * This message requests that a CT Request be performed with the rport.
H A Dscsi_netlink.h41 /* SCSI_TRANSPORT_MSG event message header */
76 /* macro to round up message lengths to 8byte boundary */
84 * Note: The Vendor Unique message payload will begin directly after
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dbug.h9 * It will cause a message with the file name and line number to be printed,
10 * and then cause an oops. The message is actually printed by handle_BUG()
/linux-4.1.27/arch/arm/plat-samsung/
H A Dwatchdog-reset.c38 /* delay to allow the serial port to show the message */ samsung_wdt_reset()
63 /* delay to allow the serial port to show the message */ samsung_wdt_reset()
/linux-4.1.27/kernel/sched/
H A Didle_task.c37 * message if some code attempts to do it:
89 /* dequeue is not valid, we print a debug message there: */
/linux-4.1.27/sound/pci/asihpi/
H A Dhpimsginit.h25 preparing a response to a message.
26 However, when sending a message, a matching response buffer must always be
H A Dhpimsginit.c27 /* The actual message size for each object type */
31 /* Flag to enable alternate message type for SSX2 bypass. */
35 * initialize the HPI message structure
/linux-4.1.27/tools/testing/selftests/powerpc/switch_endian/
H A Dswitch_endian_test.S5 message: label
75 ld r4, message@got(%r2)
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl.h87 /* Virtual channel message descriptor. This overlays the admin queue
109 * changes in the API. The PF must always respond to this message without
133 * PF responds with an indirect message containing
164 * VF sends this message to set up parameters for one TX queue.
180 * VF sends this message to set up parameters for one RX queue.
199 * VF sends this message to set parameters for all active TX and RX queues
218 * VF uses this message to map vectors to queues.
240 * VF sends these message to enable or disable TX/RX queue pairs.
254 * VF sends this message in order to add one or more unicast or multicast
260 * VF sends this message in order to remove one or more unicast or multicast
277 * VF sends this message to add one or more VLAN tag filters for receives.
284 * VF sends this message to remove one or more VLAN tag filters for receives.
310 * VF sends this message to request stats for the selected VSI. VF uses
318 * PF sends this message to inform the VF driver of events that may affect it.
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40e_virtchnl.h87 /* Virtual channel message descriptor. This overlays the admin queue
109 * changes in the API. The PF must always respond to this message without
133 * PF responds with an indirect message containing
164 * VF sends this message to set up parameters for one TX queue.
180 * VF sends this message to set up parameters for one RX queue.
199 * VF sends this message to set parameters for all active TX and RX queues
218 * VF uses this message to map vectors to queues.
240 * VF sends these message to enable or disable TX/RX queue pairs.
254 * VF sends this message in order to add one or more unicast or multicast
260 * VF sends this message in order to remove one or more unicast or multicast
277 * VF sends this message to add one or more VLAN tag filters for receives.
284 * VF sends this message to remove one or more VLAN tag filters for receives.
310 * VF sends this message to request stats for the selected VSI. VF uses
318 * PF sends this message to inform the VF driver of events that may affect it.
/linux-4.1.27/drivers/s390/char/
H A Dsclp_rw.c34 /* Event type structure for write message and write priority message */
103 /* max size of new Message Text Object including message text */ sclp_initialize_mto()
111 /* find address of new message text object */ sclp_initialize_mto()
120 mto->type = 4; /* message text object */ sclp_initialize_mto()
145 /* real size of new Message Text Object including message text */ sclp_finalize_mto()
148 /* find address of new message text object */ sclp_finalize_mto()
152 /* set size of message text object */ sclp_finalize_mto()
173 * processing of a message including escape characters,
193 * Depending on i/o-control setting the message is always written sclp_write()
195 * next message. Besides we avoid a buffer overrun by writing its sclp_write()
278 /* skip the rest of the message including the 0 byte */ sclp_write()
394 /* Normal completion, buffer processed, message(s) sent */ sclp_writedata_callback()
459 /* Use normal write message */ sclp_emit_buffer()
/linux-4.1.27/drivers/memory/
H A Dtegra20-mc.c139 char *message; tegra20_mc_decode() member in struct:reg_info
144 .message = "MC_DECERR", tegra20_mc_decode()
149 .message = "MC_GART_ERR", tegra20_mc_decode()
155 .message = "MC_SECURITY_ERR", tegra20_mc_decode()
174 reg[idx].message, req, addr, client, tegra20_mc_decode()
/linux-4.1.27/fs/dlm/
H A Dmidcomms.c53 * message that comes in. I doubt this will happen very often but we
75 message may wrap around the end of the buffer back to the dlm_process_incoming_buffer()
96 log_print("message size %d from %d too big, buf len %d", dlm_process_incoming_buffer()
102 /* If only part of the full message is contained in this dlm_process_incoming_buffer()
110 /* Allocate a larger temp buffer if the full message won't fit dlm_process_incoming_buffer()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_sec.h393 * Sign the request message using \a ctx.
395 * \pre req->rq_reqmsg point to request message.
396 * \pre req->rq_reqlen is the request message length.
397 * \post req->rq_reqbuf point to request message with signature.
398 * \post req->rq_reqdata_len is set to the final request message size.
406 * Verify the reply message using \a ctx.
408 * \pre req->rq_repdata point to reply message with signature.
409 * \pre req->rq_repdata_len is the total reply message length.
410 * \post req->rq_repmsg point to reply message without signature.
411 * \post req->rq_replen is the reply message length.
419 * Encrypt the request message using \a ctx.
421 * \pre req->rq_reqmsg point to request message in clear text.
422 * \pre req->rq_reqlen is the request message length.
423 * \post req->rq_reqbuf point to request message.
424 * \post req->rq_reqdata_len is set to the final request message size.
432 * Decrypt the reply message using \a ctx.
434 * \pre req->rq_repdata point to encrypted reply message.
436 * \post req->rq_repmsg point to reply message in clear text.
437 * \post req->rq_replen is the reply message length in clear text.
446 * request message.
452 * (usually inside of RPC request message).
470 * reply message.
670 * the request message pointed by req->rq_reqmsg can accommodate
696 * \pre request message is pointed by req->rq_reqbuf, size is
697 * req->rq_reqdata_len; and the message has been unpacked to
700 * \retval SECSVC_OK success, req->rq_reqmsg point to request message
704 * processed, and reply message has been prepared; req->rq_sp_from is
713 * Perform security transformation upon reply message.
715 * \pre reply message is pointed by req->rq_reply_state->rs_msg, size
717 * \post req->rs_repdata_len is the final message size.
735 * \param msgsize size of the reply message in clear text.
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dlib-msg.c71 /* event for active message */ lnet_build_msg_event()
79 /* event for passive message */ lnet_build_msg_event()
114 case LNET_EVENT_SEND: /* active message */ lnet_build_msg_event()
142 /* routed message can be committed for both receiving and sending */ lnet_msg_commit()
150 if (msg->msg_rx_committed) { /* routed message REPLY */ lnet_msg_commit()
181 default: /* routed message */ lnet_msg_decommit_tx()
245 * so message type wouldn't be changed back to "GET" by lnet_msg_decommit_rx()
387 * parameter (router NID) if it's routed message */ lnet_complete_msg_locked()
392 * NB: message is committed for sending, we should return lnet_complete_msg_locked()
393 * on success because LND will finalize this message later. lnet_complete_msg_locked()
395 * Also, there is possibility that message is committed for lnet_complete_msg_locked()
414 * NB: message is committed for sending, we should return lnet_complete_msg_locked()
415 * on success because LND will finalize this message later. lnet_complete_msg_locked()
417 * Also, there is possibility that message is committed for lnet_complete_msg_locked()
420 * - The rule is message must decommit for sending first if lnet_complete_msg_locked()
484 * NB: routed message can be committed for both receiving and sending, lnet_finalize()
494 /* Recursion breaker. Don't complete the message here if I am (or lnet_finalize()
584 CERROR("Failed to init freelist for message container\n"); lnet_msg_container_setup()
599 CERROR("Failed to allocate message finalizers\n"); lnet_msg_container_setup()
/linux-4.1.27/include/uapi/linux/wimax/
H A Di2400m.h71 * more TLVs with information. We call each control frame a "message".
73 * Each message is composed of:
93 * message (with the same type as the command), status and
291 * Header for a TX message or RX message
296 * indicates the real size of the TX message that starts at this
297 * point. If the highest bit is set, then this message is to be
299 * @sequence: sequence number of this message
300 * @offset: offset where the message itself starts -- see the comments
301 * in the file header about message header and payload descriptor
303 * @num_pls: number of payloads in this message
304 * @padding: amount of padding bytes at the end of the message to make
380 * When a message is replied-to, this status is reported.
/linux-4.1.27/drivers/mtd/devices/
H A Dsst25l.c218 struct spi_message message; sst25l_read() local
222 spi_message_init(&message); sst25l_read()
232 spi_message_add_tail(&transfer[0], &message); sst25l_read()
236 spi_message_add_tail(&transfer[1], &message); sst25l_read()
247 spi_sync(flash->spi, &message); sst25l_read()
249 if (retlen && message.actual_length > sizeof(command)) sst25l_read()
250 *retlen += message.actual_length - sizeof(command); sst25l_read()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dkernel_user_comm.c50 * libcfs_kkuc_msg_put - send an message from kernel to userspace
51 * @param fp to send the message to
85 CWARN("message send failed (%d)\n", rc); libcfs_kkuc_msg_put()
87 CDEBUG(D_KUC, "Sent message rc=%d, fp=%p\n", rc, filp); libcfs_kkuc_msg_put()
104 /* Protect message sending against remove and adds */
154 /* Broadcast a shutdown message */ libcfs_kkuc_group_rem()
201 /* don't return an error if the message has been delivered libcfs_kkuc_group_put()
/linux-4.1.27/drivers/acpi/acpica/
H A Duterror.c152 * DESCRIPTION: BIOS error message for predefined names. Messages
194 * DESCRIPTION: Print error message with the full pathname for the NS node.
249 * message - Error message to use on failure
256 * DESCRIPTION: Print error message with the full pathname for the method.
263 const char *message, acpi_ut_method_error()
282 acpi_ns_print_node_pathname(node, message); acpi_ut_method_error()
261 acpi_ut_method_error(const char *module_name, u32 line_number, const char *message, struct acpi_namespace_node *prefix_node, const char *path, acpi_status method_status) acpi_ut_method_error() argument
H A Dutxferror.c67 * DESCRIPTION: Print "ACPI Error" message with module/line/version info
99 * DESCRIPTION: Print "ACPI Exception" message with module/line/version info ACPI_EXPORT_SYMBOL()
133 * DESCRIPTION: Print "ACPI Warning" message with module/line/version info ACPI_EXPORT_SYMBOL()
164 * DESCRIPTION: Print generic "ACPI:" information message. There is no ACPI_EXPORT_SYMBOL()
165 * module/line/version info in order to keep the message simple. ACPI_EXPORT_SYMBOL()
198 * DESCRIPTION: Print "ACPI Firmware Error" message with module/line/version ACPI_EXPORT_SYMBOL()
231 * DESCRIPTION: Print "ACPI Firmware Warning" message with module/line/version ACPI_EXPORT_SYMBOL()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c45 * Pre-calculated empty message digests.
90 * hash_messagepad - Pads a message and write the nblw bits.
92 * @message: Last word of a message
93 * @index_bytes: The number of bytes in the last message
96 * than 512 bits (64 bytes) remain in message. This means index_bytes < 64.
100 const u32 *message, u8 index_bytes);
225 * the empty message.
227 * @zero_hash: Buffer to return the empty message digest.
228 * @zero_hash_size: Hash size of the empty message digest.
598 * bytes), word aligned, starting at message.
600 * @message: Block (512 bits) of message to be written to
605 const u32 *message, int length) hash_processblock()
614 * Write message data to the HASH_DIN register. hash_processblock()
616 HASH_SET_DIN(message, len); hash_processblock()
620 * hash_messagepad - Pads a message and write the nblw bits.
622 * @message: Last word of a message.
623 * @index_bytes: The number of bytes in the last message.
626 * than 512 bits (64 bytes) remain in message. This means index_bytes < 64.
630 const u32 *message, u8 index_bytes) hash_messagepad()
642 HASH_SET_DIN(message, nwords); hash_messagepad()
644 message++; hash_messagepad()
648 HASH_SET_DIN(message, nwords); hash_messagepad()
668 * hash_incrementlength - Increments the length of the current message.
670 * @incr: Length of message processed already
767 * prepare the initialize the HASH accelerator to compute the message hash_begin()
768 * digest of a new message. hash_begin()
1002 * Use a pre-calculated empty message digest hash_hw_final()
1025 dev_err(device_data->dev, "%s: Empty message with keylength > 0, NOT supported\n", hash_hw_final()
1073 * the message.
1074 * @req: Byte array containing the message to be hashed (caller
1090 /* Empty message ("") is correct indata */ hash_hw_update()
1162 * prepare the initialize the HASH accelerator to compute the message hash_resume_state()
1163 * digest of a new message. hash_resume_state()
604 hash_processblock(struct hash_device_data *device_data, const u32 *message, int length) hash_processblock() argument
629 hash_messagepad(struct hash_device_data *device_data, const u32 *message, u8 index_bytes) hash_messagepad() argument
/linux-4.1.27/drivers/staging/iio/frequency/
H A Dad9832.h67 * @msg: default spi message
69 * @freq_msg: tuning word spi message
71 * @phase_msg: tuning word spi message
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfi_cna.h120 * @brief reply message from firmware
139 * @brief reply message from firmware
155 /* @brief mailbox message structures from firmware to host */
/linux-4.1.27/drivers/hid/
H A Dhid-logitech-hidpp.c56 * bluetooth. The message lengths are defined by the hid vendor specific report
57 * descriptor for the HIDPP_SHORT report type (total message lenth 7 bytes) and
58 * the HIDPP_LONG report type (total message length 20 bytes)
66 * The paired device can be RAP or FAP, it will receive the message untouched
171 struct hidpp_report *message, hidpp_send_message_sync()
185 *response = *message; hidpp_send_message_sync()
187 ret = __hidpp_send_report(hidpp->hid_dev, message); hidpp_send_message_sync()
226 struct hidpp_report *message; hidpp_send_fap_command_sync() local
229 if (param_count > sizeof(message->fap.params)) hidpp_send_fap_command_sync()
232 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); hidpp_send_fap_command_sync()
233 if (!message) hidpp_send_fap_command_sync()
235 message->report_id = REPORT_ID_HIDPP_LONG; hidpp_send_fap_command_sync()
236 message->fap.feature_index = feat_index; hidpp_send_fap_command_sync()
237 message->fap.funcindex_clientid = funcindex_clientid; hidpp_send_fap_command_sync()
238 memcpy(&message->fap.params, params, param_count); hidpp_send_fap_command_sync()
240 ret = hidpp_send_message_sync(hidpp, message, response); hidpp_send_fap_command_sync()
241 kfree(message); hidpp_send_fap_command_sync()
249 struct hidpp_report *message; hidpp_send_rap_command_sync() local
256 if (param_count > sizeof(message->rap.params)) hidpp_send_rap_command_sync()
259 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); hidpp_send_rap_command_sync()
260 if (!message) hidpp_send_rap_command_sync()
262 message->report_id = report_id; hidpp_send_rap_command_sync()
263 message->rap.sub_id = sub_id; hidpp_send_rap_command_sync()
264 message->rap.reg_address = reg_address; hidpp_send_rap_command_sync()
265 memcpy(&message->rap.params, params, param_count); hidpp_send_rap_command_sync()
267 ret = hidpp_send_message_sync(hidpp_dev, message, response); hidpp_send_rap_command_sync()
268 kfree(message); hidpp_send_rap_command_sync()
170 hidpp_send_message_sync(struct hidpp_device *hidpp, struct hidpp_report *message, struct hidpp_report *response) hidpp_send_message_sync() argument
/linux-4.1.27/include/scsi/
H A Dscsi_bsg_iscsi.h43 /* define the class masks for the message codes */
63 * Identifies the vendor that the message is formatted for. This
64 * should be the recipient of the message.
/linux-4.1.27/ipc/
H A Dcompat_mq.c3 * 32 bit emulation for POSIX message queue system calls
18 compat_long_t mq_flags; /* message queue flags */
20 compat_long_t mq_msgsize; /* maximum message size */
/linux-4.1.27/scripts/
H A Dshow_delta18 This program parses the output from a set of printk message lines which
29 If it is a string, the first message line
41 # returns a tuple containing the seconds and text for each message line
/linux-4.1.27/sound/soc/intel/atom/
H A Dsst-mfld-dsp.h134 * - IPC High: pvt_id is set to zero. Always short message.
141 /* Command Response or Acknowledge message to any IPC message will have
142 * same message ID and stream ID information which is sent.
143 * There is no specific Ack message ID. The data field is used as response
152 IPC_CMD = 1, /*!< Task Control message ID */
153 IPC_SET_PARAMS = 2,/*!< Task Set param message ID */
154 IPC_GET_PARAMS = 3, /*!< Task Get param message ID */
155 IPC_INVALID = 0xFF, /*!<Task Get param message ID */
219 /* CAUTION NOTE: All IPC message body must be multiple of 32 bits.*/
387 message is sent valid only if path = 0*/
424 /* Alloc stream response message */
/linux-4.1.27/arch/x86/include/asm/uv/
H A Duv_bau.h169 * completion statuses for sending a TLB flush message
223 * [ effective message contents (16 bytes (128 bits) maximum), not counting
251 unsigned int command:8; /* message type */
260 unsigned int sequence:16; /* message sequence number */
276 message */
278 unsigned int canceled:1; /* message canceled, resource
345 message */
347 unsigned int canceled:1; /* message canceled, resource
374 unsigned int sequence:16; /* message sequence number */
386 unsigned int command:8; /* message type */
392 * The format of the message to send, plus all accompanying control
398 * message template, consisting of header and payload:
443 unsigned short sending_cpu; /* cpu that sent the message */
447 /* these next 3 bytes come from bits 58-81 of the message header */
449 unsigned short msg_type:3; /* software message type */
459 unsigned short sequence; /* message sequence number */
542 unsigned long d_nomsg; /* interrupts with no message */
/linux-4.1.27/drivers/w1/
H A Dw1_netlink.c43 /* pointers to building up the reply message */
48 struct w1_netlink_msg *cur_msg; /* currently message being processed */
70 * Calculates the current message length including possible multiple
72 * compariable to maxlen and usable to send the message.
94 * w1_reply_make_space() - send message if needed to make space
99 * message, if there isn't send the message and reset.
159 /* There's a status message sent after each command, so no point w1_netlink_queue_cmd()
202 * w1_netlink_send_error() - sends the error message now
208 * Use when a block isn't available to queue the message to and cn, msg
229 * @msg: w1_netlink_msg message to be sent
610 /* allocate space for the block, a copy of the original message, w1_cn_callback()
611 * one node per cmd to point into the original message, w1_cn_callback()
612 * space for replies which is the original message size plus w1_cn_callback()
616 size = /* block + original message */ w1_cn_callback()
640 * is called with the full message size including cn_msg, w1_cn_callback()
667 /* All following message types require additional data, w1_cn_callback()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dhtt.h206 * @cookie_lsb: used for confirmation message from target->host
232 * the SYNC message.
241 * The HTT target FW will suspend its host->target message processing as long
719 * target -> host test message definition
722 * message sent from the target to the host.
723 * The message consists of a 4-octet header, followed by a variable
743 * Purpose: identifies this as a test message
747 * Purpose: indicate how many 32-bit integers follow the message header
773 * target -> host packet log message
776 * message sent from the target to the host.
777 * The message consists of a 4-octet header,followed by a variable number
788 * Purpose: identifies this as a test message
966 * in its entirety within this message, or else this message
974 * to a shortage of memory to construct a message holding the
981 * (within a stats upload confirmation message).
995 * to host stats upload confirmation message.
996 * The message contains a cookie echoed from the HTT host->target stats
1032 * Purpose: identifies this is a statistics upload confirmation message
1037 * message with its preceding host->target stats request message.
1042 * message with its preceding host->target stats request message.
1104 * to target frag_desc/msdu_ext bank configuration message.
1105 * The message contains the based address and the min and max id of the
1154 /* real is 16 but it wouldn't fit in the max htt message size
/linux-4.1.27/drivers/net/usb/
H A Dhuawei_cdc_ncm.c88 * any message from the modem. Experience has shown huawei_cdc_ncm_bind()
124 pm_message_t message) huawei_cdc_ncm_suspend()
136 ret = usbnet_suspend(intf, message); huawei_cdc_ncm_suspend()
143 ret = drvstate->subdriver->suspend(intf, message); huawei_cdc_ncm_suspend()
123 huawei_cdc_ncm_suspend(struct usb_interface *intf, pm_message_t message) huawei_cdc_ncm_suspend() argument
/linux-4.1.27/drivers/rapidio/
H A Drio-access.c154 * rio_mport_send_doorbell - Send a doorbell message
158 * @data: Doorbell message data
160 * Send a doorbell message to a RIO device. The doorbell message
/linux-4.1.27/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.h3 /* Different command packet have dedicated message length and definition. */
129 /* 6. Debug feedback message. */
130 /* Define RX debug message */
139 /* Variable debug message. */
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Dcontrolvmchannel.h168 * ControlVm message (both commands and responses) in any ControlVm
174 /* For requests, indicates the message type. */
175 /* For responses, indicates the type of message we are responding to. */
178 * of message */
180 * message/information */
182 * message completion */
190 * messages where the message
198 * with this message */
206 u64 message_handle; /* Identifies the particular message instance,
248 /* This is the format for a message in any ControlVm queue. */
308 u32 phys_device:1; /* =1 if message is for
449 /* Request fixed-size message pool - does not include payload */
452 /* Response fixed-size message pool - does not include payload */
455 /* Event fixed-size message pool - does not include payload */
458 /* Ack fixed-size message pool - does not include payload */
491 * PayloadVmOffset will take different forms depending on the message.
/linux-4.1.27/drivers/gpio/
H A Dgpio-74x164.c37 struct spi_message message; __gen_74x164_write_config() local
46 spi_message_init(&message); __gen_74x164_write_config()
59 spi_message_add_tail(msg_buf + i, &message); __gen_74x164_write_config()
62 ret = spi_sync(spi, &message); __gen_74x164_write_config()
/linux-4.1.27/drivers/acpi/
H A Dacpi_ipmi.c47 /* the IPMI request message list */
89 /* it is used to track whether the IPMI message is finished */
278 * It points to the IPMI request message buffer acpi_format_ipmi_request()
282 /* copy the tx message data */ acpi_format_ipmi_request()
296 * the IPMI request message buffer to get the IPMB address. acpi_format_ipmi_request()
321 * IPMI message returned by IPMI command. acpi_format_ipmi_response()
334 * If the IPMI response message is obtained correctly, the status code acpi_format_ipmi_response()
530 * @function: indicates the read/write. In fact as the IPMI message is driven
532 * @address: This contains the netfn/command of IPMI request message.
534 * @value : it is an in/out parameter. It points to the IPMI message buffer.
535 * Before the IPMI message is sent, it represents the actual request
536 * IPMI message. After the IPMI message is finished, it represents
537 * the response IPMI message returned by IPMI command.
552 * IPMI opregion message. acpi_ipmi_space_handler()
553 * IPMI message is firstly written to the BMC and system software acpi_ipmi_space_handler()
/linux-4.1.27/include/linux/sunrpc/
H A Dgss_api.h55 struct xdr_buf *message,
59 struct xdr_buf *message,
113 struct xdr_buf *message,
117 struct xdr_buf *message,
/linux-4.1.27/arch/s390/crypto/
H A Dsha.h26 u64 count; /* message length in bytes */
/linux-4.1.27/arch/sh/boards/mach-dreamcast/
H A Dsetup.c13 * This file originally bore the message (with enclosed-$):
/linux-4.1.27/arch/mips/include/asm/
H A Dsocket.h24 * @SOCK_RDM - reliably-delivered message
/linux-4.1.27/arch/x86/crypto/
H A Dsha512-ssse3-asm.S90 # Input message (arg1)
129 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
156 # Compute message schedule QWORDS t and t+1
159 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
167 # The computation of the message schedule and the rounds are tightly
170 # by one tab. Vectored instructions (for the message scheduler) are indented
273 # Purpose: Updates the SHA512 digest stored at D with the message stored in M.
274 # The size of the message pointed to by M must be an integer multiple of SHA512
275 # message blocks.
276 # L is the message length in SHA512 blocks.
350 # Advance to next message block
/linux-4.1.27/drivers/isdn/mISDN/
H A Dl1oip.h78 struct msghdr sendmsg; /* ip message to send */
79 struct kvec sendiov; /* iov for message */
/linux-4.1.27/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_ioc.h148 * IOCInit message
151 /*IOCInit Request message */
219 /*IOCInit Reply message */
238 * IOCFacts message
241 /*IOCFacts Request message */
255 /*IOCFacts Reply message */
349 * PortFacts message
352 /*PortFacts Request message */
366 /*PortFacts Reply message */
396 * PortEnable message
399 /*PortEnable Request message */
414 /*PortEnable Reply message */
433 * EventNotification message
436 /*EventNotification Request message */
460 /*EventNotification Reply message */
1048 * EventAck message
1051 /*EventAck Request message */
1068 /*EventAck Reply message */
1086 * SendHostMessage message
1089 /*SendHostMessage Request message */
1114 /*SendHostMessage Reply message */
1132 * FWDownload message
1135 /*MPI v2.0 FWDownload Request message */
1178 /*MPI v2.5 FWDownload Request message */
1199 /*FWDownload Reply message */
1218 * FWUpload message
1221 /*MPI v2.0 FWUpload Request message */
1262 /*MPI v2.5 FWUpload Request message */
1283 /*FWUpload Reply message */
1622 * PowerManagementControl message
1625 /*PowerManagementControl Request message */
1709 /*PowerManagementControl Reply message */
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_fw1.h363 * Send the IDENTIFY and possibly the TAG message
364 * and negotiation message if present.
472 * Terminate possible pending message phase.
505 * We are expecting an IGNORE RESIDUE message
515 * Read the first byte of the message.
516 * If it is not an IGNORE RESIDUE message,
517 * signal overrun and jump to message
527 * We got the message we expected.
591 * Get the first byte of the message.
645 * the TASK COMPLETE message.
653 * Complete message.
775 * SAVE_DP message:
783 * the DISCONNECT message.
954 * Get the IDENTIFY message.
965 * If message isn't an IDENTIFY,
971 * It is an IDENTIFY message,
1369 * Send the 'kiss of death' message.
1371 * the target has eaten the message.
1394 * If it is an EXTENDED (variable size message)
1401 * 1 byte message.
1432 * assumed to be the message length.
1453 * message length and call the C code.
1467 * unimplemented message - reject it.
1477 * weird message received
1554 * The target requests a message.
1562 * if it's a message out, send it again, ...
1569 * sent message and clear the message.
1647 * send the abort/abortag/reset message
1665 * Identify [+ Tag [+ Extended message ]]. Targets shall
1704 * Send a M_ABORT message.
1714 * Send a M_ABORTTAG message.

Completed in 9234 milliseconds

1234567891011>>