• Home
  • Raw
  • Download

Lines Matching refs:cache

397 	struct cachefiles_cache *cache;  in cachefiles_read_or_alloc_page()  local
405 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_page()
406 struct cachefiles_cache, cache); in cachefiles_read_or_alloc_page()
443 } else if (cachefiles_has_space(cache, 0, 1) == 0) { in cachefiles_read_or_alloc_page()
688 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_pages() local
698 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages()
699 struct cachefiles_cache, cache); in cachefiles_read_or_alloc_pages()
709 if (cachefiles_has_space(cache, 0, *nr_pages) < 0) in cachefiles_read_or_alloc_pages()
802 struct cachefiles_cache *cache; in cachefiles_allocate_page() local
807 cache = container_of(object->fscache.cache, in cachefiles_allocate_page()
808 struct cachefiles_cache, cache); in cachefiles_allocate_page()
812 ret = cachefiles_has_space(cache, 0, 1); in cachefiles_allocate_page()
840 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local
847 cache = container_of(object->fscache.cache, in cachefiles_allocate_pages()
848 struct cachefiles_cache, cache); in cachefiles_allocate_pages()
852 ret = cachefiles_has_space(cache, 0, *nr_pages); in cachefiles_allocate_pages()
883 struct cachefiles_cache *cache; in cachefiles_write_page() local
906 cache = container_of(object->fscache.cache, in cachefiles_write_page()
907 struct cachefiles_cache, cache); in cachefiles_write_page()
920 path.mnt = cache->mnt; in cachefiles_write_page()
922 file = dentry_open(&path, O_RDWR | O_LARGEFILE, cache->cache_cred); in cachefiles_write_page()