Home
last modified time | relevance | path

Searched full:cached (Results 1 – 25 of 2208) sorted by relevance

12345678910>>...89

/kernel/linux/linux-6.6/tools/lib/api/fs/
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()
/kernel/linux/linux-6.6/fs/lockd/
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->sm_count)); in nsm_get_handle()
[all …]
/kernel/linux/linux-5.10/fs/lockd/
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->sm_count)); in nsm_get_handle()
[all …]
/kernel/linux/linux-6.6/fs/btrfs/
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() argument
146 return __clear_extent_bit(tree, start, end, bits, cached, NULL); in clear_extent_bit()
150 struct extent_state **cached) in unlock_extent() argument
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() argument
178 EXTENT_DO_ACCOUNTING, cached); in clear_extent_dirty()
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 state in convert_extent_bit()
1548 * @cached_state: A cached state to be used across multiple calls to this
1563 struct extent_state *cached; in count_range_bits() local
[all …]
/kernel/linux/linux-6.6/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()
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-5.10/drivers/mtd/maps/
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-5.10/tools/perf/util/
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/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_ctl.h83 * Clear the value of the cached pending_flush_mask
91 * Query the value of the cached pending_flush_mask
98 * OR in the given flushbits to the cached pending_flush_mask
107 * OR in the given flushbits to the cached pending_(wb_)flush_mask
116 * OR in the given flushbits to the cached pending_(intf_)flush_mask
125 * OR in the given flushbits to the cached pending_(merge_3d_)flush_mask
134 * OR in the given flushbits to the cached pending_flush_mask
143 * OR in the given flushbits to the cached pending_flush_mask
152 * OR in the given flushbits to the cached pending_flush_mask
162 * OR in the given flushbits to the cached pending_(dsc_)flush_mask
/kernel/linux/linux-5.10/fs/btrfs/
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() argument
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() argument
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() argument
187 EXTENT_DO_ACCOUNTING, 0, 0, cached); in clear_extent_dirty()
/kernel/linux/linux-6.6/include/rdma/
Dib_cache.h36 * ib_get_cached_pkey - Returns a cached PKey table entry
39 * @index: The index into the cached PKey table to query.
56 * @index: The index into the cached PKey table where the PKey was found.
72 * @index: The index into the cached PKey table where the PKey was found.
83 * ib_get_cached_lmc - Returns a cached lmc table entry
96 * ib_get_cached_port_state - Returns a cached port state table entry
/kernel/linux/linux-5.10/include/rdma/
Dib_cache.h36 * ib_get_cached_pkey - Returns a cached PKey table entry
39 * @index: The index into the cached PKey table to query.
56 * @index: The index into the cached PKey table where the PKey was found.
72 * @index: The index into the cached PKey table where the PKey was found.
83 * ib_get_cached_lmc - Returns a cached lmc table entry
96 * ib_get_cached_port_state - Returns a cached port state table entry
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
Dnfs_fs.h130 * attrtimeo is for how long the cached information is assumed
135 * We need to revalidate the cached attrs for this inode if
174 /* track last access to cached pages */
229 #define NFS_INO_INVALID_DATA BIT(1) /* cached data is invalid */
230 #define NFS_INO_INVALID_ATIME BIT(2) /* cached atime is invalid */
231 #define NFS_INO_INVALID_ACCESS BIT(3) /* cached access cred invalid */
232 #define NFS_INO_INVALID_ACL BIT(4) /* cached acls are invalid */
235 #define NFS_INO_INVALID_LABEL BIT(7) /* cached label is invalid */
236 #define NFS_INO_INVALID_CHANGE BIT(8) /* cached change is invalid */
237 #define NFS_INO_INVALID_CTIME BIT(9) /* cached ctime is invalid */
[all …]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Ddebugfs.h58 /* The cached address for the next mmio16read file read */
60 /* The cached address for the next mmio32read file read */
63 /* The cached address for the next shm16read file read */
66 /* The cached address for the next shm32read file read */
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Ddebugfs.h59 /* The cached address for the next mmio16read file read */
61 /* The cached address for the next mmio32read file read */
64 /* The cached address for the next shm16read file read */
67 /* The cached address for the next shm32read file read */
/kernel/linux/linux-6.6/include/linux/
Dnfs_fs.h147 * attrtimeo is for how long the cached information is assumed
152 * We need to revalidate the cached attrs for this inode if
216 * another client and we invalidate the cached data.
284 #define NFS_INO_INVALID_DATA BIT(1) /* cached data is invalid */
285 #define NFS_INO_INVALID_ATIME BIT(2) /* cached atime is invalid */
286 #define NFS_INO_INVALID_ACCESS BIT(3) /* cached access cred invalid */
287 #define NFS_INO_INVALID_ACL BIT(4) /* cached acls are invalid */
289 #define NFS_INO_INVALID_LABEL BIT(7) /* cached label is invalid */
290 #define NFS_INO_INVALID_CHANGE BIT(8) /* cached change is invalid */
291 #define NFS_INO_INVALID_CTIME BIT(9) /* cached ctime is invalid */
[all …]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/fs/proc/
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/tools/perf/util/
Dsmt.c9 static bool cached; in smt_on() local
13 if (cached) in smt_on()
21 cached = true; in smt_on()
/kernel/linux/linux-6.6/fs/proc/
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/include/net/
Ddst_cache.h21 * source address to be used when xmitting to the cached dst.
38 * @dst: the entry to be cached
51 * @dst: the entry to be cached
74 * This does not free the cached dst to avoid races and contentions.
/kernel/linux/linux-5.10/include/net/
Ddst_cache.h21 * source address to be used when xmitting to the cached dst.
38 * @dst: the entry to be cached
51 * @dst: the entry to be cached
74 * This does not free the cached dst to avoid races and contentions.

12345678910>>...89