Lines Matching defs:entry
84 struct nilfs_dat_entry *entry;
88 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
90 entry->de_start = cpu_to_le64(NILFS_CNO_MIN);
91 entry->de_end = cpu_to_le64(NILFS_CNO_MAX);
92 entry->de_blocknr = cpu_to_le64(0);
107 struct nilfs_dat_entry *entry;
111 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
113 entry->de_start = cpu_to_le64(NILFS_CNO_MIN);
114 entry->de_end = cpu_to_le64(NILFS_CNO_MIN);
115 entry->de_blocknr = cpu_to_le64(0);
134 struct nilfs_dat_entry *entry;
138 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
140 entry->de_start = cpu_to_le64(nilfs_mdt_cno(dat));
141 entry->de_blocknr = cpu_to_le64(blocknr);
149 struct nilfs_dat_entry *entry;
162 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
164 start = le64_to_cpu(entry->de_start);
165 blocknr = le64_to_cpu(entry->de_blocknr);
182 struct nilfs_dat_entry *entry;
188 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
190 end = start = le64_to_cpu(entry->de_start);
195 entry->de_end = cpu_to_le64(end);
196 blocknr = le64_to_cpu(entry->de_blocknr);
207 struct nilfs_dat_entry *entry;
213 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
215 start = le64_to_cpu(entry->de_start);
216 blocknr = le64_to_cpu(entry->de_blocknr);
323 struct nilfs_dat_entry *entry;
331 entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr);
332 if (unlikely(entry->de_blocknr == cpu_to_le64(0))) {
335 (unsigned long long)le64_to_cpu(entry->de_start),
336 (unsigned long long)le64_to_cpu(entry->de_end));
342 entry->de_blocknr = cpu_to_le64(blocknr);
375 struct nilfs_dat_entry *entry;
385 entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr);
386 blocknr = le64_to_cpu(entry->de_blocknr);
403 struct nilfs_dat_entry *entry;
425 entry = nilfs_palloc_block_get_entry(
427 vinfo->vi_start = le64_to_cpu(entry->de_start);
428 vinfo->vi_end = le64_to_cpu(entry->de_end);
429 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr);
451 * @entry_size: size of a dat entry