Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/test/
H A Dpragma.test30 PRAGMA cache_size;
38 PRAGMA cache_size=1234;
39 PRAGMA cache_size;
49 PRAGMA cache_size;
58 PRAGMA cache_size;
66 PRAGMA cache_size=4321;
67 PRAGMA cache_size;
76 PRAGMA cache_size;
86 PRAGMA cache_size;
95 PRAGMA cache_size;
[all …]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dproc64_id.c62 uint_t cache_size; in get_intel_cache_info() local
92 cache_size = ways * partitions * line_size * sets; in get_intel_cache_info()
95 l1_cache_size = cache_size; in get_intel_cache_info()
98 l2_cache_size = cache_size; in get_intel_cache_info()
102 largest_level_cache = cache_size; in get_intel_cache_info()
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dpragma.c223 db->cache_size = db->cache_size<0 ? -size : size; in sqlitePragma()
224 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
248 int size = db->cache_size;; in sqlitePragma()
255 if( db->cache_size<0 ) size = -size; in sqlitePragma()
256 db->cache_size = size; in sqlitePragma()
257 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
300 int size = db->cache_size; in sqlitePragma()
318 db->cache_size = size; in sqlitePragma()
319 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
342 int size = db->cache_size; in sqlitePragma()
[all …]
H A Dmain.c280 db->cache_size = size; in sqliteInitOne()
315 sqliteBtreeSetCacheSize(db->aDb[iDb].pBt, db->cache_size); in sqliteInitOne()
H A DsqliteInt.h355 int cache_size; /* Number of pages to use in the cache */ member
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_irm.c112 int cache_size; in apix_irm_init() local
181 cache_size = apix_irm_reserve_fixed_vectors; in apix_irm_init()
182 if ((cache_size == -1) || in apix_irm_init()
183 (cache_size > apix_irminfo.apix_ioapic_max_vectors)) in apix_irm_init()
184 cache_size = apix_irminfo.apix_ioapic_max_vectors; in apix_irm_init()
185 total_avail_vectors -= cache_size; in apix_irm_init()
186 apix_irm_cache_size = cache_size; in apix_irm_init()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_mmu.c49 uint32_t cache_size, tsb_entries; in px_mmu_attach() local
103 cache_size = MMU_PTOB(px_dvma_page_cache_entries * in px_mmu_attach()
106 cache_size - 1; in px_mmu_attach()
110 MMU_PTOB(tsb_entries) - cache_size, MMU_PAGE_SIZE, in px_mmu_attach()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_iommu.c55 size_t cache_size; in iommu_create() local
150 cache_size = IOMMU_PTOB(pci_dvma_page_cache_entries * in iommu_create()
153 cache_size - 1; in iommu_create()
156 IOMMU_PTOB(tsb_entries) - cache_size, IOMMU_PAGE_SIZE, in iommu_create()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dbuild_late_index.sh8 PRAGMA cache_size = 800000;
H A Dbuild_early_index.sh8 PRAGMA cache_size = 800000;
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c982 if (cache->cache_size == 0) { in di_cache2mem()
990 di_allocmem(st, cache->cache_size); in di_cache2mem()
1002 bcopy(cache->cache_data, pa, cache->cache_size); in di_cache2mem()
1004 return (cache->cache_size); in di_cache2mem()
1018 ASSERT(cache->cache_size == 0); in di_mem2cache()
1043 cache->cache_size = map_size; in di_mem2cache()
1044 di_copymem(st, cache->cache_data, cache->cache_size); in di_mem2cache()
3770 if (cache->cache_size == 0) { in di_cache_write()
3776 ASSERT(cache->cache_size > 0); in di_cache_write()
3799 if (all->map_size > cache->cache_size) { in di_cache_write()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c157 int *cache_size; variable
220 cache_size = NULL; in main()
290 cache_size[d] = get_cache_size(value); in main()
321 int *ip = cache_size; in main()
358 cache_size[i] ? cache_size[i] : default_cache); in main()
H A Dsetkey.c61 extern int *cache_size;
1939 cache_size = (int *)calloc((size_t)nmechs, sizeof (int)); in init_mechs()
1940 if (cache_size == NULL) { in init_mechs()
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c3195 size_t cache_size = umem_alloc_sizes[i]; in umem_cache_init() local
3198 if (cache_size == 0) in umem_cache_init()
3205 if (IS_P2ALIGNED(cache_size, 64)) in umem_cache_init()
3207 if (IS_P2ALIGNED(cache_size, pagesize)) in umem_cache_init()
3210 (long)cache_size); in umem_cache_init()
3212 cp = umem_cache_create(name, cache_size, align, in umem_cache_init()
3240 size_t cache_size = umem_alloc_sizes[i]; in umem_cache_init() local
3242 if (cache_size == 0) in umem_cache_init()
3247 while (size <= cache_size) { in umem_cache_init()
/illumos-gate/usr/src/uts/common/sys/
H A Dautoconf.h195 size_t cache_size; member
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c250 int cache_size) in __rpc_gss_set_server_parms() argument
256 if (cache_size > 0) in __rpc_gss_set_server_parms()
257 max_gss_contexts = cache_size; in __rpc_gss_set_server_parms()
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c4194 size_t cache_size = array[i]; in kmem_alloc_caches_create() local
4203 ASSERT(P2PHASE(cache_size, table_unit) == 0); in kmem_alloc_caches_create()
4209 if (IS_P2ALIGNED(cache_size, 64)) in kmem_alloc_caches_create()
4211 if (IS_P2ALIGNED(cache_size, PAGESIZE)) in kmem_alloc_caches_create()
4214 "kmem_alloc_%lu", cache_size); in kmem_alloc_caches_create()
4215 cp = kmem_cache_create(name, cache_size, align, in kmem_alloc_caches_create()
4218 while (size <= cache_size) { in kmem_alloc_caches_create()
H A Ddevcfg.c8059 if (cache->cache_size) { in i_ddi_di_cache_free()
8060 ASSERT(cache->cache_size > 0); in i_ddi_di_cache_free()
8063 kmem_free(cache->cache_data, cache->cache_size); in i_ddi_di_cache_free()
8065 cache->cache_size = 0; in i_ddi_di_cache_free()
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dfhc.h528 int cache_size; /* Cache size in bytes */ member
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c1287 if (cpu->cache_size) in info_set()
1289 (float)cpu->cache_size / in info_set()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c209 int cache_size = ibcm_path_cache_size_init; in ibcm_path_cache_init() local
213 path_cachep = kmem_zalloc(cache_size * sizeof (*path_cachep), KM_SLEEP); in ibcm_path_cache_init()
216 ibcm_path_cache_size = cache_size; in ibcm_path_cache_init()
227 int cache_size; in ibcm_path_cache_fini() local
235 cache_size = ibcm_path_cache_size; in ibcm_path_cache_fini()
241 kmem_free(path_cachep, cache_size * sizeof (*path_cachep)); in ibcm_path_cache_fini()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Djtag.c1403 cpu->cache_size = 0x80000; in jtag_get_board_info()
1408 cpu->cache_size = 0x100000; in jtag_get_board_info()