| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_pool_test.c | 52 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 83 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_pre_populated() 142 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic() local 147 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_alloc_basic() 204 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic_dma_addr() local 215 err = ttm_sg_tt_init(tt, bo, 0, caching); in ttm_pool_alloc_basic_dma_addr() 243 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_order_caching_match() local 248 pool = ttm_pool_pre_populated(test, size, caching); in ttm_pool_alloc_order_caching_match() [all …]
|
| H A D | ttm_tt_test.c | 45 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/netfs/ |
| H A D | Kconfig | 8 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 D | read_single.c | 32 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() 163 * This is usable whether or not caching is enabled. If caching is enabled,
|
| /linux/fs/fuse/ |
| H A D | iomode.c | 16 * 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/Documentation/admin-guide/ |
| H A D | bcache.rst | 23 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/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_sgdma.c | 73 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/gpu/drm/ttm/ |
| H A D | ttm_module.c | 57 * @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()
|
| H A D | ttm_bo_util.c | 293 * 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() 362 if (num_pages == 1 && ttm->caching == ttm_cached && in ttm_bo_kmap_ttm() 516 else if (mem->bus.caching == ttm_write_combined) in ttm_bo_vmap() 520 else if (mem->bus.caching == ttm_cached) in ttm_bo_vmap()
|
| /linux/fs/9p/ |
| H A D | v9fs.h | 49 * @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
|
| H A D | Kconfig | 16 bool "Enable 9P client caching support" 20 caching support for 9p clients using FS-Cache
|
| /linux/include/drm/ttm/ |
| H A D | ttm_tt.h | 44 * 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 D | ttm_caching.h | 33 * enum ttm_caching - CPU caching and BUS snooping behavior. 55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
|
| /linux/fs/cachefiles/ |
| H A D | Kconfig | 4 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 D | main.c | 2 /* Network filesystem caching backend to use cache files on a premounted 43 * initialise the fs caching module
|
| /linux/Documentation/filesystems/caching/ |
| H A D | netfs-api.rst | 4 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 D | Kconfig | 153 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/ocfs2/ |
| H A D | uptodate.h | 14 * 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 D | mmu-44x.h | 40 #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 D | acpi_memhotplug.c | 49 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 D | Kconfig | 24 bool "Enable Ceph client caching support" 28 caching support for Ceph clients using FS-Cache
|
| /linux/drivers/s390/char/ |
| H A D | hmcdrv_cache.c | 26 * @len: size of @content cache (0 if caching disabled) 137 pr_debug("caching %zd bytes content for '%s'\n", in hmcdrv_cache_do() 160 pr_debug("caching cmd %d, file size %zu for '%s'\n", in hmcdrv_cache_do() 218 if (cachesize > 0) { /* perform caching ? */ in hmcdrv_cache_startup()
|
| /linux/drivers/mfd/ |
| H A D | rc5t583.c | 186 /* 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/base/firmware_loader/ |
| H A D | firmware.h | 23 * @FW_OPT_NOCACHE: Disables firmware caching. Firmware caching is used to 27 * firmware caching mechanism.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-block-bcache | 63 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.
|