Lines Matching refs:path
443 struct path path; in bpf_obj_do_pin() local
447 dentry = user_path_create(AT_FDCWD, pathname, &path, 0); in bpf_obj_do_pin()
453 ret = security_path_mknod(&path, dentry, mode, 0); in bpf_obj_do_pin()
457 dir = d_inode(path.dentry); in bpf_obj_do_pin()
477 done_path_create(&path, dentry); in bpf_obj_do_pin()
502 struct path path; in bpf_obj_do_get() local
506 ret = user_path_at(AT_FDCWD, pathname, LOOKUP_FOLLOW, &path); in bpf_obj_do_get()
510 inode = d_backing_inode(path.dentry); in bpf_obj_do_get()
511 ret = path_permission(&path, ACC_MODE(flags)); in bpf_obj_do_get()
521 touch_atime(&path); in bpf_obj_do_get()
523 path_put(&path); in bpf_obj_do_get()
526 path_put(&path); in bpf_obj_do_get()
589 struct path path; in bpf_prog_get_type_path() local
590 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
593 prog = __get_prog_inode(d_backing_inode(path.dentry), type); in bpf_prog_get_type_path()
595 touch_atime(&path); in bpf_prog_get_type_path()
596 path_put(&path); in bpf_prog_get_type_path()