Lines Matching refs:path
274 struct path path, path_to_graveyard; in cachefiles_bury_object() local
286 path.mnt = cache->mnt; in cachefiles_bury_object()
287 path.dentry = dir; in cachefiles_bury_object()
288 ret = security_path_unlink(&path, rep); in cachefiles_bury_object()
385 path.mnt = cache->mnt; in cachefiles_bury_object()
386 path.dentry = dir; in cachefiles_bury_object()
389 ret = security_path_rename(&path, rep, &path_to_graveyard, grave, 0); in cachefiles_bury_object()
466 struct path path; in cachefiles_walk_to_object() local
477 path.mnt = cache->mnt; in cachefiles_walk_to_object()
531 path.dentry = dir; in cachefiles_walk_to_object()
532 ret = security_path_mkdir(&path, next, 0); in cachefiles_walk_to_object()
560 path.dentry = dir; in cachefiles_walk_to_object()
561 ret = security_path_mknod(&path, next, S_IFREG, 0); in cachefiles_walk_to_object()
645 path.dentry = next; in cachefiles_walk_to_object()
646 touch_atime(&path); in cachefiles_walk_to_object()
726 struct path path; in cachefiles_get_directory() local
754 path.mnt = cache->mnt; in cachefiles_get_directory()
755 path.dentry = dir; in cachefiles_get_directory()
756 ret = security_path_mkdir(&path, subdir, 0700); in cachefiles_get_directory()