/linux-6.1.9/mm/ |
D | bootmem_info.c | 45 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 61 mapsize = sizeof(struct page) * PAGES_PER_SECTION; in register_page_bootmem_info_section() 62 mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; in register_page_bootmem_info_section() 65 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section() 71 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section() 73 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section() 80 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 95 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section() 97 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-ls-extirq.c | 129 u32 mapsize; in ls_extirq_parse_map() local 132 map = of_get_property(node, "interrupt-map", &mapsize); in ls_extirq_parse_map() 135 if (mapsize % sizeof(*map)) in ls_extirq_parse_map() 137 mapsize /= sizeof(*map); in ls_extirq_parse_map() 139 while (mapsize) { in ls_extirq_parse_map() 143 if (mapsize < 3) in ls_extirq_parse_map() 152 mapsize -= 3; in ls_extirq_parse_map() 160 if (intsize > mapsize) in ls_extirq_parse_map() 166 mapsize -= intsize; in ls_extirq_parse_map()
|
/linux-6.1.9/drivers/firmware/efi/ |
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()
|
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-6.1.9/fs/xfs/scrub/ |
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-6.1.9/drivers/spi/ |
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-6.1.9/drivers/char/ipmi/ |
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-6.1.9/tools/virtio/ |
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-6.1.9/fs/reiserfs/ |
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-6.1.9/drivers/tty/serial/8250/ |
D | 8250_of.c | 83 port->mapsize = resource_size(&resource); in of_platform_serial_setup() 87 if (prop >= port->mapsize) { in of_platform_serial_setup() 89 prop, &port->mapsize); in of_platform_serial_setup() 95 port->mapsize -= prop; in of_platform_serial_setup()
|
D | 8250_fsl.c | 129 port8250.port.mapsize = resource_size(regs); in fsl8250_acpi_probe() 134 port8250.port.mapsize); in fsl8250_acpi_probe()
|
D | 8250_tegra.c | 88 port->mapsize = resource_size(res); in tegra_uart_probe()
|
D | 8250_bcm2835aux.c | 152 up.port.mapsize = resource_size(res) - offset; in bcm2835aux_serial_probe()
|
D | 8250_core.c | 731 p->mapsize = port->mapsize; in early_serial_setup() 1009 uart->port.mapsize = up->port.mapsize; in serial8250_register_8250_port()
|
D | 8250_uniphier.c | 212 up.port.mapsize = resource_size(regs); in uniphier_uart_probe()
|
D | 8250_aspeed_vuart.c | 438 port.port.mapsize = resource_size(res); in aspeed_vuart_probe()
|
D | 8250_port.c | 2947 if (pt->port.mapsize) in serial8250_port_size() 2948 return pt->port.mapsize; in serial8250_port_size()
|
/linux-6.1.9/drivers/video/fbdev/sis/ |
D | sis_main.c | 4176 unsigned int *mapsize, unsigned int min) in sisfb_post_map_vram() argument 4178 if (*mapsize < (min << 20)) in sisfb_post_map_vram() 4181 ivideo->video_vbase = ioremap_wc(ivideo->video_base, (*mapsize)); in sisfb_post_map_vram() 4186 (*mapsize) >>= 1; in sisfb_post_map_vram() 4187 while((!(ivideo->video_vbase = ioremap_wc(ivideo->video_base, (*mapsize))))) { in sisfb_post_map_vram() 4188 (*mapsize) >>= 1; in sisfb_post_map_vram() 4189 if((*mapsize) < (min << 20)) in sisfb_post_map_vram() 4195 (int)((*mapsize) >> 20)); in sisfb_post_map_vram() 4268 int PseudoAdrPinCount, unsigned int mapsize) in sisfb_post_300_rwtest() argument 4311 if ((BankNumHigh + PhysicalAdrHigh >= mapsize) || in sisfb_post_300_rwtest() [all …]
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | grfioctl.h | 68 unsigned int mapsize; /* mapped size of framebuffer */ member
|
/linux-6.1.9/drivers/tty/serial/ |
D | meson_uart.c | 425 devm_release_mem_region(port->dev, port->mapbase, port->mapsize); in meson_uart_release_port() 430 if (!devm_request_mem_region(port->dev, port->mapbase, port->mapsize, in meson_uart_request_port() 437 port->mapsize); in meson_uart_request_port() 744 port->mapsize = resource_size(res_mem); in meson_uart_probe()
|
D | mps2-uart.c | 566 mps_port->port.mapsize = resource_size(res); in mps2_init_port()
|
/linux-6.1.9/drivers/nvdimm/ |
D | btt.c | 412 size_t mapsize = arena->logoff - arena->mapoff; in btt_map_init() local 426 while (mapsize) { in btt_map_init() 427 size_t size = min(mapsize, chunk_size); in btt_map_init() 437 mapsize -= size; in btt_map_init() 749 u64 logsize, mapsize, datasize; in alloc_arena() local 786 mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); in alloc_arena() 787 datasize = available - mapsize; in alloc_arena() 793 arena->logoff = arena->mapoff + mapsize; in alloc_arena()
|
/linux-6.1.9/drivers/net/ethernet/alteon/ |
D | acenic.c | 1928 int bd_flags, desc_type, mapsize; in ace_rx_int() local 1951 mapsize = ACE_STD_BUFSIZE; in ace_rx_int() 1956 mapsize = ACE_JUMBO_BUFSIZE; in ace_rx_int() 1961 mapsize = ACE_MINI_BUFSIZE; in ace_rx_int() 1974 mapsize, DMA_FROM_DEVICE); in ace_rx_int()
|
/linux-6.1.9/include/linux/ |
D | serial_core.h | 565 resource_size_t mapsize; member
|
/linux-6.1.9/net/core/ |
D | flow_dissector.c | 267 size_t mapsize, bool post_ct, u16 zone) in skb_flow_dissect_ct() argument 293 if (ctinfo < mapsize) in skb_flow_dissect_ct()
|