Home
last modified time | relevance | path

Searched refs:caching (Results 1 – 25 of 120) sorted by relevance

12345

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c52 enum ttm_caching caching, in ttm_tt_kunit_init() argument
67 err = ttm_tt_init(tt, priv->mock_bo, page_flags, caching, 0); in ttm_tt_kunit_init()
75 enum ttm_caching caching) in ttm_pool_pre_populated() argument
83 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_pre_populated()
142 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic() local
147 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_alloc_basic()
204 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic_dma_addr() local
215 err = ttm_sg_tt_init(tt, bo, 0, caching); in ttm_pool_alloc_basic_dma_addr()
243 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_order_caching_match() local
248 pool = ttm_pool_pre_populated(test, size, caching); in ttm_pool_alloc_order_caching_match()
305 enum ttm_caching caching = ttm_uncached; ttm_pool_alloc_order_mismatch() local
341 enum ttm_caching caching = ttm_uncached; ttm_pool_free_dma_alloc() local
372 enum ttm_caching caching = ttm_uncached; ttm_pool_free_no_dma_alloc() local
400 enum ttm_caching caching = ttm_uncached; ttm_pool_fini_basic() local
[all...]
H A Dttm_tt_test.c45 enum ttm_caching caching = ttm_cached; in ttm_tt_init_basic() local
55 err = ttm_tt_init(tt, bo, page_flags, caching, extra_pages); in ttm_tt_init_basic()
61 KUNIT_ASSERT_EQ(test, tt->caching, caching); in ttm_tt_init_basic()
71 enum ttm_caching caching = ttm_cached; in ttm_tt_init_misaligned() local
84 err = ttm_tt_init(tt, bo, 0, caching, 0); in ttm_tt_init_misaligned()
94 enum ttm_caching caching = ttm_cached; in ttm_tt_fini_basic() local
102 err = ttm_tt_init(tt, bo, 0, caching, 0); in ttm_tt_fini_basic()
114 enum ttm_caching caching = ttm_cached; in ttm_tt_fini_sg() local
122 err = ttm_sg_tt_init(tt, bo, 0, caching); in ttm_tt_fini_sg()
135 enum ttm_caching caching = ttm_cached; ttm_tt_fini_shmem() local
192 enum ttm_caching caching = ttm_cached; ttm_tt_create_ttm_exists() local
[all...]
H A Dttm_device_test.c179 pt = pool->caching[i].orders[j]; in ttm_device_init_pools()
181 KUNIT_EXPECT_EQ(test, pt.caching, i); in ttm_device_init_pools()
/linux/fs/netfs/
H A DKconfig8 segmentation, local caching and transparent huge page support.
11 bool "Gather statistical information on local caching"
15 caching and exported through file:
29 This permits debugging to be dynamically enabled in the local caching
34 bool "General filesystem local caching manager"
37 This option enables a generic filesystem caching manager that can be
42 See Documentation/filesystems/caching/fscache.rst for more information.
45 bool "Gather statistical information on local caching"
50 caching and exported through file:
60 See Documentation/filesystems/caching/fscach
[all...]
H A Dread_single.c32 bool caching = fscache_cookie_enabled(netfs_i_cookie(netfs_inode(inode))); in netfs_single_mark_inode_dirty() local
34 if (cache_only && !caching) in netfs_single_mark_inode_dirty()
39 if (caching && !(inode->i_state & I_PINNING_NETFS_WB)) { in netfs_single_mark_inode_dirty()
163 * This is usable whether or not caching is enabled. If caching is enabled,
/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c26 /* Pooling of allocated pages is necessary because changing the caching
74 * not committed caching transition from write-back to @tt_caching.
77 * @tt_caching: The requested cpu-caching for the pages allocated.
98 * @page_caching: The struct ttm_tt requested caching
187 /* Reset the caching and pages of size 1 << order */
188 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument
199 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page()
218 /* Apply any cpu-caching deferred during page allocation */
311 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
314 pt->caching in ttm_pool_type_init()
339 ttm_pool_select_type(struct ttm_pool * pool,enum ttm_caching caching,unsigned int order) ttm_pool_select_type() argument
457 ttm_pool_unmap_and_free(struct ttm_pool * pool,struct page * page,const dma_addr_t * dma_addr,enum ttm_caching caching) ttm_pool_unmap_and_free() argument
655 ttm_pool_free_range(struct ttm_pool * pool,struct ttm_tt * tt,enum ttm_caching caching,pgoff_t start_page,pgoff_t end_page) ttm_pool_free_range() argument
[all...]
H A Dttm_module.c57 * @caching: The ttm caching mode
62 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp) in ttm_prot_from_caching() argument
65 if (caching == ttm_cached) in ttm_prot_from_caching()
69 if (caching == ttm_write_combined) in ttm_prot_from_caching()
78 if (caching == ttm_write_combined) in ttm_prot_from_caching()
H A Dttm_tt.c154 enum ttm_caching caching, in ttm_tt_init_fields() argument
162 ttm->caching = caching; in ttm_tt_init_fields()
168 uint32_t page_flags, enum ttm_caching caching, in ttm_tt_init() argument
171 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
206 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
210 ttm_tt_init_fields(ttm, bo, page_flags, caching, 0); in ttm_sg_tt_init()
522 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
H A Dttm_bo_util.c293 * setting up a PTE with the caching model indicated by @c_state.
299 enum ttm_caching caching; in ttm_io_prot() local
303 caching = bo->ttm->caching; in ttm_io_prot()
307 caching = res->bus.caching; in ttm_io_prot()
310 return ttm_prot_from_caching(caching, tmp); in ttm_io_prot()
328 if (mem->bus.caching == ttm_write_combined) in ttm_bo_ioremap()
331 else if (mem->bus.caching == ttm_cached) in ttm_bo_ioremap()
362 if (num_pages == 1 && ttm->caching in ttm_bo_kmap_ttm()
[all...]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sgdma.c73 enum ttm_caching caching; in nouveau_sgdma_create_ttm() local
76 caching = ttm_uncached; in nouveau_sgdma_create_ttm()
78 caching = ttm_write_combined; in nouveau_sgdma_create_ttm()
80 caching = ttm_cached; in nouveau_sgdma_create_ttm()
86 if (ttm_sg_tt_init(&nvbe->ttm, bo, page_flags, caching)) { in nouveau_sgdma_create_ttm()
/linux/fs/cachefiles/
H A DKconfig4 tristate "Filesystem caching on files"
11 See Documentation/filesystems/caching/cachefiles.rst for more
19 caching on files module. If this is set, the debugging output may be
/linux/include/drm/ttm/
H A Dttm_tt.h44 * struct ttm_tt - This is a structure holding the pages, caching- and aperture
123 * @caching: The current caching state of the pages, see enum
126 enum ttm_caching caching; member
199 * @caching: the desired caching state of the pages
208 uint32_t page_flags, enum ttm_caching caching,
211 uint32_t page_flags, enum ttm_caching caching);
H A Dttm_pool.h46 * @caching: the caching type our pages have
54 enum ttm_caching caching; member
63 * struct ttm_pool - Pool for all caching and orders
69 * @caching: pools for each caching/order
80 } caching[TTM_NUM_CACHING_TYPES]; member
/linux/include/linux/
H A Dfscache.h2 /* General filesystem caching interface
9 * Documentation/filesystems/caching/netfs-api.rst
151 * slow-path functions for when there is actually caching available, and the
184 * fscache_acquire_volume - Register a volume as desiring caching services
190 * Register a volume as desiring caching services if they're available. The
197 * cookie pointer and can be returned if caching is refused.
212 * fscache_relinquish_volume - Cease caching a volume
217 * Indicate that a filesystem no longer desires caching services for a volume.
242 * See Documentation/filesystems/caching/netfs-api.rst for a complete
304 * See Documentation/filesystems/caching/netf
585 fscache_clear_page_bits(struct address_space * mapping,loff_t start,size_t len,bool caching) fscache_clear_page_bits() argument
621 fscache_write_to_cache(struct fscache_cookie * cookie,struct address_space * mapping,loff_t start,size_t len,loff_t i_size,netfs_io_terminated_t term_func,void * term_func_priv,bool using_pgpriv2,bool caching) fscache_write_to_cache() argument
[all...]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_domain.c325 args->caching = I915_CACHING_CACHED; in i915_gem_get_caching_ioctl()
327 args->caching = I915_CACHING_DISPLAY; in i915_gem_get_caching_ioctl()
329 args->caching = I915_CACHING_NONE; in i915_gem_get_caching_ioctl()
350 switch (args->caching) { in i915_gem_set_caching_ioctl()
387 * The caching mode of proxy object is handled by its generator, and in i915_gem_set_caching_ioctl()
396 args->caching != I915_CACHING_CACHED) in i915_gem_set_caching_ioctl()
/linux/fs/9p/
H A DKconfig16 bool "Enable 9P client caching support"
20 caching support for 9p clients using FS-Cache
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c272 mem->bus.caching = ttm_write_combined; in radeon_ttm_io_mem_reserve()
283 mem->bus.caching = ttm_write_combined; in radeon_ttm_io_mem_reserve()
443 if (ttm->caching == ttm_cached) in radeon_ttm_backend_bind()
484 enum ttm_caching caching; in radeon_ttm_tt_create() local
501 caching = ttm_uncached; in radeon_ttm_tt_create()
503 caching = ttm_write_combined; in radeon_ttm_tt_create()
505 caching = ttm_cached; in radeon_ttm_tt_create()
507 if (ttm_sg_tt_init(&gtt->ttm, bo, page_flags, caching)) { in radeon_ttm_tt_create()
/linux/fs/ceph/
H A DKconfig24 bool "Enable Ceph client caching support"
28 caching support for Ceph clients using FS-Cache
/linux/Documentation/admin-guide/
H A Dbcache.rst23 Both writethrough and writeback caching are supported. Writeback defaults to
29 Writeback caching can use most of the cache for buffering writes - writing
34 to caching large sequential IO. Bcache detects sequential IO and skips it;
37 caching the first 512k after every seek. Backups and large file copies should
42 or dirty data), caching is automatically disabled; if dirty data was present
43 in the cache it first disables writeback caching and waits for all dirty data
74 a caching device later.
102 must be attached to your cache set to enable caching. Attaching a backing
111 important if you have writeback caching turned on.
154 A) Starting a bcache with a missing caching devic
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/
H A DKconfig23 bool "Disable caching of dynamic entries in NDC"
27 This config option disables caching of dynamic entries such as NIX SQEs
/linux/fs/squashfs/
H A DKconfig153 bool "Enable full caching of compressed blocks"
157 This option enables caching of all compressed blocks, Without caching,
162 With caching: IOPS=2223, BW=278MiB/s (291MB/s)
163 Without caching: IOPS=815, BW=102MiB/s (107MB/s)
166 caching all compressed blocks in the page cache, reducing disk I/O for
/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c83 mem->bus.caching = ttm_write_combined; in qxl_ttm_io_mem_reserve()
89 mem->bus.caching = ttm_write_combined; in qxl_ttm_io_mem_reserve()
/linux/Documentation/netlabel/
H A Dlsm_interface.rst45 NetLabel label mapping cache is a caching mechanism which can be used to
49 can use the NetLabel caching functions to associate the LSM internal
H A Dcipso_ipv4.rst54 The NetLabel system provides a framework for caching security attribute
56 CIPSO/IPv4 protocol engine supports this caching mechanism.
/linux/Documentation/filesystems/caching/
H A Dfscache.rst11 could be used for caching other things such as ISO9660 filesystems too.
34 Or to look at it another way, FS-Cache is a module that provides a caching
99 withdraw caching facilities from a file (required for (2)).
147 Documentation/filesystems/caching/netfs-api.rst
151 Documentation/filesystems/caching/backend-api.rst

12345