__vfs_setxattr_locked(9)
πΈ __vfs_setxattr_locked(9) πΈ
okay so bestie, welcome to this lil page from the Kernel API Manual β itβs giving kernel-internals realness, and weβre gonna read it together. π β¨
π NAME π
__vfs_setxattr_locked β set an extended attribute while holding the inode lock
β¨ SYNOPSIS β¨
int __vfs_setxattr_locked (struct mnt_idmap *idmap , struct dentry *dentry , const char *name , const void *value , size_t size , int flags , struct delegated_inode *delegated_inode );
π ARGUMENTS π
idmapβ the idmap of the mount of the target inode, periodt.dentryβ the object to performsetxattron.nameβ the xattr name to set.valueβ the value to setnameto.sizeβ size ofvalue.flagsβ flags to pass into filesystem operations.delegated_inodeβ on return, will contain an inode pointer that a delegation was broken on,NULLif none.
π¦ SEE ALSO π¦
Kernel file ./fs/xattr.c β the whole squad is:
may_write_xattr(9)__vfs_setxattr_noperm(9)vfs_listxattr(9)__vfs_removexattr_locked(9)generic_listxattr(9)xattr_full_name(9)simple_xattr_space(9)simple_xattr_free(9)simple_xattr_free_rcu(9)simple_xattr_alloc(9)simple_xattr_get(9)simple_xattr_set(9)simple_xattr_set_limited(9)simple_xattr_list(9)simple_xattr_add(9)simple_xattr_add_limited(9)simple_xattrs_free(9)simple_xattr_cache_cleanup(9)
made with π from the source/version tag ./fs, dated October 2026, in the Kernel API Manual β kbye bestie π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms