Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:old

29 static errcode_t bma_put(ext2_brel brel, blk_t old,
31 static errcode_t bma_get(ext2_brel brel, blk_t old,
34 static errcode_t bma_next(ext2_brel brel, blk_t *old,
36 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new);
37 static errcode_t bma_delete(ext2_brel brel, blk_t old);
104 static errcode_t bma_put(ext2_brel brel, blk_t old,
110 if (old > ma->max_block)
112 ma->entries[(unsigned)old] = *ent;
116 static errcode_t bma_get(ext2_brel brel, blk_t old,
122 if (old > ma->max_block)
124 if (ma->entries[(unsigned)old].new == 0)
126 *ent = ma->entries[old];
136 static errcode_t bma_next(ext2_brel brel, blk_t *old,
145 *old = brel->current;
149 *old = 0;
153 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new)
158 if ((old > ma->max_block) || (new > ma->max_block))
160 if (ma->entries[(unsigned)old].new == 0)
162 ma->entries[(unsigned)new] = ma->entries[old];
163 ma->entries[(unsigned)old].new = 0;
167 static errcode_t bma_delete(ext2_brel brel, blk_t old)
172 if (old > ma->max_block)
174 if (ma->entries[(unsigned)old].new == 0)
176 ma->entries[(unsigned)old].new = 0;