Home
last modified time | relevance | path

Searched refs:buf_shift (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/lib/
Dtst_buffers.c14 size_t buf_shift; member
25 for (i = 0; i < map->buf_shift/2; i++) { in setup_canary()
27 buf[map->buf_shift - i - 1] = c; in setup_canary()
37 for (i = 0; i < map->buf_shift/2; i++) { in check_canary()
38 if (buf[map->buf_shift - i - 1] != buf[i]) { in check_canary()
41 getpid(), (char*)map->addr + map->buf_shift, -i-1); in check_canary()
70 map->buf_shift = page_size - (size % page_size); in tst_alloc()
72 map->buf_shift = 0; in tst_alloc()
76 return ret + map->buf_shift; in tst_alloc()