Searched refs:ac (Results 1 – 8 of 8) sorted by relevance
/fs/ext4/ |
D | mballoc.c | 1476 static void ext4_mb_use_best_found(struct ext4_allocation_context *ac, in ext4_mb_use_best_found() argument 1479 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_use_best_found() 1482 BUG_ON(ac->ac_b_ex.fe_group != e4b->bd_group); in ext4_mb_use_best_found() 1483 BUG_ON(ac->ac_status == AC_STATUS_FOUND); in ext4_mb_use_best_found() 1485 ac->ac_b_ex.fe_len = min(ac->ac_b_ex.fe_len, ac->ac_g_ex.fe_len); in ext4_mb_use_best_found() 1486 ac->ac_b_ex.fe_logical = ac->ac_g_ex.fe_logical; in ext4_mb_use_best_found() 1487 ret = mb_mark_used(e4b, &ac->ac_b_ex); in ext4_mb_use_best_found() 1491 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found() 1493 ac->ac_status = AC_STATUS_FOUND; in ext4_mb_use_best_found() 1494 ac->ac_tail = ret & 0xffff; in ext4_mb_use_best_found() [all …]
|
/fs/ocfs2/ |
D | suballoc.c | 109 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, 140 struct ocfs2_alloc_context **ac); 142 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) in ocfs2_free_ac_resource() argument 144 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource() 147 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource() 153 ac->ac_inode = NULL; in ocfs2_free_ac_resource() 155 brelse(ac->ac_bh); in ocfs2_free_ac_resource() 156 ac->ac_bh = NULL; in ocfs2_free_ac_resource() 157 ac->ac_resv = NULL; in ocfs2_free_ac_resource() 158 if (ac->ac_find_loc_priv) { in ocfs2_free_ac_resource() [all …]
|
D | suballoc.h | 66 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac); 67 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument 69 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left() 79 struct ocfs2_alloc_context **ac); 82 struct ocfs2_alloc_context **ac); 84 struct ocfs2_alloc_context **ac); 87 struct ocfs2_alloc_context **ac); 90 struct ocfs2_alloc_context *ac, 99 struct ocfs2_alloc_context *ac, 104 struct ocfs2_alloc_context *ac, [all …]
|
D | localalloc.c | 67 struct ocfs2_alloc_context **ac, 73 struct ocfs2_alloc_context *ac); 630 struct ocfs2_alloc_context *ac) in ocfs2_reserve_local_alloc_bits() argument 637 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits() 707 ac->ac_inode = local_alloc_inode; in ocfs2_reserve_local_alloc_bits() 709 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits() 710 ac->ac_which = OCFS2_AC_USE_LOCAL; in ocfs2_reserve_local_alloc_bits() 712 ac->ac_bh = osb->local_alloc_bh; in ocfs2_reserve_local_alloc_bits() 721 (unsigned long long)ac->ac_max_block, in ocfs2_reserve_local_alloc_bits() 731 struct ocfs2_alloc_context *ac, in ocfs2_claim_local_alloc_bits() argument [all …]
|
D | localalloc.h | 49 struct ocfs2_alloc_context *ac); 53 struct ocfs2_alloc_context *ac,
|
D | alloc.c | 5596 struct ocfs2_alloc_context **ac, in ocfs2_reserve_blocks_for_rec_trunc() argument 5603 *ac = NULL; in ocfs2_reserve_blocks_for_rec_trunc() 5617 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, ac); in ocfs2_reserve_blocks_for_rec_trunc() 5627 if (*ac) { in ocfs2_reserve_blocks_for_rec_trunc() 5628 ocfs2_free_alloc_context(*ac); in ocfs2_reserve_blocks_for_rec_trunc() 5629 *ac = NULL; in ocfs2_reserve_blocks_for_rec_trunc()
|
/fs/btrfs/ |
D | transaction.c | 1144 struct btrfs_async_commit *ac = in do_async_commit() local 1147 btrfs_commit_transaction(ac->newtrans, ac->root); in do_async_commit() 1148 kfree(ac); in do_async_commit() 1155 struct btrfs_async_commit *ac; in btrfs_commit_transaction_async() local 1158 ac = kmalloc(sizeof(*ac), GFP_NOFS); in btrfs_commit_transaction_async() 1159 if (!ac) in btrfs_commit_transaction_async() 1162 INIT_DELAYED_WORK(&ac->work, do_async_commit); in btrfs_commit_transaction_async() 1163 ac->root = root; in btrfs_commit_transaction_async() 1164 ac->newtrans = btrfs_join_transaction(root); in btrfs_commit_transaction_async() 1165 if (IS_ERR(ac->newtrans)) { in btrfs_commit_transaction_async() [all …]
|
/fs/ceph/ |
D | mds_client.c | 3418 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in get_authorizer() local 3422 ceph_auth_destroy_authorizer(ac, auth->authorizer); in get_authorizer() 3426 int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_MDS, in get_authorizer() 3431 int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_MDS, in get_authorizer() 3436 *proto = ac->protocol; in get_authorizer() 3446 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in verify_authorizer_reply() local 3448 return ceph_auth_verify_authorizer_reply(ac, s->s_auth.authorizer, len); in verify_authorizer_reply() 3455 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in invalidate_authorizer() local 3457 ceph_auth_invalidate_authorizer(ac, CEPH_ENTITY_TYPE_MDS); in invalidate_authorizer()
|