Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/mtd/maps/
Dpxa2xx-flash.c26 unsigned long start = (unsigned long)map->cached + from; in pxa2xx_map_inval_cache()
70 info->map.cached = ioremap_cache(info->map.phys, info->map.size); in pxa2xx_flash_probe()
71 if (!info->map.cached) in pxa2xx_flash_probe()
87 if (info->map.cached) in pxa2xx_flash_probe()
88 iounmap(info->map.cached); in pxa2xx_flash_probe()
109 if (info->map.cached) in pxa2xx_flash_remove()
110 iounmap(info->map.cached); in pxa2xx_flash_remove()
/linux-6.1.9/fs/btrfs/
Dextent-io-tree.h107 struct extent_state **cached);
124 u32 bits, struct extent_state **cached, gfp_t mask,
129 struct extent_state **cached) in clear_extent_bit() argument
131 return __clear_extent_bit(tree, start, end, bits, cached, in clear_extent_bit()
136 struct extent_state **cached) in unlock_extent() argument
138 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, cached, in unlock_extent()
143 u64 end, struct extent_state **cached) in unlock_extent_atomic() argument
145 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, cached, in unlock_extent_atomic()
186 u64 end, struct extent_state **cached) in clear_extent_dirty() argument
190 EXTENT_DO_ACCOUNTING, cached); in clear_extent_dirty()
Dextent-io-tree.c554 struct extent_state *cached; in __clear_extent_bit() local
588 cached = *cached_state; in __clear_extent_bit()
595 if (cached && extent_state_in_tree(cached) && in __clear_extent_bit()
596 cached->start <= start && cached->end > start) { in __clear_extent_bit()
598 refcount_dec(&cached->refs); in __clear_extent_bit()
599 state = cached; in __clear_extent_bit()
603 free_extent_state(cached); in __clear_extent_bit()
1550 u32 bits, int filled, struct extent_state *cached) in test_range_bit() argument
1556 if (cached && extent_state_in_tree(cached) && cached->start <= start && in test_range_bit()
1557 cached->end > start) in test_range_bit()
[all …]
Dblock-group.h130 int cached; member
347 return cache->cached == BTRFS_CACHE_FINISHED || in btrfs_block_group_done()
348 cache->cached == BTRFS_CACHE_ERROR; in btrfs_block_group_done()
/linux-6.1.9/tools/perf/util/
Dsmt.c9 static bool cached; in smt_on() local
13 if (cached) in smt_on()
21 cached = true; in smt_on()
Dutil.c61 static bool cached; in sysctl__nmi_watchdog_enabled() local
65 if (cached) in sysctl__nmi_watchdog_enabled()
72 cached = true; in sysctl__nmi_watchdog_enabled()
/linux-6.1.9/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-6.1.9/tools/perf/arch/x86/util/
Dtopdown.c21 static bool cached; in topdown_sys_has_perf_metrics() local
24 if (cached) in topdown_sys_has_perf_metrics()
37 cached = true; in topdown_sys_has_perf_metrics()
Dtsc.c60 static bool cached; in arch_get_tsc_freq() local
64 if (cached) in arch_get_tsc_freq()
67 cached = true; in arch_get_tsc_freq()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_10nm.c487 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_save_state() local
491 cached->pll_out_div = dsi_phy_read(pll_10nm->phy->pll_base + in dsi_10nm_pll_save_state()
493 cached->pll_out_div &= 0x3; in dsi_10nm_pll_save_state()
496 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_10nm_pll_save_state()
497 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_10nm_pll_save_state()
500 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_10nm_pll_save_state()
503 pll_10nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_10nm_pll_save_state()
504 cached->pix_clk_div, cached->pll_mux); in dsi_10nm_pll_save_state()
510 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_restore_state() local
517 val |= cached->pll_out_div; in dsi_10nm_pll_restore_state()
[all …]
Ddsi_phy_7nm.c501 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state() local
505 cached->pll_out_div = dsi_phy_read(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state()
507 cached->pll_out_div &= 0x3; in dsi_7nm_pll_save_state()
510 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_7nm_pll_save_state()
511 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_7nm_pll_save_state()
514 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_7nm_pll_save_state()
517 pll_7nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_7nm_pll_save_state()
518 cached->pix_clk_div, cached->pll_mux); in dsi_7nm_pll_save_state()
524 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_restore_state() local
531 val |= cached->pll_out_div; in dsi_7nm_pll_restore_state()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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
58 new writes (however, writes to already cached blocks are
60 writes) and it will gradually writeback any cached
62 process with "dmsetup status". When the number of cached
/linux-6.1.9/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-6.1.9/Documentation/ABI/testing/
Dsysfs-class-iommu-intel-iommu15 The cached hardware capability register value
23 The cached hardware extended capability register
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()
/linux-6.1.9/sound/soc/codecs/
Dsigmadsp.c37 bool cached; member
148 ctrl->cached = true; in sigmadsp_ctrl_put()
165 if (!ctrl->cached) { in sigmadsp_ctrl_get()
172 ctrl->cached = true; in sigmadsp_ctrl_get()
695 if (ctrl->cached) in sigmadsp_activate_ctrl()

12345678