Searched refs:clone (Results 1 – 8 of 8) sorted by relevance
/fs/ |
D | posix_acl.c | 194 struct posix_acl *clone = NULL; in posix_acl_clone() local 199 clone = kmemdup(acl, size, flags); in posix_acl_clone() 200 if (clone) in posix_acl_clone() 201 refcount_set(&clone->a_refcount, 1); in posix_acl_clone() 203 return clone; in posix_acl_clone() 521 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local 523 if (clone) { in __posix_acl_create() 524 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create() 526 posix_acl_release(clone); in __posix_acl_create() 527 clone = NULL; in __posix_acl_create() [all …]
|
/fs/f2fs/ |
D | acl.c | 266 struct posix_acl *clone = NULL; in f2fs_acl_clone() local 271 clone = kmemdup(acl, size, flags); in f2fs_acl_clone() 272 if (clone) in f2fs_acl_clone() 273 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone() 275 return clone; in f2fs_acl_clone() 337 struct posix_acl *clone; in f2fs_acl_create() local 354 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create() 355 if (!clone) { in f2fs_acl_create() 360 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create() 365 posix_acl_release(clone); in f2fs_acl_create() [all …]
|
/fs/9p/ |
D | fid.c | 106 int i, n, l, clone, access; in v9fs_fid_lookup_with_uid() local 163 clone = 1; in v9fs_fid_lookup_with_uid() 171 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup_with_uid() 186 clone = 0; in v9fs_fid_lookup_with_uid()
|
/fs/gfs2/ |
D | bmap.c | 290 static void clone_metapath(struct metapath *clone, struct metapath *mp) in clone_metapath() argument 294 *clone = *mp; in clone_metapath() 296 get_bh(clone->mp_bh[hgt]); in clone_metapath() 586 struct metapath clone; in gfs2_hole_size() local 590 clone_metapath(&clone, mp); in gfs2_hole_size() 591 ret = gfs2_walk_metadata(inode, &clone, len, gfs2_hole_walker); in gfs2_hole_size() 596 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 603 release_metapath(&clone); in gfs2_hole_size()
|
D | rgrp.c | 1332 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; in gfs2_rgrp_send_discards() local 1333 clone += bi->bi_offset; in gfs2_rgrp_send_discards() 1334 clone += x; in gfs2_rgrp_send_discards() 1337 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1)); in gfs2_rgrp_send_discards() 1339 diff = ~(*clone | (*clone >> 1)); in gfs2_rgrp_send_discards()
|
/fs/nfsd/ |
D | nfs4proc.c | 1070 struct nfsd4_clone *clone = &u->clone; in nfsd4_clone() local 1074 status = nfsd4_verify_copy(rqstp, cstate, &clone->cl_src_stateid, &src, in nfsd4_clone() 1075 &clone->cl_dst_stateid, &dst); in nfsd4_clone() 1079 status = nfsd4_clone_file_range(src->nf_file, clone->cl_src_pos, in nfsd4_clone() 1080 dst->nf_file, clone->cl_dst_pos, clone->cl_count, in nfsd4_clone()
|
D | nfs4xdr.c | 1729 nfsd4_decode_clone(struct nfsd4_compoundargs *argp, struct nfsd4_clone *clone) in nfsd4_decode_clone() argument 1733 status = nfsd4_decode_stateid(argp, &clone->cl_src_stateid); in nfsd4_decode_clone() 1736 status = nfsd4_decode_stateid(argp, &clone->cl_dst_stateid); in nfsd4_decode_clone() 1741 p = xdr_decode_hyper(p, &clone->cl_src_pos); in nfsd4_decode_clone() 1742 p = xdr_decode_hyper(p, &clone->cl_dst_pos); in nfsd4_decode_clone() 1743 p = xdr_decode_hyper(p, &clone->cl_count); in nfsd4_decode_clone()
|
D | xdr4.h | 627 struct nfsd4_clone clone; member
|