Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 40) sorted by relevance

12

/fs/ocfs2/
A Dlocalalloc.c38 struct ocfs2_dinode *alloc,
46 struct ocfs2_dinode *alloc,
307 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc()
484 struct ocfs2_dinode *alloc; in ocfs2_begin_local_alloc_recovery() local
620 struct ocfs2_dinode *alloc; in ocfs2_reserve_local_alloc_bits() local
724 struct ocfs2_dinode *alloc; in ocfs2_claim_local_alloc_bits() local
731 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_claim_local_alloc_bits()
780 struct ocfs2_dinode *alloc; in ocfs2_free_local_alloc_bits() local
787 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_free_local_alloc_bits()
911 alloc->id1.bitmap1.i_used = 0; in ocfs2_clear_local_alloc()
[all …]
A Dlocalalloc.h25 struct ocfs2_dinode *alloc);
A DMakefile12 alloc.o \
A Daops.c1246 loff_t pos, unsigned len, int alloc) in ocfs2_set_target_boundaries() argument
1253 if (alloc == 0) in ocfs2_set_target_boundaries()
2076 ocfs2_dio_alloc_write_ctx(struct buffer_head *bh, int *alloc) in ocfs2_dio_alloc_write_ctx() argument
2091 *alloc = 1; in ocfs2_dio_alloc_write_ctx()
A Ddir.c2802 u32 alloc, dx_alloc, bit_off, len, num_dx_entries = 0; in ocfs2_expand_inline_dir() local
2823 alloc = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_expand_inline_dir()
2860 BUG_ON(alloc > 2); in ocfs2_expand_inline_dir()
2862 ret = ocfs2_reserve_clusters(osb, alloc + dx_alloc, &data_ac); in ocfs2_expand_inline_dir()
2872 if (alloc == 2) in ocfs2_expand_inline_dir()
2883 ocfs2_clusters_to_bytes(osb->sb, alloc + dx_alloc)); in ocfs2_expand_inline_dir()
3051 if (alloc > len) { in ocfs2_expand_inline_dir()
/fs/xfs/libxfs/
A Dxfs_alloc_btree.c139 key->alloc.ar_startblock = rec->alloc.ar_startblock; in xfs_allocbt_init_key_from_rec()
140 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec()
150 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec()
153 key->alloc.ar_blockcount = 0; in xfs_bnobt_init_high_key_from_rec()
161 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_cntbt_init_high_key_from_rec()
162 key->alloc.ar_startblock = 0; in xfs_cntbt_init_high_key_from_rec()
234 mask->alloc.ar_startblock)); in xfs_cntbt_cmp_two_keys()
368 be32_to_cpu(r1->alloc.ar_blockcount) <= in xfs_bnobt_recs_inorder()
369 be32_to_cpu(r2->alloc.ar_startblock); in xfs_bnobt_recs_inorder()
380 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
A Dxfs_ialloc.h23 uint64_t alloc; /* inode phys. allocation bitmap for member
A Dxfs_btree.h35 xfs_alloc_key_t alloc; member
45 struct xfs_alloc_rec alloc; member
A Dxfs_trans_resv.c209 bool alloc) in xfs_calc_inode_chunk_res() argument
215 if (alloc) { in xfs_calc_inode_chunk_res()
/fs/nfs/
A Dnfs3acl.c260 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl() local
267 alloc = get_inode_acl(inode, ACL_TYPE_DEFAULT); in nfs3_set_acl()
268 if (IS_ERR(alloc)) in nfs3_set_acl()
270 dfacl = alloc; in nfs3_set_acl()
274 alloc = get_inode_acl(inode, ACL_TYPE_ACCESS); in nfs3_set_acl()
275 if (IS_ERR(alloc)) in nfs3_set_acl()
278 acl = alloc; in nfs3_set_acl()
284 alloc = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfs3_set_acl()
285 if (IS_ERR(alloc)) in nfs3_set_acl()
287 acl = alloc; in nfs3_set_acl()
[all …]
A Ddns_resolve.c378 .alloc = nfs_dns_ent_alloc,
/fs/hpfs/
A DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/fs/nilfs2/
A DMakefile6 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
/fs/quota/
A Dquota_v2.c356 bool alloc = false; in v2_write_dquot() local
366 alloc = true; in v2_write_dquot()
376 if (alloc) in v2_write_dquot()
/fs/nfsd/
A Dnfs4acl.c455 int alloc; in init_state() local
463 alloc = sizeof(struct posix_ace_state_array) in init_state()
465 state->users = kzalloc(alloc, GFP_KERNEL); in init_state()
468 state->groups = kzalloc(alloc, GFP_KERNEL); in init_state()
A Dnfs4idmap.c202 .alloc = ent_alloc,
372 .alloc = ent_alloc,
/fs/ntfs3/
A Dindex.c1435 struct ATTRIB *alloc; in indx_create_allocate() local
1451 &run, 0, len, 0, &alloc, NULL, NULL); in indx_create_allocate()
1455 alloc->nres.valid_size = alloc->nres.data_size = cpu_to_le64(data_size); in indx_create_allocate()
1474 mi_remove_attr(NULL, &ni->mi, alloc); in indx_create_allocate()
1493 struct ATTRIB *bmp, *alloc; in indx_add_allocate() local
1526 alloc = ni_find_attr(ni, NULL, NULL, ATTR_ALLOC, in->name, in->name_len, in indx_add_allocate()
1528 if (!alloc) { in indx_add_allocate()
1535 if (data_size <= le64_to_cpu(alloc->nres.data_size)) { in indx_add_allocate()
A Dattrib.c897 CLST alloc, evcn; in attr_data_get_block() local
1160 alloc = bytes_to_cluster(sbi, le64_to_cpu(attr_b->nres.alloc_size)); in attr_data_get_block()
1174 if (evcn + 1 >= alloc) { in attr_data_get_block()
1774 CLST alloc = bytes_to_cluster( in attr_allocate_frame() local
1789 if (evcn + 1 >= alloc) { in attr_allocate_frame()
/fs/kernfs/
A Dinode.c27 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, bool alloc) in __kernfs_iattrs() argument
33 if (attr || !alloc) in __kernfs_iattrs()
/fs/xfs/
A DMakefile170 alloc.o \
/fs/btrfs/
A Dblock-group.h346 u64 bytenr, u64 num_bytes, bool alloc);
/fs/smb/server/
A Dsmbacl.c343 int alloc; in init_acl_state() local
351 alloc = sizeof(struct posix_ace_state_array) in init_acl_state()
353 state->users = kzalloc(alloc, KSMBD_DEFAULT_GFP); in init_acl_state()
356 state->groups = kzalloc(alloc, KSMBD_DEFAULT_GFP); in init_acl_state()
/fs/bcachefs/
A Dalloc_foreground.c527 goto alloc; in bch2_bucket_alloc_trans()
543 alloc: in bch2_bucket_alloc_trans()
553 goto alloc; in bch2_bucket_alloc_trans()
558 goto alloc; in bch2_bucket_alloc_trans()
/fs/jfs/
A Djfs_dmap.c70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
2470 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) in dbAdjCtl() argument
2516 if (alloc) { in dbAdjCtl()
2558 dbAdjCtl(bmp, blkno, dcp->stree[ROOT], alloc, in dbAdjCtl()
2564 if (alloc) { in dbAdjCtl()
/fs/dlm/
A Dlowcomms.c298 static struct connection *nodeid2con(int nodeid, gfp_t alloc) in nodeid2con() argument
305 if (con || !alloc) in nodeid2con()
308 con = kzalloc(sizeof(*con), alloc); in nodeid2con()

Completed in 69 milliseconds

12