Searched refs:rotor (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 713 vmem_seg_t *vsp, *rotor; local 726 * The common case is that the segment right after the rotor is free, 730 * address of the victim segment. Instead of moving the rotor, we 731 * create the new segment structure *behind the rotor*, which has 733 * the rotor's neighbors because the new segment lies between them. 735 rotor = &vmp->vm_rotor; 736 vsp = rotor->vs_anext; 743 vmem_seg_create(vmp, rotor->vs_aprev, addr, addr + size)); 749 * Starting at the rotor, look for a segment large enough to 757 if (vsp == rotor) { [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | vmem.c | 818 vmem_seg_t *vsp, *rotor; local 831 * The common case is that the segment right after the rotor is free, 835 * address of the victim segment. Instead of moving the rotor, we 836 * create the new segment structure *behind the rotor*, which has 838 * the rotor's neighbors because the new segment lies between them. 840 rotor = &vmp->vm_rotor; 841 vsp = rotor->vs_anext; 848 vmem_seg_create(vmp, rotor->vs_aprev, addr, addr + size)); 854 * Starting at the rotor, look for a segment large enough to 862 if (vsp == rotor) { [all...] |
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 141 static int rotor; /* next slave to be instructed */ variable 827 if (++rotor >= SLAVES) { 828 rotor = 0; 830 slp = &slaves[rotor]; 848 rotor = 0; 1810 rotor = 0;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 864 metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor, argument 924 for (mgp = mg->mg_next; mgp != rotor; mgp = mgp->mg_next) { 2911 metaslab_group_t *mg, *rotor; local 2926 * Start at the rotor and loop through all mgs until we find something. 2952 * longer exists (i.e. removed). Consult the rotor when 2973 * metaslab group that has been passivated, just follow the rotor. 2978 rotor = mg; 3005 allocatable = metaslab_group_allocatable(mg, rotor, 3069 * this iteration around the rotor. 3101 } while ((mg = mg->mg_next) != rotor); [all...] |
Completed in 86 milliseconds