/linux-master/arch/csky/mm/ |
H A D | dma-mapping.c | 4 #include <linux/cache.h> 12 #include <asm/cache.h>
|
/linux-master/fs/squashfs/ |
H A D | Makefile | 7 squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
|
/linux-master/include/acpi/platform/ |
H A D | aclinuxex.h | 65 static inline void *acpi_os_acquire_object(acpi_cache_t * cache) argument 67 return kmem_cache_zalloc(cache,
|
/linux-master/include/linux/ |
H A D | host1x.h | 32 * struct host1x_bo_cache - host1x buffer object cache 36 * Note that entries are not periodically evicted from this cache and instead need to be 37 * explicitly released. This is used primarily for DRM/KMS where the cache's reference is 39 * cache is dropped. 46 static inline void host1x_bo_cache_init(struct host1x_bo_cache *cache) argument 48 INIT_LIST_HEAD(&cache->mappings); 49 mutex_init(&cache->lock); 52 static inline void host1x_bo_cache_destroy(struct host1x_bo_cache *cache) argument 55 mutex_destroy(&cache->lock); 90 * @cache 110 struct host1x_bo_cache cache; member in struct:host1x_client 132 struct host1x_bo_cache *cache; member in struct:host1x_bo_mapping [all...] |
/linux-master/arch/csky/abiv2/ |
H A D | cacheflush.c | 4 #include <linux/cache.h> 7 #include <asm/cache.h>
|
/linux-master/fs/9p/ |
H A D | cache.c | 3 * V9FS cache definitions. 17 #include "cache.h" 65 v9inode->netfs.cache = 71 if (v9inode->netfs.cache)
|
/linux-master/fs/ext2/ |
H A D | xattr.h | 73 extern void ext2_xattr_destroy_cache(struct mb_cache *cache); 98 static inline void ext2_xattr_destroy_cache(struct mb_cache *cache) argument
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 89 echo -n "Checking $1 output: per cache instance " 95 perf stat --per-cache -a $2 true 96 commachecker --per-cache
|
/linux-master/drivers/base/regmap/ |
H A D | regcache-maple.c | 3 // Register cache access API - maple tree based cache 19 struct maple_tree *mt = map->cache; 41 struct maple_tree *mt = map->cache; 110 struct maple_tree *mt = map->cache; 241 struct maple_tree *mt = map->cache; 295 struct maple_tree *mt = map->cache; 310 map->cache = NULL; 318 struct maple_tree *mt = map->cache; 354 map->cache [all...] |
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8548si-post.dtsi | 136 L2: l2-cache-controller@20000 { 137 compatible = "fsl,mpc8548-l2-cache-controller"; 139 cache-line-size = <32>; // 32 bytes 140 cache-size = <0x80000>; // L2, 512K
|
H A D | p1020si-post.dtsi | 136 L2: l2-cache-controller@20000 { 137 compatible = "fsl,p1020-l2-cache-controller"; 139 cache-line-size = <32>; // 32 bytes 140 cache-size = <0x40000>; // L2,256K
|
/linux-master/arch/arm/mm/ |
H A D | cache-v4wb.S | 3 * linux/arch/arm/mm/cache-v4wb.S 14 * The size of one data cache line. 19 * The total size of the data cache. 26 # error Unknown cache size 31 * clean the whole cache, rather than using the individual 32 * cache line maintenance instructions. 58 mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache 65 * Clean and invalidate all cache entries in a particular address 73 * Clean and invalidate the entire cache. 77 mcr p15, 0, ip, c7, c5, 0 @ invalidate I cache [all...] |
/linux-master/mm/kfence/ |
H A D | report.c | 133 const struct kmem_cache *const cache = meta->cache; local 142 seq_con_printf(seq, "kfence-#%td: 0x%p-0x%p, size=%d, cache=%s\n\n", 144 size, (cache && cache->name) ? cache->name : "<destroyed>"); 314 kpp->kp_slab_cache = meta->cache;
|
/linux-master/fs/ecryptfs/ |
H A D | main.c | 658 struct kmem_cache **cache; member in struct:ecryptfs_cache_info 665 .cache = &ecryptfs_auth_tok_list_item_cache, 670 .cache = &ecryptfs_file_info_cache, 675 .cache = &ecryptfs_dentry_info_cache, 680 .cache = &ecryptfs_inode_info_cache, 687 .cache = &ecryptfs_sb_info_cache, 692 .cache = &ecryptfs_header_cache, 697 .cache = &ecryptfs_xattr_cache, 702 .cache = &ecryptfs_key_record_cache, 707 .cache [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_counters.c | 69 struct mlx5_fc_cache cache ____cacheline_aligned_in_smp; 162 struct mlx5_fc_cache *cache) 169 if (cache->packets == packets) 172 cache->packets = packets; 173 cache->bytes = bytes; 174 cache->lastuse = jiffies; 208 struct mlx5_fc_cache *cache = &counter->cache; local 215 update_counter_cache(counter_index, data, cache); 364 counter->cache 161 update_counter_cache(int index, u32 *bulk_raw_data, struct mlx5_fc_cache *cache) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | zoned.c | 236 /* Check cache */ 278 /* Populate cache */ 464 * Enable zone cache only for a zoned device. On a non-zoned device, we 466 * use the cache. 473 "zoned: failed to allocate zone cache for %s", 779 * Space cache writing is not COWed. Disable that to avoid write errors 783 btrfs_err(info, "zoned: space cache v1 is not supported"); 1211 static int calculate_alloc_pointer(struct btrfs_block_group *cache, argument 1214 struct btrfs_fs_info *fs_info = cache->fs_info; 1241 key.objectid = cache 1549 btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new) argument 1693 btrfs_calc_zone_unusable(struct btrfs_block_group *cache) argument 1716 struct btrfs_block_group *cache; local [all...] |
H A D | backref.c | 185 * to cache the sharedness check result. 606 * adding new delayed refs. To deal with this we need to look in cache 1248 * snapshot field changing while updating or checking the cache. 1267 * Level -1 is used for the data extent, which is not reliable to cache 1269 * realizing. We cache results only for extent buffers that lead from 1276 /* Unused cache entry or being used for some other extent buffer. */ 1318 * snapshot field changing while updating or checking the cache. 1338 * Level -1 is used for the data extent, which is not reliable to cache 1340 * realizing. We cache results only for extent buffers that lead from 1356 * If we found an extent buffer is shared, set the cache resul 3022 btrfs_backref_init_cache(struct btrfs_fs_info *fs_info, struct btrfs_backref_cache *cache, bool is_reloc) argument 3039 btrfs_backref_alloc_node( struct btrfs_backref_cache *cache, u64 bytenr, int level) argument 3060 btrfs_backref_free_node(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node) argument 3073 btrfs_backref_alloc_edge( struct btrfs_backref_cache *cache) argument 3084 btrfs_backref_free_edge(struct btrfs_backref_cache *cache, struct btrfs_backref_edge *edge) argument 3137 btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node) argument 3171 btrfs_backref_release_cache(struct btrfs_backref_cache *cache) argument 3226 handle_direct_tree_backref(struct btrfs_backref_cache *cache, struct btrfs_key *ref_key, struct btrfs_backref_node *cur) argument 3299 handle_indirect_tree_backref(struct btrfs_trans_handle *trans, struct btrfs_backref_cache *cache, struct btrfs_path *path, struct btrfs_key *ref_key, struct btrfs_key *tree_key, struct btrfs_backref_node *cur) argument 3467 btrfs_backref_add_tree_node(struct btrfs_trans_handle *trans, struct btrfs_backref_cache *cache, struct btrfs_path *path, struct btrfs_backref_iter *iter, struct btrfs_key *node_key, struct btrfs_backref_node *cur) argument 3589 btrfs_backref_finish_upper_links(struct btrfs_backref_cache *cache, struct btrfs_backref_node *start) argument 3690 btrfs_backref_error_cleanup(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node) argument [all...] |
/linux-master/mm/ |
H A D | slab.h | 249 * Slab cache management. 273 int refcount; /* Refcount for slab cache destroy */ 321 static inline void *nearest_obj(struct kmem_cache *cache, argument 324 void *object = x - (x - slab_address(slab)) % cache->size; 326 (slab->objects - 1) * cache->size; 329 result = fixup_red_left(cache, result); 334 static inline unsigned int __obj_to_index(const struct kmem_cache *cache, argument 338 cache->reciprocal_size); 341 static inline unsigned int obj_to_index(const struct kmem_cache *cache, argument 346 return __obj_to_index(cache, slab_addres 349 objs_per_slab(const struct kmem_cache *cache, const struct slab *slab) argument [all...] |
/linux-master/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzg2l.c | 272 * struct rzg2l_pinctrl_reg_cache - register cache structure (to be used in suspend/resume) 273 * @p: P registers cache 274 * @pm: PM registers cache 275 * @pmc: PMC registers cache 276 * @pfc: PFC registers cache 277 * @iolh: IOLH registers cache 278 * @ien: IEN registers cache 279 * @sd_ch: SD_CH registers cache 280 * @eth_poc: ET_POC registers cache 281 * @eth_mode: ETH_MODE register cache 318 struct rzg2l_pinctrl_reg_cache *cache; member in struct:rzg2l_pinctrl 2136 struct rzg2l_pinctrl_reg_cache *cache, *dedicated_cache; local 2413 struct rzg2l_pinctrl_reg_cache *cache = pctrl->cache; local 2462 struct rzg2l_pinctrl_reg_cache *cache = pctrl->dedicated_cache; local 2543 struct rzg2l_pinctrl_reg_cache *cache = pctrl->cache; local 2578 struct rzg2l_pinctrl_reg_cache *cache = pctrl->cache; local 2604 struct rzg2l_pinctrl_reg_cache *cache = pctrl->cache; local [all...] |
/linux-master/drivers/macintosh/ |
H A D | windfarm_smu_sat.c | 24 /* If the cache is older than 800ms we'll refetch it */ 31 unsigned long last_read; /* jiffies when cache last updated */ 32 u8 cache[16]; member in struct:wf_sat 114 /* refresh the cache */ 119 err = i2c_smbus_read_i2c_block_data(sat->i2c, 0x3f, 16, sat->cache); 129 16, 1, sat->cache, 16, false); 153 val = ((sat->cache[i] << 8) + sat->cache[i+1]) << sens->shift; 157 val = (val * ((sat->cache[i] << 8) + sat->cache[ [all...] |
/linux-master/net/ipv6/ |
H A D | rpl_iptunnel.c | 20 struct dst_cache cache; member in struct:rpl_lwt 105 err = dst_cache_init(&rlwt->cache, GFP_ATOMIC); 124 dst_cache_destroy(&rpl_lwt_lwtunnel(lwt)->cache); 216 dst = dst_cache_get(&rlwt->cache); 238 dst_cache_set_ip6(&rlwt->cache, dst, &fl6.saddr); 272 dst = dst_cache_get(&rlwt->cache); 280 dst_cache_set_ip6(&rlwt->cache, dst,
|
/linux-master/fs/nfs/ |
H A D | fscache.c | 2 /* NFS filesystem cache interface 82 * Get the cache cookie for an NFS superblock. 129 /* create a cache index for looking up filehandles */ 161 * Initialise the per-inode cache cookie pointer for an NFS inode. 169 netfs_inode(inode)->cache = NULL; 175 netfs_inode(inode)->cache = fscache_acquire_cookie( 184 if (netfs_inode(inode)->cache) 194 netfs_inode(inode)->cache = NULL; 201 * access() thrashing the cache. 204 * to use the cache [all...] |
/linux-master/arch/arm/boot/compressed/ |
H A D | head.S | 250 * Note that some cache flushing and other stuff may 615 * Did we skip the cache setup earlier? 687 * dcache_line_size - get the minimum D-cache line size from the CTR register 699 and \tmp, \tmp, #0xf @ cache line size encoding 701 mov \reg, \reg, lsl \tmp @ actual cache line size 705 * Turn on the cache. We need to setup some page tables so that we 735 mcr p15, 0, r0, c2, c0, 0 @ D-cache on 736 mcr p15, 0, r0, c2, c0, 1 @ I-cache on 764 mcr p15, 0, r0, c2, c0, 0 @ cache on 771 mcr p15, 0, r0, c7, c0, 0 @ invalidate whole cache v [all...] |
/linux-master/sound/soc/codecs/ |
H A D | wm_hubs.c | 152 struct wm_hubs_dcs_cache *cache; local 161 list_for_each_entry(cache, &hubs->dcs_cache, list) { 162 if (cache->left != left || cache->right != right) 165 *entry = cache; 175 struct wm_hubs_dcs_cache *cache; local 180 cache = devm_kzalloc(component->dev, sizeof(*cache), GFP_KERNEL); 181 if (!cache) 184 cache 244 struct wm_hubs_dcs_cache *cache; local [all...] |
/linux-master/drivers/hwmon/ |
H A D | applesmc.c | 134 struct applesmc_entry *cache; /* cached key entries */ member in struct:applesmc_registers 370 struct applesmc_entry *cache = &smcreg.cache[index]; local 375 if (cache->valid) 376 return cache; 380 if (cache->valid) 390 memcpy(cache->key, key, 4); 391 cache->len = info[0]; 392 memcpy(cache->type, &info[1], 4); 393 cache [all...] |