Searched refs:name__str (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/ |
| H A D | bpf_fs_kfuncs.c | 99 static bool match_security_bpf_prefix(const char *name__str) in match_security_bpf_prefix() argument 101 return !strncmp(name__str, XATTR_NAME_BPF_LSM, XATTR_NAME_BPF_LSM_LEN); in match_security_bpf_prefix() 130 __bpf_kfunc int bpf_get_dentry_xattr(struct dentry *dentry, const char *name__str, in bpf_get_dentry_xattr() argument 144 ret = bpf_xattr_read_permission(name__str, inode); in bpf_get_dentry_xattr() 147 return __vfs_getxattr(dentry, inode, name__str, value, value_len); in bpf_get_dentry_xattr() 163 __bpf_kfunc int bpf_get_file_xattr(struct file *file, const char *name__str, in bpf_get_file_xattr() argument 169 return bpf_get_dentry_xattr(dentry, name__str, value_p); in bpf_get_file_xattr() 202 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked() argument 217 ret = bpf_xattr_write_permission(name__str, inode); in bpf_set_dentry_xattr_locked() 221 ret = __vfs_setxattr(&nop_mnt_idmap, dentry, inode, name__str, in bpf_set_dentry_xattr_locked() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_kfuncs.h | 94 extern int bpf_set_dentry_xattr(struct dentry *dentry, const char *name__str, 96 extern int bpf_remove_dentry_xattr(struct dentry *dentry, const char *name__str) __ksym __weak;
|
| H A D | bpf_experimental.h | 599 extern int bpf_cgroup_read_xattr(struct cgroup *cgroup, const char *name__str,
|