Lines Matching full:area
49 /* The lock protects mode, size, area and t. */
55 void *area; member
97 unsigned long *area; in __sanitizer_cov_trace_pc() local
105 area = t->kcov_area; in __sanitizer_cov_trace_pc()
107 pos = READ_ONCE(area[0]) + 1; in __sanitizer_cov_trace_pc()
109 area[pos] = ip; in __sanitizer_cov_trace_pc()
110 WRITE_ONCE(area[0], pos); in __sanitizer_cov_trace_pc()
119 u64 *area; in write_comp_data() local
132 area = (u64 *)t->kcov_area; in write_comp_data()
135 count = READ_ONCE(area[0]); in write_comp_data()
141 area[start_index] = type; in write_comp_data()
142 area[start_index + 1] = arg1; in write_comp_data()
143 area[start_index + 2] = arg2; in write_comp_data()
144 area[start_index + 3] = ip; in write_comp_data()
145 WRITE_ONCE(area[0], count + 1); in write_comp_data()
238 vfree(kcov->area); in kcov_put()
275 void *area; in kcov_mmap() local
280 area = vmalloc_user(vma->vm_end - vma->vm_start); in kcov_mmap()
281 if (!area) in kcov_mmap()
291 if (!kcov->area) { in kcov_mmap()
292 kcov->area = area; in kcov_mmap()
296 page = vmalloc_to_page(kcov->area + off); in kcov_mmap()
304 vfree(area); in kcov_mmap()
329 * Fault in a lazily-faulted vmalloc area before it can be used by
336 unsigned long *area = kcov->area; in kcov_fault_in_area() local
340 READ_ONCE(area[offset]); in kcov_fault_in_area()
376 if (kcov->mode != KCOV_MODE_INIT || !kcov->area) in kcov_ioctl_locked()
394 t->kcov_area = kcov->area; in kcov_ioctl_locked()