Home
last modified time | relevance | path

Searched refs:name__str (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/fs/
H A Dbpf_fs_kfuncs.c98 static bool match_security_bpf_prefix(const char *name__str) in match_security_bpf_prefix() argument
100 return !strncmp(name__str, XATTR_NAME_BPF_LSM, XATTR_NAME_BPF_LSM_LEN); in match_security_bpf_prefix()
143 ret = bpf_xattr_read_permission(name__str, inode); in bpf_get_dentry_xattr()
146 return __vfs_getxattr(dentry, inode, name__str, value, value_len); in bpf_get_dentry_xattr()
168 return bpf_get_dentry_xattr(dentry, name__str, value_p); in bpf_get_file_xattr()
216 ret = bpf_xattr_write_permission(name__str, inode); in bpf_set_dentry_xattr_locked()
220 ret = __vfs_setxattr(&nop_mnt_idmap, dentry, inode, name__str, in bpf_set_dentry_xattr_locked()
254 ret = bpf_xattr_write_permission(name__str, inode); in bpf_remove_dentry_xattr_locked()
258 ret = __vfs_removexattr(&nop_mnt_idmap, dentry, name__str); in bpf_remove_dentry_xattr_locked()
295 ret = bpf_set_dentry_xattr_locked(dentry, name__str, value_p, flags); in bpf_set_dentry_xattr()
[all …]
/linux-6.15/include/linux/
H A Dbpf_lsm.h51 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str,
53 int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str);
94 static inline int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked() argument
99 static inline int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) in bpf_remove_dentry_xattr_locked() argument
/linux-6.15/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h91 extern int bpf_set_dentry_xattr(struct dentry *dentry, const char *name__str,
93 extern int bpf_remove_dentry_xattr(struct dentry *dentry, const char *name__str) __ksym __weak;
/linux-6.15/Documentation/bpf/
H A Dkfuncs.rst144 __bpf_kfunc bpf_get_file_xattr(..., const char *name__str, ...)