| /linux/include/linux/ |
| H A D | path.h | 14 extern void path_put(const struct path *); 22 * Cleanup macro for use with __free(path_put). Avoids dereference and 23 * copying @path unlike DEFINE_FREE(). path_put() will handle the empty 26 * struct path path __free(path_put) = {}; 28 #define __free_path_put path_put
|
| /linux/fs/ |
| H A D | fs_struct.c | 25 path_put(&old_root); in set_fs_root() 43 path_put(&old_pwd); in set_fs_pwd() 79 path_put(old_root); in chroot_fs_refs() 84 path_put(&fs->root); in free_fs_struct() 85 path_put(&fs->pwd); in free_fs_struct()
|
| H A D | nsfs.c | 112 struct path path __free(path_put) = {}; in open_namespace() 305 struct path path __free(path_put) = {}; in ns_ioctl() 495 struct path path __free(path_put) = {}; in nsfs_fh_to_dentry()
|
| H A D | file_table.c | 76 path_put(backing_file_user_path(f)); in file_free() 386 path_put(&path); in alloc_file_pseudo() 414 path_put(&path); in alloc_file_pseudo_noaccount()
|
| H A D | namei.c | 658 * path_put - put a reference to a path 663 void path_put(const struct path *path) in path_put() function 668 EXPORT_SYMBOL(path_put); 792 path_put(&nd->path); in terminate_walk() 794 path_put(&nd->stack[i].link); in terminate_walk() 796 path_put(&nd->root); in terminate_walk() 807 /* path_put is needed afterwards regardless of success or failure */ 1097 path_put(&nd->path); in nd_jump_root() 1127 path_put(&nd->path); in nd_jump_link() 1134 path_put(path); in nd_jump_link() [all …]
|
| H A D | fsopen.c | 206 path_put(&target); in SYSCALL_DEFINE3() 212 path_put(&target); in SYSCALL_DEFINE3()
|
| H A D | file_attr.c | 376 struct path filepath __free(path_put) = {}; in SYSCALL_DEFINE5() 433 struct path filepath __free(path_put) = {}; in SYSCALL_DEFINE5()
|
| H A D | kernel_read_file.c | 164 path_put(&root); in kernel_read_file_from_path_initns()
|
| /linux/security/keys/ |
| H A D | big_key.c | 157 path_put(&payload->path); in big_key_free_preparse() 183 path_put(&payload->path); in big_key_destroy()
|
| /linux/fs/smb/server/ |
| H A D | vfs.c | 80 path_put(path); in ksmbd_vfs_path_lookup() 87 path_put(path); in ksmbd_vfs_path_lookup() 99 path_put(path); in ksmbd_vfs_path_lookup() 109 path_put(path); in ksmbd_vfs_path_lookup() 118 path_put(path); in ksmbd_vfs_path_lookup() 657 path_put(&oldpath); in ksmbd_vfs_link() 735 path_put(&new_path); in ksmbd_vfs_rename() 1181 path_put(&parent_path); in __ksmbd_vfs_kern_path() 1203 path_put(&parent_path); in __ksmbd_vfs_kern_path()
|
| /linux/fs/cachefiles/ |
| H A D | daemon.c | 662 path_put(&path); in cachefiles_daemon_cull() 667 path_put(&path); in cachefiles_daemon_cull() 733 path_put(&path); in cachefiles_daemon_inuse() 738 path_put(&path); in cachefiles_daemon_inuse()
|
| /linux/fs/autofs/ |
| H A D | dev-ioctl.c | 212 path_put(&path); in find_autofs_mount() 234 struct path path __free(path_put) = {}; in autofs_dev_ioctl_open_mountpoint() 519 path_put(&path); in autofs_dev_ioctl_requester() 623 path_put(&path); in autofs_dev_ioctl_ismountpoint()
|
| /linux/kernel/ |
| H A D | audit_tree.c | 697 path_put(&path); in audit_trim_trees() 838 path_put(&path); in audit_add_tree_rule() 889 path_put(&path2); in audit_tag_tree() 915 path_put(&path2); in audit_tag_tree() 964 path_put(&path1); in audit_tag_tree()
|
| H A D | audit_fsnotify.c | 112 path_put(&path); in audit_alloc_mark()
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 440 struct path layer_path __free(path_put) = {}; in ovl_parse_layer() 485 path_put(&l->path); in ovl_reset_lowerdirs() 546 struct path path __free(path_put) = {}; in ovl_parse_param_lowerdir() 714 path_put(&ctx->upper); in ovl_fs_context_free() 715 path_put(&ctx->work); in ovl_fs_context_free()
|
| /linux/fs/coda/ |
| H A D | pioctl.c | 86 path_put(&path); in coda_pioctl()
|
| /linux/security/tomoyo/ |
| H A D | load_policy.c | 48 path_put(&path); in tomoyo_policy_loader_exists()
|
| H A D | mount.c | 176 path_put(&obj.path1); in tomoyo_mount_acl()
|
| /linux/security/apparmor/ |
| H A D | mount.c | 453 path_put(&old_path); in aa_bind_mount() 530 path_put(&old_path); in aa_move_mount_old() 596 path_put(dev_path); in aa_new_mount()
|
| /linux/kernel/trace/ |
| H A D | trace_uprobe.c | 374 path_put(&tu->path); in free_trace_uprobe() 548 struct path path __free(path_put) = {}; in DEFINE_FREE() 698 /* Clear @path so that it will not freed by path_put() */ in DEFINE_FREE() 1637 path_put(&path); in create_local_trace_uprobe() 1652 path_put(&path); in create_local_trace_uprobe()
|
| /linux/fs/nfsd/ |
| H A D | export.c | 49 path_put(&key->ek_path); in expkey_put() 163 path_put(&key.ek_path); in expkey_parse() 372 path_put(&exp->ex_path); in svc_export_put() 744 path_put(&exp.ex_path); in svc_export_parse() 1062 path_put(&path); in exp_rootfh()
|
| /linux/kernel/bpf/ |
| H A D | inode.c | 515 path_put(&path); in bpf_obj_do_get() 518 path_put(&path); in bpf_obj_do_get() 588 path_put(&path); in bpf_prog_get_type_path()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | share_config.c | 50 path_put(&share->vfs_path); in kill_share()
|
| /linux/fs/configfs/ |
| H A D | symlink.c | 120 struct path path __free(path_put) = {}; in get_target()
|
| /linux/net/unix/ |
| H A D | af_unix.c | 730 path_put(&path); in unix_release_sock() 1211 path_put(&root); in unix_find_bsd() 1221 goto path_put; in unix_find_bsd() 1227 goto path_put; in unix_find_bsd() 1231 goto path_put; in unix_find_bsd() 1239 path_put(&path); in unix_find_bsd() 1245 path_put: in unix_find_bsd() 1246 path_put(&path); in unix_find_bsd()
|