Lines Matching refs:pshmcache
130 struct pshmcache {
131 LIST_ENTRY(pshmcache) pshm_hash; /* hash chain */
136 #define PSHMCACHE_NULL (struct pshmcache *)0
169 LIST_HEAD(pshmhashhead, pshmcache) *pshmhashtbl; /* Hash Table */
187 static int pshm_cache_add(struct pshminfo *pshmp, struct pshmname *pnp, struct pshmcache *pcp);
188 static void pshm_cache_delete(struct pshmcache *pcp);
193 struct pshmcache **pcache, int addref);
232 struct pshmcache **pcache, int addref)
234 struct pshmcache *pcp, *nnp;
279 pshm_cache_add(struct pshminfo *pshmp, struct pshmname *pnp, struct pshmcache *pcp)
283 struct pshmcache *dpcp;
309 struct pshmcache *p;
341 struct pshmcache *pcp;
352 pshm_cache_delete(struct pshmcache *pcp)
377 struct pshmcache *pcache = PSHMCACHE_NULL; /* ignored on return */
384 struct pshmcache *pcp = NULL;
456 MALLOC(pcp, struct pshmcache *, sizeof(struct pshmcache), M_SHM, M_WAITOK|M_ZERO);
1012 struct pshmcache *pcache = PSHMCACHE_NULL;