Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:old

30 static errcode_t bma_put(ext2_brel brel, blk64_t old,
32 static errcode_t bma_get(ext2_brel brel, blk64_t old,
35 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new);
38 static errcode_t bma_delete(ext2_brel brel, blk64_t old);
105 static errcode_t bma_put(ext2_brel brel, blk64_t old,
111 if (old > ma->max_block)
113 ma->entries[(unsigned)old] = *ent;
117 static errcode_t bma_get(ext2_brel brel, blk64_t old,
123 if (old > ma->max_block)
125 if (ma->entries[(unsigned)old].new == 0)
127 *ent = ma->entries[old];
137 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
146 *old = brel->current;
150 *old = 0;
154 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new)
159 if ((old > ma->max_block) || (new > ma->max_block))
161 if (ma->entries[(unsigned)old].new == 0)
163 ma->entries[(unsigned)new] = ma->entries[old];
164 ma->entries[(unsigned)old].new = 0;
168 static errcode_t bma_delete(ext2_brel brel, blk64_t old)
173 if (old > ma->max_block)
175 if (ma->entries[(unsigned)old].new == 0)
177 ma->entries[(unsigned)old].new = 0;