Lines Matching refs:size
58 unsigned int size; member
76 unsigned int size; member
130 static struct kcov_remote_area *kcov_remote_area_get(unsigned int size) in kcov_remote_area_get() argument
137 if (area->size == size) { in kcov_remote_area_get()
147 unsigned int size) in kcov_remote_area_put() argument
150 area->size = size; in kcov_remote_area_put()
300 u64 size = cases[1]; in __sanitizer_cov_trace_switch() local
303 switch (size) { in __sanitizer_cov_trace_switch()
326 unsigned int size, void *area, enum kcov_mode mode, in kcov_start() argument
329 kcov_debug("t = %px, size = %u, area = %px\n", t, size, area); in kcov_start()
332 t->kcov_size = size; in kcov_start()
461 unsigned long size, off; in kcov_mmap() local
470 size = kcov->size * sizeof(unsigned long); in kcov_mmap()
472 vma->vm_end - vma->vm_start != size) { in kcov_mmap()
480 for (off = 0; off < size; off += PAGE_SIZE) { in kcov_mmap()
539 for (offset = 0; offset < kcov->size; offset += stride) in kcov_fault_in_area()
564 unsigned long size, unused; in kcov_ioctl_locked() local
583 size = arg; in kcov_ioctl_locked()
584 if (size < 2 || size > INT_MAX / sizeof(unsigned long)) in kcov_ioctl_locked()
586 kcov->size = size; in kcov_ioctl_locked()
607 kcov_start(t, kcov, kcov->size, kcov->area, kcov->mode, in kcov_ioctl_locked()
818 unsigned int size; in kcov_remote_start() local
866 size = kcov->remote_size; in kcov_remote_start()
867 area = kcov_remote_area_get(size); in kcov_remote_start()
869 size = CONFIG_KCOV_IRQ_AREA_SIZE; in kcov_remote_start()
876 area = vmalloc(size * sizeof(unsigned long)); in kcov_remote_start()
892 kcov_start(t, kcov, size, area, mode, sequence); in kcov_remote_start()
961 unsigned int size; in kcov_remote_stop() local
992 size = t->kcov_size; in kcov_remote_stop()
1007 kcov_move_area(kcov->mode, kcov->area, kcov->size, area); in kcov_remote_stop()
1012 kcov_remote_area_put(area, size); in kcov_remote_stop()