• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/

Lines Matching defs:old

27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
137 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
146 if (old > ma->max_inode)
153 if (ma->entries[(unsigned) old].new == 0)
154 ent->orig = old;
156 ent->orig = ma->entries[(unsigned) old].orig;
161 ref_ent = ma->ref_entries + (unsigned) old;
163 ma->entries[(unsigned) old].max_refs) {
166 ma->entries[(unsigned) old].max_refs);
172 ma->entries[(unsigned) old] = *ent;
173 ma->orig_map[(unsigned) ent->orig] = old;
177 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
183 if (old > ma->max_inode)
185 if (ma->entries[(unsigned) old].new == 0)
187 *ent = ma->entries[(unsigned) old];
191 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
203 *old = ino;
214 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
223 *old = irel->current;
227 *old = 0;
302 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new)
307 if ((old > ma->max_inode) || (new > ma->max_inode))
309 if (ma->entries[(unsigned) old].new == 0)
312 ma->entries[(unsigned) new] = ma->entries[(unsigned) old];
314 ma->ref_entries[(unsigned) new] = ma->ref_entries[(unsigned) old];
316 ma->entries[(unsigned) old].new = 0;
317 ma->ref_entries[(unsigned) old].num = 0;
318 ma->ref_entries[(unsigned) old].refs = 0;
324 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old)
329 if (old > ma->max_inode)
331 if (ma->entries[(unsigned) old].new == 0)
334 ma->entries[old].new = 0;
335 ext2fs_free_mem(&ma->ref_entries[(unsigned) old].refs);
336 ma->orig_map[ma->entries[(unsigned) old].orig] = 0;
338 ma->ref_entries[(unsigned) old].num = 0;
339 ma->ref_entries[(unsigned) old].refs = 0;