Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 180) sorted by relevance

12345678

/linux-5.19.10/tools/lib/api/fs/
Dcgroup.c17 static struct cgroupfs_cache_entry cached; variable
27 if (!strcmp(cached.subsys, subsys)) { in cgroupfs_find_mountpoint()
28 if (strlen(cached.mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
29 strcpy(buf, cached.mountpoint); in cgroupfs_find_mountpoint()
94 strncpy(cached.subsys, subsys, sizeof(cached.subsys) - 1); in cgroupfs_find_mountpoint()
95 strcpy(cached.mountpoint, mountpoint); in cgroupfs_find_mountpoint()
/linux-5.19.10/fs/lockd/
Dmon.c319 struct nsm_handle *cached, *new = NULL; in nsm_get_handle() local
335 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
338 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
340 if (cached != NULL) { in nsm_get_handle()
341 refcount_inc(&cached->sm_count); in nsm_get_handle()
345 "cnt %d\n", cached->sm_name, in nsm_get_handle()
346 cached->sm_addrbuf, in nsm_get_handle()
347 refcount_read(&cached->sm_count)); in nsm_get_handle()
348 return cached; in nsm_get_handle()
379 struct nsm_handle *cached; in nsm_reboot_lookup() local
[all …]
/linux-5.19.10/lib/zstd/compress/
Dhist.c91 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() local
93 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
98 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
103 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
108 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
/linux-5.19.10/drivers/mtd/maps/
Dpxa2xx-flash.c26 unsigned long start = (unsigned long)map->cached + from; in pxa2xx_map_inval_cache()
69 info->map.cached = ioremap_cache(info->map.phys, info->map.size); in pxa2xx_flash_probe()
70 if (!info->map.cached) in pxa2xx_flash_probe()
86 if (info->map.cached) in pxa2xx_flash_probe()
87 iounmap(info->map.cached); in pxa2xx_flash_probe()
107 if (info->map.cached) in pxa2xx_flash_remove()
108 iounmap(info->map.cached); in pxa2xx_flash_remove()
/linux-5.19.10/tools/perf/util/
Dsmt.c60 static bool cached; in smt_on() local
65 if (cached) in smt_on()
69 cached = true; in smt_on()
97 cached = true; in smt_on()
/linux-5.19.10/fs/btrfs/
Dextent-io-tree.h108 struct extent_state **cached);
131 struct extent_state **cached);
134 struct extent_state **cached, gfp_t mask,
143 u64 end, struct extent_state **cached) in unlock_extent_cached() argument
145 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached()
150 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic() argument
152 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached_atomic()
198 u64 end, struct extent_state **cached) in clear_extent_dirty() argument
202 EXTENT_DO_ACCOUNTING, 0, 0, cached); in clear_extent_dirty()
Dblock-group.h112 int cached; member
332 return cache->cached == BTRFS_CACHE_FINISHED || in btrfs_block_group_done()
333 cache->cached == BTRFS_CACHE_ERROR; in btrfs_block_group_done()
/linux-5.19.10/tools/perf/arch/x86/util/
Dtopdown.c13 static bool cached; in topdown_sys_has_perf_metrics() local
16 if (cached) in topdown_sys_has_perf_metrics()
29 cached = true; in topdown_sys_has_perf_metrics()
/linux-5.19.10/fs/proc/
Dmeminfo.c36 long cached; in meminfo_proc_show() local
46 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
48 if (cached < 0) in meminfo_proc_show()
49 cached = 0; in meminfo_proc_show()
62 show_val_kb(m, "Cached: ", cached); in meminfo_proc_show()
/linux-5.19.10/drivers/mtd/devices/
Dphram.c37 bool cached; member
88 if (phram->cached) in phram_map()
104 if (phram->cached) { in phram_unmap()
128 bool cached = np ? !of_property_read_bool(np, "no-map") : false; in register_device() local
136 new->cached = cached; in register_device()
/linux-5.19.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_10nm.c484 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_save_state() local
488 cached->pll_out_div = dsi_phy_read(pll_10nm->phy->pll_base + in dsi_10nm_pll_save_state()
490 cached->pll_out_div &= 0x3; in dsi_10nm_pll_save_state()
493 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_10nm_pll_save_state()
494 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_10nm_pll_save_state()
497 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_10nm_pll_save_state()
500 pll_10nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_10nm_pll_save_state()
501 cached->pix_clk_div, cached->pll_mux); in dsi_10nm_pll_save_state()
507 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_restore_state() local
514 val |= cached->pll_out_div; in dsi_10nm_pll_restore_state()
[all …]
Ddsi_phy_7nm.c498 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state() local
502 cached->pll_out_div = dsi_phy_read(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state()
504 cached->pll_out_div &= 0x3; in dsi_7nm_pll_save_state()
507 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_7nm_pll_save_state()
508 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_7nm_pll_save_state()
511 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_7nm_pll_save_state()
514 pll_7nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_7nm_pll_save_state()
515 cached->pix_clk_div, cached->pll_mux); in dsi_7nm_pll_save_state()
521 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_restore_state() local
528 val |= cached->pll_out_div; in dsi_7nm_pll_restore_state()
[all …]
/linux-5.19.10/Documentation/filesystems/
Dfuse-io.rst10 - cached
20 In cached mode reads may be satisfied from the page cache, and data may be
24 The cached mode has two sub modes controlling how writes are handled. The
30 WRITE requests, as well as updating any cached pages (and caching previously
/linux-5.19.10/drivers/staging/media/atomisp/include/hmm/
Dhmm.h62 void *hmm_vmap(ia_css_ptr virt, bool cached);
75 void *hmm_isp_vaddr_to_host_vaddr(ia_css_ptr ptr, bool cached);
Dhmm_bo.h238 const void __user *userptr, bool cached);
259 void *hmm_bo_vmap(struct hmm_buffer_object *bo, bool cached);
/linux-5.19.10/Documentation/admin-guide/device-mapper/
Dwritecache.rst6 doesn't cache reads because reads are supposed to be cached in page cache
17 2. the underlying device that will be cached
57 new writes (however, writes to already cached blocks are
59 writes) and it will gradually writeback any cached
61 process with "dmsetup status". When the number of cached
/linux-5.19.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c696 bool cached, in alloc_private_pages() argument
728 cached); in alloc_private_pages()
744 cached); in alloc_private_pages()
807 if (!cached) { in alloc_private_pages()
881 const void __user *userptr, bool cached) in alloc_user_pages() argument
982 const void __user *userptr, bool cached) in hmm_bo_alloc_pages() argument
997 cached, &dynamic_pool, &reserved_pool); in hmm_bo_alloc_pages()
999 ret = alloc_user_pages(bo, userptr, cached); in hmm_bo_alloc_pages()
1228 void *hmm_bo_vmap(struct hmm_buffer_object *bo, bool cached) in hmm_bo_vmap() argument
1236 if (((bo->status & HMM_BO_VMAPED) && !cached) || in hmm_bo_vmap()
[all …]
Dhmm.c230 bool cached = attrs & ATOMISP_MAP_FLAG_CACHED; in hmm_alloc() local
253 ret = hmm_bo_alloc_pages(bo, type, from_highmem, userptr, cached); in hmm_alloc()
273 __func__, bo->start, bytes, type, from_highmem, userptr, cached); in hmm_alloc()
624 void *hmm_vmap(ia_css_ptr virt, bool cached) in hmm_vmap() argument
637 ptr = hmm_bo_vmap(bo, cached); in hmm_vmap()
717 void *hmm_isp_vaddr_to_host_vaddr(ia_css_ptr ptr, bool cached) in hmm_isp_vaddr_to_host_vaddr() argument
719 return hmm_vmap(ptr, cached); in hmm_isp_vaddr_to_host_vaddr()
/linux-5.19.10/arch/arm/mach-omap2/
Dsram.c185 int cached = 1; in omap2_map_sram() local
195 cached = 0; in omap2_map_sram()
202 omap_sram_base = __arm_ioremap_exec(omap_sram_start, omap_sram_size, cached); in omap2_map_sram()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-class-iommu-intel-iommu15 The cached hardware capability register value
23 The cached hardware extended capability register
/linux-5.19.10/drivers/gpu/drm/ttm/
Dttm_agp_backend.c55 int ret, cached = ttm->caching == ttm_cached; in ttm_agp_bind() local
77 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY; in ttm_agp_bind()
/linux-5.19.10/arch/s390/appldata/
Dappldata_mem.c54 u64 cached; /* size of (used) cache, w/o buffers */ member
102 mem_data->cached = P2K(global_node_page_state(NR_FILE_PAGES) in appldata_get_mem_data()
/linux-5.19.10/drivers/block/
Dps3vram.c428 unsigned int cached, count; in ps3vram_read() local
449 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_read()
453 (unsigned int)from, cached, offset, avail, count); in ps3vram_read()
457 memcpy(buf, priv->xdr_buf + cached, avail); in ps3vram_read()
472 unsigned int cached, count; in ps3vram_write() local
490 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_write()
494 cached, offset, avail, count); in ps3vram_write()
498 memcpy(priv->xdr_buf + cached, buf, avail); in ps3vram_write()
/linux-5.19.10/tools/perf/Documentation/
Dperf-buildid-cache.txt45 Remove a cached binary which has same build-id of specified file
49 Purge all cached binaries including older caches which have specified
53 Purge all cached binaries. This will flush out entire cache.
/linux-5.19.10/sound/usb/
Dmixer_us16x08.c229 elem->cached |= 1 << index; in snd_us16x08_route_put()
288 elem->cached |= 1 << index; in snd_us16x08_master_put()
329 elem->cached |= 1; in snd_us16x08_bus_put()
397 elem->cached |= 1 << index; in snd_us16x08_channel_put()
475 elem->cached |= 1 << index; in snd_us16x08_comp_put()
534 elem->cached |= 1 << index; in snd_us16x08_eqswitch_put()
598 elem->cached |= 1 << index; in snd_us16x08_eq_put()
1315 elem->cached = 0xff; in snd_us16x08_controls_create()
1337 elem->cached = 1; in snd_us16x08_controls_create()
1357 elem->cached = 0xffff; in snd_us16x08_controls_create()

12345678