Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/fs/
Dposix_acl.c193 struct posix_acl *clone = NULL; in posix_acl_clone() local
198 clone = kmemdup(acl, size, flags); in posix_acl_clone()
199 if (clone) in posix_acl_clone()
200 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
202 return clone; in posix_acl_clone()
520 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
522 if (clone) { in __posix_acl_create()
523 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
525 posix_acl_release(clone); in __posix_acl_create()
526 clone = NULL; in __posix_acl_create()
[all …]
/linux-4.19.296/fs/f2fs/
Dacl.c266 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 …]
/linux-4.19.296/fs/9p/
Dfid.c121 int i, n, l, clone, access; in v9fs_fid_lookup_with_uid() local
178 clone = 1; in v9fs_fid_lookup_with_uid()
186 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup_with_uid()
201 clone = 0; in v9fs_fid_lookup_with_uid()
/linux-4.19.296/include/linux/
Ddevice-mapper.h64 struct request **clone);
65 typedef void (*dm_release_clone_request_fn) (struct request *clone,
79 struct request *clone, blk_status_t error,
/linux-4.19.296/include/uapi/scsi/
Dcxlflash_ioctl.h178 struct dk_cxlflash_clone clone; member
/linux-4.19.296/include/net/9p/
Dclient.h204 const unsigned char * const *wnames, int clone);
/linux-4.19.296/fs/gfs2/
Dbmap.c289 static void clone_metapath(struct metapath *clone, struct metapath *mp) in clone_metapath() argument
293 *clone = *mp; in clone_metapath()
295 get_bh(clone->mp_bh[hgt]); in clone_metapath()
587 struct metapath clone; in gfs2_hole_size() local
591 clone_metapath(&clone, mp); in gfs2_hole_size()
592 ret = gfs2_walk_metadata(inode, &clone, len, gfs2_hole_walker); in gfs2_hole_size()
597 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size()
604 release_metapath(&clone); in gfs2_hole_size()
Drgrp.c1314 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; in gfs2_rgrp_send_discards() local
1315 clone += bi->bi_offset; in gfs2_rgrp_send_discards()
1316 clone += x; in gfs2_rgrp_send_discards()
1319 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1)); in gfs2_rgrp_send_discards()
1321 diff = ~(*clone | (*clone >> 1)); in gfs2_rgrp_send_discards()
/linux-4.19.296/fs/nfsd/
Dnfs4proc.c1076 struct nfsd4_clone *clone = &u->clone; in nfsd4_clone() local
1080 status = nfsd4_verify_copy(rqstp, cstate, &clone->cl_src_stateid, &src, in nfsd4_clone()
1081 &clone->cl_dst_stateid, &dst); in nfsd4_clone()
1085 status = nfsd4_clone_file_range(src, clone->cl_src_pos, in nfsd4_clone()
1086 dst, clone->cl_dst_pos, clone->cl_count); in nfsd4_clone()
Dxdr4.h598 struct nfsd4_clone clone; member
Dnfs4xdr.c1728 nfsd4_decode_clone(struct nfsd4_compoundargs *argp, struct nfsd4_clone *clone) in nfsd4_decode_clone() argument
1732 status = nfsd4_decode_stateid(argp, &clone->cl_src_stateid); in nfsd4_decode_clone()
1735 status = nfsd4_decode_stateid(argp, &clone->cl_dst_stateid); in nfsd4_decode_clone()
1740 p = xdr_decode_hyper(p, &clone->cl_src_pos); in nfsd4_decode_clone()
1741 p = xdr_decode_hyper(p, &clone->cl_dst_pos); in nfsd4_decode_clone()
1742 p = xdr_decode_hyper(p, &clone->cl_count); in nfsd4_decode_clone()
/linux-4.19.296/include/net/netfilter/
Dnf_tables.h764 int (*clone)(struct nft_expr *dst, member
822 if (src->ops->clone) { in nft_expr_clone()
824 err = src->ops->clone(dst, src); in nft_expr_clone()
/linux-4.19.296/include/net/
Ddsa.h520 struct sk_buff *clone, unsigned int type);
/linux-4.19.296/drivers/s390/net/
Dqeth_core_main.c5734 struct net_device *clone = qeth_alloc_netdev(orig->ml_priv); in qeth_clone_netdev() local
5736 if (!clone) in qeth_clone_netdev()
5739 clone->dev_port = orig->dev_port; in qeth_clone_netdev()
5740 return clone; in qeth_clone_netdev()