Searched refs:icache (Results 1 - 25 of 34) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/lib/
H A Dinet_proto.c28 static int icache = -1; local
31 if (proto == icache)
36 icache = proto;
48 static int icache = -1; local
51 if (icache>=0 && strcmp(ncache, buf) == 0)
52 return icache;
63 icache = pe->p_proto;
H A Dll_map.c142 static int icache; local
148 if (icache && strcmp(name, ncache) == 0)
149 return icache;
153 icache = im->index;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dfreefs.c21 static void ext2fs_free_inode_cache(struct ext2_inode_cache *icache);
46 if (fs->icache)
47 ext2fs_free_inode_cache(fs->icache);
86 static void ext2fs_free_inode_cache(struct ext2_inode_cache *icache) argument
88 if (--icache->refcount)
90 ext2fs_free_mem(&icache->buffer);
91 ext2fs_free_mem(&icache->cache);
92 icache->buffer_blk = 0;
93 ext2fs_free_mem(&icache);
H A Dinode.c57 * This routine flushes the icache, if it exists.
63 if (!fs->icache)
66 for (i=0; i < fs->icache->cache_size; i++)
67 fs->icache->cache[i].ino = 0;
69 fs->icache->buffer_blk = 0;
77 if (fs->icache)
79 retval = ext2fs_get_mem(sizeof(struct ext2_inode_cache), &fs->icache);
83 memset(fs->icache, 0, sizeof(struct ext2_inode_cache));
84 retval = ext2fs_get_mem(fs->blocksize, &fs->icache->buffer);
86 ext2fs_free_mem(&fs->icache);
[all...]
H A Ddupfs.c45 if (fs->icache)
46 fs->icache->refcount++;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh4/
H A Dprobe.c37 * Setup some sane SH-4 defaults for the icache
39 current_cpu_data.icache.way_incr = (1 << 13);
40 current_cpu_data.icache.entry_shift = 5;
41 current_cpu_data.icache.sets = 256;
42 current_cpu_data.icache.ways = 1;
43 current_cpu_data.icache.linesz = L1_CACHE_BYTES;
95 current_cpu_data.icache.ways = 4;
102 current_cpu_data.icache.ways = 4;
114 current_cpu_data.icache.ways = 4;
124 current_cpu_data.icache
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/
H A Dc-r4k.c156 unsigned long end = start + current_cpu_data.icache.waysize;
157 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit;
158 unsigned long ws_end = current_cpu_data.icache.ways <<
159 current_cpu_data.icache.waybit;
185 unsigned long indexmask = current_cpu_data.icache.waysize - 1;
188 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit;
189 unsigned long ws_end = current_cpu_data.icache.ways <<
190 current_cpu_data.icache.waybit;
669 /* RM7000 erratum #31. The icache is screwed at startup. */
714 c->icache
[all...]
H A Dc-tx39.c33 /* This sequence is required to ensure icache is disabled immediately */
49 /* disable icache (set ICE#) */
89 /* disable icache (set ICE#) */
102 /* disable icache (set ICE#) */
115 /* disable icache (set ICE#) */
234 /* disable icache (set ICE#) */
281 unsigned long ic_lsize = current_cpu_data.icache.linesz;
288 /* disable icache (set ICE#) */
309 current_cpu_data.icache.linesz = 16;
312 current_cpu_data.icache
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh2a/
H A Dprobe.c31 * The icache is the same as the dcache as far as this setup is
32 * concerned. The only real difference in hardware is that the icache
36 current_cpu_data.icache = current_cpu_data.dcache;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/
H A Dinit.c69 current_cpu_data.icache.entry_mask = current_cpu_data.icache.way_incr -
70 current_cpu_data.icache.linesz;
72 current_cpu_data.icache.way_size = current_cpu_data.icache.sets *
73 current_cpu_data.icache.linesz;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/mm/
H A Dcache.c43 cpu_data->icache.ways = 4;
44 cpu_data->icache.sets = 256;
45 cpu_data->icache.linesz = L1_CACHE_BYTES;
47 cpu_data->icache.way_shift = 13;
48 cpu_data->icache.entry_shift = 5;
49 cpu_data->icache.set_shift = 4;
50 cpu_data->icache.way_step_shift = 16;
51 cpu_data->icache.asid_shift = 2;
57 cpu_data->icache.way_ofs = cpu_data->icache
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/
H A Dcpu.c228 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1);
229 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1);
230 boot_cpu_data.icache.linesz = 1 << (tmp + 1);
291 icache_size = boot_cpu_data.icache.ways *
292 boot_cpu_data.icache.sets *
293 boot_cpu_data.icache.linesz;
311 boot_cpu_data.icache.ways,
312 boot_cpu_data.icache.sets,
313 boot_cpu_data.icache.linesz);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/lib/
H A Dcache.S40 # Invalidate a range of dcache and icache
61 # Invalidate a range of icache
81 # Write back and invalidate a range of dcache and icache
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh2/
H A Dprobe.c41 current_cpu_data.icache = current_cpu_data.dcache;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dcpu-features.h93 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG)
99 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC)
118 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE)
209 #define cpu_icache_line_size() current_cpu_data.icache.linesz
H A Dcpu-info.h63 struct cache_desc icache; /* Primary I-cache */ member in struct:cpuinfo_mips
H A Dr4kcache.h397 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16)
400 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32)
402 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64)
429 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Dll_map.c142 static int icache; local
149 if (icache && strcmp(name, ncache) == 0) {
150 ret = icache;
156 icache = im->index;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dcpu-features.h93 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG)
99 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC)
118 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE)
209 #define cpu_icache_line_size() current_cpu_data.icache.linesz
H A Dcpu-info.h63 struct cache_desc icache; /* Primary I-cache */ member in struct:cpuinfo_mips
H A Dr4kcache.h397 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16)
400 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32)
402 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64)
429 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/
H A Dcache-sh4.c57 current_cpu_data.icache.ways,
58 current_cpu_data.icache.sets,
59 current_cpu_data.icache.way_incr);
61 current_cpu_data.icache.entry_mask,
62 current_cpu_data.icache.alias_mask,
63 current_cpu_data.icache.n_aliases);
90 compute_alias(&current_cpu_data.icache);
204 (v & current_cpu_data.icache.entry_mask);
209 for (i = 0; i < current_cpu_data.icache.ways;
210 i++, index += current_cpu_data.icache
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh3/
H A Dprobe.c102 current_cpu_data.icache = current_cpu_data.dcache;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dprocessor.h61 struct cache_info icache; member in struct:avr32_cpuinfo
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/
H A Dsetup.c337 seq_printf(m, "icache size\t: %dK-bytes\n",
338 (boot_cpu_data.icache.ways *
339 boot_cpu_data.icache.sets *
340 boot_cpu_data.icache.linesz) >> 10);

Completed in 143 milliseconds

12