Home
last modified time | relevance | path

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

/kernel/
Dkcov.c60 void *area; member
119 struct kcov_remote_area *area; in kcov_remote_area_get() local
124 area = list_entry(pos, struct kcov_remote_area, list); in kcov_remote_area_get()
125 if (area->size == size) { in kcov_remote_area_get()
126 list_del(&area->list); in kcov_remote_area_get()
127 kcov_debug("rv = %px\n", area); in kcov_remote_area_get()
128 return area; in kcov_remote_area_get()
136 static void kcov_remote_area_put(struct kcov_remote_area *area, in kcov_remote_area_put() argument
139 kcov_debug("area = %px, size = %u\n", area, size); in kcov_remote_area_put()
140 INIT_LIST_HEAD(&area->list); in kcov_remote_area_put()
[all …]
Dsysctl_binary.c1144 unsigned long area, node; in bin_dn_node_address() local
1161 area = simple_strtoul(buf, NULL, 10); in bin_dn_node_address()
1165 if ((area > 63)||(node > 1023)) in bin_dn_node_address()
1168 dnaddr = cpu_to_le16((area << 10) | node); in bin_dn_node_address()
/kernel/dma/
Dremap.c16 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages() local
18 if (!area || area->flags != VM_DMA_COHERENT) in dma_common_find_pages()
20 return area->pages; in dma_common_find_pages()
26 struct vm_struct *area; in __dma_common_pages_remap() local
28 area = get_vm_area_caller(size, VM_DMA_COHERENT, caller); in __dma_common_pages_remap()
29 if (!area) in __dma_common_pages_remap()
32 if (map_vm_area(area, prot, pages)) { in __dma_common_pages_remap()
33 vunmap(area->addr); in __dma_common_pages_remap()
37 return area; in __dma_common_pages_remap()
47 struct vm_struct *area; in dma_common_pages_remap() local
[all …]
DKconfig95 comment "Default contiguous memory area size:"
103 Defines the size (in MiB) of the default memory area for Contiguous
114 Defines the size of the default memory area for Contiguous Memory
/kernel/events/
Duprobes.c1443 static int xol_add_vma(struct mm_struct *mm, struct xol_area *area) in xol_add_vma() argument
1456 if (!area->vaddr) { in xol_add_vma()
1458 area->vaddr = get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, in xol_add_vma()
1460 if (area->vaddr & ~PAGE_MASK) { in xol_add_vma()
1461 ret = area->vaddr; in xol_add_vma()
1466 vma = _install_special_mapping(mm, area->vaddr, PAGE_SIZE, in xol_add_vma()
1468 &area->xol_mapping); in xol_add_vma()
1476 smp_store_release(&mm->uprobes_state.xol_area, area); /* ^^^ */ in xol_add_vma()
1487 struct xol_area *area; in __create_xol_area() local
1489 area = kmalloc(sizeof(*area), GFP_KERNEL); in __create_xol_area()
[all …]
/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.c142 void *area; in bpf_map_area_alloc() local
148 area = kmalloc_node(size, GFP_USER | __GFP_NORETRY | flags, in bpf_map_area_alloc()
150 if (area != NULL) in bpf_map_area_alloc()
151 return area; in bpf_map_area_alloc()
159 void bpf_map_area_free(void *area) in bpf_map_area_free() argument
161 kvfree(area); in bpf_map_area_free()