Lines Matching refs:lh
836 struct gfs2_log_header *lh;
848 lh = page_address(page);
849 clear_page(lh);
851 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC);
852 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH);
853 lh->lh_header.__pad0 = cpu_to_be64(0);
854 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH);
855 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid);
856 lh->lh_sequence = cpu_to_be64(seq);
857 lh->lh_flags = cpu_to_be32(flags);
858 lh->lh_tail = cpu_to_be32(tail);
859 lh->lh_blkno = cpu_to_be32(lblock);
860 hash = ~crc32(~0, lh, LH_V1_SIZE);
861 lh->lh_hash = cpu_to_be32(hash);
864 lh->lh_nsec = cpu_to_be32(tv.tv_nsec);
865 lh->lh_sec = cpu_to_be64(tv.tv_sec);
877 lh->lh_addr = cpu_to_be64(dblock);
878 lh->lh_jinode = cpu_to_be64(GFS2_I(jd->jd_inode)->i_no_addr);
884 lh->lh_statfs_addr =
886 lh->lh_quota_addr =
890 lh->lh_local_total = cpu_to_be64(l_sc->sc_total);
891 lh->lh_local_free = cpu_to_be64(l_sc->sc_free);
892 lh->lh_local_dinodes = cpu_to_be64(l_sc->sc_dinodes);
898 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4,
900 lh->lh_crc = cpu_to_be32(crc);