Home
last modified time | relevance | path

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

/kernel/
Dkcov.c60 void *area; member
132 struct kcov_remote_area *area; in kcov_remote_area_get() local
136 area = list_entry(pos, struct kcov_remote_area, list); in kcov_remote_area_get()
137 if (area->size == size) { in kcov_remote_area_get()
138 list_del(&area->list); in kcov_remote_area_get()
139 return area; in kcov_remote_area_get()
146 static void kcov_remote_area_put(struct kcov_remote_area *area, in kcov_remote_area_put() argument
149 INIT_LIST_HEAD(&area->list); in kcov_remote_area_put()
150 area->size = size; in kcov_remote_area_put()
151 list_add(&area->list, &kcov_remote_areas); in kcov_remote_area_put()
[all …]
/kernel/events/
Duprobes.c1441 static int xol_add_vma(struct mm_struct *mm, struct xol_area *area) in xol_add_vma() argument
1454 if (!area->vaddr) { in xol_add_vma()
1456 area->vaddr = get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, in xol_add_vma()
1458 if (IS_ERR_VALUE(area->vaddr)) { in xol_add_vma()
1459 ret = area->vaddr; in xol_add_vma()
1464 vma = _install_special_mapping(mm, area->vaddr, PAGE_SIZE, in xol_add_vma()
1466 &area->xol_mapping); in xol_add_vma()
1474 smp_store_release(&mm->uprobes_state.xol_area, area); /* ^^^ */ in xol_add_vma()
1485 struct xol_area *area; in __create_xol_area() local
1487 area = kmalloc(sizeof(*area), GFP_KERNEL); in __create_xol_area()
[all …]
/kernel/dma/
Dremap.c11 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages() local
13 if (!area || area->flags != VM_DMA_COHERENT) in dma_common_find_pages()
15 return area->pages; in dma_common_find_pages()
62 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_free_remap() local
64 if (!area || area->flags != VM_DMA_COHERENT) { in dma_common_free_remap()
DKconfig149 comment "Default contiguous memory area size:"
157 Defines the size (in MiB) of the default memory area for Contiguous
168 Defines the size of the default memory area for Contiguous Memory
/kernel/irq/
Dmatrix.c113 unsigned int area, start = m->alloc_start; in matrix_alloc_area() local
118 area = bitmap_find_next_zero_area(m->scratch_map, end, start, num, 0); in matrix_alloc_area()
119 if (area >= end) in matrix_alloc_area()
120 return area; in matrix_alloc_area()
122 bitmap_set(cm->managed_map, area, num); in matrix_alloc_area()
124 bitmap_set(cm->alloc_map, area, num); in matrix_alloc_area()
125 return area; in matrix_alloc_area()
/kernel/bpf/
Dsyscall.c311 void *area; in __bpf_map_area_alloc() local
322 area = kmalloc_node(size, gfp | GFP_USER | __GFP_NORETRY, in __bpf_map_area_alloc()
324 if (area != NULL) in __bpf_map_area_alloc()
325 return area; in __bpf_map_area_alloc()
343 void bpf_map_area_free(void *area) in bpf_map_area_free() argument
345 kvfree(area); in bpf_map_area_free()