Home
last modified time | relevance | path

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

12345678910>>...18

/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()
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
75 * not committed caching transition from write-back to @tt_caching.
78 * @tt_caching: The requested cpu-caching for the pages allocated.
99 * @page_caching: The struct ttm_tt requested caching
196 /* Reset the caching and pages of size 1 << order */
197 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()
227 /* Apply any cpu-caching deferred during page allocation */
320 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
323 pt->caching = caching; in ttm_pool_type_init()
[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.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()
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()
/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/fs/fuse/
H A Diomode.c16 * Return true if need to wait for new opens in caching mode.
184 /* First passthrough file open denies caching inode io mode */ in fuse_file_passthrough_open()
224 * First passthrough file open denies caching inode io mode. in fuse_file_io_open()
225 * First caching file open enters caching inode io mode. in fuse_file_io_open()
229 * so we put the inode in caching mode to prevent parallel dio. in fuse_file_io_open()
261 * Last passthrough file close allows caching inode io mode. in fuse_file_io_release()
262 * Last caching file close exits caching inode io mode. in fuse_file_io_release()
/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/9p/
H A Dv9fs.h52 * @CACHE_SC_READAHEAD: only provide caching for readahead
53 * @CACHE_SC_MMAP: provide caching to enable mmap
54 * @CACHE_SC_LOOSE: non-coherent caching for files and meta data
55 * @CACHE_SC_FSCACHE: persistent non-coherent caching for files and meta-data
70 * @CACHE_FILE: file caching (open to close)
71 * @CACHE_META: meta-data and directory caching
72 * @CACHE_WRITEBACK: write-back caching for files
H A DKconfig16 bool "Enable 9P client caching support"
20 caching support for 9p clients using FS-Cache
/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_caching.h33 * enum ttm_caching - CPU caching and BUS snooping behavior.
55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/linux/Documentation/filesystems/caching/
H A 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
/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/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
H A Dmain.c2 /* Network filesystem caching backend to use cache files on a premounted
43 * initialise the fs caching module
/linux/fs/ocfs2/
H A 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
/linux/arch/powerpc/include/asm/nohash/32/
H A 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 */
/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/ceph/
H A DKconfig21 bool "Enable Ceph client caching support"
25 caching support for Ceph clients using FS-Cache
/linux/drivers/mfd/
H A Drc5t583.c186 /* Enable caching in interrupt registers */ in volatile_reg()
205 /* Enable caching in gpio registers */ in volatile_reg()
210 /* Enable caching in sleep seq registers */ in volatile_reg()
214 /* Enable caching of regulator registers */ in volatile_reg()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_frontbuffer.c44 * stop caching and when to restart caching. This is done by placing callbacks
45 * into the invalidate and the flush functions: At invalidate the caching must
78 * completed and frontbuffer caching can be started again. Flushes will get
/linux/drivers/base/firmware_loader/
H A Dfirmware.h23 * @FW_OPT_NOCACHE: Disables firmware caching. Firmware caching is used to
27 * firmware caching mechanism.
/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/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

12345678910>>...18