Home
last modified time | relevance | path

Searched refs:setxattr (Results 1 – 23 of 23) sorted by relevance

/linux/fs/orangefs/
H A Dxattr.c357 new_op->upcall.req.setxattr.refn = orangefs_inode->refn; in orangefs_inode_setxattr()
358 new_op->upcall.req.setxattr.flags = internal_flag; in orangefs_inode_setxattr()
364 strscpy(new_op->upcall.req.setxattr.keyval.key, name); in orangefs_inode_setxattr()
365 new_op->upcall.req.setxattr.keyval.key_sz = strlen(name) + 1; in orangefs_inode_setxattr()
366 memcpy(new_op->upcall.req.setxattr.keyval.val, value, size); in orangefs_inode_setxattr()
367 new_op->upcall.req.setxattr.keyval.val_sz = size; in orangefs_inode_setxattr()
372 (char *)new_op->upcall.req.setxattr.keyval.key, in orangefs_inode_setxattr()
373 (int)new_op->upcall.req.setxattr.keyval.key_sz, in orangefs_inode_setxattr()
H A Dupcall.h248 struct orangefs_setxattr_request_s setxattr; member
H A Dorangefs-utils.c66 fsid = op->upcall.req.setxattr.refn.fs_id; in fsid_of_op()
/linux/tools/perf/trace/strace/groups/
H A Dstring54 setxattr
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c29 err = setxattr(testfile, name, value, strlen(value) + 1, 0); in test_xattr()
38 if (!ASSERT_OK(err, "setxattr")) in test_xattr()
91 ASSERT_OK(setxattr(testfile, skel->rodata->xattr_foo, value_foo, strlen(value_foo) + 1, 0), in test_fsverity()
92 "setxattr foo"); in test_fsverity()
132 err = setxattr(testfile, skel->rodata->xattr_foo, value_foo, strlen(value_foo) + 1, 0); in test_fsverity()
141 if (!ASSERT_OK(err, "setxattr"))
168 /* Second, test _locked version of the kfuncs, with setxattr */
H A Dverify_pkcs7_sig.c439 ret = setxattr(data_path, "user.sig", sig, size, 0); in add_signature_to_xattr()
/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c339 return setxattr(cgroup_path, name, value, strlen(value) + 1, 0); in set_cgroup_xattr()
/linux/fs/nfsd/
H A Dnfs4xdr.c2402 struct nfsd4_setxattr *setxattr = &u->setxattr; in nfsd4_decode_setxattr() local
2406 memset(setxattr, 0, sizeof(*setxattr)); in nfsd4_decode_setxattr()
2413 setxattr->setxa_flags = flags; in nfsd4_decode_setxattr()
2415 status = nfsd4_decode_xattr_name(argp, &setxattr->setxa_name); in nfsd4_decode_setxattr()
2427 setxattr->setxa_len = size; in nfsd4_decode_setxattr()
2434 &setxattr->setxa_buf, size); in nfsd4_decode_setxattr()
5929 struct nfsd4_setxattr *setxattr = &u->setxattr; in nfsd4_encode_setxattr() local
5932 return nfsd4_encode_change_info4(xdr, &setxattr->setxa_cinfo); in nfsd4_encode_setxattr()
H A Dnfs4proc.c2845 struct nfsd4_setxattr *setxattr = &u->setxattr; in nfsd4_setxattr() local
2851 ret = nfsd_setxattr(rqstp, &cstate->current_fh, setxattr->setxa_name, in nfsd4_setxattr()
2852 setxattr->setxa_buf, setxattr->setxa_len, in nfsd4_setxattr()
2853 setxattr->setxa_flags); in nfsd4_setxattr()
2856 set_change_info(&setxattr->setxa_cinfo, &cstate->current_fh); in nfsd4_setxattr()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl191 180 n64 setxattr sys_setxattr
/linux/include/linux/ceph/
H A Dceph_fs.h460 } __attribute__ ((packed)) setxattr; member
/linux/fs/ceph/
H A Dxattr.c1152 req->r_args.setxattr.flags = cpu_to_le32(flags); in ceph_sync_setxattr()
1153 req->r_args.setxattr.osdmap_epoch = in ceph_sync_setxattr()
/linux/scripts/
H A Dsyscall.tbl17 5 common setxattr sys_setxattr
/linux/tools/scripts/
H A Dsyscall.tbl17 5 common setxattr sys_setxattr
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl236 226 common setxattr sys_setxattr
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl79 68 common setxattr sys_setxattr
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl200 188 common setxattr sys_setxattr
H A Dsyscall_32.tbl241 226 i386 setxattr sys_setxattr
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl244 226 common setxattr sys_setxattr
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl206 169 common setxattr sys_setxattr
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl235 224 common setxattr sys_setxattr sys_setxattr
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl269 209 common setxattr sys_setxattr
/linux/Documentation/admin-guide/LSM/
H A DSmack.rst783 process can set the Smack label of a file system object with setxattr(2)::
786 rc = setxattr("/foo", "security.SMACK64", "Rubble", len, 0);