/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | xattr.c | 86 * file into a user-specified buffer. Note that the getxattr 118 "getxattr on inode %pU, name %s " in orangefs_inode_getxattr() 152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 153 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr() 160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 188 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr() 206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr() 213 upcall.req.getxattr.key, in orangefs_inode_getxattr() 215 upcall.req.getxattr in orangefs_inode_getxattr() [all...] |
H A D | downcall.h | 58 /* the getxattr response is the attribute value */ 116 struct orangefs_getxattr_response getxattr; member
|
H A D | upcall.h | 247 struct orangefs_getxattr_request_s getxattr; member
|
H A D | orangefs-utils.c | 63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op()
|
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | xattr.c | 86 * file into a user-specified buffer. Note that the getxattr 118 "getxattr on inode %pU, name %s " in orangefs_inode_getxattr() 152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 153 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr() 160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 188 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr() 206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr() 213 upcall.req.getxattr.key, in orangefs_inode_getxattr() 215 upcall.req.getxattr in orangefs_inode_getxattr() [all...] |
H A D | downcall.h | 58 /* the getxattr response is the attribute value */ 116 struct orangefs_getxattr_response getxattr; member
|
H A D | upcall.h | 247 struct orangefs_getxattr_request_s getxattr; member
|
H A D | orangefs-utils.c | 63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op()
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | xattr.c | 20 /* getxattr */ 321 struct inode *inode, bool getxattr) in erofs_xattr_iter_inline() 354 if (getxattr) in erofs_xattr_iter_inline() 358 if ((getxattr && ret != -ENOATTR) || (!getxattr && ret)) in erofs_xattr_iter_inline() 367 struct inode *inode, bool getxattr) in erofs_xattr_iter_shared() 383 if (getxattr) in erofs_xattr_iter_shared() 387 if ((getxattr && ret != -ENOATTR) || (!getxattr && ret)) in erofs_xattr_iter_shared() 320 erofs_xattr_iter_inline(struct erofs_xattr_iter *it, struct inode *inode, bool getxattr) erofs_xattr_iter_inline() argument 366 erofs_xattr_iter_shared(struct erofs_xattr_iter *it, struct inode *inode, bool getxattr) erofs_xattr_iter_shared() argument
|
/kernel/linux/linux-5.10/fs/ |
H A D | xattr.c | 323 * vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr 328 * Returns the result of alloc, if failed, or the getxattr operation. 614 getxattr(struct dentry *d, const char __user *name, void __user *value, in getxattr() function 663 error = getxattr(path.dentry, name, value, size); in path_getxattr() 672 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() 693 error = getxattr(f.file->f_path.dentry, name, value, size); in SYSCALL_DEFINE4()
|
/kernel/linux/linux-6.6/fs/ |
H A D | xattr.c | 367 * vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr 373 * Returns the result of alloc, if failed, or the getxattr operation. 753 getxattr(struct mnt_idmap *idmap, struct dentry *d, in getxattr() function 788 error = getxattr(mnt_idmap(path.mnt), path.dentry, name, value, size); in path_getxattr() 797 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() 818 error = getxattr(file_mnt_idmap(f.file), f.file->f_path.dentry, in SYSCALL_DEFINE4()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4xdr.c | 2214 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_decode_getxattr() local 2218 memset(getxattr, 0, sizeof(*getxattr)); in nfsd4_decode_getxattr() 2219 status = nfsd4_decode_xattr_name(argp, &getxattr->getxa_name); in nfsd4_decode_getxattr() 2226 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr() 5077 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_encode_getxattr() local 5085 *p = cpu_to_be32(getxattr->getxa_len); in nfsd4_encode_getxattr() 5087 if (getxattr in nfsd4_encode_getxattr() [all...] |
H A D | nfs4proc.c | 2413 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_getxattr() local 2416 getxattr->getxa_name, &getxattr->getxa_buf, in nfsd4_getxattr() 2417 &getxattr->getxa_len); in nfsd4_getxattr()
|
H A D | xdr4.h | 697 struct nfsd4_getxattr getxattr; member
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4xdr.c | 1990 struct nfsd4_getxattr *getxattr) in nfsd4_decode_getxattr() 1995 status = nfsd4_decode_xattr_name(argp, &getxattr->getxa_name); in nfsd4_decode_getxattr() 2002 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr() 4863 struct nfsd4_getxattr *getxattr) in nfsd4_encode_getxattr() 4872 *p = cpu_to_be32(getxattr->getxa_len); in nfsd4_encode_getxattr() 4874 if (getxattr->getxa_len == 0) in nfsd4_encode_getxattr() 4877 err = nfsd4_vbuf_to_stream(xdr, getxattr->getxa_buf, in nfsd4_encode_getxattr() 4878 getxattr->getxa_len); in nfsd4_encode_getxattr() 4880 kvfree(getxattr->getxa_buf); in nfsd4_encode_getxattr() 1989 nfsd4_decode_getxattr(struct nfsd4_compoundargs *argp, struct nfsd4_getxattr *getxattr) nfsd4_decode_getxattr() argument 4862 nfsd4_encode_getxattr(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_getxattr *getxattr) nfsd4_encode_getxattr() argument
|
H A D | nfs4proc.c | 2096 struct nfsd4_getxattr *getxattr = &u->getxattr; in nfsd4_getxattr() local 2099 getxattr->getxa_name, &getxattr->getxa_buf, in nfsd4_getxattr() 2100 &getxattr->getxa_len); in nfsd4_getxattr()
|
H A D | xdr4.h | 679 struct nfsd4_getxattr getxattr; member
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | device_node.c | 1338 HMDFS_CMD_ATTR(getxattr, F_GETXATTR); 1352 ATTR_LIST(syncfs), ATTR_LIST(getxattr),
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | device_node.c | 1339 HMDFS_CMD_ATTR(getxattr, F_GETXATTR); 1353 ATTR_LIST(syncfs), ATTR_LIST(getxattr),
|