Home
last modified time | relevance | path

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

/fs/
Dposix_acl.c158 struct posix_acl *clone = NULL; in posix_acl_clone() local
163 clone = kmemdup(acl, size, flags); in posix_acl_clone()
164 if (clone) in posix_acl_clone()
165 atomic_set(&clone->a_refcount, 1); in posix_acl_clone()
167 return clone; in posix_acl_clone()
485 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
487 if (clone) { in __posix_acl_create()
488 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
490 posix_acl_release(clone); in __posix_acl_create()
491 clone = NULL; in __posix_acl_create()
[all …]
/fs/f2fs/
Dacl.c269 struct posix_acl *clone = NULL; in f2fs_acl_clone() local
274 clone = kmemdup(acl, size, flags); in f2fs_acl_clone()
275 if (clone) in f2fs_acl_clone()
276 atomic_set(&clone->a_refcount, 1); in f2fs_acl_clone()
278 return clone; in f2fs_acl_clone()
340 struct posix_acl *clone; in f2fs_acl_create() local
357 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
358 if (!clone) { in f2fs_acl_create()
363 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create()
368 posix_acl_release(clone); in f2fs_acl_create()
[all …]
/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()
/fs/gfs2/
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()