Searched refs:slew (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_vm_dep.c | 301 * If randomization is requested, slew the allocation 305 uint32_t slew; local 308 (void) random_get_pseudo_bytes((uint8_t *)&slew, 309 sizeof (slew)); 318 slew = slew % maxslew; 319 addr -= P2ALIGN(slew, align_amount);
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 332 * If randomization is requested, slew the allocation 336 uint32_t slew; local 338 (void) random_get_pseudo_bytes((uint8_t *)&slew, 339 sizeof (slew)); 341 slew = slew % MIN(aslr_max_map_skew, (addr - base)); 342 addr -= P2ALIGN(slew, align_amount);
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 633 int slew = 0; \ 638 slew = as_color_bin(as); \ 644 pfn += slew; \ 648 bin += slew >> (vac_shift - MMU_PAGESHIFT); \
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 794 * If randomization is requested, slew the allocation 798 uint32_t slew; local 800 (void) random_get_pseudo_bytes((uint8_t *)&slew, 801 sizeof (slew)); 803 slew = slew % MIN(aslr_max_map_skew, (addr - base)); 804 addr -= P2ALIGN(slew, align_amount);
|
Completed in 304 milliseconds