Lines Matching refs:ldapmemcacheRes
157 } ldapmemcacheRes;
176 ldapmemcacheRes *ldmemc_resHead[LIST_TOTAL];
177 ldapmemcacheRes *ldmemc_resTail[LIST_TOTAL];
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,
202 static int memcache_add_res_to_list(ldapmemcacheRes *pRes, LDAPMessage *pMsg,
204 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
999 ldapmemcacheRes *pRes;
1277 memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes)
1281 unsigned long size = sizeof(ldapmemcacheRes);
1304 memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
1328 memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
1344 memcache_add_res_to_list(ldapmemcacheRes *pRes, LDAPMessage *pMsg,
1369 ldapmemcacheRes *restmp;
1405 memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
1429 ldapmemcacheRes *pRes = NULL;
1435 pRes = (ldapmemcacheRes*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheRes));
1443 size += sizeof(ldapmemcacheRes) + strlen(basedn) + 1;
1459 ldapmemcacheRes *pRes = NULL;
1509 ldapmemcacheRes **ppRes = (ldapmemcacheRes**)pData2;
1532 ldapmemcacheRes *pCurRes = NULL;
1548 ldapmemcacheRes *pCurRes = cache->ldmemc_resTail[LIST_TTL];
1567 ldapmemcacheRes *pCurRes = cache->ldmemc_resHead[LIST_TTL];
1588 ldapmemcacheRes *pRes;
1651 ldapmemcacheRes *pRes = cache->ldmemc_resTail[LIST_LRU];
1857 ldapmemcacheRes *pRes = (ldapmemcacheRes*)pData;
1858 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
1859 ldapmemcacheRes *pCurRes = *ppHead;
1860 ldapmemcacheRes *pPrev = NULL;
1894 ldapmemcacheRes *pCurRes = (ldapmemcacheRes*)pTableData;
1921 ldapmemcacheRes *pHead = *((ldapmemcacheRes**)ppTableData);
1922 ldapmemcacheRes *pCurRes = NULL;
1923 ldapmemcacheRes *pPrev = NULL;
1974 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_next[LIST_TTL];
1978 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_htable_next;
1991 ldapmemcacheRes *pHead = *((ldapmemcacheRes**)ppTableData);
1992 ldapmemcacheRes *pPrev = NULL;
1993 ldapmemcacheRes *pCurRes = NULL;
2008 *((ldapmemcacheRes**)ppTableData) = pHead->ldmemcr_htable_next;
2024 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2025 ldapmemcacheRes *pSubHead = *ppHead;
2026 ldapmemcacheRes *pCurRes = NULL;
2052 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2053 ldapmemcacheRes *pRes = *ppHead;
2060 pRes = (ldapmemcacheRes*)pData;
2072 ldapmemcacheRes *pRes = (ldapmemcacheRes*)pTableData;
2091 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2092 ldapmemcacheRes *pRes = *ppHead;
2093 ldapmemcacheRes *pPrev = NULL;
2119 ldapmemcacheRes **ppHead = (ldapmemcacheRes**)ppTableData;
2120 ldapmemcacheRes *pRes = *ppHead;