Lines Matching refs:entry

91 	struct nilfs_dat_entry *entry;  in nilfs_dat_commit_alloc()  local
95 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_alloc()
97 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_alloc()
98 entry->de_end = cpu_to_le64(NILFS_CNO_MAX); in nilfs_dat_commit_alloc()
99 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_alloc()
115 struct nilfs_dat_entry *entry; in nilfs_dat_commit_free() local
119 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_free()
121 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
122 entry->de_end = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
123 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_free()
142 struct nilfs_dat_entry *entry; in nilfs_dat_commit_start() local
146 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_start()
148 entry->de_start = cpu_to_le64(nilfs_mdt_cno(dat)); in nilfs_dat_commit_start()
149 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_commit_start()
157 struct nilfs_dat_entry *entry; in nilfs_dat_prepare_end() local
170 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_prepare_end()
172 start = le64_to_cpu(entry->de_start); in nilfs_dat_prepare_end()
173 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
190 struct nilfs_dat_entry *entry; in nilfs_dat_commit_end() local
196 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_end()
198 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
203 entry->de_end = cpu_to_le64(end); in nilfs_dat_commit_end()
204 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
215 struct nilfs_dat_entry *entry; in nilfs_dat_abort_end() local
221 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_abort_end()
223 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
224 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
331 struct nilfs_dat_entry *entry; in nilfs_dat_move() local
356 entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr); in nilfs_dat_move()
357 if (unlikely(entry->de_blocknr == cpu_to_le64(0))) { in nilfs_dat_move()
360 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
361 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
367 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_move()
400 struct nilfs_dat_entry *entry; in nilfs_dat_translate() local
419 entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr); in nilfs_dat_translate()
420 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
437 struct nilfs_dat_entry *entry; in nilfs_dat_get_vinfo() local
459 entry = nilfs_palloc_block_get_entry( in nilfs_dat_get_vinfo()
461 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
462 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
463 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()