/linux/fs/f2fs/ |
H A D | node.h | 242 return le32_to_cpu(rn->footer.ino); in ino_of_node() 248 return le32_to_cpu(rn->footer.nid); in nid_of_node() 254 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() 261 return le64_to_cpu(rn->footer.cp_ver); in cpver_of_node() 267 return le32_to_cpu(rn->footer.next_blkaddr); in next_blkaddr_of_node() 279 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer() 281 rn->footer.nid = cpu_to_le32(nid); in fill_node_footer() 282 rn->footer.ino = cpu_to_le32(ino); in fill_node_footer() 285 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer() 293 memcpy(&dst_rn->footer, &src_rn->footer, sizeof(struct node_footer)); in copy_node_footer() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | eprom.c | 255 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 D | afs.c | 220 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 D | oa_tc6.c | 718 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 D | messenger_v1.c | 176 m->footer.flags |= CEPH_MSG_FOOTER_COMPLETE; in prepare_write_message_footer() 179 con_out_kvec_add(con, sizeof_footer(con), &m->footer); in prepare_write_message_footer() 184 m->footer.sig = 0; in prepare_write_message_footer() 186 m->old_footer.flags = m->footer.flags; in prepare_write_message_footer() 239 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message() 243 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message() 245 con->out_msg->footer.middle_crc = 0; in prepare_write_message() 247 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message() 248 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message() 249 con->out_msg->footer.flags = 0; in prepare_write_message() [all …]
|
H A D | auth_x.c | 979 sigblock->front_crc = msg->footer.front_crc; in calc_signature() 980 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature() 981 sigblock->data_crc = msg->footer.data_crc; in calc_signature() 1006 sigblock->front_crc = msg->footer.front_crc; in calc_signature() 1008 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature() 1010 sigblock->data_crc = msg->footer.data_crc; in calc_signature() 1041 msg->footer.sig = sig; in ceph_x_sign_message() 1042 msg->footer.flags |= CEPH_MSG_FOOTER_SIGNED; in ceph_x_sign_message() 1059 if (sig_check == msg->footer.sig) in ceph_x_check_message_signature() 1061 if (msg->footer.flags & CEPH_MSG_FOOTER_SIGNED) in ceph_x_check_message_signature() [all …]
|
H A D | messenger.c | 2216 &msg->footer, sizeof(msg->footer), true); in ceph_msg_dump()
|
/linux/Documentation/networking/ |
H A D | oa-tc6-framework.rst | 70 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 D | mctp.rst | 121 receiving packets with and without a message integrity check footer.
|
/linux/tools/verification/dot2/ |
H A D | dot2c.py | 221 footer = "};\n" 222 return footer
|
/linux/samples/kmemleak/ |
H A D | kmemleak-test.c | 25 long footer[25]; member
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_rx.h | 37 __le32 footer; member
|
H A D | t7xx_hif_dpmaif_rx.c | 74 value = FIELD_GET(PD_PIT_H_BID, le32_to_cpu(pit_info->pd.footer)); in t7xx_normal_pit_bid() 458 return FIELD_GET(PD_PIT_PIT_SEQ, le32_to_cpu(pit->pd.footer)); in t7xx_dpmaif_read_pit_seq()
|
/linux/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | 214 __be16 *footer = skb_put(skb, DET_DFT_LEN); in mse102x_put_footer() local 216 *footer = cpu_to_be16(DET_DFT); in mse102x_put_footer()
|
/linux/include/linux/ceph/ |
H A D | messenger.h | 268 struct ceph_msg_footer footer; /* footer */ member
|
/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 1479 const struct wmfw_footer *footer; in cs_dsp_load() local 1521 if ((pos == 0) || (sizeof(*footer) > firmware->size - pos)) { in cs_dsp_load() 1526 footer = (void *)&firmware->data[pos]; in cs_dsp_load() 1527 pos += sizeof(*footer); in cs_dsp_load() 1535 le64_to_cpu(footer->timestamp)); in cs_dsp_load()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pcie.c | 1723 struct brcmf_random_seed_footer footer = { in brcmf_pcie_download_fw_nvram() local 1733 address -= sizeof(footer); in brcmf_pcie_download_fw_nvram() 1734 memcpy_toio(devinfo->tcm + address, &footer, in brcmf_pcie_download_fw_nvram() 1735 sizeof(footer)); in brcmf_pcie_download_fw_nvram()
|