Searched refs:footer (Results 1 - 23 of 23) sorted by relevance

/linux-4.4.14/fs/f2fs/
H A Dnode.h224 old_flag = le32_to_cpu(rn->footer.flag); fill_node_footer()
226 rn->footer.nid = cpu_to_le32(nid); fill_node_footer()
227 rn->footer.ino = cpu_to_le32(ino); fill_node_footer()
230 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | fill_node_footer()
238 memcpy(&dst_rn->footer, &src_rn->footer, sizeof(struct node_footer)); copy_node_footer()
246 rn->footer.cp_ver = ckpt->checkpoint_ver; fill_node_footer_blkaddr()
247 rn->footer.next_blkaddr = cpu_to_le32(blkaddr); fill_node_footer_blkaddr()
253 return le32_to_cpu(rn->footer.ino); ino_of_node()
259 return le32_to_cpu(rn->footer.nid); nid_of_node()
265 unsigned flag = le32_to_cpu(rn->footer.flag); ofs_of_node()
272 return le64_to_cpu(rn->footer.cp_ver); cpver_of_node()
278 return le32_to_cpu(rn->footer.next_blkaddr); next_blkaddr_of_node()
345 * - Mark cold node blocks in their node footer
366 return le32_to_cpu(rn->footer.flag) & (1 << type); is_node()
376 unsigned int flag = le32_to_cpu(rn->footer.flag); set_cold_node()
382 rn->footer.flag = cpu_to_le32(flag); set_cold_node()
388 unsigned int flag = le32_to_cpu(rn->footer.flag); set_mark()
393 rn->footer.flag = cpu_to_le32(flag); set_mark()
H A Dsegment.h86 #define GET_SUM_TYPE(footer) ((footer)->entry_type)
87 #define SET_SUM_TYPE(footer, type) ((footer)->entry_type = type)
H A Dgc.c799 switch (GET_SUM_TYPE((&sum->footer))) { do_garbage_collect()
810 stat_inc_seg_count(sbi, GET_SUM_TYPE((&sum->footer)), gc_type); do_garbage_collect()
H A Df2fs.h1312 #define RAW_IS_INODE(p) ((p)->footer.nid == (p)->footer.ino)
H A Dnode.c1817 sum_entry->nid = rn->footer.nid; restore_node_summary()
H A Dsegment.c971 sum_footer = &(curseg->sum_blk->footer); reset_curseg()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
H A Dqca_framing.h57 /* QCA7K footer len */
91 * Waiting for first 0x55 of footer
95 /* Waiting for second 0x55 of footer */
/linux-4.4.14/include/linux/ceph/
H A Dmessenger.h141 * footer (crc values, mainly), a "front" message body, and possibly a
147 struct ceph_msg_footer footer; /* footer */ member in union:ceph_msg::__anon12156
148 struct ceph_msg_footer_old old_footer; /* old format footer */
228 struct kvec out_kvec[8], /* sending header/footer data */
/linux-4.4.14/net/ceph/
H A Dmessenger.c1221 * Prepare footer for currently outgoing message, and finish things
1229 m->footer.flags |= CEPH_MSG_FOOTER_COMPLETE; prepare_write_message_footer()
1232 con->out_kvec[v].iov_base = &m->footer; prepare_write_message_footer()
1237 m->footer.sig = 0; prepare_write_message_footer()
1238 con->out_kvec[v].iov_len = sizeof(m->footer); prepare_write_message_footer()
1239 con->out_kvec_bytes += sizeof(m->footer); prepare_write_message_footer()
1241 m->old_footer.flags = m->footer.flags; prepare_write_message_footer()
1310 /* fill in front and middle crc, footer */ prepare_write_message()
1312 con->out_msg->footer.front_crc = cpu_to_le32(crc); prepare_write_message()
1316 con->out_msg->footer.middle_crc = cpu_to_le32(crc); prepare_write_message()
1318 con->out_msg->footer.middle_crc = 0; prepare_write_message()
1320 le32_to_cpu(con->out_msg->footer.front_crc), prepare_write_message()
1321 le32_to_cpu(con->out_msg->footer.middle_crc)); prepare_write_message()
1322 con->out_msg->footer.flags = 0; prepare_write_message()
1325 con->out_msg->footer.data_crc = 0; prepare_write_message()
1328 con->out_more = 1; /* data + footer will follow */ prepare_write_message()
1330 /* no, queue up footer too and be done */ prepare_write_message()
1549 * up the footer.
1550 * 1 -> done, footer is now queued in out_kvec[].
1574 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; write_partial_message_data()
1589 msg->footer.data_crc = cpu_to_le32(crc); write_partial_message_data()
1600 /* prepare and queue up footer, too */ write_partial_message_data()
1602 msg->footer.data_crc = cpu_to_le32(crc); write_partial_message_data()
1604 msg->footer.flags |= CEPH_MSG_FOOTER_NOCRC; write_partial_message_data()
2414 /* footer */ read_partial_message()
2416 size = sizeof(m->footer); read_partial_message()
2421 ret = read_partial(con, end, size, &m->footer); read_partial_message()
2426 m->footer.flags = m->old_footer.flags; read_partial_message()
2427 m->footer.sig = 0; read_partial_message()
2431 m, front_len, m->footer.front_crc, middle_len, read_partial_message()
2432 m->footer.middle_crc, data_len, m->footer.data_crc); read_partial_message()
2435 if (con->in_front_crc != le32_to_cpu(m->footer.front_crc)) { read_partial_message()
2437 m, con->in_front_crc, m->footer.front_crc); read_partial_message()
2440 if (con->in_middle_crc != le32_to_cpu(m->footer.middle_crc)) { read_partial_message()
2442 m, con->in_middle_crc, m->footer.middle_crc); read_partial_message()
2446 (m->footer.flags & CEPH_MSG_FOOTER_NOCRC) == 0 && read_partial_message()
2447 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { read_partial_message()
2449 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); read_partial_message()
2562 goto more_kvec; /* we need to send the footer, too! */ try_write()
3086 /* footer */ ceph_msg_revoke()
3092 con->out_skip += sizeof(msg->footer); ceph_msg_revoke()
3474 print_hex_dump(KERN_DEBUG, "footer: ", ceph_msg_dump()
3476 &msg->footer, sizeof(msg->footer), true); ceph_msg_dump()
H A Dauth_x.c686 cpu_to_le32(16), msg->hdr.crc, msg->footer.front_crc, calcu_signature()
687 msg->footer.middle_crc, msg->footer.data_crc, calcu_signature()
706 msg, &msg->footer.sig); ceph_x_sign_message()
709 msg->footer.flags |= CEPH_MSG_FOOTER_SIGNED; ceph_x_sign_message()
726 if (sig_check == msg->footer.sig) ceph_x_check_message_signature()
728 if (msg->footer.flags & CEPH_MSG_FOOTER_SIGNED) ceph_x_check_message_signature()
730 "expect %llx\n", msg, msg->footer.sig, sig_check); ceph_x_check_message_signature()
/linux-4.4.14/drivers/mtd/
H A Dafs.c39 u32 image_start; /* Start of area reserved by this footer */
40 u32 signature; /* 'Magic' number proves it's a footer */
113 * be located after the footer structure. afs_read_footer()
221 /* Read the footer. */ parse_afs_partitions()
/linux-4.4.14/mm/
H A Dkmemleak-test.c37 long footer[25]; member in struct:test_node
H A Dslob.c528 /* leave room for rcu footer at the end of object */ __kmem_cache_create()
/linux-4.4.14/scripts/
H A Dpnmtologo.c307 /* write logo structure and file footer */ write_logo_mono()
347 /* write logo structure and file footer */ write_logo_vga16()
393 /* write logo structure and file footer */ write_logo_clut224()
415 /* write logo structure and file footer */ write_logo_gray256()
H A Danalyze_suspend.py2456 # write the footer and close
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_wr.c754 * Cleanup the footer entries in the given ingress queue,
773 /* Get the footer */ csio_wr_cleanup_iq_ftr()
776 /* Zero out footer */ csio_wr_cleanup_iq_ftr()
1030 * @len_to_qid: The lower 32-bits of the first flit of the RSP footer
1100 * @ftr: Ingress queue WR SGE footer.
1103 * bit in the footer of the current WR.
1138 /* Get the footer */ csio_wr_process_iq()
1155 /* Subtract footer from WR len */ csio_wr_process_iq()
H A Dcsio_wr.h301 * Structure for footer (last 2 flits) of Ingress Queue Entry.
/linux-4.4.14/sound/soc/codecs/
H A Dwm_adsp.c1059 const struct wmfw_footer *footer; wm_adsp_load() local
1084 pos = sizeof(*header) + sizeof(*adsp1_sizes) + sizeof(*footer); wm_adsp_load()
1123 pos = sizeof(*header) + sizeof(*adsp1_sizes) + sizeof(*footer); wm_adsp_load()
1125 footer = (void *)&(adsp1_sizes[1]); wm_adsp_load()
1135 pos = sizeof(*header) + sizeof(*adsp2_sizes) + sizeof(*footer); wm_adsp_load()
1137 footer = (void *)&(adsp2_sizes[1]); wm_adsp_load()
1153 sizes + sizeof(*footer)) { wm_adsp_load()
1160 le64_to_cpu(footer->timestamp)); wm_adsp_load()
/linux-4.4.14/drivers/hid/
H A Dhid-ntrig.c606 /* Clear the contact footer */ ntrig_event()
646 /* Shouldn't get more than 4 footer packets, so skip */ ntrig_event()
652 /* if the footer isn't complete break */ ntrig_event()
671 * The first footer value indicates the presence of a ntrig_event()
722 * mode. The footer events tell us ntrig_event()
/linux-4.4.14/include/linux/
H A Df2fs_fs.h258 struct node_footer footer; member in struct:f2fs_node
401 struct summary_footer footer; member in struct:f2fs_summary_block
H A Dieee802154.h117 /* MAC footer size */
/linux-4.4.14/drivers/media/usb/gspca/
H A Dvicam.c208 a very similar 64 byte footer, which we don't even vicam_dostream()
H A Dov519.c4362 /* Add 11 byte footer to frame, might be useful */ ov511_pkt_scan()
4403 except that they may contain part of the footer), are ov518_pkt_scan()

Completed in 840 milliseconds