Home
last modified time | relevance | path

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

123456

/linux/tools/lib/api/fs/
H A Dcgroup.c17 static struct cgroupfs_cache_entry *cached; variable
27 if (cached && !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 if (!cached) in cgroupfs_find_mountpoint()
95 cached = calloc(1, sizeof(*cached)); in cgroupfs_find_mountpoint()
97 if (cached) { in cgroupfs_find_mountpoint()
98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1); in cgroupfs_find_mountpoint()
99 strcpy(cached->mountpoint, mountpoint); in cgroupfs_find_mountpoint()
/linux/fs/btrfs/
H A Dextent-io-tree.h145 struct extent_state **cached);
147 u32 bits, struct extent_state **cached);
150 struct extent_state **cached) in btrfs_lock_extent() argument
152 return btrfs_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_lock_extent()
156 u64 end, struct extent_state **cached) in btrfs_try_lock_extent() argument
158 return btrfs_try_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_try_lock_extent()
178 u32 bits, struct extent_state **cached,
183 struct extent_state **cached) in btrfs_clear_extent_bit() argument
185 return btrfs_clear_extent_bit_changeset(tree, start, end, bits, cached, NULL); in btrfs_clear_extent_bit()
189 struct extent_state **cached) in btrfs_unlock_extent() argument
[all …]
H A Dextent-io-tree.c656 struct extent_state *cached; in btrfs_clear_extent_bit_changeset() local
690 cached = *cached_state; in btrfs_clear_extent_bit_changeset()
697 if (cached && extent_state_in_tree(cached) && in btrfs_clear_extent_bit_changeset()
698 cached->start <= start && cached->end > start) { in btrfs_clear_extent_bit_changeset()
700 refcount_dec(&cached->refs); in btrfs_clear_extent_bit_changeset()
701 state = cached; in btrfs_clear_extent_bit_changeset()
705 btrfs_free_extent_state(cached); in btrfs_clear_extent_bit_changeset()
1451 * here for the first iteration. We might have a cached stat in btrfs_convert_extent_bit()
1783 struct extent_state *cached; btrfs_count_range_bits() local
1929 btrfs_test_range_bit(struct extent_io_tree * tree,u64 start,u64 end,u32 bit,struct extent_state * cached) btrfs_test_range_bit() argument
1996 btrfs_try_lock_extent_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached) btrfs_try_lock_extent_bits() argument
[all...]
H A Dfiemap.c67 /* Fields for the cached extent (unsubmitted, not ready, extent). */
72 bool cached; member
101 * @len and @flags with cached one.
102 * And only when we fails to merge, cached one will be submitted as
117 if (!cache->cached) in emit_fiemap_extent()
140 * to user space, we trim the length of the previously cached extent and in emit_fiemap_extent()
156 * We cached a delalloc range (found in the io tree) for in emit_fiemap_extent()
183 * is behind the cached offset. This means we were in emit_fiemap_extent()
194 * cached extent's end. In this case just ignore the in emit_fiemap_extent()
200 * cached exten in emit_fiemap_extent()
[all...]
H A Dblock-group.h167 enum btrfs_caching_type cached;
396 return cache->cached == BTRFS_CACHE_FINISHED ||
397 cache->cached == BTRFS_CACHE_ERROR; in btrfs_metadata_alloc_profile()
177 enum btrfs_caching_type cached; global() member
/linux/lib/zstd/compress/
H A Dhist.c102 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() local
104 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
109 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
114 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
119 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
/linux/drivers/mtd/maps/
H A 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/tools/perf/util/
H A Dsmt.c9 static bool cached; in smt_on() local
13 if (cached) in smt_on()
21 cached = true; in smt_on()
H A Daddr2line.c99 static bool cached; in cmd_addr2line_configure()
102 if (!cached) { in cmd_addr2line_configure()
115 cached = true; in cmd_addr2line_configure()
120 cached = true; in cmd_addr2line_configure()
101 static bool cached; cmd_addr2line_configure() local
/linux/drivers/mtd/devices/
H A Dphram.c38 bool cached; member
89 if (phram->cached) in phram_map()
105 if (phram->cached) { in phram_unmap()
129 bool cached = np ? !of_property_read_bool(np, "no-map") : false; in register_device() local
137 new->cached = cached; in register_device()
/linux/tools/perf/arch/x86/util/
H A Dtopdown.c17 static bool cached; in topdown_sys_has_perf_metrics() local
20 if (cached) in topdown_sys_has_perf_metrics()
33 cached = true; in topdown_sys_has_perf_metrics()
/linux/Documentation/filesystems/fuse/
H A Dfuse-io.rst10 - cached
21 In cached mode reads may be satisfied from the page cache, and data may be
25 The cached mode has two sub modes controlling how writes are handled. The
31 WRITE requests, as well as updating any cached pages (and caching previously
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-erofs28 currently used to drop in-memory pclusters and cached
31 - 1 : invalidate cached compressed folios
33 - 3 : drop in-memory pclusters and cached compressed folios
H A Dsysfs-class-iommu-intel-iommu15 The cached hardware capability register value
23 The cached hardware extended capability register
H A Dprocfs-nfsd-reply_cache_stats20 not cached s64 Idempotent requests that
29 Counter fields (cache hits, cache misses, not cached,
/linux/Documentation/admin-guide/device-mapper/
H A 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/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_7nm.c637 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state() local
642 cached->pll_out_div = readl(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state()
644 cached->pll_out_div &= 0x3; in dsi_7nm_pll_save_state()
647 cached->bit_clk_div = FIELD_GET(DSI_7nm_PHY_CMN_CLK_CFG0_DIV_CTRL_3_0__MASK, cmn_clk_cfg0); in dsi_7nm_pll_save_state()
648 cached->pix_clk_div = FIELD_GET(DSI_7nm_PHY_CMN_CLK_CFG0_DIV_CTRL_7_4__MASK, cmn_clk_cfg0); in dsi_7nm_pll_save_state()
651 cached->pll_mux = FIELD_GET(DSI_7nm_PHY_CMN_CLK_CFG1_DSICLK_SEL__MASK, cmn_clk_cfg1); in dsi_7nm_pll_save_state()
655 pll_7nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_7nm_pll_save_state()
656 cached->pix_clk_div, cached in dsi_7nm_pll_save_state()
662 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; dsi_7nm_pll_restore_state() local
[all...]
/linux/arch/arm/mach-omap2/
H A Dsram.c184 int cached = 1; in omap2_map_sram() local
194 cached = 0; in omap2_map_sram()
201 omap_sram_base = __arm_ioremap_exec(omap_sram_start, omap_sram_size, cached); in omap2_map_sram()
/linux/drivers/block/
H A Dps3vram.c426 unsigned int cached, count; in ps3vram_read() local
447 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_read()
451 (unsigned int)from, cached, offset, avail, count); in ps3vram_read()
455 memcpy(buf, priv->xdr_buf + cached, avail); in ps3vram_read()
470 unsigned int cached, count; in ps3vram_write() local
488 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_write()
492 cached, offset, avail, count); in ps3vram_write()
496 memcpy(priv->xdr_buf + cached, buf, avail); in ps3vram_write()
/linux/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c56 int ret, cached = ttm->caching == ttm_cached; in ttm_agp_bind() local
78 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY; in ttm_agp_bind()
/linux/arch/s390/appldata/
H A 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/tools/perf/Documentation/
H A 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/sound/usb/
H A Dmixer_us16x08.c241 set_bit(index, elem->cached); in snd_us16x08_route_put()
302 set_bit(index, elem->cached);
344 set_bit(0, elem->cached); in snd_us16x08_bus_get()
415 set_bit(index, elem->cached); in snd_us16x08_mix_info()
521 set_bit(index, elem->cached); in snd_us16x08_eqswitch_get()
582 set_bit(index, elem->cached); in snd_us16x08_eq_get()
648 set_bit(index, elem->cached); in snd_us16x08_meter_info()
1372 bitmap_set(elem->cached, 0, 8); in snd_us16x08_controls_create()
1394 set_bit(0, elem->cached); in snd_us16x08_controls_create()
1414 bitmap_set(elem->cached, in snd_us16x08_controls_create()
[all...]
H A Dmixer_scarlett.c293 * Return cached value or default to avoid blocking module load. in forte_get_ctl_value()
295 if (test_bit(0, elem->cached)) in forte_get_ctl_value()
356 set_bit(0, elem->cached); in forte_input_gain_put()
367 if (test_bit(0, elem->cached)) in forte_input_gain_resume()
408 set_bit(0, elem->cached); in forte_ctl_enum_put()
419 if (test_bit(0, elem->cached)) in forte_ctl_enum_resume()
457 set_bit(0, elem->cached); in forte_ctl_switch_put()
468 if (test_bit(0, elem->cached)) in forte_ctl_switch_resume()
535 if (test_bit(i, elem->cached)) in scarlett_ctl_resume()
695 if (test_bit(0, elem->cached)) in scarlett_ctl_enum_resume()
[all...]
/linux/sound/soc/codecs/
H A Dsigmadsp.c38 bool cached;
149 ctrl->cached = true; in sigmadsp_ctrl_put()
164 if (!ctrl->cached) { in sigmadsp_ctrl_get()
171 ctrl->cached = true; in sigmadsp_ctrl_get()
237 * the readbacks to ensure that the values are not cached. in sigma_fw_load_control()
675 if (ctrl->cached) in sigmadsp_activate_ctrl()
37 bool cached; global() member

123456