Searched refs:record_type (Results 1 - 18 of 18) sorted by relevance

/linux-master/net/handshake/
H A Dalert.c36 u8 record_type = TLS_RECORD_TYPE_ALERT; local
37 u8 buf[CMSG_SPACE(sizeof(record_type))];
59 cmsg->cmsg_len = CMSG_LEN(sizeof(record_type));
60 memcpy(CMSG_DATA(cmsg), &record_type, sizeof(record_type)); local
76 u8 record_type; local
83 record_type = *((u8 *)CMSG_DATA(cmsg));
84 trace_tls_contenttype(sk, record_type);
85 return record_type;
/linux-master/fs/hfsplus/
H A Dattributes.c96 static int hfsplus_attr_build_record(hfsplus_attr_entry *entry, int record_type, argument
99 if (record_type == HFSPLUS_ATTR_FORK_DATA) {
106 } else if (record_type == HFSPLUS_ATTR_EXTENTS) {
113 } else if (record_type == HFSPLUS_ATTR_INLINE_DATA) {
117 entry->inline_data.record_type = cpu_to_be32(record_type);
270 __be32 found_cnid, record_type; local
279 hfs_bnode_read(fd->bnode, &record_type,
280 fd->entryoffset, sizeof(record_type));
282 switch (be32_to_cpu(record_type)) {
[all...]
H A Dhfsplus_raw.h373 __be32 record_type; member in struct:hfsplus_attr_fork_data
380 __be32 record_type; member in struct:hfsplus_attr_extents
389 __be32 record_type; member in struct:hfsplus_attr_inline_data
398 __be32 record_type; member in union:__anon66
H A Dxattr.c495 u32 record_type; local
533 record_type = be32_to_cpu(xattr_record_type);
534 if (record_type == HFSPLUS_ATTR_INLINE_DATA) {
544 } else if (record_type == HFSPLUS_ATTR_FORK_DATA ||
545 record_type == HFSPLUS_ATTR_EXTENTS) {
/linux-master/include/trace/events/
H A Dhandshake.h14 record_type(CHANGE_CIPHER_SPEC) \
15 record_type(ALERT) \
16 record_type(HANDSHAKE) \
17 record_type(DATA) \
18 record_type(HEARTBEAT) \
19 record_type(TLS12_CID) \
22 #undef record_type macro
24 #define record_type(x) TRACE_DEFINE_ENUM(TLS_RECORD_TYPE_##x); macro
29 #undef record_type macro
31 #define record_type( macro
[all...]
/linux-master/net/tls/
H A Dtls.h177 unsigned char *record_type);
333 unsigned char record_type)
351 TLS_RECORD_TYPE_DATA : record_type;
362 unsigned char record_type, struct tls_prot_info *prot)
372 TLS_RECORD_TYPE_DATA : record_type;
332 tls_fill_prepend(struct tls_context *ctx, char *buf, size_t plaintext_len, unsigned char record_type) argument
361 tls_make_aad(char *buf, size_t size, char *record_sequence, unsigned char record_type, struct tls_prot_info *prot) argument
H A Dtls_device.c318 unsigned char record_type)
340 record_type);
424 unsigned char record_type)
478 if (record_type != TLS_RECORD_TYPE_DATA) {
545 pfrag, record_type);
567 unsigned char record_type = TLS_RECORD_TYPE_DATA; local
578 rc = tls_process_cmsg(sk, msg, &record_type);
584 record_type);
314 tls_device_record_close(struct sock *sk, struct tls_context *ctx, struct tls_record_info *record, struct page_frag *pfrag, unsigned char record_type) argument
421 tls_push_data(struct sock *sk, struct iov_iter *iter, size_t size, int flags, unsigned char record_type) argument
H A Dtls_sw.c725 unsigned char record_type)
781 rec->content_type = record_type;
809 tls_ctx->tx.rec_seq, record_type, prot);
815 record_type);
843 bool full_record, u8 record_type,
859 err = tls_push_record(sk, flags, record_type);
888 err = tls_push_record(sk, flags, record_type);
1013 unsigned char record_type = TLS_RECORD_TYPE_DATA; local
1032 ret = tls_process_cmsg(sk, msg, &record_type);
1116 record_type,
724 tls_push_record(struct sock *sk, int flags, unsigned char record_type) argument
842 bpf_exec_tx_verdict(struct sk_msg *msg, struct sock *sk, bool full_record, u8 record_type, ssize_t *copied, int flags) argument
[all...]
H A Dtls_main.c239 unsigned char *record_type)
252 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type)))
262 *record_type = *(unsigned char *)CMSG_DATA(cmsg);
238 tls_process_cmsg(struct sock *sk, struct msghdr *msg, unsigned char *record_type) argument
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_i210.c329 u8 record_type, word_address; local
334 record_type = INVM_DWORD_TO_RECORD_TYPE(invm_dword);
335 if (record_type == E1000_INVM_UNINITIALIZED_STRUCTURE)
337 if (record_type == E1000_INVM_CSR_AUTOLOAD_STRUCTURE)
339 if (record_type == E1000_INVM_RSA_KEY_SHA256_STRUCTURE)
341 if (record_type == E1000_INVM_WORD_AUTOLOAD_STRUCTURE) {
/linux-master/tools/testing/selftests/net/
H A Dtls.c155 static int tls_send_cmsg(int fd, unsigned char record_type, argument
176 *CMSG_DATA(cmsg) = record_type;
183 int fd, unsigned char record_type,
208 EXPECT_EQ(ctype, record_type);
785 char record_type = 100; local
799 EXPECT_EQ(tls_recv_cmsg(_metadata, self->cfd, record_type,
808 char record_type = 100; local
822 EXPECT_EQ(tls_recv_cmsg(_metadata, self->cfd, record_type,
1462 char record_type = 100; local
1469 EXPECT_EQ(tls_send_cmsg(self->fd, record_type, test_st
182 tls_recv_cmsg(struct __test_metadata *_metadata, int fd, unsigned char record_type, void *data, size_t len, int flags) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c433 if (header->record_type == LAST_RECORD_TYPE ||
437 if (header->record_type == ATOM_I2C_RECORD_TYPE
542 if (header->record_type == ATOM_RECORD_END_TYPE ||
546 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE
620 if (header->record_type == LAST_RECORD_TYPE ||
624 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE
2123 if (header->record_type == LAST_RECORD_TYPE ||
2127 if (header->record_type != ATOM_ENCODER_CAP_RECORD_TYPE)
2160 if (header->record_type == LAST_RECORD_TYPE ||
2164 if (header->record_type !
[all...]
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c980 unsigned char *record_type)
993 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type)))
999 *record_type = *(unsigned char *)CMSG_DATA(cmsg);
1051 unsigned char record_type = TLS_RECORD_TYPE_DATA; local
1055 &record_type);
1066 csk->tlshws.type = record_type;
979 chtls_proccess_cmsg(struct sock *sk, struct msghdr *msg, unsigned char *record_type) argument
/linux-master/drivers/firmware/efi/
H A Dcper.c467 fw_err->record_type < ARRAY_SIZE(fw_err_rec_type_strs) ?
468 fw_err_rec_type_strs[fw_err->record_type] : "unknown");
/linux-master/include/linux/
H A Dcper.h569 u8 record_type; member in struct:cper_sec_fw_err_rec_ref
/linux-master/fs/ntfs3/
H A Dfslog.c249 __le32 record_type; // 0x20: LfsClientRecord or LfsClientRestart. member in struct:LFS_RECORD_HDR
2514 } else if (LfsClientRecord == hdr->record_type) {
4383 if (LfsClientRecord != frh->record_type)
4846 if (LfsClientRecord != frh->record_type)
/linux-master/drivers/gpu/drm/amd/include/
H A Datomfirmware.h825 uint8_t record_type; //An emun to indicate the record type member in struct:atom_common_record_header
831 struct atom_common_record_header record_header; //record_type = ATOM_I2C_RECORD_TYPE
838 struct atom_common_record_header record_header; //record_type = ATOM_HPD_INT_RECORD_TYPE
845 record_header; //record_type = ATOM_CONN_CAP_RECORD_TYPE
851 record_header; //record_type = ATOM_CONN_SPEED_UPTO
873 struct atom_common_record_header record_header; //record_type = ATOM_ENCODER_CAP_RECORD_TYPE
983 record_header; //record_type = ATOM_BRACKET_LAYOUT_RECORD_TYPE
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h12200 MLXSW_ITEM32(reg, tnumt, record_type, 0x00, 28, 4);

Completed in 390 milliseconds