Lines Matching refs:path
271 struct path path, path_to_graveyard; in cachefiles_bury_object() local
283 path.mnt = cache->mnt; in cachefiles_bury_object()
284 path.dentry = dir; in cachefiles_bury_object()
285 ret = security_path_unlink(&path, rep); in cachefiles_bury_object()
382 path.mnt = cache->mnt; in cachefiles_bury_object()
383 path.dentry = dir; in cachefiles_bury_object()
386 ret = security_path_rename(&path, rep, &path_to_graveyard, grave, 0); in cachefiles_bury_object()
462 struct path path; in cachefiles_walk_to_object() local
473 path.mnt = cache->mnt; in cachefiles_walk_to_object()
527 path.dentry = dir; in cachefiles_walk_to_object()
528 ret = security_path_mkdir(&path, next, 0); in cachefiles_walk_to_object()
556 path.dentry = dir; in cachefiles_walk_to_object()
557 ret = security_path_mknod(&path, next, S_IFREG, 0); in cachefiles_walk_to_object()
639 path.dentry = next; in cachefiles_walk_to_object()
640 touch_atime(&path); in cachefiles_walk_to_object()
716 struct path path; in cachefiles_get_directory() local
744 path.mnt = cache->mnt; in cachefiles_get_directory()
745 path.dentry = dir; in cachefiles_get_directory()
746 ret = security_path_mkdir(&path, subdir, 0700); in cachefiles_get_directory()