__vfs_setxattr_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __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 perform setxattr on.
  • name β€” the xattr name to set.
  • value β€” the value to set name to.
  • size β€” size of value.
  • flags β€” flags to pass into filesystem operations.
  • delegated_inode β€” on return, will contain an inode pointer that a delegation was broken on, NULL if none.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/xattr.c β€” the whole squad is:


made with πŸ’– from the source/version tag ./fs, dated October 2026, in the Kernel API Manual β€” kbye bestie πŸ’…βœ¨

πŸ“¦ where this page comes from