/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/drivers/gpu/drm/ttm/ |
H A D | ttm_pool.c | 26 /* Pooling of allocated pages is necessary because changing the caching 132 /* Reset the caching and pages of size 1 << order */ 133 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument 144 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page() 163 /* Apply a new caching to an array of pages */ 165 enum ttm_caching caching) in ttm_pool_apply_caching() argument 173 switch (caching) { in ttm_pool_apply_caching() 260 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument 263 pt->caching = caching; in ttm_pool_type_init() 283 ttm_pool_free_page(pt->pool, pt->caching, pt->order, p); in ttm_pool_type_fini() [all …]
|
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 | 288 * setting up a PTE with the caching model indicated by @c_state. 294 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/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/include/linux/ |
H A D | fscache.h | 2 /* General filesystem caching interface 9 * Documentation/filesystems/caching/netfs-api.rst 151 * slow-path functions for when there is actually caching available, and the 184 * fscache_acquire_volume - Register a volume as desiring caching services 190 * Register a volume as desiring caching services if they're available. The 197 * cookie pointer and can be returned if caching is refused. 212 * fscache_relinquish_volume - Cease caching a volume 217 * Indicate that a filesystem no longer desires caching services for a volume. 242 * See Documentation/filesystems/caching/netfs-api.rst for a complete 304 * See Documentation/filesystems/caching/netfs-api.rst for a complete [all …]
|
/linux/include/drm/ttm/ |
H A D | ttm_pool.h | 45 * @caching: the caching type our pages have 53 enum ttm_caching caching; member 62 * struct ttm_pool - Pool for all caching and orders 68 * @caching: pools for each caching/order 79 } caching[TTM_NUM_CACHING_TYPES]; member
|
/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/fs/fuse/ |
H A D | iomode.c | 16 * Return true if need to wait for new opens in caching mode. 185 /* First passthrough file open denies caching inode io mode */ in fuse_file_passthrough_open() 225 * First passthrough file open denies caching inode io mode. in fuse_file_io_open() 226 * First caching file open enters caching inode io mode. in fuse_file_io_open() 230 * so we put the inode in caching mode to prevent parallel dio. in fuse_file_io_open() 262 * Last passthrough file close allows caching inode io mode. in fuse_file_io_release() 263 * Last caching file close exits caching inode io mode. in fuse_file_io_release()
|
/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/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/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/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
|
/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/drivers/gpu/drm/i915/display/ |
H A D | intel_tdf.h | 10 * TDF (Transient-Data-Flush) is needed for Xe2+ where special L3:XD caching can 11 * be enabled through various PAT index modes. Idea is to use this caching mode
|
/linux/Documentation/filesystems/ |
H A D | netfs_library.rst | 27 services, such as local caching or local data encryption. 29 Note that the library module doesn't link against local caching directly, so 71 Local caching cookie, or NULL if no caching is enabled. This field does not 116 * Handle local caching, allowing cached data and server-read data to be 324 represent an allocation already made. If local caching is enabled, it gets 445 required: some way for the network filesystem to initialise the caching for a 582 within the region or -ENOBUFS if there is no caching on this file.
|
/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/fs/ceph/ |
H A D | Kconfig | 24 bool "Enable Ceph client caching support" 28 caching support for Ceph clients using FS-Cache
|
/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.
|