Searched refs:cache_size (Results 1 - 25 of 27) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/
H A Dcache-debugfs.c29 unsigned int waysize, way, cache_size; local
65 cache_size = cache->ways * cache->sets * cache->linesz;
67 (addrstart & 0x00ffffff) > cache_size)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dgdbmclose.c59 for (index = 0; index < dbf->cache_size; index++) {
H A Dgdbmreorg.c184 for (index = 0; index < dbf->cache_size; index++) {
200 dbf->cache_size = new_dbf->cache_size;
H A Dgdbmdefs.h184 int cache_size; member in struct:__anon2165
H A Dbucket.c89 for (index = 0; index < dbf->cache_size; index++)
100 dbf->last_read = (dbf->last_read + 1) % dbf->cache_size;
173 dbf->last_read = (dbf->last_read + 1) % dbf->cache_size;
182 dbf->last_read = (dbf->last_read + 1) % dbf->cache_size;
H A Dupdate.c82 for (index = 0; index < dbf->cache_size; index++)
H A Dtestgdbm.c129 dbf->cache_size);
130 for (index=0; index < dbf->cache_size; index++) {
179 int cache_size = DEFAULT_CACHESIZE; local
198 case 'c': cache_size = atoi(optarg);
234 if (gdbm_setopt(gdbm_file, GDBM_CACHESIZE, &cache_size, sizeof(int)) == -1)
H A Dgdbmopen.c92 dbf->cache_size = 0;
418 dbf->cache_size = size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dext2fsP.h70 int cache_size; member in struct:ext2_inode_cache
H A Dinode.c66 for (i=0; i < fs->icache->cache_size; i++)
91 fs->icache->cache_size = 4;
94 * fs->icache->cache_size,
490 for (i=0; i < fs->icache->cache_size; i++) {
556 fs->icache->cache_size;
590 for (i=0; i < fs->icache->cache_size; i++) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dsetup.c27 unsigned short cache_size; member in struct:cpu_info
97 info->cache_size,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdblock.c30 unsigned int cache_size; member in struct:mtdblk_dev
109 mtdblk->cache_offset, mtdblk->cache_size);
112 mtdblk->cache_size, mtdblk->cache_data);
132 unsigned int sect_size = mtdblk->cache_size;
180 mtdblk->cache_size = sect_size;
202 unsigned int sect_size = mtdblk->cache_size;
255 if (unlikely(!mtdblk->cache_data && mtdblk->cache_size)) {
291 mtdblk->cache_size = mtdblk->mtd->erasesize;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dpingpong.h43 size_t cache_size; /* size of cache in bytes */ member in struct:pingpong
H A Dpingpong.c318 * pp->cache_size is cast to ssize_t here. This should be safe, because
322 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1));
323 memcpy(ptr, pp->cache, pp->cache_size);
324 gotbytes = (ssize_t)pp->cache_size;
327 pp->cache_size = 0; /* zero the size just in case */
454 pp->cache_size = clipamount;
455 pp->cache = malloc(pp->cache_size);
457 memcpy(pp->cache, pp->linestart_resp, pp->cache_size);
H A Dimap.c443 size_t chunk = pp->cache_size;
456 if(pp->cache_size > chunk) {
459 pp->cache_size - chunk);
460 pp->cache_size -= chunk;
466 pp->cache_size = 0;
H A Dpop3.c390 result = Curl_pop3_write(conn, pp->cache, pp->cache_size);
397 pp->cache_size = 0;
431 result = Curl_pop3_write(conn, pp->cache, pp->cache_size);
438 pp->cache_size = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Dcache.c19 static int bignames_left, log_queries, cache_size, hash_size; variable
35 cache_size = size;
42 if (cache_size > 0)
54 for (hash_size = 64; hash_size < cache_size/10; hash_size = hash_size << 1);
606 if (cache_size > 0)
709 void dump_cache(int debug, int cache_size) argument
713 cache_size, cache_live_freed, cache_inserted);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dsetup.c455 unsigned int cache_size; local
457 cache_size = info.ways * info.sets * info.linesz;
460 type, cache_size >> 10, info.ways);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/mp/
H A Dmp_region.c356 roff_t reg_size, cache_size; local
364 cache_size = (roff_t)dbenv->mp_gbytes * GIGABYTE + dbenv->mp_bytes;
365 reg_size = cache_size / dbenv->mp_ncache;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dvfs.c1847 nfsd_racache_init(int cache_size) argument
1856 if (cache_size < 2*RAPARM_HASH_SIZE)
1857 cache_size = 2*RAPARM_HASH_SIZE;
1858 raparml = kcalloc(cache_size, sizeof(struct raparms), GFP_KERNEL);
1866 dprintk("nfsd: allocating %d readahead buffers.\n", cache_size);
1871 nperbucket = cache_size >> RAPARM_HASH_BITS;
1872 for (i = 0; i < cache_size - 1; i++) {
1879 nfsdstats.ra_size = cache_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dacenic.c900 unsigned char cache_size; local
1038 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cache_size);
1039 cache_size <<= 2;
1040 if (cache_size != SMP_CACHE_BYTES) {
1042 "(%i bytes) by BIOS/FW, ", cache_size);
1043 if (cache_size > SMP_CACHE_BYTES)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dcsr1212.c1269 u32 q, cache_size; local
1282 cache_size = (quads_to_bytes(kv->value.leaf.len + 1) +
1285 cache = csr1212_rom_cache_malloc(kv->offset, cache_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dpal.h168 u32 cache_size; /*cache size in bytes*/ member in struct:pal_cache_config_info_2_s::__anon8835
202 #define pcci_cache_size pcci_info_2.pcci2_bits.cache_size
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dhe.c1027 u8 cache_size, timer; local
1065 if (pci_read_config_byte(pci_dev, PCI_CACHE_LINE_SIZE, &cache_size)) {
1070 if (cache_size < 16) {
1071 cache_size = 16;
1072 if (pci_write_config_byte(pci_dev, PCI_CACHE_LINE_SIZE, cache_size))
1073 hprintk("can't set cache line size to %d\n", cache_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/squashfs/
H A Dmksquashfs.c132 unsigned int cache_bytes = 0, cache_size = 0, inode_count = 0; variable
674 data_space = (cache_size - cache_bytes);
676 int realloc_size = cache_size == 0 ? ((req_size + SQUASHFS_METADATA_SIZE) & ~(SQUASHFS_METADATA_SIZE - 1)) : req_size - data_space;
678 if((data_cache = (char *) realloc(data_cache, cache_size + realloc_size)) == NULL) {
681 cache_size += realloc_size;
3190 cache_size = root_inode_offset + root_inode_size;

Completed in 203 milliseconds

12