Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 195) sorted by relevance

12345678

/linux-2.4.37.9/fs/intermezzo/
Dcache.c66 inline void presto_cache_add(struct presto_cache *cache, kdev_t dev) in presto_cache_add() argument
68 list_add(&cache->cache_chain, in presto_cache_add()
70 cache->cache_dev = dev; in presto_cache_add()
92 struct presto_cache *cache; in presto_cache_find() local
97 cache = list_entry(tmp, struct presto_cache, cache_chain); in presto_cache_find()
98 if ( cache->cache_dev == dev ) { in presto_cache_find()
99 return cache; in presto_cache_find()
109 struct presto_cache *cache; in presto_get_cache() local
112 cache = presto_cache_find(inode->i_dev); in presto_get_cache()
113 if ( !cache ) { in presto_get_cache()
[all …]
Dmethods.c63 inline struct super_operations *filter_c2usops(struct filter_fs *cache) in filter_c2usops() argument
65 return &cache->o_fops.filter_sops; in filter_c2usops()
68 inline struct inode_operations *filter_c2udiops(struct filter_fs *cache) in filter_c2udiops() argument
70 return &cache->o_fops.filter_dir_iops; in filter_c2udiops()
74 inline struct inode_operations *filter_c2ufiops(struct filter_fs *cache) in filter_c2ufiops() argument
76 return &cache->o_fops.filter_file_iops; in filter_c2ufiops()
79 inline struct inode_operations *filter_c2usiops(struct filter_fs *cache) in filter_c2usiops() argument
81 return &cache->o_fops.filter_sym_iops; in filter_c2usiops()
85 inline struct file_operations *filter_c2udfops(struct filter_fs *cache) in filter_c2udfops() argument
87 return &cache->o_fops.filter_dir_fops; in filter_c2udfops()
[all …]
Dsuper.c166 static int presto_set_channel(struct presto_cache *cache, char *channel) in presto_set_channel() argument
183 cache->cache_psdev = &(izo_channels[minor]); in presto_set_channel()
184 list_add(&cache->cache_channel_list, in presto_set_channel()
185 &cache->cache_psdev->uc_cache_list); in presto_set_channel()
197 struct presto_cache *cache = NULL; in presto_read_super() local
230 cache = presto_cache_init(); in presto_read_super()
231 if ( !cache ) { in presto_read_super()
236 cache->cache_type = cache_type; in presto_read_super()
239 minor = presto_set_channel(cache, channel); in presto_read_super()
246 cache_type, fileset?fileset:"NULL", minor, cache->cache_flags); in presto_read_super()
[all …]
Dinode.c94 struct presto_cache *cache; in presto_read_inode() local
96 cache = presto_get_cache(inode); in presto_read_inode()
97 if ( !cache ) { in presto_read_inode()
103 filter_c2csops(cache->cache_filter)->read_inode(inode); in presto_read_inode()
108 presto_set_ops(inode, cache->cache_filter); in presto_read_inode()
114 struct presto_cache *cache; in presto_put_super() local
121 cache = presto_cache_find(sb->s_dev); in presto_put_super()
122 if (!cache) { in presto_put_super()
126 channel = &izo_channels[presto_c2m(cache)]; in presto_put_super()
127 sops = filter_c2csops(cache->cache_filter); in presto_put_super()
[all …]
Ddir.c247 struct presto_cache *cache; in presto_lookup() local
255 cache = presto_get_cache(dir); in presto_lookup()
256 if (cache == NULL) { in presto_lookup()
262 minor = presto_c2m(cache); in presto_lookup()
264 iops = filter_c2cdiops(cache->cache_filter); in presto_lookup()
286 de = cache->cache_filter->o_trops->tr_ilookup in presto_lookup()
302 presto_set_ops(dentry->d_inode, cache->cache_filter); in presto_lookup()
338 struct presto_cache *cache; in presto_setattr() local
344 error = presto_prep(de, &cache, &fset); in presto_setattr()
364 if (!ISLENTO(presto_c2m(cache))) in presto_setattr()
[all …]
Dfile.c101 struct presto_cache *cache = fset->fset_cache; in open_check_dod() local
104 minor = presto_c2m(cache); in open_check_dod()
140 if (cache->cache_filter->o_trops->tr_all_data(file->f_dentry->d_inode)) { in open_check_dod()
152 struct presto_cache *cache; in presto_file_open() local
160 if (presto_prep(file->f_dentry, &cache, &fset) < 0) { in presto_file_open()
165 minor = presto_c2m(cache); in presto_file_open()
200 fops = filter_c2cffops(cache->cache_filter); in presto_file_open()
266 struct presto_cache *cache; in presto_file_release() local
272 rc = presto_prep(file->f_dentry, &cache, &fset); in presto_file_release()
278 fops = filter_c2cffops(cache->cache_filter); in presto_file_release()
[all …]
Dfileset.c183 struct presto_cache *cache; in presto_set_fsetroot() local
216 cache = presto_get_cache(dentry->d_inode); in presto_set_fsetroot()
217 if (!cache) { in presto_set_fsetroot()
238 fset->fset_cache = cache; in presto_set_fsetroot()
264 list_add(&fset->fset_list, &cache->cache_fset_list); in presto_set_fsetroot()
296 fset, dentry, fset->fset_dentry, fset->fset_name, cache, in presto_set_fsetroot()
320 struct presto_cache *cache; in izo_cleanup_fset() local
339 cache = fset->fset_cache; in izo_cleanup_fset()
372 int izo_clear_all_fsetroots(struct presto_cache *cache) in izo_clear_all_fsetroots() argument
379 tmp = &cache->cache_fset_list; in izo_clear_all_fsetroots()
[all …]
Dpresto.c65 struct presto_cache *cache; in presto_i2m() local
67 cache = presto_get_cache(inode); in presto_i2m()
69 if ( !cache ) { in presto_i2m()
76 return cache->cache_psdev->uc_minor; in presto_i2m()
85 inline int presto_c2m(struct presto_cache *cache) in presto_c2m() argument
87 return cache->cache_psdev->uc_minor; in presto_c2m()
329 struct presto_cache *cache; in izo_mark_cache() local
341 cache = presto_get_cache(dentry->d_inode); in izo_mark_cache()
342 if ( !cache ) { in izo_mark_cache()
347 cache->cache_flags &= and_flag; in izo_mark_cache()
[all …]
Dreplicator.c54 struct list_head *cache; in izo_rep_cache() local
55 PRESTO_ALLOC(cache, sizeof(struct list_head) * RCACHE_SIZE); in izo_rep_cache()
56 if (cache == NULL) { in izo_rep_cache()
60 memset(cache, 0, sizeof(struct list_head) * RCACHE_SIZE); in izo_rep_cache()
62 INIT_LIST_HEAD(&cache[i]); in izo_rep_cache()
64 return cache; in izo_rep_cache()
68 izo_rep_hash(struct list_head *cache, char *uuid) in izo_rep_hash() argument
70 return &cache[(RCACHE_MASK & uuid[1])]; in izo_rep_hash()
/linux-2.4.37.9/fs/nfs/
Dflushd.c64 struct nfs_reqlist *cache; in nfs_reqlist_init() local
76 cache = server->rw_requests; in nfs_reqlist_init()
79 if (cache->task) in nfs_reqlist_init()
84 cache->task = task; in nfs_reqlist_init()
87 cache->runat = jiffies; in nfs_reqlist_init()
89 cache->auth = server->client->cl_auth; in nfs_reqlist_init()
105 struct nfs_reqlist *cache; in nfs_reqlist_exit() local
108 cache = server->rw_requests; in nfs_reqlist_exit()
109 if (!cache) in nfs_reqlist_exit()
112 dprintk("NFS: reqlist_exit (ptr %p rpc %p)\n", cache, cache->task); in nfs_reqlist_exit()
[all …]
/linux-2.4.37.9/include/linux/
Dfsfilter.h76 struct super_operations *filter_c2usops(struct filter_fs *cache);
77 struct inode_operations *filter_c2ufiops(struct filter_fs *cache);
78 struct inode_operations *filter_c2udiops(struct filter_fs *cache);
79 struct inode_operations *filter_c2usiops(struct filter_fs *cache);
80 struct file_operations *filter_c2uffops(struct filter_fs *cache);
81 struct file_operations *filter_c2udfops(struct filter_fs *cache);
82 struct file_operations *filter_c2usfops(struct filter_fs *cache);
83 struct super_operations *filter_c2csops(struct filter_fs *cache);
84 struct inode_operations *filter_c2cfiops(struct filter_fs *cache);
85 struct inode_operations *filter_c2cdiops(struct filter_fs *cache);
[all …]
Deeprom.h31 u32 *cache; member
57 *ee->cache = readl(ee->addr); in setup_ee_mem_bitbanger()
67 data = *ee->cache; in eeprom_update()
73 *ee->cache = data; in eeprom_update()
/linux-2.4.37.9/Documentation/
Dcachetlb.txt6 This document describes the cache/tlb flushing interfaces called
16 thinking SMP cache/tlb flushing must be so inefficient, this is in
23 "TLB" is abstracted under Linux as something the cpu uses to cache
26 possible for stale translations to exist in this "TLB" cache.
95 Some platforms cache the lowest level of the software page tables
125 Next, we have the cache flushing interfaces. In general, when Linux
141 The cache level flush will always be first, because this allows
144 when that virtual address is flushed from the cache. The HyperSparc
147 The cache flushing routines below need only deal with cache flushing
161 the entire cpu cache is flushed.
[all …]
/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslaveld3 cache : ORIGIN = 0x380000f0,
12 } > cache
17 } > cache
21 } > cache
/linux-2.4.37.9/arch/m68k/kernel/
Dsys_m68k.c287 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() argument
294 switch (cache) in cache_flush_040()
347 switch (cache) in cache_flush_040()
404 switch (cache) in cache_flush_040()
447 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() argument
460 switch (cache) in cache_flush_060()
508 switch (cache) in cache_flush_060()
567 switch (cache) in cache_flush_060()
597 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() argument
604 cache & ~FLUSH_CACHE_BOTH) in sys_cacheflush()
[all …]
/linux-2.4.37.9/fs/smbfs/
Dcache.c33 union smb_dir_cache *cache = NULL; in smb_invalid_dir_cache() local
43 cache = kmap(page); in smb_invalid_dir_cache()
44 cache->head.time = jiffies - SMB_MAX_AGE(server); in smb_invalid_dir_cache()
178 ctl.cache = NULL; in smb_fill_cache()
183 ctl.cache = kmap(ctl.page); in smb_fill_cache()
185 if (ctl.cache) { in smb_fill_cache()
186 ctl.cache->dentry[ctl.idx] = newdent; in smb_fill_cache()
/linux-2.4.37.9/arch/mips/mm/
Dcex-sb1.S122 cache Index_Invalidate_I,(0<<13)(k0)
123 cache Index_Invalidate_I,(1<<13)(k0)
124 cache Index_Invalidate_I,(2<<13)(k0)
125 cache Index_Invalidate_I,(3<<13)(k0)
/linux-2.4.37.9/arch/mips64/mm/
Dcex-sb1.S122 cache Index_Invalidate_I,(0<<13)(k0)
123 cache Index_Invalidate_I,(1<<13)(k0)
124 cache Index_Invalidate_I,(2<<13)(k0)
125 cache Index_Invalidate_I,(3<<13)(k0)
/linux-2.4.37.9/net/ipv4/
Dipmr.c107 static int ip_mr_forward(struct sk_buff *skb, struct mfc_cache *cache, int local);
359 static void ipmr_update_threshoulds(struct mfc_cache *cache, unsigned char *ttls) in ipmr_update_threshoulds() argument
363 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_threshoulds()
364 cache->mfc_un.res.maxvif = 0; in ipmr_update_threshoulds()
365 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_threshoulds()
369 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_threshoulds()
370 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_threshoulds()
371 cache->mfc_un.res.minvif = vifi; in ipmr_update_threshoulds()
372 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_threshoulds()
373 cache->mfc_un.res.maxvif = vifi + 1; in ipmr_update_threshoulds()
[all …]
/linux-2.4.37.9/net/irda/
Dirlmp_frame.c410 irlmp->cache.dlsap_sel = self->dlsap_sel; in irlmp_update_cache()
411 irlmp->cache.slsap_sel = self->slsap_sel; in irlmp_update_cache()
412 irlmp->cache.lsap = self; in irlmp_update_cache()
413 irlmp->cache.valid = TRUE; in irlmp_update_cache()
435 if ((irlmp->cache.valid) && in irlmp_find_lsap()
436 (irlmp->cache.slsap_sel == slsap_sel) && in irlmp_find_lsap()
437 (irlmp->cache.dlsap_sel == dlsap_sel)) in irlmp_find_lsap()
439 return (irlmp->cache.lsap); in irlmp_find_lsap()
/linux-2.4.37.9/drivers/net/wireless/prism54/
Doid_mgt.c427 void *cache, *_data = data; in mgt_set_request() local
438 cache = priv->mib[n]; in mgt_set_request()
439 cache += (cache ? extra * dlen : 0); in mgt_set_request()
444 _data = cache; in mgt_set_request()
453 if (cache) in mgt_set_request()
465 } else if (!cache) in mgt_set_request()
468 if (cache) { in mgt_set_request()
470 memcpy(cache, _data, dlen); in mgt_set_request()
527 void *cache, *_res = NULL; in mgt_get_request() local
540 cache = priv->mib[n]; in mgt_get_request()
[all …]
/linux-2.4.37.9/include/asm-arm/
Dcpu-multi32.h63 } cache; member
138 #define cpu_cache_clean_invalidate_all() processor.cache.clean_invalidate_all()
139 #define cpu_cache_clean_invalidate_range(s,e,f) processor.cache.clean_invalidate_range(s,e,f)
140 #define cpu_flush_ram_page(vp) processor.cache._flush_ram_page(vp)
/linux-2.4.37.9/Documentation/arm/
DMEMC6 There is a cache of the MEMC settings held in tsk->tss.memcmap, which is
14 Update the MEMC cache for the specified task. If tsk is the
18 Update the MEMC cache for any task which has a mm_struct
23 Update the MEMC cache entry defined by the physical address
30 Couple the MEMC cache into the mm_struct so that we only have to
/linux-2.4.37.9/arch/ppc/platforms/
Dgemini_setup.c239 unsigned long cache; in gemini_init_l2() local
251 cache = (((reg >> 6) & 0x3) << 28); in gemini_init_l2()
253 cache = 0x3 << 28; in gemini_init_l2()
284 cache = l2_size_val; in gemini_init_l2()
300 cache |= ((1<<reg) << 25); in gemini_init_l2()
301 cache |= (L2CR_L2RAM_MASK|L2CR_L2CTL|L2CR_L2DO); in gemini_init_l2()
303 _set_L2CR(cache | L2CR_L2E); in gemini_init_l2()
/linux-2.4.37.9/drivers/s390/
Dccwcache.c159 request->cache = ccw_cache[cachind]; in ccw_alloc_request()
168 kmem_cache_free(request->cache, request); in ccw_alloc_request()
185 kmem_cache_free(request->cache, request); in ccw_alloc_request()
219 if ( request == NULL || request->cache == NULL) in ccw_free_request()
234 kmem_cache_free(request -> cache, request); in ccw_free_request()

12345678