Home
last modified time | relevance | path

Searched full:header (Results 1 – 25 of 5378) sorted by relevance

12345678910>>...216

/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.h4 /* YNL-GEN user header */
5 /* YNL-ARG --user-header linux/ethtool_netlink.h --exclude-op stats-get */
214 __u32 header:1; member
219 struct ethtool_header header; member
233 req->_present.header = 1; in ethtool_strset_get_req_set_header_dev_index()
234 req->header._present.dev_index = 1; in ethtool_strset_get_req_set_header_dev_index()
235 req->header.dev_index = dev_index; in ethtool_strset_get_req_set_header_dev_index()
241 free(req->header.dev_name); in ethtool_strset_get_req_set_header_dev_name()
242 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_set_header_dev_name()
243 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_set_header_dev_name()
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument
102 if (header && value) { in format_and_print_txt()
104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt()
105 } else if (header) { in format_and_print_txt()
107 fprintf(outf, "%s\n", header); in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
124 if (header) in format_and_print()
143 fprintf(outf, "%s\"%s\": ", delimiters, header); in format_and_print()
153 if (i == level && header) in format_and_print()
[all …]
/openbmc/qemu/block/
H A Dvdi.c34 * header).
39 * The code is not thread safe (missing locks for changes in header and
117 /* Innotek / SUN images use these strings in header.text:
186 /* VDI header (converted to host endianness). */
187 VdiHeader header; member
194 static void vdi_header_to_cpu(VdiHeader *header) in vdi_header_to_cpu() argument
196 header->signature = le32_to_cpu(header->signature); in vdi_header_to_cpu()
197 header->version = le32_to_cpu(header->version); in vdi_header_to_cpu()
198 header->header_size = le32_to_cpu(header->header_size); in vdi_header_to_cpu()
199 header->image_type = le32_to_cpu(header->image_type); in vdi_header_to_cpu()
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst-ipc.c298 struct skl_ipc_header *header = (struct skl_ipc_header *)(&msg->tx.header); in skl_ipc_tx_msg() local
303 header->extension); in skl_ipc_tx_msg()
305 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
329 struct skl_ipc_header *header = (struct skl_ipc_header *)(&ipc_header); in skl_ipc_reply_get_msg() local
333 header->primary); in skl_ipc_reply_get_msg()
346 struct skl_ipc_header header) in skl_ipc_process_notification() argument
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
359 header.primary); in skl_ipc_process_notification()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dud_header.c42 #define STRUCT_FIELD(header, field) \ argument
43 .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
44 .struct_size_bytes = sizeof_field(struct ib_unpacked_ ## header, field), \
45 .field_name = #header ":" #field
283 __sum16 ib_ud_ip4_csum(struct ib_ud_header *header) in ib_ud_ip4_csum() argument
289 iph.tos = header->ip4.tos; in ib_ud_ip4_csum()
290 iph.tot_len = header->ip4.tot_len; in ib_ud_ip4_csum()
291 iph.id = header->ip4.id; in ib_ud_ip4_csum()
292 iph.frag_off = header->ip4.frag_off; in ib_ud_ip4_csum()
293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum()
[all …]
/openbmc/linux/usr/include/
H A DMakefile11 # In theory, we do not care -m32 or -m64 for header compile tests.
22 # Do not add a new header to the blacklist without legitimate reason.
23 # Please consider to fix the header first.
26 no-header-test += asm/ucontext.h
27 no-header-test += drm/vmwgfx_drm.h
28 no-header-test += linux/am437x-vpfe.h
29 no-header-test += linux/coda.h
30 no-header-test += linux/cyclades.h
31 no-header-test += linux/errqueue.h
32 no-header-test += linux/hdlc/ioctl.h
[all …]
/openbmc/linux/net/6lowpan/
H A DKconfig18 tristate "Next Header and Generic Header Compression Support"
22 Support for next header and generic header compression defined in
28 tristate "Destination Options Header Support"
31 6LoWPAN IPv6 Destination Options Header compression according to
35 tristate "Fragment Header Support"
38 6LoWPAN IPv6 Fragment Header compression according to RFC6282.
41 tristate "Hop-by-Hop Options Header Support"
44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
48 tristate "IPv6 Header Support"
51 6LoWPAN IPv6 Header compression according to RFC6282.
[all …]
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c42 struct pldm_header_info header = { 0 }; in encode_rw_file_memory_resp() local
43 header.msg_type = PLDM_RESPONSE; in encode_rw_file_memory_resp()
44 header.instance = instance_id; in encode_rw_file_memory_resp()
45 header.pldm_type = PLDM_OEM; in encode_rw_file_memory_resp()
46 header.command = command; in encode_rw_file_memory_resp()
47 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_rw_file_memory_resp()
72 struct pldm_header_info header = { 0 }; in encode_rw_file_memory_req() local
73 header.msg_type = PLDM_REQUEST; in encode_rw_file_memory_req()
74 header.instance = instance_id; in encode_rw_file_memory_req()
75 header.pldm_type = PLDM_OEM; in encode_rw_file_memory_req()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dcow_user.c63 * Move the backing_file field to the end of the header. This allows
200 struct cow_header_v3 *header; in write_cow_header() local
211 header = cow_malloc(sizeof(*header)); in write_cow_header()
212 if (header == NULL) { in write_cow_header()
214 "header\n"); in write_cow_header()
217 header->magic = htobe32(COW_MAGIC); in write_cow_header()
218 header->version = htobe32(COW_VERSION); in write_cow_header()
221 if (strlen(backing_file) > sizeof(header->backing_file) - 1) { in write_cow_header()
225 sizeof(header->backing_file) - 1); in write_cow_header()
229 if (absolutize(header->backing_file, sizeof(header->backing_file), in write_cow_header()
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Derr_common.c50 printk("%s -- Frame Header --\n" in mchk_dump_logout_frame()
89 el_process_header_subpacket(struct el_subpacket *header) in el_process_header_subpacket() argument
96 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket()
97 printk("%s** Unexpected header CLASS %d TYPE %d, aborting\n", in el_process_header_subpacket()
99 header->class, header->type); in el_process_header_subpacket()
103 switch(header->type) { in el_process_header_subpacket()
106 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket()
108 header->by_type.sys_err.frame_packet_count; in el_process_header_subpacket()
113 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket()
115 header->by_type.sys_event.frame_packet_count; in el_process_header_subpacket()
[all …]
/openbmc/phosphor-net-ipmid/
H A Dmessage_parsers.cpp19 // Check if the packet has atleast the size of the RMCP Header in unflatten()
22 throw std::runtime_error("RMCP Header missing"); in unflatten()
27 // Verify if the fields in the RMCP header conforms to the specification in unflatten()
33 throw std::runtime_error("RMCP Header is invalid"); in unflatten()
48 // Read the Session Header and invoke the parser corresponding to the in unflatten()
49 // header type in unflatten()
64 throw std::runtime_error("Invalid Session Header"); in unflatten()
73 // Call the flatten routine based on the header type in flatten()
100 throw std::runtime_error("IPMI1.5 Session Header Missing"); in unflatten()
103 auto header = reinterpret_cast<SessionHeader_t*>(inPacket.data()); in unflatten() local
[all …]
/openbmc/linux/Documentation/netlink/specs/
H A Dethtool.yaml22 name: header
116 name: header
118 nested-attributes: header
131 name: header
133 nested-attributes: header
143 name: header
145 nested-attributes: header
220 name: header
222 nested-attributes: header
258 name: header
[all …]
/openbmc/libpldm/src/dsp/
H A Dbios.c16 struct pldm_header_info header = { 0 }; in encode_get_date_time_req() local
17 header.msg_type = PLDM_REQUEST; in encode_get_date_time_req()
18 header.instance = instance_id; in encode_get_date_time_req()
19 header.pldm_type = PLDM_BIOS; in encode_get_date_time_req()
20 header.command = PLDM_GET_DATE_TIME; in encode_get_date_time_req()
21 return pack_pldm_header(&header, &(msg->hdr)); in encode_get_date_time_req()
34 struct pldm_header_info header = { 0 }; in encode_get_date_time_resp() local
35 header.msg_type = PLDM_RESPONSE; in encode_get_date_time_resp()
36 header.instance = instance_id; in encode_get_date_time_resp()
37 header.pldm_type = PLDM_BIOS; in encode_get_date_time_resp()
[all …]
H A Dbase.c133 struct pldm_header_info header = { 0 }; in encode_get_types_req() local
134 header.instance = instance_id; in encode_get_types_req()
135 header.msg_type = PLDM_REQUEST; in encode_get_types_req()
136 header.command = PLDM_GET_PLDM_TYPES; in encode_get_types_req()
138 return pack_pldm_header(&header, &(msg->hdr)); in encode_get_types_req()
149 struct pldm_header_info header = { 0 }; in encode_get_commands_req() local
150 header.instance = instance_id; in encode_get_commands_req()
151 header.msg_type = PLDM_REQUEST; in encode_get_commands_req()
152 header.command = PLDM_GET_PLDM_COMMANDS; in encode_get_commands_req()
154 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_commands_req()
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ipmitool/
H A D0001-Fru-Fix-edit-field-not-checking-area-existence.patch28 New Header without change:
33 New Header with change:
94 struct fru_info fru, struct fru_header header,
109 - ipmi_fru_set_field_string_rebuild(intf,fruId,fru,header,f_type,f_index,f_string)
121 + if (ipmi_fru_set_field_string_rebuild(intf, fruId, fru, header,
130 struct fru_info fru, struct fru_header header,
169 + if (header.offset.internal != 0 && header.offset.internal > header_offset)
172 - ((header.offset.board) * 8),
173 - ((header.offset.board + change_size_by_8) * 8)
176 - (fru_data_new + ((header.offset.board + change_size_by_8) * 8)),
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Dregistries_selector.hpp18 const Header& header; member
25 if (base::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix()
27 return HeaderAndUrl{base::header, base::url}; in getRegistryHeaderAndUrlFromPrefix()
29 if (heartbeat_event::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix()
31 return HeaderAndUrl{heartbeat_event::header, heartbeat_event::url}; in getRegistryHeaderAndUrlFromPrefix()
33 if (openbmc::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix()
35 return HeaderAndUrl{openbmc::header, openbmc::url}; in getRegistryHeaderAndUrlFromPrefix()
37 if (resource_event::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix()
39 return HeaderAndUrl{resource_event::header, resource_event::url}; in getRegistryHeaderAndUrlFromPrefix()
41 if (task_event::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-viperboard.c121 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
123 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
127 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
130 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
131 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
132 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
137 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read()
138 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
[all …]
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-hdr.c15 static char *header_str(struct mjpeg_header *header, in header_str() argument
22 if (!header) in header_str()
25 snprintf(cur, left, "[MJPEG header]\n" in header_str()
31 header->length, in header_str()
32 header->sample_precision, in header_str()
33 header->frame_width, in header_str()
34 header->frame_height, in header_str()
35 header->nb_of_components); in header_str()
42 struct mjpeg_header *header) in delta_mjpeg_read_sof() argument
50 memset(header, 0, sizeof(*header)); in delta_mjpeg_read_sof()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D031.out5 === Create image with unknown header extension ===
27 Header extension:
30 data 'This is a test header extension'
34 === Rewrite header with no backing file ===
55 Header extension:
58 data 'This is a test header extension'
83 Header extension:
88 Header extension:
91 data 'This is a test header extension'
96 === Create image with unknown header extension ===
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dmeson-gxl-s905x-libretech-cc.dts172 "7J1 Header Pin5",
173 "7J1 Header Pin3",
174 "7J1 Header Pin12",
176 "9J3 Switch HDMI CEC/7J1 Header Pin11",
177 "7J1 Header Pin13",
179 "7J1 Header Pin15";
189 "HDMI_5V_EN", "9J1 Header Pin2",
191 "2J3 Header Pin6",
192 "2J3 Header Pin5",
193 "2J3 Header Pin4",
[all …]
/openbmc/libcper/
H A Dcper-parse.c19 json_object *cper_header_to_ir(EFI_COMMON_ERROR_RECORD_HEADER *header);
33 EFI_COMMON_ERROR_RECORD_HEADER header; in cper_to_ir() local
34 if (fread(&header, sizeof(EFI_COMMON_ERROR_RECORD_HEADER), 1, in cper_to_ir()
40 //Check if the header contains the magic bytes ("CPER"). in cper_to_ir()
41 if (header.SignatureStart != EFI_ERROR_RECORD_SIGNATURE_START) { in cper_to_ir()
42 printf("Invalid CPER file: Invalid header (incorrect signature).\n"); in cper_to_ir()
46 //Create the header JSON object from the read bytes. in cper_to_ir()
47 json_object *header_ir = cper_header_to_ir(&header); in cper_to_ir()
52 for (int i = 0; i < header.SectionCount; i++) { in cper_to_ir()
58 …printf("Invalid number of section headers: Header states %d sections, could not read section %d.\n… in cper_to_ir()
[all …]
/openbmc/linux/drivers/mtd/parsers/
H A Dar7part.c35 struct ar7_bin_rec header; in create_mtd_partitions() local
59 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
60 (uint8_t *)&header); in create_mtd_partitions()
61 if (!strncmp((char *)&header, "TIENV0.8", 8)) in create_mtd_partitions()
63 if (header.checksum == LOADER_MAGIC1) in create_mtd_partitions()
65 if (header.checksum == LOADER_MAGIC2) in create_mtd_partitions()
77 switch (header.checksum) { in create_mtd_partitions()
79 while (header.length) { in create_mtd_partitions()
80 offset += sizeof(header) + header.length; in create_mtd_partitions()
81 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c30 struct kvm_stats_header header; in stats_test() local
37 /* Read kvm stats header */ in stats_test()
38 read_stats_header(stats_fd, &header); in stats_test()
40 size_desc = get_stats_descriptor_size(&header); in stats_test()
43 id = malloc(header.name_size); in stats_test()
46 ret = pread(stats_fd, id, header.name_size, sizeof(header)); in stats_test()
47 TEST_ASSERT(ret == header.name_size, in stats_test()
48 "Expected header size '%u', read '%lu' bytes", in stats_test()
49 header.name_size, ret); in stats_test()
52 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header.name_size, in stats_test()
[all …]
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h11 #define event_contains(obj, mem) ((obj).header.size > offsetof(typeof(obj), mem))
14 struct perf_event_header header; member
23 struct perf_event_header header; member
48 struct perf_event_header header; member
54 struct perf_event_header header; member
61 struct perf_event_header header; member
68 struct perf_event_header header; member
76 struct perf_event_header header; member
84 struct perf_event_header header; member
94 struct perf_event_header header; member
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection_header.hpp15 * This header is at the start of every PEL section. It has a size
47 * @brief The size of the section in bytes, including this section header.
68 * @brief Returns the size of header when flattened into a PEL.
70 * @return size_t - the size of the header
83 * @param[out] header - the SectionHeader object
85 inline Stream& operator>>(Stream& s, SectionHeader& header) in operator >>() argument
87 s >> header.id >> header.size >> header.version >> header.subType >> in operator >>()
88 header.componentID; in operator >>()
93 * @brief Stream insertion operator for the section header
96 * @param[in] header - the SectionHeader object
[all …]

12345678910>>...216