Lines Matching refs:da
88 struct logfs_je_anchor *da) in read_anchor() argument
95 super->s_last_ino = be64_to_cpu(da->da_last_ino); in read_anchor()
97 li->li_height = da->da_height; in read_anchor()
98 i_size_write(inode, be64_to_cpu(da->da_size)); in read_anchor()
99 li->li_used_bytes = be64_to_cpu(da->da_used_bytes); in read_anchor()
102 li->li_data[i] = be64_to_cpu(da->da_data[i]); in read_anchor()
519 struct logfs_je_anchor *da = _da; in __logfs_write_anchor() local
524 da->da_height = li->li_height; in __logfs_write_anchor()
525 da->da_last_ino = cpu_to_be64(super->s_last_ino); in __logfs_write_anchor()
526 da->da_size = cpu_to_be64(i_size_read(inode)); in __logfs_write_anchor()
527 da->da_used_bytes = cpu_to_be64(li->li_used_bytes); in __logfs_write_anchor()
529 da->da_data[i] = cpu_to_be64(li->li_data[i]); in __logfs_write_anchor()
531 *len = sizeof(*da); in __logfs_write_anchor()
532 return da; in __logfs_write_anchor()