Home
last modified time | relevance | path

Searched full:caching (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/
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
84 tt = ttm_tt_kunit_init(test, order, caching, size); in ttm_pool_pre_populated()
143 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic() local
148 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_alloc_basic()
205 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic_dma_addr() local
216 err = ttm_sg_tt_init(tt, bo, 0, caching); in ttm_pool_alloc_basic_dma_addr()
244 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_order_caching_match() local
249 pool = ttm_pool_pre_populated(test, size, caching); in ttm_pool_alloc_order_caching_match()
[all …]
/kernel/linux/linux-5.10/fs/fscache/
DKconfig4 tristate "General filesystem local caching manager"
6 This option enables a generic filesystem caching manager that can be
11 See Documentation/filesystems/caching/fscache.rst for more information.
14 bool "Gather statistical information on local caching"
18 caching and exported through file:
28 See Documentation/filesystems/caching/fscache.rst for more information.
31 bool "Gather latency information on local caching"
35 caching and exported through file:
45 See Documentation/filesystems/caching/fscache.rst for more information.
51 This permits debugging to be dynamically enabled in the local caching
[all …]
Dnetfs.c14 * register a network filesystem for caching
49 pr_notice("Netfs '%s' registered for caching\n", netfs->name); in __fscache_register_netfs()
70 pr_notice("Netfs '%s' unregistered from caching\n", netfs->name); in __fscache_unregister_netfs()
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
Dttm_pool.c26 /* Pooling of allocated pages is necessary because changing the caching
131 /* Reset the caching and pages of size 1 << order */
132 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument
143 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page()
162 /* Apply a new caching to an array of pages */
164 enum ttm_caching caching) in ttm_pool_apply_caching() argument
172 switch (caching) { in ttm_pool_apply_caching()
259 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
262 pt->caching = caching; in ttm_pool_type_init()
282 ttm_pool_free_page(pt->pool, pt->caching, pt->order, p); in ttm_pool_type_fini()
[all …]
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()
Dttm_tt.c149 enum ttm_caching caching, in ttm_tt_init_fields() argument
157 ttm->caching = caching; in ttm_tt_init_fields()
161 uint32_t page_flags, enum ttm_caching caching, in ttm_tt_init() argument
164 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
192 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
196 ttm_tt_init_fields(ttm, bo, page_flags, caching, 0); in ttm_sg_tt_init()
458 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
Dttm_bo_util.c289 * setting up a PTE with the caching model indicated by @c_state.
295 enum ttm_caching caching; in ttm_io_prot() local
299 caching = bo->ttm->caching; in ttm_io_prot()
303 caching = res->bus.caching; in ttm_io_prot()
306 return ttm_prot_from_caching(caching, tmp); in ttm_io_prot()
324 if (mem->bus.caching == ttm_write_combined) in ttm_bo_ioremap()
327 else if (mem->bus.caching == ttm_cached) in ttm_bo_ioremap()
358 if (num_pages == 1 && ttm->caching == ttm_cached && in ttm_bo_kmap_ttm()
486 else if (mem->bus.caching == ttm_write_combined) in ttm_bo_vmap()
490 else if (mem->bus.caching == ttm_cached) in ttm_bo_vmap()
/kernel/linux/linux-6.6/fs/fscache/
DKconfig4 tristate "General filesystem local caching manager"
7 This option enables a generic filesystem caching manager that can be
12 See Documentation/filesystems/caching/fscache.rst for more information.
15 bool "Gather statistical information on local caching"
20 caching and exported through file:
30 See Documentation/filesystems/caching/fscache.rst for more information.
36 This permits debugging to be dynamically enabled in the local caching
40 See Documentation/filesystems/caching/fscache.rst for more information.
/kernel/linux/linux-6.6/include/drm/ttm/
Dttm_pool.h44 * @caching: the caching type our pages have
52 enum ttm_caching caching; member
61 * struct ttm_pool - Pool for all caching and orders
67 * @caching: pools for each caching/order
78 } caching[TTM_NUM_CACHING_TYPES]; member
Dttm_tt.h42 * struct ttm_tt - This is a structure holding the pages, caching- and aperture
109 * @caching: The current caching state of the pages, see enum
112 enum ttm_caching caching; member
149 * @caching: the desired caching state of the pages
158 uint32_t page_flags, enum ttm_caching caching,
161 uint32_t page_flags, enum ttm_caching caching);
/kernel/linux/linux-5.10/include/linux/
Dfscache.h2 /* General filesystem caching interface
9 * Documentation/filesystems/caching/netfs-api.rst
180 * slow-path functions for when there is actually caching available, and the
231 * fscache_register_netfs - Register a filesystem as desiring caching services
234 * Register a filesystem as desiring caching services if they're available.
236 * See Documentation/filesystems/caching/netfs-api.rst for a complete
250 * caching services
253 * Indicate that a filesystem no longer desires caching services for the
256 * See Documentation/filesystems/caching/netfs-api.rst for a complete
273 * See Documentation/filesystems/caching/netfs-api.rst for a complete
[all …]
/kernel/linux/linux-6.6/include/linux/
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
181 * fscache_acquire_volume - Register a volume as desiring caching services
187 * Register a volume as desiring caching services if they're available. The
194 * cookie pointer and can be returned if caching is refused.
209 * fscache_relinquish_volume - Cease caching a volume
214 * Indicate that a filesystem no longer desires caching services for a volume.
239 * See Documentation/filesystems/caching/netfs-api.rst for a complete
301 * See Documentation/filesystems/caching/netfs-api.rst for a complete
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
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()
/kernel/linux/linux-5.10/fs/cachefiles/
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
39 See Documentation/filesystems/caching/cachefiles.rst for more
/kernel/linux/linux-6.6/Documentation/admin-guide/
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 device
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
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 device
[all …]
/kernel/linux/linux-6.6/fs/netfs/
DKconfig8 segmentation, local caching and transparent huge page support.
11 bool "Gather statistical information on local caching"
15 caching and exported through file:
/kernel/linux/linux-6.6/fs/9p/
Dv9fs.h49 * @CACHE_SC_READAHEAD: only provide caching for readahead
50 * @CACHE_SC_MMAP: provide caching to enable mmap
51 * @CACHE_SC_LOOSE: non-coherent caching for files and meta data
52 * @CACHE_SC_FSCACHE: persistent non-coherent caching for files and meta-data
67 * @CACHE_FILE: file caching (open to close)
68 * @CACHE_META: meta-data and directory caching
69 * @CACHE_WRITEBACK: write-back caching for files
/kernel/linux/linux-6.6/fs/cachefiles/
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
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_tt.h61 * @caching_state: The current caching state of the pages.
64 * This is a structure holding the pages, caching- and aperture binding
99 * This is a structure holding the pages, caching- and aperture binding
177 * @ttm A struct ttm_tt the backing pages of which will change caching policy.
178 * @placement: Flag indicating the desired caching policy.
180 * This function will change caching policy of any default kernel mappings of
/kernel/linux/linux-6.6/Documentation/filesystems/caching/
Dnetfs-api.rst4 Network Filesystem Caching API
8 caching facilities. The API is arranged around a number of principles:
38 (10) Caching of local modifications
373 Caching of Local Modifications
382 Firstly, the netfs should determine if caching is available by doing something
385 bool caching = fscache_cookie_enabled(cookie);
387 If caching is to be attempted, pages should be waited for and then marked using
402 bool caching)
409 bool caching)
415 caching parameter indicates if caching should be skipped, and if false, the
/kernel/linux/linux-6.6/fs/ocfs2/
Duptodate.h14 * The caching code relies on locking provided by the user of
21 * that caching log messages can identify the owning structure.
28 * Lock and unlock the caching data. These will not sleep, and
/kernel/linux/linux-5.10/fs/ocfs2/
Duptodate.h16 * The caching code relies on locking provided by the user of
23 * that caching log messages can identify the owning structure.
30 * Lock and unlock the caching data. These will not sleep, and
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/32/
Dmmu-44x.h40 #define PPC44x_TLB_W 0x00000800 /* Caching is write-through */
41 #define PPC44x_TLB_I 0x00000400 /* Caching is inhibited */
86 #define PPC47x_TLB2_W 0x00000800 /* Caching is write-through */
87 #define PPC47x_TLB2_I 0x00000400 /* Caching is inhibited */
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/
Dmmu-44x.h40 #define PPC44x_TLB_W 0x00000800 /* Caching is write-through */
41 #define PPC44x_TLB_I 0x00000400 /* Caching is inhibited */
86 #define PPC47x_TLB2_W 0x00000800 /* Caching is write-through */
87 #define PPC47x_TLB2_I 0x00000400 /* Caching is inhibited */

12345678910>>...37