Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_pool.c131 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument
142 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page()
163 enum ttm_caching caching) in ttm_pool_apply_caching() argument
171 switch (caching) { in ttm_pool_apply_caching()
258 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
261 pt->caching = caching; in ttm_pool_type_init()
281 ttm_pool_free_page(pt->pool, pt->caching, pt->order, p); in ttm_pool_type_fini()
286 enum ttm_caching caching, in ttm_pool_select_type() argument
290 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
293 switch (caching) { in ttm_pool_select_type()
[all …]
Dttm_module.c50 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp) in ttm_prot_from_caching() argument
53 if (caching == ttm_cached) in ttm_prot_from_caching()
57 if (caching == ttm_write_combined) in ttm_prot_from_caching()
64 if (caching == ttm_write_combined) in ttm_prot_from_caching()
Dttm_tt.c144 enum ttm_caching caching) in ttm_tt_init_fields() argument
147 ttm->caching = ttm_cached; in ttm_tt_init_fields()
152 ttm->caching = caching; in ttm_tt_init_fields()
156 uint32_t page_flags, enum ttm_caching caching) in ttm_tt_init() argument
158 ttm_tt_init_fields(ttm, bo, page_flags, caching); in ttm_tt_init()
180 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
184 ttm_tt_init_fields(ttm, bo, page_flags, caching); in ttm_sg_tt_init()
473 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
Dttm_bo_util.c260 enum ttm_caching caching; in ttm_io_prot() local
263 caching = man->use_tt ? bo->ttm->caching : res->bus.caching; in ttm_io_prot()
265 return ttm_prot_from_caching(caching, tmp); in ttm_io_prot()
283 if (mem->bus.caching == ttm_write_combined) in ttm_bo_ioremap()
286 else if (mem->bus.caching == ttm_cached) in ttm_bo_ioremap()
315 if (num_pages == 1 && ttm->caching == ttm_cached) { in ttm_bo_kmap_ttm()
403 else if (mem->bus.caching == ttm_write_combined) in ttm_bo_vmap()
407 else if (mem->bus.caching == ttm_cached) in ttm_bo_vmap()
Dttm_resource.c43 res->bus.caching = ttm_cached; in ttm_resource_init()
295 if (mem->bus.caching == ttm_write_combined) in ttm_kmap_iter_linear_io_init()
299 else if (mem->bus.caching == ttm_cached) in ttm_kmap_iter_linear_io_init()
/Linux-v5.15/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.
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c74 enum ttm_caching caching; in nouveau_sgdma_create_ttm() local
77 caching = ttm_uncached; in nouveau_sgdma_create_ttm()
79 caching = ttm_write_combined; in nouveau_sgdma_create_ttm()
81 caching = ttm_cached; in nouveau_sgdma_create_ttm()
87 if (ttm_sg_tt_init(&nvbe->ttm, bo, page_flags, caching)) { in nouveau_sgdma_create_ttm()
/Linux-v5.15/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
/Linux-v5.15/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:
/Linux-v5.15/include/drm/ttm/
Dttm_tt.h71 enum ttm_caching caching; member
116 uint32_t page_flags, enum ttm_caching caching);
118 uint32_t page_flags, enum ttm_caching caching);
Dttm_pool.h52 enum ttm_caching caching; member
75 } caching[TTM_NUM_CACHING_TYPES]; member
Dttm_caching.h36 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/Linux-v5.15/drivers/acpi/
Dacpi_memhotplug.c49 unsigned short caching; /* memory cache attribute */ member
75 if ((info->caching == address64.info.mem.caching) && in acpi_memory_get_resource()
88 new->caching = address64.info.mem.caching; in acpi_memory_get_resource()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c284 args->caching = I915_CACHING_CACHED; in i915_gem_get_caching_ioctl()
288 args->caching = I915_CACHING_DISPLAY; in i915_gem_get_caching_ioctl()
292 args->caching = I915_CACHING_NONE; in i915_gem_get_caching_ioctl()
312 switch (args->caching) { in i915_gem_set_caching_ioctl()
349 args->caching != I915_CACHING_CACHED) in i915_gem_set_caching_ioctl()
/Linux-v5.15/fs/9p/
DKconfig15 bool "Enable 9P client caching support"
19 caching support for 9p clients using FS-Cache
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/
DKconfig23 bool "Disable caching of dynamic entries in NDC"
27 This config option disables caching of dynamic entries such as NIX SQEs
/Linux-v5.15/fs/ceph/
DKconfig23 bool "Enable Ceph client caching support"
27 caching support for Ceph clients using FS-Cache
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_ttm.c287 mem->bus.caching = ttm_write_combined; in radeon_ttm_io_mem_reserve()
298 mem->bus.caching = ttm_write_combined; in radeon_ttm_io_mem_reserve()
458 if (ttm->caching == ttm_cached) in radeon_ttm_backend_bind()
502 enum ttm_caching caching; in radeon_ttm_tt_create() local
519 caching = ttm_uncached; in radeon_ttm_tt_create()
521 caching = ttm_write_combined; in radeon_ttm_tt_create()
523 caching = ttm_cached; in radeon_ttm_tt_create()
525 if (ttm_sg_tt_init(&gtt->ttm, bo, page_flags, caching)) { in radeon_ttm_tt_create()
/Linux-v5.15/Documentation/netlabel/
Dcipso_ipv4.rst54 The NetLabel system provides a framework for caching security attribute
56 CIPSO/IPv4 protocol engine supports this caching mechanism.
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
/Linux-v5.15/drivers/gpu/drm/qxl/
Dqxl_ttm.c85 mem->bus.caching = ttm_cached; in qxl_ttm_io_mem_reserve()
91 mem->bus.caching = ttm_cached; in qxl_ttm_io_mem_reserve()
/Linux-v5.15/Documentation/scsi/
Dsd-parameters.rst24 To modify the caching mode without making the change persistent, prepend
/Linux-v5.15/arch/m68k/
DKconfig.cpu434 bool "Use write-through caching for 68060 supervisor accesses"
437 The 68060 generally uses copyback caching of recently accessed data.
438 Copyback caching means that memory writes will be held in an on-chip
441 caching. Writethrough caching means that data is written to memory
443 Writethrough caching is less efficient, but is needed for some
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-block-bcache63 For backing devices: When on, writeback caching is enabled and
64 writes will be buffered in the cache. When off, caching is in
107 writeback caching enabled.

12345