/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 77 int dpmemsz, memsz; in cpm_uart_allocbuf() local 94 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 99 mem_addr = (u8 *) cpm_dpram_addr(cpm_dpalloc(memsz, 8)); in cpm_uart_allocbuf() 102 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf() 115 pinfo->mem_size = memsz; in cpm_uart_allocbuf()
|
D | cpm_uart_cpm2.c | 112 int dpmemsz, memsz; in cpm_uart_allocbuf() local 130 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 133 mem_addr = kzalloc(memsz, GFP_NOWAIT); in cpm_uart_allocbuf() 137 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf() 150 pinfo->mem_size = memsz; in cpm_uart_allocbuf()
|
/linux-4.4.14/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 160 u32 memsz = phdr->p_memsz; local 169 phdr->p_type, da, memsz, filesz); 171 if (filesz > memsz) { 173 filesz, memsz); 186 ptr = rproc_da_to_va(rproc, da, memsz); 188 dev_err(dev, "bad phdr da 0x%x mem 0x%x\n", da, memsz); 204 if (memsz > filesz) 205 memset(ptr + filesz, 0, memsz - filesz);
|
/linux-4.4.14/arch/mips/cobalt/ |
D | setup.c | 101 unsigned long memsz; in prom_init() local 105 memsz = fw_arg0 & 0x7fff0000; in prom_init() 115 add_memory_region(0x0, memsz, BOOT_MEM_RAM); in prom_init()
|
/linux-4.4.14/kernel/ |
D | kexec_file.c | 363 ksegment->memsz); in SYSCALL_DEFINE5() 392 temp_start = temp_end - kbuf->memsz; in locate_mem_hole_top_down() 401 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down() 433 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_bottom_up() 463 if (sz < kbuf->memsz) in locate_mem_hole_callback() 483 unsigned long memsz, unsigned long buf_align, in kexec_add_buffer() argument 517 kbuf->memsz = ALIGN(memsz, PAGE_SIZE); in kexec_add_buffer() 542 ksegment->memsz = kbuf->memsz; in kexec_add_buffer() 614 nullsz = ksegment->memsz - ksegment->bufsz; in kexec_calculate_store_digests() 630 sha_regions[j].len = ksegment->memsz; in kexec_calculate_store_digests() [all …]
|
D | kexec_core.c | 169 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 187 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 192 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list() 206 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list() 226 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list() 274 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range() 431 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages() 719 mbytes = segment->memsz; in kimage_load_normal_segment() 790 mbytes = segment->memsz; in kimage_load_crash_segment()
|
D | kexec.c | 248 out.memsz = in.memsz; in COMPAT_SYSCALL_DEFINE4()
|
/linux-4.4.14/include/linux/ |
D | kexec.h | 100 size_t memsz; member 108 compat_size_t memsz; member 193 unsigned long memsz; member 226 unsigned long bufsz, unsigned long memsz,
|
/linux-4.4.14/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 157 u16 memsz = FIFO_SIZE * (1 << fsz_type); in bdx_fifo_init() local 162 memsz + FIFO_EXTRA_SPACE, &f->da); in bdx_fifo_init() 173 f->memsz = memsz; in bdx_fifo_init() 174 f->size_mask = memsz - 1; in bdx_fifo_init() 191 f->memsz + FIFO_EXTRA_SPACE, f->va, f->da); in bdx_fifo_free() 1013 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init() 1125 delta = f->m.wptr - f->m.memsz; in bdx_rx_alloc_skbs() 1129 memcpy(f->m.va, f->m.va + f->m.memsz, delta); in bdx_rx_alloc_skbs() 1182 delta = f->m.wptr - f->m.memsz; in bdx_recycle_skb() 1186 memcpy(f->m.va, f->m.va + f->m.memsz, delta); in bdx_recycle_skb() [all …]
|
D | tehuti.h | 112 #define BDX_MAX_TX_LEVEL (priv->txd_fifo0.m.memsz - 16) 150 u16 memsz; /* memory size allocated for fifo */ member
|
/linux-4.4.14/arch/ia64/kernel/ |
D | elfcore.c | 52 size_t memsz = PAGE_ALIGN(gate_phdrs[i].p_memsz); in elf_core_write_extra_data() local 54 if (!dump_emit(cprm, addr, memsz)) in elf_core_write_extra_data()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 85 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 104 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 170 (unsigned long)__va(ranges[i].mem + ranges[i].memsz)); in kexec_copy_flush()
|
/linux-4.4.14/arch/sh/kernel/ |
D | machine_kexec.c | 63 image->segment[i].memsz, in kexec_info() 64 (unsigned int)image->segment[i].memsz); in kexec_info()
|
/linux-4.4.14/include/uapi/linux/ |
D | kexec.h | 55 size_t memsz; member
|
/linux-4.4.14/arch/arm/kernel/ |
D | machine_kexec.c | 61 current_segment->memsz)) in machine_kexec_prepare()
|
/linux-4.4.14/arch/x86/kernel/ |
D | machine_kexec_64.c | 133 mend = mstart + image->segment[i].memsz; in init_pgtable()
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | setup.c | 211 kimage_ptr->segment[i].memsz + 2*PAGE_SIZE, in octeon_generic_shutdown()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-l2c-defs.h | 3024 uint64_t memsz:3; member 3030 uint64_t memsz:3;
|