Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_set_remove_xattr.c36 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 Dtest_get_xattr.c59 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 Dverifier_vfs_accept.c88 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 Dlocal_storage.c62 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 Dprofiler.inc.h480 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 Dverifier_vfs_reject.c164 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 Dfind_vma.c28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
A Dmap_kptr.c230 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 Dbpf_kfuncs.h82 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 Dbpf_testmod.c542 uprobe.uprobe = uprobe_register(d_real_inode(uprobe.path.dentry), in testmod_register_uprobe()

Completed in 18 milliseconds