Home
last modified time | relevance | path

Searched refs:cached (Results 1 - 25 of 152) sorted by relevance

1234567

/kernel/linux/linux-6.6/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 in cgroupfs_find_mountpoint()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsmt.c10 static bool cached; in smt_on() local
15 if (cached) in smt_on()
42 cached = true; in smt_on()
46 if (!cached) { in smt_on()
49 cached = true; in smt_on()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A 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()
/kernel/linux/linux-5.10/fs/lockd/
H A Dmon.c303 * nsm_get_handle - Find or create a cached nsm_handle
312 * Returns a cached nsm_handle after bumping its ref count, or
322 struct nsm_handle *cached, *new = NULL; in nsm_get_handle() local
338 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
341 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
343 if (cached != NULL) { in nsm_get_handle()
344 refcount_inc(&cached->sm_count); in nsm_get_handle()
348 "cnt %d\n", cached->sm_name, in nsm_get_handle()
349 cached->sm_addrbuf, in nsm_get_handle()
350 refcount_read(&cached in nsm_get_handle()
382 struct nsm_handle *cached; nsm_reboot_lookup() local
[all...]
/kernel/linux/linux-6.6/fs/lockd/
H A Dmon.c303 * nsm_get_handle - Find or create a cached nsm_handle
312 * Returns a cached nsm_handle after bumping its ref count, or
322 struct nsm_handle *cached, *new = NULL; in nsm_get_handle() local
338 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
341 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
343 if (cached != NULL) { in nsm_get_handle()
344 refcount_inc(&cached->sm_count); in nsm_get_handle()
348 "cnt %d\n", cached->sm_name, in nsm_get_handle()
349 cached->sm_addrbuf, in nsm_get_handle()
350 refcount_read(&cached in nsm_get_handle()
382 struct nsm_handle *cached; nsm_reboot_lookup() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dextent-io-tree.h120 struct extent_state **cached);
123 struct extent_state **cached);
139 u32 bits, struct extent_state **cached,
144 struct extent_state **cached) in clear_extent_bit()
146 return __clear_extent_bit(tree, start, end, bits, cached, NULL); in clear_extent_bit()
150 struct extent_state **cached) in unlock_extent()
152 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, cached, NULL); in unlock_extent()
174 u64 end, struct extent_state **cached) in clear_extent_dirty()
178 EXTENT_DO_ACCOUNTING, cached); in clear_extent_dirty()
142 clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, struct extent_state **cached) clear_extent_bit() argument
149 unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) unlock_extent() argument
173 clear_extent_dirty(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) clear_extent_dirty() argument
H A Dextent-io-tree.c562 struct extent_state *cached; in __clear_extent_bit() local
598 cached = *cached_state; in __clear_extent_bit()
605 if (cached && extent_state_in_tree(cached) && in __clear_extent_bit()
606 cached->start <= start && cached->end > start) { in __clear_extent_bit()
608 refcount_dec(&cached->refs); in __clear_extent_bit()
609 state = cached; in __clear_extent_bit()
613 free_extent_state(cached); in __clear_extent_bit()
1251 * here for the first iteration. We might have a cached stat in convert_extent_bit()
1563 struct extent_state *cached; count_range_bits() local
1647 test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, int filled, struct extent_state *cached) test_range_bit() argument
1720 try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) try_lock_extent() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dpxa2xx-flash.c28 unsigned long start = (unsigned long)map->cached + from; in pxa2xx_map_inval_cache()
72 info->map.cached = ioremap_cache(info->map.phys, info->map.size); in pxa2xx_flash_probe()
73 if (!info->map.cached) in pxa2xx_flash_probe()
74 printk(KERN_WARNING "Failed to ioremap cached %s\n", in pxa2xx_flash_probe()
89 if (info->map.cached) in pxa2xx_flash_probe()
90 iounmap(info->map.cached); in pxa2xx_flash_probe()
111 if (info->map.cached) in pxa2xx_flash_remove()
112 iounmap(info->map.cached); in pxa2xx_flash_remove()
/kernel/linux/linux-6.6/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()
72 printk(KERN_WARNING "Failed to ioremap cached %s\n", 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()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Dtopdown.c14 static bool cached; in topdown_sys_has_perf_metrics() local
17 if (cached) in topdown_sys_has_perf_metrics()
30 cached = true; in topdown_sys_has_perf_metrics()
H A Dtsc.c61 static bool cached; in arch_get_tsc_freq() local
65 if (cached) in arch_get_tsc_freq()
68 cached = true; in arch_get_tsc_freq()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dextent-io-tree.h94 struct extent_state **cached);
118 struct extent_state **cached);
121 struct extent_state **cached, gfp_t mask,
130 u64 end, struct extent_state **cached) in unlock_extent_cached()
132 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached()
137 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic()
139 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached_atomic()
183 u64 end, struct extent_state **cached) in clear_extent_dirty()
187 EXTENT_DO_ACCOUNTING, 0, 0, cached); in clear_extent_dirty()
129 unlock_extent_cached(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) unlock_extent_cached() argument
136 unlock_extent_cached_atomic(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) unlock_extent_cached_atomic() argument
182 clear_extent_dirty(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached) clear_extent_dirty() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
H A Ddsi_pll_10nm.c536 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_pll_10nm_save_state() local
540 cached->pll_out_div = pll_read(pll_10nm->mmio + in dsi_pll_10nm_save_state()
542 cached->pll_out_div &= 0x3; in dsi_pll_10nm_save_state()
545 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_pll_10nm_save_state()
546 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_pll_10nm_save_state()
549 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_pll_10nm_save_state()
552 pll_10nm->id, cached->pll_out_div, cached->bit_clk_div, in dsi_pll_10nm_save_state()
553 cached->pix_clk_div, cached in dsi_pll_10nm_save_state()
559 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; dsi_pll_10nm_restore_state() local
[all...]
H A Ddsi_pll_7nm.c562 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_pll_7nm_save_state() local
566 cached->pll_out_div = pll_read(pll_7nm->mmio + in dsi_pll_7nm_save_state()
568 cached->pll_out_div &= 0x3; in dsi_pll_7nm_save_state()
571 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_pll_7nm_save_state()
572 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_pll_7nm_save_state()
575 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_pll_7nm_save_state()
578 pll_7nm->id, cached->pll_out_div, cached->bit_clk_div, in dsi_pll_7nm_save_state()
579 cached->pix_clk_div, cached in dsi_pll_7nm_save_state()
585 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; dsi_pll_7nm_restore_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/phy/
H A 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 in dsi_10nm_pll_save_state()
510 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; dsi_10nm_pll_restore_state() local
[all...]
H A Ddsi_phy_7nm.c536 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state() local
540 cached->pll_out_div = dsi_phy_read(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state()
542 cached->pll_out_div &= 0x3; in dsi_7nm_pll_save_state()
545 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_7nm_pll_save_state()
546 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_7nm_pll_save_state()
549 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_7nm_pll_save_state()
552 pll_7nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_7nm_pll_save_state()
553 cached->pix_clk_div, cached in dsi_7nm_pll_save_state()
559 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; dsi_7nm_pll_restore_state() local
[all...]
/kernel/linux/linux-5.10/fs/proc/
H A Dmeminfo.c39 long cached; in meminfo_proc_show() local
54 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
56 if (cached < 0) in meminfo_proc_show()
57 cached = 0; in meminfo_proc_show()
77 show_val_kb(m, "Cached: ", cached); in meminfo_proc_show()
/kernel/linux/linux-6.6/fs/proc/
H A Dmeminfo.c41 long cached; in meminfo_proc_show() local
56 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
58 if (cached < 0) in meminfo_proc_show()
59 cached = 0; in meminfo_proc_show()
79 show_val_kb(m, "Cached: ", cached); in meminfo_proc_show()
/kernel/linux/linux-6.6/drivers/mtd/devices/
H A 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()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dsram.c122 int cached = 1; in omap2_map_sram() local
126 * SRAM must be marked as non-cached on OMAP3 since the in omap2_map_sram()
128 * SDRAM controller disabled, and if it is marked cached, in omap2_map_sram()
132 cached = 0; in omap2_map_sram()
136 omap_sram_skip, cached); in omap2_map_sram()
/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_compress.c382 U32 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp() local
385 U32 c = cached; in FSE_count_parallel_wksp()
386 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
392 c = cached; in FSE_count_parallel_wksp()
393 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
399 c = cached; in FSE_count_parallel_wksp()
400 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
406 c = cached; in FSE_count_parallel_wksp()
407 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/
H A 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);
/kernel/linux/linux-5.10/arch/arm/plat-omap/
H A Dsram.c98 unsigned long skip, int cached) in omap_map_sram()
109 omap_sram_base = __arm_ioremap_exec(start, size, cached); in omap_map_sram()
97 omap_map_sram(unsigned long start, unsigned long size, unsigned long skip, int cached) omap_map_sram() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_bo.c696 bool cached, in alloc_private_pages()
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()
982 const void __user *userptr, bool cached) in hmm_bo_alloc_pages()
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()
694 alloc_private_pages(struct hmm_buffer_object *bo, int from_highmem, bool cached, struct hmm_pool *dypool, struct hmm_pool *repool) alloc_private_pages() argument
880 alloc_user_pages(struct hmm_buffer_object *bo, const void __user *userptr, bool cached) alloc_user_pages() argument
980 hmm_bo_alloc_pages(struct hmm_buffer_object *bo, enum hmm_bo_type type, int from_highmem, const void __user *userptr, bool cached) hmm_bo_alloc_pages() argument
[all...]

Completed in 16 milliseconds

1234567