Lines Matching refs:kpsd
194 struct segkp_segdata *kpsd; in segkp_create() local
205 kpsd = kmem_zalloc(sizeof (struct segkp_segdata), KM_SLEEP); in segkp_create()
213 kpsd->kpsd_arena = vmem_create("segkp", NULL, 0, PAGESIZE, in segkp_create()
218 kpsd->kpsd_arena = vmem_create("segkp", seg->s_base, in segkp_create()
223 kpsd->kpsd_anon = anon_create(np, ANON_SLEEP | ANON_ALLOC_FORCE); in segkp_create()
225 kpsd->kpsd_hash = kmem_zalloc(SEGKP_HASHSZ * sizeof (struct segkp *), in segkp_create()
227 seg->s_data = (void *)kpsd; in segkp_create()
390 struct segkp_segdata *kpsd = (struct segkp_segdata *)seg->s_data; in segkp_get_internal() local
475 kpd->kp_anon = kpsd->kpsd_anon; in segkp_get_internal()
1275 struct segkp_segdata *kpsd = (struct segkp_segdata *)seg->s_data; in segkp_insert() local
1284 kpd->kp_next = kpsd->kpsd_hash[index]; in segkp_insert()
1285 kpsd->kpsd_hash[index] = kpd; in segkp_insert()
1295 struct segkp_segdata *kpsd = (struct segkp_segdata *)seg->s_data; in segkp_delete() local
1302 for (kpp = &kpsd->kpsd_hash[index]; in segkp_delete()
1326 struct segkp_segdata *kpsd = (struct segkp_segdata *)seg->s_data; in segkp_find() local
1334 for (kpd = kpsd->kpsd_hash[i]; kpd != NULL; in segkp_find()
1371 struct segkp_segdata *kpsd = (struct segkp_segdata *)seg->s_data; in segkp_dump() local
1374 for (kpd = kpsd->kpsd_hash[i]; in segkp_dump()