Home
last modified time | relevance | path

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

/linux/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()
129 __bpf_kfunc int bpf_get_dentry_xattr(struct dentry *dentry, const char *name__str, in bpf_get_dentry_xattr() argument
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()
162 __bpf_kfunc int bpf_get_file_xattr(struct file *file, const char *name__str, in bpf_get_file_xattr() argument
168 return bpf_get_dentry_xattr(dentry, name__str, value_p); in bpf_get_file_xattr()
201 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked() argument
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()
[all …]
/linux/include/linux/
H A Dbpf_lsm.h53 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str,
55 int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str);
99 static inline int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked() argument
104 static inline int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) in bpf_remove_dentry_xattr_locked() argument
/linux/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;
H A Dbpf_experimental.h364 extern int bpf_cgroup_read_xattr(struct cgroup *cgroup, const char *name__str,
367 extern int bpf_sock_read_xattr(struct socket *sock, const char *name__str,
/linux/Documentation/bpf/
H A Dkfuncs.rst234 __bpf_kfunc bpf_get_file_xattr(..., const char *name__str, ...)