Lines Matching defs:seg_pcache

82 struct seg_pcache {
83 struct seg_pcache *p_hnext; /* list for hashed blocks */
84 struct seg_pcache *p_hprev;
101 struct seg_pcache *p_hnext; /* list for hashed blocks */
102 struct seg_pcache *p_hprev;
108 struct seg_pcache *p_hnext; /* list for hashed blocks */
109 struct seg_pcache *p_hprev;
157 kmem_cache_t *p_kmcache; /* kmem cache for seg_pcache structs */
244 #define plink2pcache(pl) ((struct seg_pcache *)((uintptr_t)(pl) - \
245 offsetof(struct seg_pcache, p_plink)))
294 ASSERT(hp->p_hnext->p_hnext == (struct seg_pcache *)hp);
295 ASSERT(hp->p_hprev->p_hprev == (struct seg_pcache *)hp);
421 static struct seg_pcache *
425 struct seg_pcache *pcp;
426 struct seg_pcache *delcallb_list = NULL;
431 for (pcp = hp->p_hnext; pcp != (struct seg_pcache *)hp;
466 struct seg_pcache *pcp;
475 * seg_pcache is off.
485 for (pcp = hp->p_hnext; pcp != (struct seg_pcache *)hp;
528 struct seg_pcache *pcp;
566 for (pcp = hp->p_hnext; pcp != (struct seg_pcache *)hp;
612 hp->p_hnext == (struct seg_pcache *)hp) {
804 struct seg_pcache *pcp;
809 struct seg_pcache *delcallb_list = NULL;
896 pcp->p_hprev = (struct seg_pcache *)hp;
939 struct seg_pcache *delcallb_list = NULL;
940 struct seg_pcache *pcp;
1007 if (hpw->p_hnext == (struct seg_pcache *)hpw) {
1014 pcp != (struct seg_pcache *)hpw;
1051 if (hp->p_hnext == (struct seg_pcache *)hp) {
1058 for (pcp = hp->p_hnext; pcp != (struct seg_pcache *)hp;
1101 if (hp->p_hnext == (struct seg_pcache *)hp) {
1197 struct seg_pcache *pcp;
1200 struct seg_pcache *delcallb_list = NULL;
1212 if (hp->p_hnext == (struct seg_pcache *)hp) {
1217 while (pcp != (struct seg_pcache *)hp) {
1271 struct seg_pcache *delcallb_list = NULL;
1272 struct seg_pcache *pcp;
1292 while (pcp != (struct seg_pcache *)hp) {
1338 if (hp->p_hnext == (struct seg_pcache *)hp) {
1387 seg_pkmcache = kmem_cache_create("seg_pcache",
1388 sizeof (struct seg_pcache), 0, NULL, NULL, NULL, NULL, NULL, 0);
1431 hp->p_hnext = (struct seg_pcache *)hp;
1432 hp->p_hprev = (struct seg_pcache *)hp;
1468 hp->p_hnext = (struct seg_pcache *)hp;
1469 hp->p_hprev = (struct seg_pcache *)hp;
1715 * seg_p_disable - disables seg_pcache, and then attempts to empty the
1752 * Attempt to purge seg_pcache. May need to return before this has