Searched refs:dentry (Results 1 – 10 of 10) sorted by relevance
| /tools/testing/selftests/bpf/progs/ |
| A D | test_set_remove_xattr.c | 36 int BPF_PROG(test_inode_getxattr, struct dentry *dentry, char *name) in BPF_PROG() argument 53 ret = bpf_get_dentry_xattr(dentry, xattr_bar, &value_ptr); in BPF_PROG() 59 ret = bpf_set_dentry_xattr(dentry, xattr_bar, &value_ptr, 0); in BPF_PROG() 62 ret = bpf_set_dentry_xattr(dentry, xattr_selinux, &value_ptr, 0); in BPF_PROG() 67 ret = bpf_remove_dentry_xattr(dentry, xattr_bar); in BPF_PROG() 71 ret = bpf_remove_dentry_xattr(dentry, xattr_selinux); in BPF_PROG() 91 struct dentry *dentry, const char *name, in BPF_PROG() argument 109 ret = bpf_get_dentry_xattr(dentry, xattr_bar, &value_ptr); in BPF_PROG() 115 ret = bpf_set_dentry_xattr(dentry, xattr_bar, &value_ptr, 0); in BPF_PROG() 123 ret = bpf_remove_dentry_xattr(dentry, xattr_bar); in BPF_PROG() [all …]
|
| A D | test_get_xattr.c | 59 int BPF_PROG(test_inode_getxattr, struct dentry *dentry, char *name) in BPF_PROG() argument 72 ret = bpf_get_dentry_xattr(dentry, xattr_names[i], &value_ptr); in BPF_PROG()
|
| A D | verifier_vfs_accept.c | 88 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() 89 struct inode *new_dir, struct dentry *new_dentry, in BPF_PROG()
|
| A D | local_storage.c | 62 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() 108 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() 109 struct inode *new_dir, struct dentry *new_dentry, in BPF_PROG()
|
| A D | profiler.inc.h | 480 struct dentry* parent_dentry; in read_absolute_file_path_from_dentry() 505 is_ancestor_in_allowed_inodes(struct dentry* filp_dentry) in is_ancestor_in_allowed_inodes() 507 struct dentry* parent_dentry; in is_ancestor_in_allowed_inodes() 525 static INLINE bool is_dentry_allowed_for_filemod(struct dentry* file_dentry, in is_dentry_allowed_for_filemod() 580 BPF_CORE_READ(filp, f_path.dentry, in BPF_KPROBE() 775 struct dentry* filp_dentry = BPF_CORE_READ(filp, f_path.dentry); in kprobe_ret__do_filp_open() 819 struct dentry* old_dentry, struct mnt_idmap *idmap, in BPF_KPROBE() 820 struct inode* dir, struct dentry* new_dentry, in BPF_KPROBE() 878 int BPF_KPROBE(kprobe__vfs_symlink, struct inode* dir, struct dentry* dentry, in BPF_KPROBE() argument 886 if (!is_dentry_allowed_for_filemod(dentry, &dst_device_id, &dst_file_ino)) in BPF_KPROBE() [all …]
|
| A D | verifier_vfs_reject.c | 164 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() 165 struct inode *new_dir, struct dentry *new_dentry, in BPF_PROG()
|
| A D | find_vma.c | 28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
|
| A D | map_kptr.c | 230 int BPF_PROG(test_task_map_kptr, struct inode *inode, struct dentry *victim) in BPF_PROG() 245 int BPF_PROG(test_inode_map_kptr, struct inode *inode, struct dentry *victim) in BPF_PROG()
|
| /tools/testing/selftests/bpf/ |
| A D | bpf_kfuncs.h | 82 struct dentry; 88 extern int bpf_get_dentry_xattr(struct dentry *dentry, const char *name, 91 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;
|
| /tools/testing/selftests/bpf/test_kmods/ |
| A D | bpf_testmod.c | 542 uprobe.uprobe = uprobe_register(d_real_inode(uprobe.path.dentry), in testmod_register_uprobe()
|
Completed in 18 milliseconds