Lines Matching defs:conf
58 #include <sys/conf.h>
487 struct shm_largepage_conf *conf;
502 conf = data;
504 conf->psind != shmfd->shm_lp_psind)
506 if (conf->psind <= 0 || conf->psind >= MAXPAGESIZES ||
507 pagesizes[conf->psind] == 0)
509 if (conf->alloc_policy != SHM_LARGEPAGE_ALLOC_DEFAULT &&
510 conf->alloc_policy != SHM_LARGEPAGE_ALLOC_NOWAIT &&
511 conf->alloc_policy != SHM_LARGEPAGE_ALLOC_HARD)
516 shmfd->shm_lp_psind = conf->psind;
517 shmfd->shm_lp_alloc_policy = conf->alloc_policy;
518 shmfd->shm_object->un_pager.phys.data_val = conf->psind;
524 conf = data;
527 conf->psind = shmfd->shm_lp_psind;
528 conf->alloc_policy = shmfd->shm_lp_alloc_policy;