/external/e2fsprogs/lib/support/ |
D | mkquota.c | 161 errcode_t quota_write_inode(quota_ctx_t qctx, unsigned int qtype_bits) in quota_write_inode() argument 170 if (!qctx) in quota_write_inode() 173 fs = qctx->fs; in quota_write_inode() 191 dict = qctx->quota_dict[qtype]; in quota_write_inode() 202 retval = quota_file_close(qctx, h); in quota_write_inode() 282 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, in quota_init_context() argument 313 *qctx = ctx; in quota_init_context() 317 void quota_release_context(quota_ctx_t *qctx) in quota_release_context() argument 324 if (!qctx) in quota_release_context() 327 ctx = *qctx; in quota_release_context() [all …]
|
D | quotaio.h | 189 errcode_t quota_file_open(quota_ctx_t qctx, struct quota_handle *h, 199 errcode_t quota_file_close(quota_ctx_t qctx, struct quota_handle *h); 218 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, 220 void quota_data_inodes(quota_ctx_t qctx, struct ext2_inode_large *inode, 222 void quota_data_add(quota_ctx_t qctx, struct ext2_inode_large *inode, 224 void quota_data_sub(quota_ctx_t qctx, struct ext2_inode_large *inode, 226 errcode_t quota_write_inode(quota_ctx_t qctx, enum quota_type qtype); 227 errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino, 229 errcode_t quota_compute_usage(quota_ctx_t qctx); 230 void quota_release_context(quota_ctx_t *qctx); [all …]
|
D | quotaio.c | 213 errcode_t quota_file_open(quota_ctx_t qctx, struct quota_handle *h, in quota_file_open() argument 217 ext2_filsys fs = qctx->fs; in quota_file_open() 243 if (qctx->quota_file[qtype]) { in quota_file_open() 244 h = qctx->quota_file[qtype]; in quota_file_open() 248 (void) quota_file_close(qctx, h); in quota_file_open() 281 qctx->quota_file[qtype] = h; in quota_file_open() 401 errcode_t quota_file_close(quota_ctx_t qctx, struct quota_handle *h) in quota_file_close() argument 422 if (qctx->quota_file[h->qh_type] == h) in quota_file_close() 423 ext2fs_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
|
/external/f2fs-tools/fsck/ |
D | mkquota.c | 65 quota_ctx_t qctx = fsck->qctx; in quota_write_inode() local 70 if ((!qctx) || (!sb->qf_ino[qtype])) in quota_write_inode() 79 dict = qctx->quota_dict[qtype]; in quota_write_inode() 173 fsck->qctx = ctx; in quota_init_context() 177 void quota_release_context(quota_ctx_t *qctx) in quota_release_context() argument 183 if (!qctx) in quota_release_context() 186 ctx = *qctx; in quota_release_context() 196 *qctx = NULL; in quota_release_context() 223 void quota_data_add(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space) in quota_data_add() argument 229 if (!qctx) in quota_data_add() [all …]
|
D | quotaio.c | 101 quota_ctx_t qctx = fsck->qctx; in quota_file_open() local 112 if (qctx->quota_file[qtype]) { in quota_file_open() 113 h = qctx->quota_file[qtype]; in quota_file_open() 148 qctx->quota_file[qtype] = h; in quota_file_open() 190 quota_ctx_t qctx = fsck->qctx; in quota_file_close() local 202 if (qctx->quota_file[h->qh_type] == h) in quota_file_close() 203 quota_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
|
D | quotaio.h | 211 void quota_data_inodes(quota_ctx_t qctx, struct f2fs_inode *inode, int adjust); 212 void quota_data_add(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space); 213 void quota_data_sub(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space); 215 void quota_add_inode_usage(quota_ctx_t qctx, f2fs_ino_t ino, 217 void quota_release_context(quota_ctx_t *qctx);
|
D | fsck.h | 92 struct quota_ctx *qctx; member
|
D | fsck.c | 534 quota_add_inode_usage(fsck->qctx, nid, &node_blk->i); in fsck_chk_node_blk() 1670 if (!fsck->qctx) in fsck_chk_quota_files() 2197 if (fsck->qctx) in fsck_free() 2198 quota_release_context(&fsck->qctx); in fsck_free()
|
/external/e2fsprogs/e2fsck/ |
D | pass3.c | 581 quota_data_add(ctx->qctx, &inode, ino, fs->blocksize); in e2fsck_get_lost_and_found() 582 quota_data_inodes(ctx->qctx, &inode, ino, +1); in e2fsck_get_lost_and_found() 902 quota_data_add(ctx->qctx, &inode, dir, es.newblocks * fs->blocksize); in e2fsck_expand_directory()
|
D | unix.c | 1795 pctx.errcode = quota_init_context(&ctx->qctx, ctx->fs, in main() 1841 } else if (ctx->qctx && !ctx->invalid_bitmaps) { in main() 1849 retval = quota_compare_and_update(ctx->qctx, qtype, in main() 1853 pctx.errcode = quota_write_inode(ctx->qctx, in main() 1860 quota_release_context(&ctx->qctx); in main()
|
D | pass4.c | 65 quota_data_inodes(ctx->qctx, inode, i, -1); in disconnect_inode()
|
D | extents.c | 253 quota_data_sub(ctx->qctx, &inode, ino, in rebuild_extent_tree() 311 quota_data_add(ctx->qctx, &inode, ino, delta); in rebuild_extent_tree()
|
D | pass1b.c | 682 quota_data_sub(ctx->qctx, &dp->inode, ino, in delete_file() 684 quota_data_inodes(ctx->qctx, &dp->inode, ino, -1); in delete_file() 719 quota_data_sub(ctx->qctx, &dp->inode, ino, in delete_file()
|
D | e2fsck.h | 328 quota_ctx_t qctx; member
|
D | pass1.c | 3178 quota_data_add(ctx->qctx, (struct ext2_inode_large *) inode, in check_blocks() 3180 quota_data_inodes(ctx->qctx, (struct ext2_inode_large *) inode, in check_blocks()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties.cc | 873 auto qctx = shape_refiner->GetContext(qnode); in UpdateResource() local 874 if (!qctx) { in UpdateResource() 877 auto* queue_handle_data = qctx->output_handle_shapes_and_types(0); in UpdateResource() 914 qctx->set_output_handle_shapes_and_types(0, queue_shapes_and_types); in UpdateResource()
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 1483 quota_ctx_t qctx; in handle_quota_options() local 1495 retval = quota_init_context(&qctx, fs, QUOTA_ALL_BIT); in handle_quota_options() 1508 quota_compute_usage(qctx); in handle_quota_options() 1514 retval = quota_update_limits(qctx, qf_ino, in handle_quota_options() 1523 retval = quota_write_inode(qctx, 1 << qtype); in handle_quota_options() 1541 quota_release_context(&qctx); in handle_quota_options()
|
D | mke2fs.c | 2728 quota_ctx_t qctx; in create_quota_inodes() local 2731 retval = quota_init_context(&qctx, fs, QUOTA_ALL_BIT); in create_quota_inodes() 2737 quota_compute_usage(qctx); in create_quota_inodes() 2738 retval = quota_write_inode(qctx, quotatype_bits); in create_quota_inodes() 2744 quota_release_context(&qctx); in create_quota_inodes()
|