Searched refs:mem (Results 1 – 11 of 11) sorted by relevance
/kernel/dma/ |
D | swiotlb.c | 215 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_print_info() local 217 if (!mem->nslabs) { in swiotlb_print_info() 222 pr_info("mapped [mem %pa-%pa] (%luMB)\n", &mem->start, &mem->end, in swiotlb_print_info() 223 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info() 242 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap() argument 247 phys_addr_t paddr = mem->start + swiotlb_unencrypted_base; in swiotlb_mem_remap() 258 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap() argument 272 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_update_mem_attributes() local 276 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes() 278 vaddr = phys_to_virt(mem->start); in swiotlb_update_mem_attributes() [all …]
|
D | coherent.c | 31 struct dma_coherent_mem * mem) in dma_get_device_base() argument 33 if (mem->use_dev_dma_pfn_offset) in dma_get_device_base() 34 return phys_to_dma(dev, PFN_PHYS(mem->pfn_base)); in dma_get_device_base() 35 return mem->device_base; in dma_get_device_base() 77 static void _dma_release_coherent_memory(struct dma_coherent_mem *mem) in _dma_release_coherent_memory() argument 79 if (!mem) in _dma_release_coherent_memory() 82 memunmap(mem->virt_base); in _dma_release_coherent_memory() 83 bitmap_free(mem->bitmap); in _dma_release_coherent_memory() 84 kfree(mem); in _dma_release_coherent_memory() 88 struct dma_coherent_mem *mem) in dma_assign_coherent_memory() argument [all …]
|
/kernel/ |
D | kexec_file.c | 389 i, ksegment->buf, ksegment->bufsz, ksegment->mem, in SYSCALL_DEFINE5() 451 kbuf->mem = temp_start; in locate_mem_hole_top_down() 485 kbuf->mem = temp_start; in locate_mem_hole_bottom_up() 609 if (kbuf->mem != KEXEC_BUF_MEM_UNKNOWN) in kexec_locate_mem_hole() 667 ksegment->mem = kbuf->mem; in kexec_add_buffer() 758 sha_regions[j].start = ksegment->mem; in kexec_calculate_store_digests() 882 bss_addr = kbuf->mem + kbuf->bufsz; in kexec_purgatory_setup_sechdrs() 918 kbuf->image->start += kbuf->mem + offset; in kexec_purgatory_setup_sechdrs() 925 sechdrs[i].sh_addr = kbuf->mem + offset; in kexec_purgatory_setup_sechdrs() 1151 int crash_exclude_mem_range(struct crash_mem *mem, in crash_exclude_mem_range() argument [all …]
|
D | kexec_core.c | 172 mstart = image->segment[i].mem; in sanity_check_segment_list() 191 mstart = image->segment[i].mem; in sanity_check_segment_list() 196 pstart = image->segment[j].mem; in sanity_check_segment_list() 243 mstart = image->segment[i].mem; in sanity_check_segment_list() 291 mstart = image->segment[i].mem; in kimage_is_destination_range() 459 mstart = image->segment[i].mem; in kimage_alloc_crash_control_pages() 791 maddr = segment->mem; in kimage_load_normal_segment() 864 maddr = segment->mem; in kimage_load_crash_segment()
|
D | kexec.c | 285 ksegments[i].mem = in.mem; in COMPAT_SYSCALL_DEFINE4()
|
D | relay.c | 110 void *mem; in relay_alloc_buf() local 126 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf() 127 if (!mem) in relay_alloc_buf() 130 memset(mem, 0, *size); in relay_alloc_buf() 132 return mem; in relay_alloc_buf()
|
D | kexec_elf.c | 416 kbuf->mem = KEXEC_BUF_MEM_UNKNOWN; in kexec_elf_load() 420 load_addr = kbuf->mem; in kexec_elf_load()
|
/kernel/trace/ |
D | trace_seq.c | 259 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem() argument 271 seq_buf_putmem(&s->seq, mem, len); in trace_seq_putmem() 285 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex() argument 302 seq_buf_putmem_hex(&s->seq, mem, len); in trace_seq_putmem_hex()
|
/kernel/debug/ |
D | gdbstub.c | 236 char *kgdb_mem2hex(char *mem, char *buf, int count) in kgdb_mem2hex() argument 247 err = copy_from_kernel_nofault(tmp, mem, count); in kgdb_mem2hex() 265 int kgdb_hex2mem(char *buf, char *mem, int count) in kgdb_hex2mem() argument 283 return copy_to_kernel_nofault(mem, tmp_raw, count); in kgdb_hex2mem() 323 static int kgdb_ebin2mem(char *buf, char *mem, int count) in kgdb_ebin2mem() argument 335 return copy_to_kernel_nofault(mem, c, size); in kgdb_ebin2mem()
|
/kernel/bpf/ |
D | cpumap.c | 238 rxq.mem = xdpf->mem; in cpu_map_bpf_prog_run_xdp()
|
/kernel/power/ |
D | Kconfig | 219 Enable this with a kernel parameter like "test_suspend=mem".
|