/linux/mm/ |
A D | bootmem_info.c | 44 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 60 mapsize = sizeof(struct page) * PAGES_PER_SECTION; in register_page_bootmem_info_section() 61 mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; in register_page_bootmem_info_section() 64 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section() 70 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section() 72 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section() 79 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 94 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section() 96 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
|
/linux/drivers/irqchip/ |
A D | irq-ls-extirq.c | 101 u32 mapsize; in ls_extirq_parse_map() local 104 map = of_get_property(node, "interrupt-map", &mapsize); in ls_extirq_parse_map() 107 if (mapsize % sizeof(*map)) in ls_extirq_parse_map() 109 mapsize /= sizeof(*map); in ls_extirq_parse_map() 111 while (mapsize) { in ls_extirq_parse_map() 115 if (mapsize < 3) in ls_extirq_parse_map() 124 mapsize -= 3; in ls_extirq_parse_map() 132 if (intsize > mapsize) in ls_extirq_parse_map() 138 mapsize -= intsize; in ls_extirq_parse_map()
|
/linux/fs/xfs/scrub/ |
A D | attr.c | 192 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_set_map() local 195 if (start >= mapsize) in xchk_xattr_set_map() 197 if (start + len > mapsize) { in xchk_xattr_set_map() 198 len = mapsize - start; in xchk_xattr_set_map() 202 if (find_next_bit(map, mapsize, start) < start + len) in xchk_xattr_set_map() 221 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_check_freemap() local 225 bitmap_zero(freemap, mapsize); in xchk_xattr_check_freemap() 234 return bitmap_and(dstmap, freemap, map, mapsize) == 0; in xchk_xattr_check_freemap()
|
/linux/drivers/firmware/efi/ |
A D | riscv-runtime.c | 68 u64 mapsize; in riscv_enable_runtime_services() local 77 mapsize = efi.memmap.desc_size * efi.memmap.nr_map; in riscv_enable_runtime_services() 79 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in riscv_enable_runtime_services()
|
A D | arm-runtime.c | 90 u64 mapsize; in arm_enable_runtime_services() local 99 mapsize = efi.memmap.desc_size * efi.memmap.nr_map; in arm_enable_runtime_services() 101 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in arm_enable_runtime_services()
|
/linux/drivers/spi/ |
A D | spi-ppc4xx.c | 116 u64 mapsize; member 408 hw->mapsize = resource_size(&resource); in spi_ppc4xx_of_probe() 411 if (hw->mapsize < sizeof(struct spi_ppc4xx_regs)) { in spi_ppc4xx_of_probe() 426 if (!request_mem_region(hw->mapbase, hw->mapsize, DRIVER_NAME)) { in spi_ppc4xx_of_probe() 457 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_probe() 473 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_remove()
|
/linux/tools/virtio/ |
A D | vringh_test.c | 142 int fd, mapsize, to_guest[2], to_host[2]; in parallel_test() local 154 mapsize = vring_size(RINGSIZE, ALIGN) in parallel_test() 157 mapsize = (mapsize + getpagesize() - 1) & ~(getpagesize() - 1); in parallel_test() 158 ftruncate(fd, mapsize); in parallel_test() 161 host_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test() 162 guest_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test() 178 munmap(guest_map, mapsize); in parallel_test() 181 __user_addr_max = __user_addr_min + mapsize; in parallel_test() 304 munmap(host_map, mapsize); in parallel_test()
|
/linux/drivers/char/ipmi/ |
A D | ipmi_si_mem_io.c | 79 int mapsize, idx; in ipmi_si_mem_setup() local 135 mapsize = ((io->io_size * io->regspacing) in ipmi_si_mem_setup() 137 io->addr = ioremap(addr, mapsize); in ipmi_si_mem_setup()
|
/linux/fs/reiserfs/ |
A D | procfs.c | 274 unsigned int mapsize = le16_to_cpu(rs->s_v1.s_oid_cursize); in show_oidmap() local 278 for (i = 0; i < mapsize; ++i) { in show_oidmap() 281 right = (i == mapsize - 1) ? MAX_KEY_OBJECTID : MAP(i + 1); in show_oidmap() 295 mapsize, in show_oidmap() 296 mapsize, le16_to_cpu(rs->s_v1.s_oid_maxsize), total_used); in show_oidmap()
|
/linux/drivers/mtd/chips/ |
A D | gen_probe.c | 64 int i, j, mapsize; in genprobe_ident_chips() local 114 mapsize = sizeof(long) * DIV_ROUND_UP(max_chips, BITS_PER_LONG); in genprobe_ident_chips() 115 chip_map = kzalloc(mapsize, GFP_KERNEL); in genprobe_ident_chips()
|
/linux/drivers/video/fbdev/sis/ |
A D | sis_main.c | 4168 if (*mapsize < (min << 20)) in sisfb_post_map_vram() 4176 (*mapsize) >>= 1; in sisfb_post_map_vram() 4178 (*mapsize) >>= 1; in sisfb_post_map_vram() 4179 if((*mapsize) < (min << 20)) in sisfb_post_map_vram() 4185 (int)((*mapsize) >> 20)); in sisfb_post_map_vram() 4340 mapsize)) in sisfb_post_300_ramsize() 4353 unsigned int mapsize; in sisfb_post_sis300() local 4501 mapsize = ivideo->video_size; in sisfb_post_sis300() 4610 if(pos < mapsize) in sisfb_post_xgi_rwtest() 4621 if(pos < mapsize) { in sisfb_post_xgi_rwtest() [all …]
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_fsl.c | 129 port8250.port.mapsize = resource_size(regs); in fsl8250_acpi_probe() 134 port8250.port.mapsize); in fsl8250_acpi_probe()
|
A D | 8250_core.c | 724 p->mapsize = port->mapsize; in early_serial_setup() 1002 uart->port.mapsize = up->port.mapsize; in serial8250_register_8250_port()
|
A D | 8250_bcm2835aux.c | 129 up.port.mapsize = resource_size(res); in bcm2835aux_serial_probe()
|
A D | 8250_tegra.c | 88 port->mapsize = resource_size(res); in tegra_uart_probe()
|
A D | 8250_uniphier.c | 212 up.port.mapsize = resource_size(regs); in uniphier_uart_probe()
|
A D | 8250_of.c | 83 port->mapsize = resource_size(&resource); in of_platform_serial_setup()
|
A D | 8250_aspeed_vuart.c | 436 port.port.mapsize = resource_size(res); in aspeed_vuart_probe()
|
/linux/drivers/nvdimm/ |
A D | btt.c | 413 size_t mapsize = arena->logoff - arena->mapoff; in btt_map_init() local 427 while (mapsize) { in btt_map_init() 428 size_t size = min(mapsize, chunk_size); in btt_map_init() 438 mapsize -= size; in btt_map_init() 750 u64 logsize, mapsize, datasize; in alloc_arena() local 787 mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); in alloc_arena() 788 datasize = available - mapsize; in alloc_arena() 794 arena->logoff = arena->mapoff + mapsize; in alloc_arena()
|
/linux/drivers/tty/serial/ |
A D | meson_uart.c | 400 devm_release_mem_region(port->dev, port->mapbase, port->mapsize); in meson_uart_release_port() 405 if (!devm_request_mem_region(port->dev, port->mapbase, port->mapsize, in meson_uart_request_port() 412 port->mapsize); in meson_uart_request_port() 768 port->mapsize = resource_size(res_mem); in meson_uart_probe()
|
A D | mps2-uart.c | 566 mps_port->port.mapsize = resource_size(res); in mps2_init_port()
|
/linux/arch/parisc/include/asm/ |
A D | grfioctl.h | 68 unsigned int mapsize; /* mapped size of framebuffer */ member
|
/linux/drivers/net/ethernet/alteon/ |
A D | acenic.c | 1933 int bd_flags, desc_type, mapsize; in ace_rx_int() local 1956 mapsize = ACE_STD_BUFSIZE; in ace_rx_int() 1961 mapsize = ACE_JUMBO_BUFSIZE; in ace_rx_int() 1966 mapsize = ACE_MINI_BUFSIZE; in ace_rx_int() 1979 mapsize, DMA_FROM_DEVICE); in ace_rx_int()
|
/linux/include/linux/ |
A D | serial_core.h | 241 resource_size_t mapsize; member
|
/linux/net/core/ |
A D | flow_dissector.c | 241 size_t mapsize, bool post_ct, u16 zone) in skb_flow_dissect_ct() argument 267 if (ctinfo < mapsize) in skb_flow_dissect_ct()
|