Home
last modified time | relevance | path

Searched full:payload (Results 1 – 25 of 1566) sorted by relevance

12345678910>>...63

/linux/tools/perf/util/arm-spe-decoder/
H A Darm-spe-decoder.c25 static u64 arm_spe_calc_ip(int index, u64 payload) in arm_spe_calc_ip() argument
33 ns = SPE_ADDR_PKT_GET_NS(payload); in arm_spe_calc_ip()
34 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_calc_ip()
37 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip()
41 payload |= 0xffULL << SPE_ADDR_PKT_ADDR_BYTE7_SHIFT; in arm_spe_calc_ip()
47 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip()
51 * defines the data virtual address payload format, the top byte in arm_spe_calc_ip()
56 * specific pattern in bits [55:52] of payload whic in arm_spe_calc_ip()
156 u64 payload, ip; arm_spe_read_record() local
[all...]
H A Darm-spe-pkt-decoder.c62 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload()
63 case 2: packet->payload = get_unaligned_le16(buf); break; in arm_spe_get_payload()
64 case 4: packet->payload = get_unaligned_le32(buf); break; in arm_spe_get_payload()
65 case 8: packet->payload = get_unaligned_le64(buf); break; in arm_spe_get_payload()
320 const struct ev_string *ev_strings, u64 payload) in arm_spe_pkt_desc_event()
323 if (payload & BIT_ULL(ev->event)) in arm_spe_pkt_desc_event()
325 payload &= ~BIT_ULL(ev->event); in arm_spe_pkt_desc_event()
327 return payload; in arm_spe_pkt_desc_event()
353 u64 payload = packet->payload; in arm_spe_pkt_desc_op_type()
282 u64 payload = packet->payload; arm_spe_pkt_desc_event() local
338 u64 payload = packet->payload; arm_spe_pkt_desc_op_type() local
446 u64 payload = packet->payload; arm_spe_pkt_desc_addr() local
486 u64 payload = packet->payload; arm_spe_pkt_desc_counter() local
514 unsigned long long payload = packet->payload; arm_spe_pkt_desc() local
[all...]
/linux/security/keys/
H A Dbig_key.c21 * Layout of key payload words.
28 #define to_big_key_payload(payload) \ argument
29 (struct big_key_payload *)((payload).data)
40 * arbitrary blob of data as the payload
59 struct big_key_payload *payload = to_big_key_payload(prep->payload); in big_key_preparse() local
67 BUILD_BUG_ON(sizeof(*payload) != sizeof(prep->payload.data)); in big_key_preparse()
75 payload->length = datalen; in big_key_preparse()
123 payload->data = enckey; in big_key_preparse()
124 payload->path = file->f_path; in big_key_preparse()
125 path_get(&payload->path); in big_key_preparse()
[all …]
/linux/include/uapi/linux/
H A Ddm-log-userspace.h41 * you will see 'Payload-to-userspace' and 'Payload-to-kernel'. The
42 * 'Payload-to-userspace' is what the kernel sends in 'additional data' as
43 * necessary parameters to complete the request. The 'Payload-to-kernel' is
46 * structure denotes the availability and amount of payload data.
54 * Payload-to-userspace:
56 * Payload-to-kernel:
78 * Payload-to-userspace:
80 * Payload-to-kernel:
85 * payload data.
97 * Payload-to-userspace:
[all …]
H A Dpapr_pdsm.h20 * envelope which consists of 2 headers sections and payload sections as
25 * | ND-HEADER | PDSM-HEADER | PDSM-PAYLOAD |
30 * | nd_command | payload --> | |
40 * 'nd_size_in' : (In) PDSM-HEADER + PDSM-IN-PAYLOAD (usually 0)
41 * 'nd_size_out' : (In) PDSM-HEADER + PDSM-RETURN-PAYLOAD
43 * 'nd_fw_size' : (Out) PDSM-HEADER + size of actual payload returned
46 * This is papr-scm specific header that precedes the payload. This is defined
51 * 'payload' : A union of all the possible payload structs
53 * PDSM Payload:
55 * The layout of the PDSM Payload is defined by various structs shared between
[all …]
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c76 uint64_t payload; in intel_pt_get_long_tnt() local
82 payload = get_unaligned_le64(buf); in intel_pt_get_long_tnt()
85 if (payload & BIT63) in intel_pt_get_long_tnt()
87 payload <<= 1; in intel_pt_get_long_tnt()
92 packet->payload = payload << 1; in intel_pt_get_long_tnt()
99 uint64_t payload = 0; in intel_pt_get_pip() local
105 memcpy_le64(&payload, buf + 2, 6); in intel_pt_get_pip()
106 packet->payload = payload; in intel_pt_get_pip()
123 packet->payload = get_unaligned_le16(buf + 2); in intel_pt_get_cbr()
135 memcpy_le64(&packet->payload, buf + 2, 5); in intel_pt_get_vmcs()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_varlen.c46 void *payload = payload1; in handler64_unsigned() local
53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned()
55 payload += len; in handler64_unsigned()
59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned()
61 payload += len; in handler64_unsigned()
65 total1 = payload - (void *)payload1; in handler64_unsigned()
76 void *payload = payload3; in handler64_signed() local
83 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_signed()
85 payload += len; in handler64_signed()
88 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_signed()
[all …]
H A Dprofiler.inc.h206 void* payload, in read_full_cgroup_path() argument
209 void* payload_start = payload; in read_full_cgroup_path()
217 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_full_cgroup_path()
220 return payload; in read_full_cgroup_path()
222 *root_pos = payload - payload_start; in read_full_cgroup_path()
224 payload += filepart_length; in read_full_cgroup_path()
228 return payload; in read_full_cgroup_path()
251 void* payload) in populate_cgroup_info() argument
304 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info()
308 payload += cgroup_root_length; in populate_cgroup_info()
[all …]
/linux/fs/smb/common/compress/
H A Dcompress.c21 * A NONE payload carries bytes verbatim. Keep both cursors and remaining
22 * lengths together so every chained payload handler applies identical bounds
40 * Pattern_V1 represents a run of one byte. Its wire payload is always the
66 * LZ77 payload Length includes the four-byte OriginalPayloadSize field.
102 const struct smb2_compression_payload_hdr *payload; in smb_decompress_chained() local
116 * bytes are a sequence of payload headers whose Length fields account in smb_decompress_chained()
117 * for payload data, including OriginalPayloadSize where applicable. in smb_decompress_chained()
127 payload = (const struct smb2_compression_payload_hdr *)src; in smb_decompress_chained()
128 payload_alg = payload->CompressionAlgorithm; in smb_decompress_chained()
129 flags = payload->Flags; in smb_decompress_chained()
[all …]
/linux/drivers/net/ipa/
H A Dipa_cmd.c31 * has a well-defined format, having a payload of a known length. This
33 * immediate command's opcode. The payload for a command resides in AP
137 /* Immediate command payload */
259 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_offset_valid() local
269 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid()
367 struct ipa_cmd_hw_ip_fltrt_init *payload; in ipa_cmd_table_init_add() local
388 payload = &cmd_payload->table_init; in ipa_cmd_table_init_add()
392 payload->hash_rules_addr = cpu_to_le64(hash_addr); in ipa_cmd_table_init_add()
393 payload->flags = cpu_to_le64(val); in ipa_cmd_table_init_add()
394 payload->nhash_rules_addr = cpu_to_le64(addr); in ipa_cmd_table_init_add()
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.c97 * @payload: The parsed payload (output).
100 * Parses and validates a SSH frame, including its payload, from the given
102 * writes the limits of the frame payload to the provided @payload span
109 * the %NULL pointer and the payload span will be set to the null span (start
114 * payload) CRC is invalid, or %-EMSGSIZE if the SSH message is bigger than
118 struct ssh_frame **frame, struct ssam_span *payload, in sshp_parse_frame() argument
126 payload->ptr = NULL; in sshp_parse_frame()
127 payload->len = 0; in sshp_parse_frame()
158 /* Pin down payload. */ in sshp_parse_frame()
161 /* Check for frame + payload length. */ in sshp_parse_frame()
[all …]
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c22 static int tpm2_key_encode(struct trusted_key_payload *payload, in tpm2_key_encode() argument
86 work1 = payload->blob; in tpm2_key_encode()
87 work1 = asn1_encode_sequence(work1, work1 + sizeof(payload->blob), in tpm2_key_encode()
95 return work1 - payload->blob;
106 static int tpm2_key_decode(struct trusted_key_payload *payload, in tpm2_key_decode()
117 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, in tpm2_key_decode()
118 payload->blob_len); in tpm2_key_decode()
231 * tpm2_seal_trusted() - seal the payload of a trusted key
234 * @payload: the key data in clear and encrypted form in tpm2_seal_trusted()
240 struct trusted_key_payload *payload, in tpm2_seal_trusted()
100 tpm2_key_decode(struct trusted_key_payload * payload,struct trusted_key_options * options,u8 ** buf,unsigned int * blob_len) tpm2_key_decode() argument
233 tpm2_seal_trusted(struct tpm_chip * chip,struct trusted_key_payload * payload,struct trusted_key_options * options) tpm2_seal_trusted() argument
375 tpm2_load_cmd(struct tpm_chip * chip,struct trusted_key_payload * payload,struct trusted_key_options * options,u32 * blob_handle) tpm2_load_cmd() argument
484 tpm2_unseal_cmd(struct tpm_chip * chip,struct trusted_key_payload * payload,struct trusted_key_options * options,u32 blob_handle) tpm2_unseal_cmd() argument
587 tpm2_unseal_trusted(struct tpm_chip * chip,struct trusted_key_payload * payload,struct trusted_key_options * options) tpm2_unseal_trusted() argument
[all...]
/linux/include/linux/greybus/
H A Dgreybus_protocols.h38 * other value indicates an error; in this case, the payload of the
47 __le16 size; /* Size in bytes of header + payload */
108 /* Control protocol manifest get size request has no payload*/
113 /* Control protocol manifest get request has no payload */
126 /* disconnecting response has no payload */
131 /* Control protocol [dis]connected response has no payload */
155 * it. Both operations have no payload.
241 /* firmware download release firmware response has no payload */
276 /* firmware management interface firmware version request has no payload */
289 /* firmware management load and validate firmware response has no payload*/
[all …]
/linux/drivers/hid/
H A Dhid-wiimote-core.c1242 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload) in wiimote_init_timeout()
1249 ops->in_keys(wdata, payload);
1257 ops->in_keys(wdata, payload); in handler_keys()
1263 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload) in handler_keys()
1270 ops->in_accel(wdata, payload);
1278 ops->in_accel(wdata, payload); in handler_accel()
1296 static void handler_ext(struct wiimote_data *wdata, const __u8 *payload, in valid_ext_handler()
1311 if (len < 6 || !memcmp(payload, invalid, len)) in handler_ext()
1317 if (payload[5] & 0x01) in handler_ext()
1320 if (payload[ in handler_ext()
1250 handler_keys(struct wiimote_data * wdata,const __u8 * payload) handler_keys() argument
1271 handler_accel(struct wiimote_data * wdata,const __u8 * payload) handler_accel() argument
1304 handler_ext(struct wiimote_data * wdata,const __u8 * payload,size_t len) handler_ext() argument
1392 handler_ir(struct wiimote_data * wdata,const __u8 * payload,bool packed,unsigned int id) handler_ir() argument
1416 handler_status_K(struct wiimote_data * wdata,const __u8 * payload) handler_status_K() argument
1425 handler_status(struct wiimote_data * wdata,const __u8 * payload) handler_status() argument
1453 handler_generic_K(struct wiimote_data * wdata,const __u8 * payload) handler_generic_K() argument
1458 handler_data(struct wiimote_data * wdata,const __u8 * payload) handler_data() argument
1479 handler_return(struct wiimote_data * wdata,const __u8 * payload) handler_return() argument
1495 handler_drm_KA(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KA() argument
1501 handler_drm_KE(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KE() argument
1507 handler_drm_KAI(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KAI() argument
1517 handler_drm_KEE(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KEE() argument
1523 handler_drm_KIE(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KIE() argument
1533 handler_drm_KAE(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KAE() argument
1540 handler_drm_KAIE(struct wiimote_data * wdata,const __u8 * payload) handler_drm_KAIE() argument
1551 handler_drm_E(struct wiimote_data * wdata,const __u8 * payload) handler_drm_E() argument
1556 handler_drm_SKAI1(struct wiimote_data * wdata,const __u8 * payload) handler_drm_SKAI1() argument
1568 handler_drm_SKAI2(struct wiimote_data * wdata,const __u8 * payload) handler_drm_SKAI2() argument
[all...]
/linux/include/drm/intel/
H A Dintel_lb_mei_interface.h15 * define INTEL_LB_FLAG_IS_PERSISTENT - Mark the payload as persistent
17 * This flag indicates that the late binding payload should be stored
23 * enum intel_lb_type - enum to determine late binding payload type
39 * @INTEL_LB_STATUS_INVALID_SIGNATURE: Payload has an invalid or untrusted signature
40 * @INTEL_LB_STATUS_INVALID_PAYLOAD: Payload contents are not accepted by firmware
89 * @push_payload: Sends a payload to the authentication firmware
92 * @type: Payload type (see &enum intel_lb_type)
93 * @flags: Payload flags bitmap (e.g. %INTEL_LB_FLAGS_IS_PERSISTENT)
94 * @payload: Pointer to payload buffer
95 * @payload_size: Payload buffer size in bytes
[all …]
/linux/certs/
H A Dsystem_keyring.c39 * @payload: The payload of the new key.
47 const union key_payload *payload, in restrict_link_by_builtin_trusted() argument
50 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted()
58 * @payload: The payload of the new key.
67 const union key_payload *payload, in restrict_link_by_digsig_builtin() argument
70 return restrict_link_by_digsig(dest_keyring, type, payload, in restrict_link_by_digsig_builtin()
80 * @payload: The payload of the new key.
90 const union key_payload *payload, in restrict_link_by_builtin_and_secondary_trusted() argument
98 payload == &builtin_trusted_keys->payload) in restrict_link_by_builtin_and_secondary_trusted()
102 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted()
[all …]
/linux/net/ncsi/
H A Dncsi-cmd.c51 h->length = htons(nca->payload); in ncsi_cmd_build_header()
57 sizeof(*h) + nca->payload); in ncsi_cmd_build_header()
59 ALIGN(nca->payload, 4)); in ncsi_cmd_build_header()
218 int payload; in ncsi_cmd_handler_oem() local
220 * requires payload to be padded with 0 to in ncsi_cmd_handler_oem()
226 payload = ALIGN(nca->payload, 4); in ncsi_cmd_handler_oem()
228 len += max(payload, padding_bytes); in ncsi_cmd_handler_oem()
231 unsafe_memcpy(&cmd->mfr_id, nca->data, nca->payload, in ncsi_cmd_handler_oem()
232 /* skb allocated with enough to load the payload */); in ncsi_cmd_handler_oem()
240 int payload; member
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c80 * @payload: Payload used in tests
89 struct ef4_loopback_payload payload; member
293 struct ef4_loopback_payload *payload; in ef4_loopback_rx_packet() local
301 payload = &state->payload; in ef4_loopback_rx_packet()
305 received.ip.saddr = payload->ip.saddr; in ef4_loopback_rx_packet()
307 received.ip.check = payload->ip.check; in ef4_loopback_rx_packet()
318 if (memcmp(&received.header, &payload->header, ETH_HLEN) != 0) { in ef4_loopback_rx_packet()
335 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in ef4_loopback_rx_packet()
343 if (memcmp(&received.msg, &payload->msg, sizeof(received.msg)) != 0) { in ef4_loopback_rx_packet()
351 if (received.iteration != payload->iteration) { in ef4_loopback_rx_packet()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dselftest.c82 * @payload: Payload used in tests
91 struct efx_loopback_payload payload; member
290 struct efx_loopback_payload *payload; in efx_loopback_rx_packet() local
298 payload = &state->payload; in efx_loopback_rx_packet()
302 received.ip.saddr = payload->ip.saddr; in efx_loopback_rx_packet()
304 received.ip.check = payload->ip.check; in efx_loopback_rx_packet()
315 if (memcmp(&received.header, &payload->header, ETH_HLEN) != 0) { in efx_loopback_rx_packet()
332 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in efx_loopback_rx_packet()
340 if (memcmp(&received.msg, &payload->msg, sizeof(received.msg)) != 0) { in efx_loopback_rx_packet()
348 if (received.iteration != payload->iteration) { in efx_loopback_rx_packet()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dselftest.c83 * @payload: Payload used in tests
92 struct efx_loopback_payload payload; member
291 struct efx_loopback_payload *payload; in efx_siena_loopback_rx_packet() local
299 payload = &state->payload; in efx_siena_loopback_rx_packet()
303 received.ip.saddr = payload->ip.saddr; in efx_siena_loopback_rx_packet()
305 received.ip.check = payload->ip.check; in efx_siena_loopback_rx_packet()
316 if (memcmp(&received.header, &payload->header, ETH_HLEN) != 0) { in efx_siena_loopback_rx_packet()
333 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in efx_siena_loopback_rx_packet()
341 if (memcmp(&received.msg, &payload->msg, sizeof(received.msg)) != 0) { in efx_siena_loopback_rx_packet()
349 if (received.iteration != payload->iteration) { in efx_siena_loopback_rx_packet()
[all …]
/linux/crypto/asymmetric_keys/
H A Drestrict.c60 * @payload: The payload of the new key.
75 const union key_payload *payload, in restrict_link_by_signature() argument
90 sig = payload->data[asym_auth]; in restrict_link_by_signature()
122 * @payload: The payload of the new key.
135 const union key_payload *payload, in restrict_link_by_ca() argument
143 pkey = payload->data[asym_crypto]; in restrict_link_by_ca()
162 * @payload: The payload o
176 restrict_link_by_digsig(struct key * dest_keyring,const struct key_type * type,const union key_payload * payload,struct key * trust_keyring) restrict_link_by_digsig() argument
211 key_or_keyring_common(struct key * dest_keyring,const struct key_type * type,const union key_payload * payload,struct key * trusted,bool check_dest) key_or_keyring_common() argument
333 restrict_link_by_key_or_keyring(struct key * dest_keyring,const struct key_type * type,const union key_payload * payload,struct key * trusted) restrict_link_by_key_or_keyring() argument
361 restrict_link_by_key_or_keyring_chain(struct key * dest_keyring,const struct key_type * type,const union key_payload * payload,struct key * trusted) restrict_link_by_key_or_keyring_chain() argument
[all...]
/linux/arch/powerpc/platforms/pseries/
H A Dpapr-hvpipe.c48 * - Generates HVPIPE event message when the payload is ready
50 * event until the partition read the previous payload which
62 * - poll(fd,..) -> wakeup FD if the payload is available to read.
177 * @buf: User specified buffer to copy the payload that returned
210 pr_err("Received the payload size = %d, but the buffer size = %d\n", in hvpipe_rtas_recv_msg()
227 * the size (payload + HVPIPE_HDR_LEN) for RTAS success.
248 * Send HVPIPE RTAS is used to send payload to the specific in papr_hvpipe_handle_write()
249 * source with the input parameters source ID and the payload in papr_hvpipe_handle_write()
264 * Even though can support max 1MB payload, the hypervisor in papr_hvpipe_handle_write()
265 * supports only 4048 bytes payload at present and also in papr_hvpipe_handle_write()
[all …]
/linux/Documentation/security/keys/
H A Dcore.rst35 - A payload.
67 * Each key can have a payload. This is a quantity of data that represent the
72 Having a payload is not required; and the payload can, in fact, just be a
76 called with a blob of data, and that then creates the key's payload in
81 attached payload back into a blob of data.
120 be given a payload when created.
124 A key of this type has a description and a payload that are arbitrary
130 Like a "user" key, a "logon" key has a payload that is an arbitrary
137 be created and updated from userspace, but the payload is only
173 amount of description and payload space that can be consumed.
[all …]
/linux/lib/
H A Dnlattr.c759 * nla_strscpy - Copy string attribute payload into a sized buffer
802 * nla_strdup - Copy string attribute payload into a newly allocated buffer
832 * attribute's payload. memcpy
894 * @attrlen: length of attribute payload
897 * room for the payload but does not copy it.
900 * tailroom for the attribute header and payload.
920 * @attrlen: length of attribute payload
924 * room for the payload but does not copy it. It also ensure that this
928 * tailroom for the attribute header and payload.
942 * @attrlen: length of attribute payload
[all …]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_mbox.c32 u16 dst_vnic_id, void *payload, in enic_mbox_send_msg_id() argument
92 memcpy(dst, payload, payload_len); in enic_mbox_send_msg_id()
173 void *payload, u16 payload_len) in enic_mbox_send_msg() argument
175 return enic_mbox_send_msg_id(enic, msg_type, dst_vnic_id, payload, in enic_mbox_send_msg()
180 u16 dst_vnic_id, void *payload, u16 payload_len, in enic_mbox_send_reply() argument
183 return enic_mbox_send_msg_id(enic, msg_type, dst_vnic_id, payload, in enic_mbox_send_reply()
188 u8 expected_reply, void *payload, in enic_mbox_vf_send_request() argument
192 payload, payload_len, 0, false, in enic_mbox_vf_send_request()
332 struct enic_mbox_hdr *hdr, void *payload) in enic_mbox_pf_process_msg() argument
354 err = enic_mbox_pf_handle_capability(enic, payload, vf_id, in enic_mbox_pf_process_msg()
[all …]

12345678910>>...63