Searched refs:lastend (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/cve/ |
D | stack_clash.c | 99 unsigned long start, end, size, lastend = 0; in force_bottom_up() local 102 SAFE_FILE_SCANF("/proc/sys/vm/mmap_min_addr", "%lu", &lastend); in force_bottom_up() 115 size = start - lastend; in force_bottom_up() 119 lastend = end; in force_bottom_up() 128 SAFE_MMAP((void *)lastend, size, PROT_NONE, in force_bottom_up() 131 lastend = end; in force_bottom_up()
|
/third_party/ltp/testcases/kernel/mem/vma/ |
D | vma02.c | 67 void *addr, *start, *end, *lastend; in main() local 131 lastend = end; in main() 141 if (start == lastend) in main() 142 lastend = end; in main()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 581 int minlength, maxlength, laststart, lastend; in form_iorequest() local 655 lastend = fptr->f_lastoffset + fptr->f_lastlength - 1; in form_iorequest() 661 if (o_opt && lastend > laststart) in form_iorequest() 662 offset = random_range(laststart, lastend, 1, NULL); in form_iorequest() 664 offset = lastend + 1; in form_iorequest() 693 lastend = fptr->f_length; in form_iorequest() 707 if (o_opt && lastend > laststart) in form_iorequest() 708 offset += random_range(1, lastend - laststart, 1, NULL); in form_iorequest() 718 if (o_opt && lastend > laststart) { in form_iorequest() 724 if (lastend + length > fptr->f_length) { in form_iorequest() [all …]
|