• Home
  • Raw
  • Download

Lines Matching refs:lvb

118 	struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb);  in ocfs2_dump_meta_lvb_info()  local
123 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters), in ocfs2_dump_meta_lvb_info()
124 be32_to_cpu(lvb->lvb_igeneration)); in ocfs2_dump_meta_lvb_info()
126 (unsigned long long)be64_to_cpu(lvb->lvb_isize), in ocfs2_dump_meta_lvb_info()
127 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid), in ocfs2_dump_meta_lvb_info()
128 be16_to_cpu(lvb->lvb_imode)); in ocfs2_dump_meta_lvb_info()
130 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb->lvb_inlink), in ocfs2_dump_meta_lvb_info()
131 (long long)be64_to_cpu(lvb->lvb_iatime_packed), in ocfs2_dump_meta_lvb_info()
132 (long long)be64_to_cpu(lvb->lvb_ictime_packed), in ocfs2_dump_meta_lvb_info()
133 (long long)be64_to_cpu(lvb->lvb_imtime_packed), in ocfs2_dump_meta_lvb_info()
134 be32_to_cpu(lvb->lvb_iattr)); in ocfs2_dump_meta_lvb_info()
344 int lvb,
1867 struct ocfs2_meta_lvb *lvb; in __ocfs2_stuff_meta_lvb() local
1871 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in __ocfs2_stuff_meta_lvb()
1879 lvb->lvb_version = 0; in __ocfs2_stuff_meta_lvb()
1883 lvb->lvb_version = OCFS2_LVB_VERSION; in __ocfs2_stuff_meta_lvb()
1884 lvb->lvb_isize = cpu_to_be64(i_size_read(inode)); in __ocfs2_stuff_meta_lvb()
1885 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb()
1886 lvb->lvb_iuid = cpu_to_be32(inode->i_uid); in __ocfs2_stuff_meta_lvb()
1887 lvb->lvb_igid = cpu_to_be32(inode->i_gid); in __ocfs2_stuff_meta_lvb()
1888 lvb->lvb_imode = cpu_to_be16(inode->i_mode); in __ocfs2_stuff_meta_lvb()
1889 lvb->lvb_inlink = cpu_to_be16(inode->i_nlink); in __ocfs2_stuff_meta_lvb()
1890 lvb->lvb_iatime_packed = in __ocfs2_stuff_meta_lvb()
1892 lvb->lvb_ictime_packed = in __ocfs2_stuff_meta_lvb()
1894 lvb->lvb_imtime_packed = in __ocfs2_stuff_meta_lvb()
1896 lvb->lvb_iattr = cpu_to_be32(oi->ip_attr); in __ocfs2_stuff_meta_lvb()
1897 lvb->lvb_idynfeatures = cpu_to_be16(oi->ip_dyn_features); in __ocfs2_stuff_meta_lvb()
1898 lvb->lvb_igeneration = cpu_to_be32(inode->i_generation); in __ocfs2_stuff_meta_lvb()
1917 struct ocfs2_meta_lvb *lvb; in ocfs2_refresh_inode_from_lvb() local
1923 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_refresh_inode_from_lvb()
1927 oi->ip_clusters = be32_to_cpu(lvb->lvb_iclusters); in ocfs2_refresh_inode_from_lvb()
1928 i_size_write(inode, be64_to_cpu(lvb->lvb_isize)); in ocfs2_refresh_inode_from_lvb()
1930 oi->ip_attr = be32_to_cpu(lvb->lvb_iattr); in ocfs2_refresh_inode_from_lvb()
1931 oi->ip_dyn_features = be16_to_cpu(lvb->lvb_idynfeatures); in ocfs2_refresh_inode_from_lvb()
1940 inode->i_uid = be32_to_cpu(lvb->lvb_iuid); in ocfs2_refresh_inode_from_lvb()
1941 inode->i_gid = be32_to_cpu(lvb->lvb_igid); in ocfs2_refresh_inode_from_lvb()
1942 inode->i_mode = be16_to_cpu(lvb->lvb_imode); in ocfs2_refresh_inode_from_lvb()
1943 inode->i_nlink = be16_to_cpu(lvb->lvb_inlink); in ocfs2_refresh_inode_from_lvb()
1945 be64_to_cpu(lvb->lvb_iatime_packed)); in ocfs2_refresh_inode_from_lvb()
1947 be64_to_cpu(lvb->lvb_imtime_packed)); in ocfs2_refresh_inode_from_lvb()
1949 be64_to_cpu(lvb->lvb_ictime_packed)); in ocfs2_refresh_inode_from_lvb()
1958 struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_meta_lvb_is_trustable() local
1960 if (lvb->lvb_version == OCFS2_LVB_VERSION in ocfs2_meta_lvb_is_trustable()
1961 && be32_to_cpu(lvb->lvb_igeneration) == inode->i_generation) in ocfs2_meta_lvb_is_trustable()
2576 char *lvb; in ocfs2_dlm_seq_show() local
2609 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_dlm_seq_show()
2611 seq_printf(m, "0x%x\t", lvb[i]); in ocfs2_dlm_seq_show()
3079 int lvb, in ocfs2_downconvert_lock() argument
3087 if (lvb) in ocfs2_downconvert_lock()
3492 struct ocfs2_qinfo_lvb *lvb; in ocfs2_set_qinfo_lvb() local
3499 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_set_qinfo_lvb()
3500 lvb->lvb_version = OCFS2_QINFO_LVB_VERSION; in ocfs2_set_qinfo_lvb()
3501 lvb->lvb_bgrace = cpu_to_be32(info->dqi_bgrace); in ocfs2_set_qinfo_lvb()
3502 lvb->lvb_igrace = cpu_to_be32(info->dqi_igrace); in ocfs2_set_qinfo_lvb()
3503 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb()
3504 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb()
3505 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb()
3506 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb()
3528 struct ocfs2_qinfo_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_refresh_qinfo() local
3533 if (lvb->lvb_version == OCFS2_QINFO_LVB_VERSION) { in ocfs2_refresh_qinfo()
3534 info->dqi_bgrace = be32_to_cpu(lvb->lvb_bgrace); in ocfs2_refresh_qinfo()
3535 info->dqi_igrace = be32_to_cpu(lvb->lvb_igrace); in ocfs2_refresh_qinfo()
3536 oinfo->dqi_syncms = be32_to_cpu(lvb->lvb_syncms); in ocfs2_refresh_qinfo()
3537 oinfo->dqi_gi.dqi_blocks = be32_to_cpu(lvb->lvb_blocks); in ocfs2_refresh_qinfo()
3538 oinfo->dqi_gi.dqi_free_blk = be32_to_cpu(lvb->lvb_free_blk); in ocfs2_refresh_qinfo()
3540 be32_to_cpu(lvb->lvb_free_entry); in ocfs2_refresh_qinfo()