Home
last modified time | relevance | path

Searched refs:getxattr (Results 1 – 21 of 21) sorted by relevance

/linux/fs/orangefs/
H A Dxattr.c154 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr()
155 strscpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr()
162 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr()
173 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr()
190 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr()
208 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr()
215 upcall.req.getxattr.key, in orangefs_inode_getxattr()
217 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr()
H A Ddowncall.h116 struct orangefs_getxattr_response getxattr; member
H A Dupcall.h247 struct orangefs_getxattr_request_s getxattr; member
H A Dorangefs-utils.c63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op()
/linux/fs/erofs/
H A Dxattr.c252 struct inode *inode, bool getxattr) in erofs_xattr_iter_inline() argument
286 if (getxattr) in erofs_xattr_iter_inline()
290 if ((getxattr && ret != -ENODATA) || (!getxattr && ret)) in erofs_xattr_iter_inline()
299 struct inode *inode, bool getxattr) in erofs_xattr_iter_shared() argument
319 if (getxattr) in erofs_xattr_iter_shared()
323 if ((getxattr && ret != -ENODATA) || (!getxattr && ret)) in erofs_xattr_iter_shared()
/linux/tools/perf/trace/strace/groups/
H A Dstring20 getxattr
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c57 err = getxattr(testfile, name, v, sizeof(v)); in test_xattr()
84 err = getxattr(testfile, skel->rodata->xattr_foo, value_out, sizeof(value_out)); in test_fsverity()
85 ASSERT_EQ(err, sizeof(value_foo), "getxattr size foo"); in test_fsverity()
100 err = getxattr(testfile, skel->rodata->xattr_bar, value_out, sizeof(value_out)); in test_fsverity()
101 ASSERT_EQ(err, sizeof(skel->data->value_bar), "getxattr size bar"); in test_fsverity()
111 err = getxattr(testfile, skel->rodata->xattr_bar, value_out, sizeof(value_out)); in test_fsverity()
112 ASSERT_LT(err, 0, "getxattr size bar should fail"); in test_fsverity()
149 /* First, test not _locked version of the kfuncs with getxattr. */ in test_fs_kfuncs()
/linux/fs/nfsd/
H A Dnfs4xdr.c2382 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_decode_getxattr() local
2386 memset(getxattr, 0, sizeof(*getxattr)); in nfsd4_decode_getxattr()
2387 status = nfsd4_decode_xattr_name(argp, &getxattr->getxa_name); in nfsd4_decode_getxattr()
2394 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr()
5904 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_encode_getxattr() local
5912 *p = cpu_to_be32(getxattr->getxa_len); in nfsd4_encode_getxattr()
5914 if (getxattr->getxa_len == 0) in nfsd4_encode_getxattr()
5917 err = nfsd4_vbuf_to_stream(xdr, getxattr->getxa_buf, in nfsd4_encode_getxattr()
5918 getxattr->getxa_len); in nfsd4_encode_getxattr()
5920 kvfree(getxattr->getxa_buf); in nfsd4_encode_getxattr()
H A Dnfs4proc.c2834 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_getxattr() local
2837 getxattr->getxa_name, &getxattr->getxa_buf, in nfsd4_getxattr()
2838 &getxattr->getxa_len); in nfsd4_getxattr()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl194 183 n64 getxattr sys_getxattr
/linux/scripts/
H A Dsyscall.tbl20 8 common getxattr sys_getxattr
/linux/tools/scripts/
H A Dsyscall.tbl20 8 common getxattr sys_getxattr
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl184 227 common getxattr sys_getxattr
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl239 229 common getxattr sys_getxattr
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl80 69 common getxattr sys_getxattr
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl203 191 common getxattr sys_getxattr
H A Dsyscall_32.tbl244 229 i386 getxattr sys_getxattr
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl209 172 common getxattr sys_getxattr
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl247 229 common getxattr sys_getxattr
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl272 212 common getxattr sys_getxattr
/linux/Documentation/admin-guide/LSM/
H A DSmack.rst778 using getxattr(2)::
780 len = getxattr("/", "security.SMACK64", value, sizeof (value));