Searched refs:vbest (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/os/ |
H A D | vmem.c | 941 vmem_seg_t *vbest = NULL; in vmem_xalloc() local 1007 for (vbest = NULL, vsp = (flist == 0) ? NULL : in vmem_xalloc() 1017 if (vbest != NULL) in vmem_xalloc() 1041 (vbest != NULL && VS_SIZE(vsp) >= VS_SIZE(vbest))) in vmem_xalloc() 1043 vbest = vsp; in vmem_xalloc() 1045 if (!(vmflag & VM_BESTFIT) || VS_SIZE(vbest) == size) in vmem_xalloc() 1048 if (vbest != NULL) in vmem_xalloc() 1138 vbest = vmem_span_create(vmp, vaddr, asize, 1); in vmem_xalloc() 1139 addr = P2PHASEUP(vbest->vs_start, align, phase); in vmem_xalloc() 1170 if (vbest != NULL) { in vmem_xalloc() [all …]
|
/titanic_41/usr/src/lib/libumem/common/ |
H A D | vmem.c | 819 vmem_seg_t *vbest = NULL; in vmem_xalloc() local 890 for (vbest = NULL, vsp = (flist == 0) ? NULL : in vmem_xalloc() 900 if (vbest != NULL) in vmem_xalloc() 924 (vbest != NULL && VS_SIZE(vsp) >= VS_SIZE(vbest))) in vmem_xalloc() 926 vbest = vsp; in vmem_xalloc() 928 if (!(vmflag & VM_BESTFIT) || VS_SIZE(vbest) == size) in vmem_xalloc() 931 if (vbest != NULL) in vmem_xalloc() 965 vbest = vmem_span_create(vmp, vaddr, asize, 1); in vmem_xalloc() 966 addr = P2PHASEUP(vbest->vs_start, align, phase); in vmem_xalloc() 981 if (vbest != NULL) { in vmem_xalloc() [all …]
|