Home
last modified time | relevance | path

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

123456

/linux-6.15/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c52 enum ttm_caching caching, in ttm_tt_kunit_init() argument
75 enum ttm_caching caching) in ttm_pool_pre_populated() argument
142 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic() local
204 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic_dma_addr() local
243 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_order_caching_match() local
250 pt = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_caching_match()
313 pt_pool = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_mismatch()
314 pt_tt = &pool->caching[caching].orders[0]; in ttm_pool_alloc_order_mismatch()
354 pt = &pool->caching[caching].orders[order]; in ttm_pool_free_dma_alloc()
385 pt = &pool->caching[caching].orders[order]; in ttm_pool_free_no_dma_alloc()
[all …]
H A Dttm_tt_test.c45 enum ttm_caching caching = ttm_cached; in ttm_tt_init_basic() local
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; in ttm_tt_fini_shmem() local
143 err = ttm_tt_init(tt, bo, 0, caching, 0); in ttm_tt_fini_shmem()
[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-6.15/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/fscache.rst for more information.
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()
/linux-6.15/drivers/gpu/drm/ttm/
H A Dttm_pool.c313 pt->caching = caching; in ttm_pool_type_init()
338 enum ttm_caching caching, in ttm_pool_select_type() argument
342 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
345 switch (caching) { in ttm_pool_select_type()
348 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
356 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
654 enum ttm_caching caching, in ttm_pool_free_range() argument
686 alloc->tt_caching = tt->caching; in ttm_pool_alloc_state_init()
726 page_caching = tt->caching; in __ttm_pool_alloc()
753 page_caching = tt->caching; in __ttm_pool_alloc()
[all …]
H A Dttm_module.c62 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.c153 enum ttm_caching caching, in ttm_tt_init_fields() argument
161 ttm->caching = caching; in ttm_tt_init_fields()
167 uint32_t page_flags, enum ttm_caching caching, in ttm_tt_init() argument
170 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
205 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
209 ttm_tt_init_fields(ttm, bo, page_flags, caching, 0); in ttm_sg_tt_init()
521 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
H A Dttm_bo_util.c294 enum ttm_caching caching; in ttm_io_prot() local
298 caching = bo->ttm->caching; in ttm_io_prot()
302 caching = res->bus.caching; in ttm_io_prot()
305 return ttm_prot_from_caching(caching, tmp); in ttm_io_prot()
323 if (mem->bus.caching == ttm_write_combined) in ttm_bo_ioremap()
326 else if (mem->bus.caching == ttm_cached) in ttm_bo_ioremap()
357 if (num_pages == 1 && ttm->caching == ttm_cached && in ttm_bo_kmap_ttm()
485 else if (mem->bus.caching == ttm_write_combined) in ttm_bo_vmap()
489 else if (mem->bus.caching == ttm_cached) in ttm_bo_vmap()
/linux-6.15/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-6.15/drivers/acpi/
H A 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-6.15/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-6.15/include/drm/ttm/
H A Dttm_tt.h126 enum ttm_caching caching; member
208 uint32_t page_flags, enum ttm_caching caching,
211 uint32_t page_flags, enum ttm_caching caching);
H A Dttm_pool.h54 enum ttm_caching caching; member
80 } caching[TTM_NUM_CACHING_TYPES]; member
H A Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/linux-6.15/include/linux/
H A Dfscache.h588 bool caching) in fscache_clear_page_bits() argument
590 if (caching) in fscache_clear_page_bits()
624 bool using_pgpriv2, bool caching) in fscache_write_to_cache() argument
626 if (caching) in fscache_write_to_cache()
629 using_pgpriv2, caching); in fscache_write_to_cache()
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_domain.c327 args->caching = I915_CACHING_CACHED; in i915_gem_get_caching_ioctl()
329 args->caching = I915_CACHING_DISPLAY; in i915_gem_get_caching_ioctl()
331 args->caching = I915_CACHING_NONE; in i915_gem_get_caching_ioctl()
352 switch (args->caching) { in i915_gem_set_caching_ioctl()
398 args->caching != I915_CACHING_CACHED) in i915_gem_set_caching_ioctl()
/linux-6.15/fs/9p/
H A DKconfig16 bool "Enable 9P client caching support"
20 caching support for 9p clients using FS-Cache
/linux-6.15/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-6.15/fs/ceph/
H A DKconfig24 bool "Enable Ceph client caching support"
28 caching support for Ceph clients using FS-Cache
/linux-6.15/Documentation/admin-guide/
H A Dbcache.rst29 Writeback caching can use most of the cache for buffering writes - writing
74 a caching device later.
111 important if you have writeback caching turned on.
154 A) Starting a bcache with a missing caching device
162 Next, you try to register your caching device if it's present. However
178 In this case, the caching device was simply not registered at boot
243 F) Remove or replace a caching device::
269 and caching devices and then install bcache on top. [benchmarks?]
276 if there are any active backing or caching devices left on it:
410 Echo the UUID of a cache set to this file to enable caching.
[all …]
/linux-6.15/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-6.15/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-6.15/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.

123456