/fs/ocfs2/ |
D | localalloc.c | 37 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc); 40 struct ocfs2_dinode *alloc, 44 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc); 48 struct ocfs2_dinode *alloc, 273 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc() local 307 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc() 308 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc() 310 if (!(le32_to_cpu(alloc->i_flags) & in ocfs2_load_local_alloc() 327 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc() 332 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc() [all …]
|
D | localalloc.h | 27 struct ocfs2_dinode *alloc);
|
D | Makefile | 12 alloc.o \
|
D | aops.c | 1273 loff_t pos, unsigned len, int alloc) in ocfs2_set_target_boundaries() argument 1280 if (alloc == 0) in ocfs2_set_target_boundaries() 2105 ocfs2_dio_alloc_write_ctx(struct buffer_head *bh, int *alloc) in ocfs2_dio_alloc_write_ctx() argument 2120 *alloc = 1; in ocfs2_dio_alloc_write_ctx()
|
D | dir.c | 2771 u32 alloc, dx_alloc, bit_off, len, num_dx_entries = 0; in ocfs2_expand_inline_dir() local 2792 alloc = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_expand_inline_dir() 2829 BUG_ON(alloc > 2); in ocfs2_expand_inline_dir() 2831 ret = ocfs2_reserve_clusters(osb, alloc + dx_alloc, &data_ac); in ocfs2_expand_inline_dir() 2841 if (alloc == 2) in ocfs2_expand_inline_dir() 2852 ocfs2_clusters_to_bytes(osb->sb, alloc + dx_alloc)); in ocfs2_expand_inline_dir() 3020 if (alloc > len) { in ocfs2_expand_inline_dir()
|
/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 130 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec() 133 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec() 136 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec() 186 key->alloc.ar_startblock = rec->alloc.ar_startblock; in xfs_allocbt_init_key_from_rec() 187 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec() 197 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec() 198 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec() 199 key->alloc.ar_startblock = cpu_to_be32(x); in xfs_bnobt_init_high_key_from_rec() 200 key->alloc.ar_blockcount = 0; in xfs_bnobt_init_high_key_from_rec() 208 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_cntbt_init_high_key_from_rec() [all …]
|
D | xfs_ialloc.h | 22 uint64_t alloc; /* inode phys. allocation bitmap for member
|
D | xfs_btree.h | 36 xfs_alloc_key_t alloc; member 46 struct xfs_alloc_rec alloc; member
|
D | xfs_trans_resv.c | 182 bool alloc) in xfs_calc_inode_chunk_res() argument 188 if (alloc) { in xfs_calc_inode_chunk_res()
|
D | xfs_alloc.c | 217 rec.alloc.ar_startblock = cpu_to_be32(bno); in xfs_alloc_update() 218 rec.alloc.ar_blockcount = cpu_to_be32(len); in xfs_alloc_update() 241 *bno = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_get_rec() 242 *len = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_get_rec() 3339 irec.ar_startblock = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_query_range_helper() 3340 irec.ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_query_range_helper()
|
D | xfs_ialloc.c | 616 int *alloc) in xfs_ialloc_ag_alloc() argument 799 *alloc = 0; in xfs_ialloc_ag_alloc() 906 *alloc = 1; in xfs_ialloc_ag_alloc() 2003 xic->alloc = xfs_inobt_irec_to_allocmask(&rec); in xfs_difree_inobt()
|
/fs/nfs/ |
D | nfs3acl.c | 256 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl() local 262 alloc = get_acl(inode, ACL_TYPE_DEFAULT); in nfs3_set_acl() 263 if (IS_ERR(alloc)) in nfs3_set_acl() 265 dfacl = alloc; in nfs3_set_acl() 269 alloc = get_acl(inode, ACL_TYPE_ACCESS); in nfs3_set_acl() 270 if (IS_ERR(alloc)) in nfs3_set_acl() 273 acl = alloc; in nfs3_set_acl() 279 alloc = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfs3_set_acl() 280 if (IS_ERR(alloc)) in nfs3_set_acl() 282 acl = alloc; in nfs3_set_acl() [all …]
|
D | dns_resolve.c | 379 .alloc = nfs_dns_ent_alloc,
|
/fs/xfs/scrub/ |
D | alloc.c | 101 bno = be32_to_cpu(rec->alloc.ar_startblock); in xchk_allocbt_rec() 102 len = be32_to_cpu(rec->alloc.ar_blockcount); in xchk_allocbt_rec()
|
/fs/hpfs/ |
D | Makefile | 8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
|
/fs/nilfs2/ |
D | Makefile | 6 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
/fs/quota/ |
D | quota_v2.c | 344 bool alloc = false; in v2_write_dquot() local 353 alloc = true; in v2_write_dquot() 361 if (alloc) in v2_write_dquot()
|
/fs/nfsd/ |
D | nfs4acl.c | 457 int alloc; in init_state() local 466 alloc = sizeof(struct posix_ace_state_array) in init_state() 468 state->users = kzalloc(alloc, GFP_KERNEL); in init_state() 471 state->groups = kzalloc(alloc, GFP_KERNEL); in init_state()
|
D | nfs4idmap.c | 201 .alloc = ent_alloc, 371 .alloc = ent_alloc,
|
/fs/kernfs/ |
D | inode.c | 33 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc) in __kernfs_iattrs() argument 40 if (kn->iattr || !alloc) in __kernfs_iattrs()
|
/fs/xfs/ |
D | Makefile | 139 alloc.o \
|
/fs/btrfs/ |
D | block-group.h | 265 u64 bytenr, u64 num_bytes, int alloc);
|
D | block-group.c | 2871 u64 bytenr, u64 num_bytes, int alloc) in btrfs_update_block_group() argument 2884 if (alloc) in btrfs_update_block_group() 2905 if (!alloc && !btrfs_block_group_done(cache)) in btrfs_update_block_group() 2920 if (alloc) { in btrfs_update_block_group() 2962 if (!alloc && old_val == 0) { in btrfs_update_block_group()
|
/fs/dlm/ |
D | lowcomms.c | 176 static struct connection *nodeid2con(int nodeid, gfp_t alloc) in nodeid2con() argument 182 if (con || !alloc) in nodeid2con() 185 con = kzalloc(sizeof(*con), alloc); in nodeid2con()
|
/fs/jfs/ |
D | jfs_dmap.c | 70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 2536 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) in dbAdjCtl() argument 2582 if (alloc) { in dbAdjCtl() 2620 dbAdjCtl(bmp, blkno, dcp->stree[ROOT], alloc, in dbAdjCtl() 2626 if (alloc) { in dbAdjCtl()
|