Lines Matching refs:path
441 struct path path; in bpf_obj_do_pin() local
445 dentry = user_path_create(path_fd, pathname, &path, 0); in bpf_obj_do_pin()
449 dir = d_inode(path.dentry); in bpf_obj_do_pin()
456 ret = security_path_mknod(&path, dentry, mode, 0); in bpf_obj_do_pin()
474 done_path_create(&path, dentry); in bpf_obj_do_pin()
499 struct path path; in bpf_obj_do_get() local
503 ret = user_path_at(path_fd, pathname, LOOKUP_FOLLOW, &path); in bpf_obj_do_get()
507 inode = d_backing_inode(path.dentry); in bpf_obj_do_get()
508 ret = path_permission(&path, ACC_MODE(flags)); in bpf_obj_do_get()
518 touch_atime(&path); in bpf_obj_do_get()
520 path_put(&path); in bpf_obj_do_get()
523 path_put(&path); in bpf_obj_do_get()
586 struct path path; in bpf_prog_get_type_path() local
587 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
590 prog = __get_prog_inode(d_backing_inode(path.dentry), type); in bpf_prog_get_type_path()
592 touch_atime(&path); in bpf_prog_get_type_path()
593 path_put(&path); in bpf_prog_get_type_path()