Lines Matching refs:entry

91 	struct nilfs_dat_entry *entry;  in nilfs_dat_commit_alloc()  local
96 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); 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()
100 kunmap_local(entry); in nilfs_dat_commit_alloc()
115 struct nilfs_dat_entry *entry; in nilfs_dat_commit_free() local
120 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); 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()
124 kunmap_local(entry); in nilfs_dat_commit_free()
145 struct nilfs_dat_entry *entry; in nilfs_dat_commit_start() local
150 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); in nilfs_dat_commit_start()
151 entry->de_start = cpu_to_le64(nilfs_mdt_cno(dat)); in nilfs_dat_commit_start()
152 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_commit_start()
153 kunmap_local(entry); in nilfs_dat_commit_start()
160 struct nilfs_dat_entry *entry; in nilfs_dat_prepare_end() local
172 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); in nilfs_dat_prepare_end()
173 start = le64_to_cpu(entry->de_start); in nilfs_dat_prepare_end()
174 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
175 kunmap_local(entry); in nilfs_dat_prepare_end()
200 struct nilfs_dat_entry *entry; in nilfs_dat_commit_end() local
207 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); in nilfs_dat_commit_end()
208 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
213 entry->de_end = cpu_to_le64(end); in nilfs_dat_commit_end()
214 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
215 kunmap_local(entry); in nilfs_dat_commit_end()
225 struct nilfs_dat_entry *entry; in nilfs_dat_abort_end() local
232 entry = kmap_local_folio(req->pr_entry_bh->b_folio, offset); in nilfs_dat_abort_end()
233 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
234 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
235 kunmap_local(entry); in nilfs_dat_abort_end()
334 struct nilfs_dat_entry *entry; in nilfs_dat_move() local
359 entry = kmap_local_folio(entry_bh->b_folio, offset); in nilfs_dat_move()
360 if (unlikely(entry->de_blocknr == cpu_to_le64(0))) { in nilfs_dat_move()
364 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
365 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
366 kunmap_local(entry); in nilfs_dat_move()
371 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_move()
372 kunmap_local(entry); in nilfs_dat_move()
401 struct nilfs_dat_entry *entry; in nilfs_dat_translate() local
420 entry = kmap_local_folio(entry_bh->b_folio, offset); in nilfs_dat_translate()
421 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
429 kunmap_local(entry); in nilfs_dat_translate()
438 struct nilfs_dat_entry *entry, *first_entry; in nilfs_dat_get_vinfo() local
466 entry = (void *)first_entry + in nilfs_dat_get_vinfo()
468 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
469 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
470 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()