| /linux/tools/testing/selftests/user_events/ |
| H A D | user_events_selftests.h | 19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument 24 *message = ""; in tracefs_enabled() 32 *message = "Tracefs is not installed"; in tracefs_enabled() 41 *message = "Cannot mount tracefs"; in tracefs_enabled() 52 *message = "Cannot access tracefs"; in tracefs_enabled() 60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument 65 *message = ""; in user_events_enabled() 70 *message = "Must be run as root"; in user_events_enabled() 75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled() 84 *message = "user_events is not installed"; in user_events_enabled() [all …]
|
| /linux/drivers/mtd/devices/ |
| H A D | mchp23k256.c | 65 struct spi_message message; in mchp23k256_write() local 69 spi_message_init(&message); in mchp23k256_write() 78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write() 82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write() 86 ret = spi_sync(flash->spi, &message); in mchp23k256_write() 93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write() 94 *retlen += message.actual_length - cmd_len; in mchp23k256_write() 104 struct spi_message message; in mchp23k256_read() local 108 spi_message_init(&message); in mchp23k256_read() 118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read() [all …]
|
| /linux/rust/syn/ |
| H A D | error.rs | 113 message: String, field 160 pub fn new<T: Display>(span: Span, message: T) -> Self { in new() 161 return new(span, message.to_string()); in new() 163 fn new(span: Span, message: String) -> Error { in new() 170 message, in new() 191 pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self { in new_spanned() 192 return new_spanned(tokens.into_token_stream(), message.to_string()); in new_spanned() 194 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned() 201 message, in new_spanned() 316 let mut string = Literal::string(&self.message); in to_compile_error() [all …]
|
| /linux/drivers/hv/ |
| H A D | hv_kvp.c | 201 struct hv_kvp_msg *message = (struct hv_kvp_msg *)msg; in kvp_on_msg() local 205 if (len < sizeof(*message)) in kvp_on_msg() 214 return kvp_handle_handshake(message); in kvp_on_msg() 228 data = &message->body.kvp_enum_data; in kvp_on_msg() 244 error = message->error; in kvp_on_msg() 253 kvp_respond_to_host(message, error); in kvp_on_msg() 376 struct hv_kvp_msg *message; in kvp_send_key() local 388 message = kzalloc_obj(*message); in kvp_send_key() 389 if (!message) in kvp_send_key() 392 message->kvp_hdr.operation = operation; in kvp_send_key() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | nmi.c | 122 char message[100]; in nmi_print_info() local 126 ptr = nmi_puts(message, "Unrecoverable machine check, code: "); in nmi_print_info() 129 sclp_emergency_printk(message); in nmi_print_info() 131 ptr = nmi_puts(message, init_utsname()->release); in nmi_print_info() 133 sclp_emergency_printk(message); in nmi_print_info() 135 ptr = nmi_puts(message, arch_hw_string); in nmi_print_info() 137 sclp_emergency_printk(message); in nmi_print_info() 139 ptr = nmi_puts(message, "PSW: "); in nmi_print_info() 146 sclp_emergency_printk(message); in nmi_print_info() 148 ptr = nmi_puts(message, "LBA: "); in nmi_print_info() [all …]
|
| /linux/tools/verification/rv/src/ |
| H A D | utils.c | 21 char message[MAX_MSG_LENGTH]; in err_msg() local 25 vsnprintf(message, sizeof(message), fmt, ap); in err_msg() 28 fprintf(stderr, "%s", message); in err_msg() 36 char message[MAX_MSG_LENGTH]; in debug_msg() local 43 vsnprintf(message, sizeof(message), fmt, ap); in debug_msg() 46 fprintf(stderr, "%s", message); in debug_msg()
|
| /linux/drivers/platform/x86/intel/ |
| H A D | ishtp_eclite.c | 171 struct ecl_message message; in ecl_ish_cl_write() local 182 message.header.version = ECL_ISH_HEADER_VERSION; in ecl_ish_cl_write() 183 message.header.data_type = ECL_MSG_DATA; in ecl_ish_cl_write() 184 message.header.request_type = ECL_ISH_WRITE; in ecl_ish_cl_write() 185 message.header.offset = opr_dev->opr_context.cmd_area.offset; in ecl_ish_cl_write() 186 message.header.data_len = opr_dev->opr_context.cmd_area.length; in ecl_ish_cl_write() 187 message.header.event = opr_dev->opr_context.cmd_area.event_id; in ecl_ish_cl_write() 188 len = sizeof(struct ecl_message_header) + message.header.data_len; in ecl_ish_cl_write() 190 memcpy(message.payload, in ecl_ish_cl_write() 191 opr_dev->opr_context.data_area.data + message.header.offset, in ecl_ish_cl_write() [all …]
|
| /linux/include/trace/events/ |
| H A D | intel_ish.h | 12 TP_PROTO(const char *message), 14 TP_ARGS(message), 17 __string(message, message) 21 __assign_str(message); 24 TP_printk("%s", __get_str(message))
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-scmi-raw | 1 What: /sys/kernel/debug/scmi/<n>/raw/message 5 Description: SCMI Raw synchronous message injection/snooping facility; write 6 a complete SCMI synchronous command message (header included) 12 and sent while the replies are read back one message at time 13 (receiving an EOF at each message boundary). 20 Description: SCMI Raw asynchronous message injection/snooping facility; write 21 a complete SCMI asynchronous command message (header included) 30 and sent while the replies are read back one message at time 31 (receiving an EOF at each message boundary). 38 Description: SCMI Raw message injection/snooping facility using polling mode; [all …]
|
| /linux/include/kunit/ |
| H A D | assert.h | 52 const struct va_format *message, 70 const struct va_format *message, 90 const struct va_format *message, 110 const struct va_format *message, 146 const struct va_format *message, 169 const struct va_format *message, 192 const struct va_format *message, 218 const struct va_format *message, 222 void kunit_assert_print_msg(const struct va_format *message,
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-dust.rst | 9 the user can send a message to the target to start failing read 93 $ sudo dmsetup message dust1 0 addbadblock 60 96 $ sudo dmsetup message dust1 0 addbadblock 67 99 $ sudo dmsetup message dust1 0 addbadblock 72 111 To enable the "fail read on bad block" behavior, send the "enable" message:: 113 $ sudo dmsetup message dust1 0 enable 144 result in an "Invalid argument" error, as well as a helpful message:: 146 $ sudo dmsetup message dust1 0 addbadblock 88 147 device-mapper: message ioctl on dust1 failed: Invalid argument 151 result in an "Invalid argument" error, as well as a helpful message:: [all …]
|
| /linux/Documentation/networking/ |
| H A D | mctp.rst | 42 Since MCTP is message-based, only ``SOCK_DGRAM`` sockets are supported. 99 match the network, address, and message type will be received by this socket. 101 messages with the TO bit set, to indicate an incoming request message, rather 118 The ``smctp_type`` field specifies which message types to receive. Only the 121 receiving packets with and without a message integrity check footer. 123 ``sendto()``, ``sendmsg()``, ``send()`` : transmit an MCTP message 126 An MCTP message is transmitted using one of the ``sendto()``, ``sendmsg()`` or 135 /* set message destination */ 142 /* arbitrary message to send, with message-type header */ 152 EID. If ``MCTP_TAG_OWNER`` is not set, the message will be sent with the tag [all …]
|
| H A D | netconsole.rst | 44 r if present, prepend kernel version (release) to the message 133 release Prepend kernel release to message (read-write) 199 echo "This is a message" > /dev/kmsg 203 12,607,22085407756,-;This is a message 223 echo "This is a message" > /dev/kmsg 224 12,607,22085407756,-;This is a message 251 sneding the message. 260 currently scheduled when that message was generated, providing extra context 265 echo "This is a message" > /dev/kmsg 266 12,607,22085407756,-;This is a message [all …]
|
| /linux/drivers/firmware/microchip/ |
| H A D | mpfs-auto-update.c | 162 struct mpfs_mss_msg *message __free(kfree) = in mpfs_auto_update_verify_image() 166 if (!response_msg || !response || !message) in mpfs_auto_update_verify_image() 179 message->cmd_opcode = AUTO_UPDATE_AUTHENTICATE_CMD_OPCODE; in mpfs_auto_update_verify_image() 180 message->cmd_data_size = AUTO_UPDATE_AUTHENTICATE_CMD_DATA_SIZE; in mpfs_auto_update_verify_image() 181 message->response = response; in mpfs_auto_update_verify_image() 182 message->cmd_data = AUTO_UPDATE_AUTHENTICATE_CMD_DATA; in mpfs_auto_update_verify_image() 183 message->mbox_offset = AUTO_UPDATE_UPGRADE_INDEX; in mpfs_auto_update_verify_image() 184 message->resp_offset = AUTO_UPDATE_DEFAULT_RESP_OFFSET; in mpfs_auto_update_verify_image() 187 ret = mpfs_blocking_transaction(priv->sys_controller, message); in mpfs_auto_update_verify_image() 364 struct mpfs_mss_msg *message __free(kfree) = in mpfs_auto_update_available() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | mailbox-test.c | 39 char *message; member 100 char *message; in mbox_test_message_write() local 116 message = kzalloc(MBOX_MAX_MSG_LEN, GFP_KERNEL); in mbox_test_message_write() 117 if (!message) in mbox_test_message_write() 122 tdev->message = message; in mbox_test_message_write() 123 ret = copy_from_user(tdev->message, userbuf, count); in mbox_test_message_write() 139 data = tdev->message; in mbox_test_message_write() 142 tdev->message, MBOX_MAX_MSG_LEN); in mbox_test_message_write() 150 kfree(tdev->message); in mbox_test_message_write() 284 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message() argument [all …]
|
| /linux/Documentation/driver-api/soundwire/ |
| H A D | locking.rst | 29 SoundWire message transfer lock. This mutex is part of 30 Bus data structure (sdw_bus). This lock is used to serialize the message 40 1. For every message transfer 44 b. Transfer message (Read/Write) to Slave1 or broadcast message on 60 | | b. Transfer message 74 2. For every message transfer in Prepare operation 78 b. Transfer message (Read/Write) to Slave1 or broadcast message on 99 | | b. Transfer message
|
| /linux/drivers/input/keyboard/ |
| H A D | applespi.c | 300 struct message { struct 611 struct spi_message *message, void (*complete)(void *)) in applespi_async() argument 613 message->complete = complete; in applespi_async() 614 message->context = applespi; in applespi_async() 616 return spi_async(applespi->spi, message); in applespi_async() 764 struct message *message = (struct message *)packet->data; in applespi_send_cmd_msg() local 796 message->type = cpu_to_le16(0x1020); in applespi_send_cmd_msg() 797 msg_len = sizeof(message->tp_info_command); in applespi_send_cmd_msg() 799 message->zero = 0x02; in applespi_send_cmd_msg() 800 message->rsp_buf_len = cpu_to_le16(0x0200); in applespi_send_cmd_msg() [all …]
|
| /linux/drivers/greybus/ |
| H A D | operation.c | 215 static int gb_message_send(struct gb_message *message, gfp_t gfp) in gb_message_send() argument 217 struct gb_connection *connection = message->operation->connection; in gb_message_send() 219 trace_gb_message_send(message); in gb_message_send() 222 message, in gb_message_send() 229 static void gb_message_cancel(struct gb_message *message) in gb_message_cancel() argument 231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel() 233 hd->driver->message_cancel(message); in gb_message_cancel() 311 struct gb_message *message, in gb_operation_message_init() argument 317 header = message->buffer; in gb_operation_message_init() 319 message->header = header; in gb_operation_message_init() [all …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A D | cec-ioc-receive.rst | 14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message 39 To receive a CEC message the application has to fill in the 45 is non-zero and no message arrived within ``timeout`` milliseconds, then 48 A received message can be: 50 1. a message received from another CEC device (the ``sequence`` field will 58 To send a CEC message the application has to fill in the struct 72 the reply will arrive in a later message. The ``sequence`` field can 102 - Timestamp in ns of when the last byte of the message was transmitted. 107 - Timestamp in ns of when the last byte of the message was received. 112 - The length of the message. For :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>` this is filled in [all …]
|
| /linux/tools/crypto/ccp/ |
| H A D | dbc_cli.py | 110 if not args.message or args.message.startswith("set"): 111 raise ValueError("Invalid message %s" % args.message) 113 param, signature = process_param(d, messages[args.message], sig) 123 if not args.message or args.message.startswith("get"): 124 raise ValueError("Invalid message %s" % args.message) 126 param, signature = process_param(d, messages[args.message], sig, data)
|
| /linux/drivers/acpi/acpica/ |
| H A D | uterror.c | 175 const char *message; in acpi_ut_prefixed_namespace_error() local 186 message = "Failure creating named object"; in acpi_ut_prefixed_namespace_error() 192 message = "Could not resolve symbol"; in acpi_ut_prefixed_namespace_error() 198 message = "Failure resolving symbol"; in acpi_ut_prefixed_namespace_error() 207 acpi_os_printf("%s [%s], %s", message, in acpi_ut_prefixed_namespace_error() 301 const char *message, in acpi_ut_method_error() argument 319 acpi_ns_print_node_pathname(node, message); in acpi_ut_method_error()
|
| /linux/drivers/spi/ |
| H A D | spi-mpc52xx.c | 85 struct spi_message *message; /* current message */ member 105 cs = spi_get_chipselect(ms->message->spi, 0); in mpc52xx_spi_chipsel() 164 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle() 165 list_del_init(&ms->message->queue); in mpc52xx_spi_fsmstate_idle() 169 spi = ms->message->spi; in mpc52xx_spi_fsmstate_idle() 181 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; in mpc52xx_spi_fsmstate_idle() 198 ms->transfer = container_of(ms->message->transfers.next, in mpc52xx_spi_fsmstate_idle() 241 ms->message->status = -EIO; in mpc52xx_spi_fsmstate_transfer() 242 if (ms->message->complete) in mpc52xx_spi_fsmstate_transfer() 243 ms->message->complete(ms->message->context); in mpc52xx_spi_fsmstate_transfer() [all …]
|
| /linux/Documentation/infiniband/ |
| H A D | tag_matching.rst | 15 message envelopes may match, the pair that includes the earliest posted-send 21 When a message is sent from the sender to the receiver, the communication 24 this is an expected message, otherwise it is called an unexpected message. 31 1. The Eager protocol- the complete message is sent when the send is 39 A fin message needs to be received in order for the buffer to be reused. 45 unexpected message list. The application posts receive buffers through calls 51 pre-posted receive for this arriving message, it is passed to the software and 52 placed in the unexpected message list. Otherwise the match is processed, 57 When a receive-message is posted, the communication library will first check 58 the software unexpected message list for a matching receive. If a match is [all …]
|
| /linux/Documentation/driver-api/md/ |
| H A D | md-cluster.rst | 62 managed through three locks: "token", "message", and "ack", together 63 with the Lock Value Block (LVB) of one of the "message" lock. 76 other nodes to acknowledge the message before proceeding. Only one 77 message can be processed at a time. 96 RESYNCING message identifies a range of the devices that the 112 array. The slot-number of the device is included in the message. 137 3.2.2 message 144 The resource, acquiring which means the message has been 157 sender get EX on "message":: 161 "message":EX [all …]
|
| /linux/drivers/misc/ibmasm/ |
| H A D | dot_command.c | 17 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) in ibmasm_receive_message() argument 20 struct dot_command_header *header = (struct dot_command_header *)message; in ibmasm_receive_message() 25 size = get_dot_command_size(message); in ibmasm_receive_message() 34 ibmasm_receive_event(sp, message, size); in ibmasm_receive_message() 37 ibmasm_receive_command_response(sp, message, size); in ibmasm_receive_message() 40 ibmasm_receive_heartbeat(sp, message, size); in ibmasm_receive_message()
|