Lines Matching refs:kstack_ptr
54 unsigned long kstack_ptr = current->lowest_stack; in stackleak_erase() local
63 if (unlikely(kstack_ptr - boundary >= THREAD_SIZE)) in stackleak_erase()
64 kstack_ptr = boundary; in stackleak_erase()
67 while (kstack_ptr > boundary && poison_count <= depth) { in stackleak_erase()
68 if (*(unsigned long *)kstack_ptr == STACKLEAK_POISON) in stackleak_erase()
73 kstack_ptr -= sizeof(unsigned long); in stackleak_erase()
80 if (kstack_ptr == boundary) in stackleak_erase()
81 kstack_ptr += sizeof(unsigned long); in stackleak_erase()
84 current->prev_lowest_stack = kstack_ptr; in stackleak_erase()
97 while (kstack_ptr < boundary) { in stackleak_erase()
98 *(unsigned long *)kstack_ptr = STACKLEAK_POISON; in stackleak_erase()
99 kstack_ptr += sizeof(unsigned long); in stackleak_erase()