Searched defs:cache (Results 26 - 50 of 80) sorted by relevance

1234

/illumos-gate/usr/src/uts/sun4u/os/
H A Dplat_ecc_dimm.c113 dimm_sid_cache_t *cache; local
119 cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) *
125 cache[i].mcid = plat_make_fru_cpuid(bd, 0, p);
128 return (cache);
132 plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd) argument
150 * Each entry in the cache represents one mc.
156 if (cache[index].state != MC_DIMM_SIDS_REQUESTED)
162 dimmsidsp = cache[index].sids;
177 cache[index].state = MC_DIMM_SIDS_AVAILABLE;
182 plat_populate_sid_cache(dimm_sid_cache_t *cache, in argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/usb/
H A Dusb_busdma_loader.c97 usbd_copy_in(struct usb_page_cache *cache, usb_frlength_t offset, argument
104 usbd_get_page(cache, offset, &buf_res);
121 usbd_copy_out(struct usb_page_cache *cache, usb_frlength_t offset, argument
128 usbd_get_page(cache, offset, &res);
145 usbd_frame_zero(struct usb_page_cache *cache, usb_frlength_t offset, argument
152 usbd_get_page(cache, offset, &res);
226 /* setup page cache */
242 /* reset most of the page cache */
276 /* setup page cache */
299 * usb_pc_cpu_invalidate - invalidate CPU cache
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dresource.c146 * Possible update the contents of a single resource within the cache. This
160 * it and link it into our cache so that we can find it, but we're
565 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg; local
573 ASSERT(netsnmp_handler_check_cache(cache) != NULL);
583 cache);
588 request = cache->requests;
589 reqinfo = cache->reqinfo;
590 reginfo = cache->reginfo;
617 netsnmp_free_delegated_cache(cache);
626 netsnmp_free_delegated_cache(cache);
710 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg; local
[all...]
H A Dproblem.c697 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg; local
704 ASSERT(netsnmp_handler_check_cache(cache) != NULL);
714 cache);
719 request = cache->requests;
720 reqinfo = cache->reqinfo;
721 reginfo = cache->reginfo;
748 netsnmp_free_delegated_cache(cache);
757 netsnmp_free_delegated_cache(cache);
765 netsnmp_free_delegated_cache(cache);
825 netsnmp_free_delegated_cache(cache);
863 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_memory.c33 * implementation of memory-based credentials cache
116 krb5_mcc_data *cache; member in struct:krb5_mcc_list_node
131 * Creates/refreshes the file cred cache id. If the cache exists, its
158 * Closes the file cache, invalidates the id, and frees any resources
159 * associated with the cache.
205 if ((*curr)->cache == d) {
232 * creates a file-based cred cache that will reside in the file
233 * residual. The cache is not opened, but the filename is reserved.
266 if (!strcmp(ptr->cache
624 krb5_mcc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *creds) argument
[all...]
/illumos-gate/usr/src/common/fs/
H A Dufsops.c786 static struct cache { struct
787 struct cache *next;
796 struct cache *entry = bkmem_alloc(sizeof (*entry));
812 struct cache *entry = icache;
824 struct cache *next, *entry = icache;
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_cfgdef.h37 #include "cache.h"
71 nscd_cfg_cache_t cache; member in struct:__anon991
79 nscd_cfg_stat_cache_t cache; member in struct:__anon992
88 nscd_cfg_stat_cache_t cache; member in struct:__anon993
99 nscd_cfg_global_cache_t cache; member in struct:__anon994
136 { 0, "svc:/system/name-service-cache:default"},
348 "cache-hit-threads",
443 "param-group-global-cache",
448 cache,
455 "global-enable-cache",
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c49 /* cache flags */
78 static swap_file_t *cache; variable
163 while ((sf = cache) != NULL) {
164 cache = cache->next;
456 * cache pass 1 - mark everyone stale
458 for (sf = cache; sf != NULL; sf = sf->next) {
505 * cache pass 2
510 sf = cache;
641 while ((sf = cache) !
[all...]
H A Dfilesys_rcm.c104 /* cache functions */
171 * Locking: the cache is locked for the duration of this function.
187 * construction of a new cache, destruction of any old cache data,
190 * Locking: the cache is locked for the duration of this function.
204 "FILESYS: failed to synchronize cache (%s).\n",
218 * Manually walk through the cache, unregistering all the special
221 * Locking: the cache is locked throughout the execution of this
222 * routine because it reads and modifies cache links continuously.
236 /* Unregister everything in the cache */
694 cache_t *cache; local
952 cache_insert(cache_t *cache, struct mnttab *mt) argument
1047 cache_lookup(cache_t *cache, char *rsrc) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h104 typedef struct cache { struct
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c184 sqlite *cache = NULL, *db = NULL; local
200 /* Get cache handle */
201 result->retcode = get_cache_handle(&cache);
204 state.cache = cache;
432 /* Update cache in a single transaction */
433 if (sql_exec_no_cb(cache, IDMAP_CACHENAME, "BEGIN TRANSACTION;")
457 (void) sql_exec_no_cb(cache, IDMAP_CACHENAME,
460 (void) sql_exec_no_cb(cache, IDMAP_CACHENAME,
653 sqlite *cache local
[all...]
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c33 * List out the contents of your credential cache or keytab.
126 fprintf(stderr, gettext("\t-c specifies credentials cache\n"));
128 fprintf(stderr, gettext("\t (Default is credentials cache)\n"));
398 krb5_ccache cache = NULL; local
411 if ((code = krb5_cc_default(kcontext, &cache))) {
419 if ((code = krb5_cc_resolve(kcontext, name, &cache))) {
429 if ((code = krb5_cc_set_flags(kcontext, cache, flags))) {
432 com_err(progname, code, gettext("(ticket cache %s:%s)"),
433 krb5_cc_get_type(kcontext, cache),
434 krb5_cc_get_name(kcontext, cache));
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c29 * This module provides the kernel cache.
114 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit);
117 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit);
180 kidmap_cache_create(idmap_cache_t *cache) argument
182 avl_create(&cache->sid2pid.tree, (avl_comp_fn)kidmap_compare_sid,
184 mutex_init(&cache->sid2pid.mutex, NULL, MUTEX_DEFAULT, NULL);
185 cache->sid2pid.purge_time = 0;
186 cache->sid2pid.head.flink = &cache->sid2pid.head;
187 cache
209 kidmap_cache_delete(idmap_cache_t *cache) argument
244 kidmap_cache_get_data(idmap_cache_t *cache, size_t *uidbysid, size_t *gidbysid, size_t *pidbysid, size_t *sidbyuid, size_t *sidbygid) argument
264 kidmap_cache_purge(idmap_cache_t *cache) argument
320 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *uid) argument
350 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t *gid) argument
380 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user) argument
418 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, uid_t uid) argument
448 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, gid_t gid) argument
478 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t uid, int direction) argument
568 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t gid, int direction) argument
656 kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t pid, int is_user, int direction) argument
795 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit) argument
818 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit) argument
[all...]
H A Didmap_kapi.c90 idmap_cache_t cache; member in struct:idmap_zone_specific
160 kidmap_cache_purge(&zs->cache);
192 kidmap_cache_get_data(&zs->cache, uidbysid, gidbysid,
322 kidmap_cache_create(&zs->cache);
340 kidmap_cache_delete(&zs->cache);
395 * This is called by the system call allocids() to purge the cache for the
405 kidmap_cache_purge(&zs->cache);
441 if (kidmap_cache_lookup_uidbysid(&zs->cache, sid_prefix, rid, uid)
470 kidmap_cache_add_sid2uid(&zs->cache,
518 if (kidmap_cache_lookup_gidbysid(&zs->cache, sid_prefi
1199 idmap_cache_t *cache; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c33 * Simple hashed block cache
59 * bcache per device node. cache is allocated on device first open and freed
75 static u_int bcache_units; /* number of devices with cache */
95 * Initialise the cache for (nblks) of (bsize).
106 * add number of devices to bcache. we have to divide cache space
158 /* Flush the cache */
169 bcache_free(void *cache) argument
171 struct bcache *bc = cache;
182 * cache with the new values.
205 * be satisfied by the cache, us
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c75 DirNode *head; /* The head of the list of used and unused cache nodes */
77 DirNode *tail; /* The tail of the list of unused cache nodes */
81 * Specify how many directory cache nodes to allocate at a time.
105 DirCache cache; /* The cache of directory reader objects */ member in struct:ExpandFile
180 ef->cache.mem = NULL;
181 ef->cache.head = NULL;
182 ef->cache.next = NULL;
183 ef->cache.tail = NULL;
203 * Allocate a freelist for allocating directory cache node
692 DirCache *cache = &ef->cache; local
776 DirCache *cache = &ef->cache; local
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.c178 idmap_purge_sid2uid_gid_cache(sid2uid_gid_cache_t *cache, size_t limit);
181 idmap_purge_pid2sid_winname_cache(pid2sid_winname_cache_t *cache, size_t limit);
1453 idmap_purge_sid2uid_gid_cache(sid2uid_gid_cache_t *cache, size_t limit) argument
1458 while (avl_numnodes(&cache->tree) > limit) {
1460 item = cache->head.blink;
1462 avl_remove(&cache->tree, item);
1464 cache->uid_num--;
1466 cache->gid_num--;
1468 cache->pid_num--;
1474 cache
1479 idmap_purge_winname2uid_gid_cache(winname2uid_gid_cache_t *cache, size_t limit) argument
1505 idmap_purge_pid2sid_winname_cache(pid2sid_winname_cache_t *cache, size_t limit) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c56 #define TYPE_CACHE 1 /* lkb_cid is the bufctl's cache */
57 #define TYPE_KMEM 2 /* lkb_cid is the bufctl's cache */
61 #define LKM_CTL_CACHE 2 /* normal alloc, non-debug, PTR is cache */
68 static int kmem_lite_count = 0; /* cache of the kernel's version */
153 mdb_warn("cannot read arena %p for cache '%s'",
159 * If this cache isn't allocating from the kmem_default,
201 mdb_warn("can't walk kmem for cache %p (%s)", addr,
248 mdb_warn("can't walk freemem_constructed for cache %p (%s)",
532 * We also use the cache pointer as the leaks's cid, to
543 kmem_cache_t cache; local
665 kmem_cache_t cache; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c371 elfedit_section_t *cache; local
376 cache = &obj_state->os_secarr[cnt];
377 if (cache->sec_shdr->sh_type == SHT_SUNW_cap) {
380 EC_WORD(cnt), cache->sec_name);
381 *cap = (Cap *) cache->sec_data->d_buf;
382 *num = cache->sec_shdr->sh_size /
383 cache->sec_shdr->sh_entsize;
384 return (cache);
414 elfedit_section_t *cache; local
417 cache
453 elfedit_section_t *cache; local
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c50 static struct cachekey *cache = 0; variable in typeref:struct:cachekey
84 struct cachekey_header { /* First in each key cache file */
89 size_t reclength; /* cache file record size in bytes */
212 /* Construct cache file name */
222 syslog(LOG_WARNING, "cache file open error for mech %d-%d: %m",
229 syslog(LOG_WARNING, "cache file lock error for mech %d-%d: %m",
237 syslog(LOG_WARNING, "cache file fstat error for mech %d-%d: %m",
272 "cache file ftruncate error for mech %d-%d: %m",
287 "cache file mmap1 error for mech %d-%d: %m",
302 "cache fil
[all...]
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c27 * file systems to share a common cache. While this consisted primarily
49 #define ICACHE_SIZE 350 /* Max number of I-node in file cache */
62 typedef struct cache { /* Generic cache element: */ struct
63 struct cache *link[4]; /* .. Fwd/Bak links for hash chain & LRU */
64 struct cache **chn; /* .. Hash chain link */
70 typedef struct head { /* Generic cache header: */
73 int size; /* .. Size of "cache" objects */
76 int hits; /* .. Total cache hits */
81 /* Constructor for cache header
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h124 struct cache { struct
125 uint_t flags; /* cache state */
129 cache_node_t *root; /* root of cache tree */
148 struct cache cache; member in struct:di_devlink_handle
248 #define CACHE(h) (&(h)->cache)
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_vc.c426 /* NULL signifies no dup cache */
481 char *cache)
504 cd->cf_cache = cache;
1815 * dup cache wrapper functions for vc requests. The set of dup
1818 * which would have a size based cache, rather than a time based cache.
480 makefd_xprt(int fd, uint_t sendsize, uint_t recvsize, t_scalar_t tsdu, char *cache) argument
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c30 * memcache.c - routines that implement an in-memory cache.
64 /* Size used for calculation if given size of cache is 0 */
191 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
195 static int memcache_adj_size(LDAPMemCache *cache, unsigned long size,
197 static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes);
198 static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
200 static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
204 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
215 static int memcache_access(LDAPMemCache *cache, int mode,
218 static void memcache_print_list( LDAPMemCache *cache, in
488 ldap_memcache_flush( LDAPMemCache *cache, char *dn, int scope ) argument
858 memcache_validate_basedn(LDAPMemCache *cache, const char *basedn) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dleaky_subr.c58 #define TYPE_CACHE 3 /* lkb_cid is the bufctl's cache */
59 #define TYPE_UMEM 4 /* lkb_cid is the bufctl's cache */
64 #define LKM_CTL_CACHE 3 /* normal alloc, non-debug, PTR is cache */
434 mdb_warn("cannot read arena %p for cache '%s'",
440 * If this cache isn't allocating from either the umem_default or
445 dprintf(("Skipping cache '%s' with arena '%s'\n",
485 mdb_warn("can't walk umem for cache %p (%s)", addr,
811 * Also, we use the cache pointer as the leaks's cid, to
887 umem_cache_t cache; local
983 if (mdb_vread(&cache, sizeo
[all...]

Completed in 95 milliseconds

1234