Searched refs:cachep (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 187 frutree_cache_t *cachep = NULL; in create_port_config_info() local 198 cachep = (frutree_cache_t *)malloc(sizeof (frutree_cache_t)); in create_port_config_info() 199 if (cachep == NULL) { in create_port_config_info() 225 cachep->buf[0] = '\0'; in create_port_config_info() 226 cachep->next = NULL; in create_port_config_info() 227 (void) snprintf(cachep->buf, in create_port_config_info() 228 sizeof (cachep->buf), in create_port_config_info() 252 devp->first = cachep; in create_port_config_info() 255 devp->last->next = cachep; in create_port_config_info() 256 devp->last = cachep; in create_port_config_info() [all …]
|
H A D | piclfrutree.c | 2395 free_cache(frutree_cache_t *cachep) in free_cache() argument 2398 if (cachep == NULL) in free_cache() 2401 while (cachep != NULL) { in free_cache() 2402 tmp = cachep; in free_cache() 2403 cachep = cachep->next; in free_cache() 2489 frutree_cache_t *cachep = NULL; in create_fru_children() local 2491 cachep = device.first; in create_fru_children() 2492 if (cachep == NULL) { in create_fru_children() 2521 while (cachep != NULL) { in create_fru_children() 2522 if (write(fd, cachep->buf, strlen(cachep->buf)) in create_fru_children() [all …]
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 2557 struct portmap_cache *cachep, *prev, *next = NULL, *cp; local 2577 for (cachep = portmap_cache_head; cachep; 2578 cachep = cachep->cache_next) { 2579 if (timenow > cachep->cache_time) { 2625 if (cachep->cache_hostname == NULL || 2626 prog != cachep->cache_prog || vers != cachep->cache_vers || 2627 strcmp(nconf->nc_proto, cachep->cache_proto) != 0 || 2628 strcmp(nconf->nc_protofmly, cachep->cache_protofmly) != 0 || 2629 strcmp(hostname, cachep->cache_hostname) != 0) 2637 addrp->len = cachep->cache_srv_addr.len; [all …]
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | memcache.c | 255 LDAPMemCache **cachep ) in ldap_memcache_init() argument 261 if ( cachep == NULL ) { in ldap_memcache_init() 265 if ((*cachep = (LDAPMemCache*)NSLDAPI_CALLOC(1, in ldap_memcache_init() 272 (*cachep)->ldmemc_ttl = ttl; in ldap_memcache_init() 273 (*cachep)->ldmemc_size = size; in ldap_memcache_init() 274 (*cachep)->ldmemc_lds = NULL; in ldap_memcache_init() 280 memcpy(&((*cachep)->ldmemc_lock_fns), thread_fns, in ldap_memcache_init() 283 memset(&((*cachep)->ldmemc_lock_fns), 0, in ldap_memcache_init() 287 (*cachep)->ldmemc_lock = LDAP_MEMCACHE_MUTEX_ALLOC( *cachep ); in ldap_memcache_init() 298 (*cachep)->ldmemc_basedns = (char**)NSLDAPI_CALLOC(i + 1, in ldap_memcache_init() [all …]
|
H A D | llib-lldap | 519 …tl, unsigned long size, char **baseDNs, struct ldap_thread_fns *thread_fns, LDAPMemCache **cachep); 522 int ldap_memcache_get(LDAP *ld, LDAPMemCache **cachep);
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 785 free_cache(cache_t **cachep) in free_cache() argument 792 if ((cachep == NULL) || (*cachep == NULL)) in free_cache() 795 if ((*cachep)->mounts) { in free_cache() 797 for (index = 0; index < (*cachep)->hash_size; index++) { in free_cache() 798 entry = (*cachep)->mounts[index]; in free_cache() 805 free((*cachep)->mounts); in free_cache() 808 free(*cachep); in free_cache() 809 *cachep = NULL; in free_cache() 862 cache_sync(rcm_handle_t *hd, cache_t **cachep) in cache_sync() argument 871 if ((hd == NULL) || (cachep == NULL)) { in cache_sync() [all …]
|
/titanic_50/usr/src/cmd/keyserv/ |
H A D | setkey.c | 1392 struct cachekey3_list **cpp, *cp, *cachep; in getdeskey3() local 1420 if ((cachep = cache_retrieve(keylen, algtype, uid, in getdeskey3() 1422 if (cmpkeybuf3(cachep->secret, cu->secretkey)) { in getdeskey3() 1433 cp = cachep; in getdeskey3()
|
/titanic_50/usr/src/head/ |
H A D | ldap.h | 1335 LDAPMemCache **cachep); 1337 int LDAP_CALL ldap_memcache_get(LDAP *ld, LDAPMemCache **cachep);
|