Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c52 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
84 tt = ttm_tt_kunit_init(test, order, caching, size); in ttm_pool_pre_populated()
143 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic() local
148 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_alloc_basic()
205 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_basic_dma_addr() local
216 err = ttm_sg_tt_init(tt, bo, 0, caching); in ttm_pool_alloc_basic_dma_addr()
244 enum ttm_caching caching = ttm_uncached; in ttm_pool_alloc_order_caching_match() local
249 pool = ttm_pool_pre_populated(test, size, caching); in ttm_pool_alloc_order_caching_match()
[all …]
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c26 /* Pooling of allocated pages is necessary because changing the caching
131 /* Reset the caching and pages of size 1 << order */
132 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() argument
143 if (caching != ttm_cached && !PageHighMem(p)) in ttm_pool_free_page()
162 /* Apply a new caching to an array of pages */
164 enum ttm_caching caching) in ttm_pool_apply_caching() argument
172 switch (caching) { in ttm_pool_apply_caching()
259 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() argument
262 pt->caching = caching; in ttm_pool_type_init()
282 ttm_pool_free_page(pt->pool, pt->caching, pt->order, p); in ttm_pool_type_fini()
[all …]
H A Dttm_module.c57 * @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 Dttm_tt.c149 enum ttm_caching caching, in ttm_tt_init_fields() argument
157 ttm->caching = caching; in ttm_tt_init_fields()
161 uint32_t page_flags, enum ttm_caching caching, in ttm_tt_init() argument
164 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
192 uint32_t page_flags, enum ttm_caching caching) in ttm_sg_tt_init() argument
196 ttm_tt_init_fields(ttm, bo, page_flags, caching, 0); in ttm_sg_tt_init()
458 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
H A Dttm_bo_util.c288 * 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()
/openbmc/linux/fs/fscache/
H A DKconfig4 tristate "General filesystem local caching manager"
7 This option enables a generic filesystem caching manager that can be
12 See Documentation/filesystems/caching/fscache.rst for more information.
15 bool "Gather statistical information on local caching"
20 caching and exported through file:
30 See Documentation/filesystems/caching/fscache.rst for more information.
36 This permits debugging to be dynamically enabled in the local caching
40 See Documentation/filesystems/caching/fscache.rst for more information.
/openbmc/linux/include/drm/ttm/
H A Dttm_pool.h44 * @caching: the caching type our pages have
52 enum ttm_caching caching; member
61 * struct ttm_pool - Pool for all caching and orders
67 * @caching: pools for each caching/order
78 } caching[TTM_NUM_CACHING_TYPES]; member
H A Dttm_tt.h42 * struct ttm_tt - This is a structure holding the pages, caching- and aperture
109 * @caching: The current caching state of the pages, see enum
112 enum ttm_caching caching; member
149 * @caching: the desired caching state of the pages
158 uint32_t page_flags, enum ttm_caching caching,
161 uint32_t page_flags, enum ttm_caching caching);
/openbmc/linux/include/linux/
H A Dfscache.h2 /* General filesystem caching interface
9 * Documentation/filesystems/caching/netfs-api.rst
151 * slow-path functions for when there is actually caching available, and the
181 * fscache_acquire_volume - Register a volume as desiring caching services
187 * Register a volume as desiring caching services if they're available. The
194 * cookie pointer and can be returned if caching is refused.
209 * fscache_relinquish_volume - Cease caching a volume
214 * Indicate that a filesystem no longer desires caching services for a volume.
239 * See Documentation/filesystems/caching/netfs-api.rst for a complete
301 * See Documentation/filesystems/caching/netfs-api.rst for a complete
[all …]
/openbmc/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()
/openbmc/linux/Documentation/admin-guide/
H A Dbcache.rst23 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 …]
/openbmc/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:
/openbmc/linux/fs/9p/
H A Dv9fs.h49 * @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 DKconfig16 bool "Enable 9P client caching support"
20 caching support for 9p clients using FS-Cache
/openbmc/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
/openbmc/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
/openbmc/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
/openbmc/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 */
/openbmc/linux/fs/afs/
H A Dwrite.c23 loff_t i_size, bool caching);
35 static void afs_folio_start_fscache(bool caching, struct folio *folio) in afs_folio_start_fscache() argument
37 if (caching) in afs_folio_start_fscache()
41 static void afs_folio_start_fscache(bool caching, struct folio *folio) in afs_folio_start_fscache() argument
83 /* Prefetch area to be written into the cache if we're caching this in afs_write_begin()
467 bool caching, in afs_extend_writeback() argument
551 * writable and mark them for caching. in afs_extend_writeback()
564 afs_folio_start_fscache(caching, folio); in afs_extend_writeback()
592 bool caching = fscache_cookie_enabled(afs_vnode_cache(vnode)); in afs_write_back_from_locked_folio() local
600 afs_folio_start_fscache(caching, folio); in afs_write_back_from_locked_folio()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-cached-property_1.5.2.bb1 SUMMARY = "A decorator for caching properties in classes."
2 DESCRIPTION = "Makes caching of time or computational expensive properties quick and easy."
/openbmc/linux/arch/m68k/
H A DKconfig.cpu418 bool "Use write-through caching for 68060 supervisor accesses"
421 The 68060 generally uses copyback caching of recently accessed data.
422 Copyback caching means that memory writes will be held in an on-chip
425 caching. Writethrough caching means that data is written to memory
427 Writethrough caching is less efficient, but is needed for some
/openbmc/linux/Documentation/filesystems/
H A Dnetfs_library.rst27 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
323 cache (if present) to initialise the caching state for this read. The netfs
331 reported, the operation may proceed anyway, just without local caching (only
339 represent an allocation already made. If local caching is enabled, it gets
460 required: some way for the network filesystem to initialise the caching for a
597 within the region or -ENOBUFS if there is no caching on this file.
/openbmc/linux/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
/openbmc/linux/fs/ceph/
H A DKconfig24 bool "Enable Ceph client caching support"
28 caching support for Ceph clients using FS-Cache
/openbmc/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()

12345678910>>...26