Lines Matching refs:ldapmemcacheRes

156 } ldapmemcacheRes;  typedef
175 ldapmemcacheRes *ldmemc_resHead[LIST_TOTAL];
176 ldapmemcacheRes *ldmemc_resTail[LIST_TOTAL];
196 static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes);
197 static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
199 static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
201 static int memcache_add_res_to_list(ldapmemcacheRes *pRes, LDAPMessage *pMsg,
203 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
998 ldapmemcacheRes *pRes;
1276 memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes)
1280 unsigned long size = sizeof(ldapmemcacheRes);
1303 memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
1327 memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
1343 memcache_add_res_to_list(ldapmemcacheRes *pRes, LDAPMessage *pMsg,
1368 ldapmemcacheRes *restmp;
1404 memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
1428 ldapmemcacheRes *pRes = NULL;
1434 pRes = (ldapmemcacheRes*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheRes));
1442 size += sizeof(ldapmemcacheRes) + strlen(basedn) + 1;
1458 ldapmemcacheRes *pRes = NULL;
1508 ldapmemcacheRes **ppRes = (ldapmemcacheRes**)pData2;
1531 ldapmemcacheRes *pCurRes = NULL;
1547 ldapmemcacheRes *pCurRes = cache->ldmemc_resTail[LIST_TTL];
1566 ldapmemcacheRes *pCurRes = cache->ldmemc_resHead[LIST_TTL];
1587 ldapmemcacheRes *pRes;
1650 ldapmemcacheRes *pRes = cache->ldmemc_resTail[LIST_LRU];
1856 ldapmemcacheRes *pRes = (ldapmemcacheRes*)pData;
1857 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
1858 ldapmemcacheRes *pCurRes = *ppHead;
1859 ldapmemcacheRes *pPrev = NULL;
1893 ldapmemcacheRes *pCurRes = (ldapmemcacheRes*)pTableData;
1920 ldapmemcacheRes *pHead = *((ldapmemcacheRes**)ppTableData);
1921 ldapmemcacheRes *pCurRes = NULL;
1922 ldapmemcacheRes *pPrev = NULL;
1973 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_next[LIST_TTL];
1977 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_htable_next;
1990 ldapmemcacheRes *pHead = *((ldapmemcacheRes**)ppTableData);
1991 ldapmemcacheRes *pPrev = NULL;
1992 ldapmemcacheRes *pCurRes = NULL;
2007 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_htable_next;
2023 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2024 ldapmemcacheRes *pSubHead = *ppHead;
2025 ldapmemcacheRes *pCurRes = NULL;
2051 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2052 ldapmemcacheRes *pRes = *ppHead;
2059 pRes = (ldapmemcacheRes*)pData;
2071 ldapmemcacheRes *pRes = (ldapmemcacheRes*)pTableData;
2090 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2091 ldapmemcacheRes *pRes = *ppHead;
2092 ldapmemcacheRes *pPrev = NULL;
2118 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2119 ldapmemcacheRes *pRes = *ppHead;