Home
last modified time | relevance | path

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

1234

/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/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_state_read_once(inode) & I_PINNING_NETFS_WB)) { in netfs_single_mark_inode_dirty()
/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c197 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument
208 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page()
320 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
323 pt->caching = caching; in ttm_pool_type_init()
343 ttm_pool_free_page(pt->pool, pt->caching, pt->order, p); in ttm_pool_type_fini()
348 enum ttm_caching caching, in ttm_pool_select_type() argument
352 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
355 switch (caching) { in ttm_pool_select_type()
358 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
366 return &pool->caching[caching].orders[order]; in ttm_pool_select_type()
[all …]
H A Dttm_tt.c156 enum ttm_caching caching, in ttm_tt_init_fields() argument
164 ttm->caching = caching; in ttm_tt_init_fields()
170 uint32_t page_flags, enum ttm_caching caching, in ttm_tt_init() argument
173 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
208 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
212 ttm_tt_init_fields(ttm, bo, page_flags, caching, 0); in ttm_sg_tt_init()
524 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
H A Dttm_bo_util.c299 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()
359 if (num_pages == 1 && ttm->caching == ttm_cached && in ttm_bo_kmap_ttm()
514 else if (mem->bus.caching == ttm_write_combined) in ttm_bo_vmap()
518 else if (mem->bus.caching == ttm_cached) in ttm_bo_vmap()
H A Dttm_agp_backend.c56 int ret, cached = ttm->caching == ttm_cached; in ttm_agp_bind()
/linux/drivers/gpu/drm/ttm/tests/
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; in ttm_tt_fini_shmem() local
[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/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/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.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_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/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/9p/
H A DKconfig16 bool "Enable 9P client caching support"
20 caching support for 9p clients using FS-Cache
/linux/fs/ceph/
H A DKconfig21 bool "Enable Ceph client caching support"
25 caching support for Ceph clients using FS-Cache
/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.c84 mem->bus.caching = ttm_write_combined; in qxl_ttm_io_mem_reserve()
90 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
H A Dnetfs-api.rst8 caching facilities. The API is arranged around a number of principles:
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
/linux/Documentation/scsi/
H A Dsd-parameters.rst24 To modify the caching mode without making the change persistent, prepend
/linux/Documentation/filesystems/
H A D9p.rst136 cache=mode specifies a caching policy. By default, no caches are used.
147 0b10000000 fscache enabled for persistent caching
153 none 0b00000000 (no caching)
154 readahead 0b00000001 (only read-ahead file caching)
/linux/tools/testing/kunit/test_data/
H A Dtest_interrupted_tap_output.log11 [ 0.060000] FS-Cache: Netfs 'afs' registered for caching
/linux/fs/coda/
H A DKconfig12 persistent client caches and write back caching.

1234