Lines Matching refs:flags
31 int flags; member
41 if (((ctx)->flags & BLOCK_FLAG_READ_ONLY) && \
51 if (((ctx)->flags & BLOCK_FLAG_READ_ONLY) && \
63 int i, flags, limit, offset; in block_iterate_ind() local
67 if (!(ctx->flags & BLOCK_FLAG_DEPTH_TRAVERSE) && in block_iterate_ind()
68 !(ctx->flags & BLOCK_FLAG_DATA_ONLY)) in block_iterate_ind()
92 if (ctx->flags & BLOCK_FLAG_APPEND) { in block_iterate_ind()
94 flags = (*ctx->func)(ctx->fs, block_nr, ctx->bcount, in block_iterate_ind()
97 changed |= flags; in block_iterate_ind()
98 if (flags & BLOCK_ABORT) { in block_iterate_ind()
108 flags = (*ctx->func)(ctx->fs, block_nr, ctx->bcount, in block_iterate_ind()
111 changed |= flags; in block_iterate_ind()
112 if (flags & BLOCK_ABORT) { in block_iterate_ind()
126 if ((ctx->flags & BLOCK_FLAG_DEPTH_TRAVERSE) && in block_iterate_ind()
127 !(ctx->flags & BLOCK_FLAG_DATA_ONLY) && in block_iterate_ind()
140 int i, flags, limit, offset; in block_iterate_dind() local
144 if (!(ctx->flags & (BLOCK_FLAG_DEPTH_TRAVERSE | in block_iterate_dind()
169 if (ctx->flags & BLOCK_FLAG_APPEND) { in block_iterate_dind()
171 flags = block_iterate_ind(block_nr, in block_iterate_dind()
174 changed |= flags; in block_iterate_dind()
175 if (flags & (BLOCK_ABORT | BLOCK_ERROR)) { in block_iterate_dind()
176 ret |= flags & (BLOCK_ABORT | BLOCK_ERROR); in block_iterate_dind()
187 flags = block_iterate_ind(block_nr, in block_iterate_dind()
190 changed |= flags; in block_iterate_dind()
191 if (flags & (BLOCK_ABORT | BLOCK_ERROR)) { in block_iterate_dind()
192 ret |= flags & (BLOCK_ABORT | BLOCK_ERROR); in block_iterate_dind()
205 if ((ctx->flags & BLOCK_FLAG_DEPTH_TRAVERSE) && in block_iterate_dind()
206 !(ctx->flags & BLOCK_FLAG_DATA_ONLY) && in block_iterate_dind()
219 int i, flags, limit, offset; in block_iterate_tind() local
223 if (!(ctx->flags & (BLOCK_FLAG_DEPTH_TRAVERSE | in block_iterate_tind()
248 if (ctx->flags & BLOCK_FLAG_APPEND) { in block_iterate_tind()
250 flags = block_iterate_dind(block_nr, in block_iterate_tind()
253 changed |= flags; in block_iterate_tind()
254 if (flags & (BLOCK_ABORT | BLOCK_ERROR)) { in block_iterate_tind()
255 ret |= flags & (BLOCK_ABORT | BLOCK_ERROR); in block_iterate_tind()
266 flags = block_iterate_dind(block_nr, in block_iterate_tind()
269 changed |= flags; in block_iterate_tind()
270 if (flags & (BLOCK_ABORT | BLOCK_ERROR)) { in block_iterate_tind()
271 ret |= flags & (BLOCK_ABORT | BLOCK_ERROR); in block_iterate_tind()
284 if ((ctx->flags & BLOCK_FLAG_DEPTH_TRAVERSE) && in block_iterate_tind()
285 !(ctx->flags & BLOCK_FLAG_DATA_ONLY) && in block_iterate_tind()
296 int flags, in ext2fs_block_iterate2() argument
322 if (flags & BLOCK_FLAG_NO_LARGE) { in ext2fs_block_iterate2()
333 ctx.flags = flags; in ext2fs_block_iterate2()
349 !(flags & BLOCK_FLAG_DATA_ONLY)) { in ext2fs_block_iterate2()
380 if (!(flags & BLOCK_FLAG_APPEND)) in ext2fs_block_iterate2()
405 if (ctx.flags & BLOCK_FLAG_DATA_ONLY) in ext2fs_block_iterate2()
409 !(ctx.flags & BLOCK_FLAG_DEPTH_TRAVERSE)) || in ext2fs_block_iterate2()
412 (ctx.flags & BLOCK_FLAG_DEPTH_TRAVERSE))) { in ext2fs_block_iterate2()
461 if (inode.i_block[i] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2()
469 if (inode.i_block[EXT2_IND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2()
476 if (inode.i_block[EXT2_DIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2()
483 if (inode.i_block[EXT2_TIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2()
532 int flags, in ext2fs_block_iterate() argument
545 return ext2fs_block_iterate2(fs, ino, BLOCK_FLAG_NO_LARGE | flags, in ext2fs_block_iterate()