Home
last modified time | relevance | path

Searched refs:prev_size (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/alpha/include/asm/
H A Dfloppy.h40 static unsigned long prev_size; in alpha_fd_dma_setup() local
49 && (addr != prev_addr || size != prev_size || dir != prev_dir)) { in alpha_fd_dma_setup()
51 dma_unmap_single(&isa_bridge->dev, bus_addr, prev_size, in alpha_fd_dma_setup()
61 prev_size = size; in alpha_fd_dma_setup()
/openbmc/linux/arch/powerpc/include/asm/
H A Dfloppy.h130 static unsigned long prev_size; in hard_dma_setup() local
140 && (addr != prev_addr || size != prev_size || dir != prev_dir)) { in hard_dma_setup()
142 dma_unmap_single(&isa_bridge_pcidev->dev, bus_addr, prev_size, in hard_dma_setup()
153 prev_size = size; in hard_dma_setup()
/openbmc/linux/mm/
H A Dearly_ioremap.c68 static unsigned long prev_size[FIX_BTMAPS_SLOTS] __initdata; variable
127 prev_size[slot] = size; in __early_ioremap()
182 if (WARN(prev_size[slot] != size, in early_iounmap()
184 __func__, addr, size, slot, prev_size[slot])) in early_iounmap()
/openbmc/u-boot/common/
H A Ddlmalloc.c221 INTERNAL_SIZE_T prev_size; /* Size of previous chunk (if free). */ member
404 ((mchunkptr)( ((char*)(p)) - ((p)->prev_size) ))
471 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_size = (s))
769 assert(next->prev_size == sz);
975 p->prev_size = 0;
998 assert(((p->prev_size + size) & (malloc_getpagesize-1)) == 0);
1001 mmapped_mem -= (size + p->prev_size);
1003 ret = munmap((char *)p - p->prev_size, size + p->prev_size);
1018 INTERNAL_SIZE_T offset = p->prev_size;
1038 assert((p->prev_size == offset));
[all …]
H A Ddlmalloc.src1136 INTERNAL_SIZE_T prev_size; /* Size of previous chunk (if free). */
1211 as the prev_size of the NEXT chunk. (This makes it easier to
1323 ((mchunkptr)( ((char*)(p)) - ((p)->prev_size) ))
1390 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_size = (s))
1634 assert(next->prev_size == sz);
1812 * there is no following chunk whose prev_size field could be used.
1837 * in the prev_size field of the chunk; normally it is zero,
1840 p->prev_size = 0;
1863 assert(((p->prev_size + size) & (malloc_getpagesize-1)) == 0);
1866 mmapped_mem -= (size + p->prev_size);
[all …]
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c111 uint64_t prev_size = int128_get64(prev_sec->size); in try_merge() local
112 uint64_t prev_gpa_end = range_get_last(prev_gpa_start, prev_size); in try_merge()
116 uint64_t prev_host_end = range_get_last(prev_host_start, prev_size); in try_merge()
/openbmc/linux/lib/
H A Dfortify_kunit.c226 size_t prev_size; \
254 prev_size = (expected_pages) * PAGE_SIZE; \
255 orig = kvmalloc(prev_size, gfp); \
258 kvrealloc(orig, prev_size, \
/openbmc/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c372 const struct s5c73m3_frame_size *prev_size = in s5c73m3_set_frame_size() local
380 prev_size->width, prev_size->height, prev_size->reg_val); in s5c73m3_set_frame_size()
382 chg_mode = prev_size->reg_val | COMM_CHG_MODE_NEW; in s5c73m3_set_frame_size()
890 const struct s5c73m3_frame_size *prev_size = in __s5c73m3_set_frame_interval() local
904 if (prev_size->width > iv->size.width || in __s5c73m3_set_frame_interval()
905 prev_size->height > iv->size.height) in __s5c73m3_set_frame_interval()
/openbmc/qemu/target/s390x/
H A Darch_dump.c232 int note_size, prev_size = 0, content_size; in s390x_write_elf64_notes() local
245 if (prev_size < note_size) { in s390x_write_elf64_notes()
248 prev_size = note_size; in s390x_write_elf64_notes()
/openbmc/linux/arch/x86/platform/efi/
H A Defi.c538 u64 prev_size; in efi_merge_regions() local
551 prev_size = prev_md->num_pages << EFI_PAGE_SHIFT; in efi_merge_regions()
553 if (md->phys_addr == (prev_md->phys_addr + prev_size)) { in efi_merge_regions()
/openbmc/qemu/util/
H A Dhbitmap.c761 int64_t i, size, prev_size; in hbitmap_deserialize_finish() local
768 prev_size = size; in hbitmap_deserialize_finish()
772 for (i = 0; i < prev_size; ++i) { in hbitmap_deserialize_finish()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dqmi.h102 u32 prev_size; member
H A Dqmi.c1967 ab->qmi.target_mem[i].prev_size, in ath11k_qmi_free_target_mem_chunk()
1989 chunk->prev_size == chunk->size) in ath11k_qmi_alloc_target_mem_chunk()
1993 dma_free_coherent(ab->dev, chunk->prev_size, in ath11k_qmi_alloc_target_mem_chunk()
2019 chunk->prev_size = chunk->size; in ath11k_qmi_alloc_target_mem_chunk()
/openbmc/qemu/hw/virtio/
H A Dvhost.c784 uint64_t prev_size = int128_get64(prev_sec->size); in vhost_region_add_section() local
785 uint64_t prev_gpa_end = range_get_last(prev_gpa_start, prev_size); in vhost_region_add_section()
789 uint64_t prev_host_end = range_get_last(prev_host_start, prev_size); in vhost_region_add_section()
/openbmc/qemu/hw/hyperv/
H A Dvmbus.c1520 uint8_t idx, prev_size; in enqueue_incoming_message() local
1529 prev_size = vmbus->rx_queue_size; in enqueue_incoming_message()
1535 if (!prev_size) { in enqueue_incoming_message()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c4091 u8 prev_size, curr_size, prev_ld_base, prev_st_base, prev_ld_dst; in curr_pair_chain_with_previous() local
4100 prev_size = BPF_LDST_BYTES(prev_ld); in curr_pair_chain_with_previous()
4114 if (curr_size != prev_size) in curr_pair_chain_with_previous()
4122 if (prev_ld_off + prev_size == ld->off && in curr_pair_chain_with_previous()
4123 prev_st_off + prev_size == st->off) in curr_pair_chain_with_previous()