Home
last modified time | relevance | path

Searched refs:footer (Results 1 – 25 of 29) sorted by relevance

12

/linux/fs/f2fs/
H A Dnode.h250 return le32_to_cpu(rn->footer.ino); in ino_of_node()
256 return le32_to_cpu(rn->footer.nid); in nid_of_node()
262 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node()
269 return le64_to_cpu(rn->footer.cp_ver); in cpver_of_node()
275 return le32_to_cpu(rn->footer.next_blkaddr); in next_blkaddr_of_node()
287 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
289 rn->footer.nid = cpu_to_le32(nid); in fill_node_footer()
290 rn->footer.ino = cpu_to_le32(ino); in fill_node_footer()
293 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer()
302 memcpy(&dst_rn->footer, &src_rn->footer, sizeof(struct node_footer)); in copy_node_footer()
[all …]
H A Dsegment.h100 #define GET_SUM_TYPE(footer) ((footer)->entry_type) argument
101 #define SET_SUM_TYPE(footer, type) ((footer)->entry_type = (type)) argument
H A Dgc.c1837 if (type != GET_SUM_TYPE((&sum->footer))) { in do_garbage_collect()
1841 GET_SUM_TYPE((&sum->footer))); in do_garbage_collect()
H A Dinode.c141 __le32 ino = node->footer.ino; in f2fs_inode_chksum()
H A Dsegment.c2762 memcpy(&dst->footer, &src->footer, SUM_FOOTER_SIZE); in write_current_sum_page()
2935 sum_footer = &(curseg->sum_blk->footer); in reset_curseg()
4415 memcpy(&curseg->sum_blk->footer, &sum->footer, SUM_FOOTER_SIZE); in read_normal_summaries()
/linux/drivers/infiniband/hw/hfi1/
H A Deprom.c255 struct hfi1_eprom_footer *footer; in read_segment_platform_config() local
266 footer = (struct hfi1_eprom_footer *) in read_segment_platform_config()
267 (directory + EP_PAGE_SIZE - sizeof(*footer)); in read_segment_platform_config()
270 if (footer->version != FOOTER_VERSION) in read_segment_platform_config()
274 if (footer->oprom_size >= SEG_SIZE) in read_segment_platform_config()
278 if (footer->num_table_entries > in read_segment_platform_config()
279 MAX_TABLE_ENTRIES(SEG_SIZE - footer->oprom_size)) in read_segment_platform_config()
283 directory_size = DIRECTORY_SIZE(footer->num_table_entries); in read_segment_platform_config()
301 for (entry = NULL, i = 0; i < footer->num_table_entries; i++) { in read_segment_platform_config()
391 seg_offset = footer->oprom_size; in read_segment_platform_config()
/linux/drivers/mtd/parsers/
H A Dafs.c220 u32 footer[12]; in afs_parse_v2_partition() local
239 ptr = off + mtd->erasesize - sizeof(footer); in afs_parse_v2_partition()
240 ret = mtd_read(mtd, ptr, sizeof(footer), &sz, (u_char *)footer); in afs_parse_v2_partition()
241 if ((ret < 0) || (ret >= 0 && sz != sizeof(footer))) { in afs_parse_v2_partition()
246 name = (char *) &footer[0]; in afs_parse_v2_partition()
247 version = footer[9]; in afs_parse_v2_partition()
248 ptr = off + mtd->erasesize - sizeof(footer) - footer[8]; in afs_parse_v2_partition()
/linux/drivers/net/ethernet/
H A Doa_tc6.c718 static int oa_tc6_process_rx_chunk_footer(struct oa_tc6 *tc6, u32 footer) in oa_tc6_process_rx_chunk_footer() argument
725 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_process_rx_chunk_footer()
727 footer); in oa_tc6_process_rx_chunk_footer()
729 if (FIELD_GET(OA_TC6_DATA_FOOTER_EXTENDED_STS, footer)) { in oa_tc6_process_rx_chunk_footer()
740 if (FIELD_GET(OA_TC6_DATA_FOOTER_RXD_HEADER_BAD, footer)) { in oa_tc6_process_rx_chunk_footer()
745 if (!FIELD_GET(OA_TC6_DATA_FOOTER_CONFIG_SYNC, footer)) { in oa_tc6_process_rx_chunk_footer()
818 u32 footer) in oa_tc6_prcs_ongoing_rx_frame() argument
824 u32 footer) in oa_tc6_prcs_rx_chunk_payload() argument
827 footer) * sizeof(u32); in oa_tc6_prcs_rx_chunk_payload()
829 footer); in oa_tc6_prcs_rx_chunk_payload()
[all …]
/linux/net/ceph/
H A Dmessenger_v1.c175 m->footer.flags |= CEPH_MSG_FOOTER_COMPLETE; in prepare_write_message_footer()
178 con_out_kvec_add(con, sizeof_footer(con), &m->footer); in prepare_write_message_footer()
183 m->footer.sig = 0; in prepare_write_message_footer()
185 m->old_footer.flags = m->footer.flags; in prepare_write_message_footer()
235 m->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
239 m->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
241 m->footer.middle_crc = 0; in prepare_write_message()
243 le32_to_cpu(m->footer.front_crc), in prepare_write_message()
244 le32_to_cpu(m->footer.middle_crc)); in prepare_write_message()
245 m->footer.flags = 0; in prepare_write_message()
[all …]
H A Dauth_x.c981 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
982 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
983 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
1008 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
1010 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
1012 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
1043 msg->footer.sig = sig; in ceph_x_sign_message()
1044 msg->footer.flags |= CEPH_MSG_FOOTER_SIGNED; in ceph_x_sign_message()
1061 if (sig_check == msg->footer.sig) in ceph_x_check_message_signature()
1063 if (msg->footer.flags & CEPH_MSG_FOOTER_SIGNED) in ceph_x_check_message_signature()
[all …]
H A Dmessenger.c2218 print_hex_dump(KERN_DEBUG, "footer: ", in ceph_msg_dump()
2220 &msg->footer, sizeof(msg->footer), true); in ceph_msg_dump()
/linux/tools/bootconfig/
H A Dmain.c371 } footer; in apply_xbc() local
442 footer.size = htole32(size); in apply_xbc()
443 footer.csum = htole32(csum); in apply_xbc()
444 memcpy(footer.magic, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN); in apply_xbc()
445 static_assert(sizeof(footer) == BOOTCONFIG_FOOTER_SIZE); in apply_xbc()
446 memcpy(data + size, &footer, BOOTCONFIG_FOOTER_SIZE); in apply_xbc()
/linux/Documentation/networking/
H A Doa-tc6-framework.rst70 chunk consists of a data chunk payload ending with a 32-bit data footer.
71 The data footer indicates if there is receive frame data present within
186 current chunk (DV = 0 in the footer), indicating that the
241 Buffer Status Register or footer (Refer below for the footer info)
246 In case the previous data footer had no transmit credits available and
250 footer for the first data chunk will have the transmit credits available
255 chunk will have 64 bytes of data chunk payload followed by 4 bytes footer
264 | | 4 bytes footer | | 64 bytes chunk payload | |------------>
268 4 bytes footer contains the below fields,
344 P (Bit 0) - Parity. Parity bit calculated over the receive data footer.
[all …]
H A Dmctp.rst121 receiving packets with and without a message integrity check footer.
/linux/tools/verification/rvgen/rvgen/
H A Ddot2c.py223 footer = "};\n"
224 return footer
/linux/drivers/soundwire/
H A Dcadence_master.c2552 static int check_frame_end(u32 footer) in check_frame_end() argument
2555 if (!(footer & BIT(30))) in check_frame_end()
2558 return check_response(footer); in check_frame_end()
2567 u32 footer; in sdw_cdns_check_write_response() local
2580 footer = *p_data++; in sdw_cdns_check_write_response()
2589 ret = check_frame_end(footer); in sdw_cdns_check_write_response()
2592 __func__, i + 1, num_frames, footer); in sdw_cdns_check_write_response()
2649 u32 footer; in sdw_cdns_check_read_response() local
2691 footer = *p_data++; in sdw_cdns_check_read_response()
2692 ret = check_frame_end(footer); in sdw_cdns_check_read_response()
[all …]
/linux/scripts/
H A Dbpf_doc.py542 footer = '''
625 print(footer)
852 footer = ''
853 print(footer)
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_rx.h37 __le32 footer; member
/linux/Documentation/driver-api/soundwire/
H A Dbra.rst28 10-byte overhead per frame (header and footer response).
90 footer response.
97 The footer response can be one of:
174 packet the header and footer response are provided by the Peripheral
177 will change for header/footer response as well as the data transmitted
/linux/include/linux/
H A Df2fs_fs.h369 struct node_footer footer; member
538 struct summary_footer footer; member
/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c219 __be16 *footer = skb_put(skb, DET_DFT_LEN); in mse102x_put_footer() local
221 *footer = cpu_to_be16(DET_DFT); in mse102x_put_footer()
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_wmfw.c37 struct wmfw_footer footer; member
/linux/include/linux/ceph/
H A Dmessenger.h269 struct ceph_msg_footer footer; /* footer */ member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpcie.c1727 struct brcmf_random_seed_footer footer = { in brcmf_pcie_download_fw_nvram() local
1737 address -= sizeof(footer); in brcmf_pcie_download_fw_nvram()
1738 memcpy_toio(devinfo->tcm + address, &footer, in brcmf_pcie_download_fw_nvram()
1739 sizeof(footer)); in brcmf_pcie_download_fw_nvram()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddebugfs_htt_stats.c16 const __le32 *array, u32 array_len, const char *footer) in print_array_to_buf_index() argument
35 if (footer) { in print_array_to_buf_index()
38 "%s", footer); in print_array_to_buf_index()
45 const __le32 *array, u32 array_len, const char *footer) in print_array_to_buf() argument
48 footer); in print_array_to_buf()
53 const s8 *array, u32 array_len, const char *footer) in print_array_to_buf_s8() argument
71 if (footer) { in print_array_to_buf_s8()
73 "%s", footer); in print_array_to_buf_s8()

12