| /NextBSD/sys/boot/uboot/lib/ |
| HD | copy.c | 104 eubldr = roundup2((uint64_t)uboot_heap_end, KERN_ALIGN); in uboot_loadaddr() 108 sblock = roundup2((uint64_t)si->mr[i].start, in uboot_loadaddr() 145 return roundup2(addr, PAGE_SIZE); in uboot_loadaddr()
|
| /NextBSD/sys/boot/i386/gptboot/ |
| HD | gptboot.c | 143 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); in main() 279 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load() 282 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); in load() 313 p += roundup2(ep[1].p_memsz, PAGE_SIZE); in load()
|
| /NextBSD/contrib/elftoolchain/common/ |
| HD | _elftc.h | 377 #define roundup2 roundup macro 421 #define roundup2 roundup macro 480 #define roundup2 roundup macro
|
| /NextBSD/sys/net80211/ |
| HD | ieee80211_radiotap.c | 72 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv() 88 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv() 360 off = roundup2(off, items[i].align); in radiotap_offset()
|
| /NextBSD/usr.sbin/bhyve/ |
| HD | virtio.h | 272 size = roundup2(size, VRING_ALIGN); in vring_size() 276 size = roundup2(size, VRING_ALIGN); in vring_size()
|
| /NextBSD/sys/dev/drm2/radeon/ |
| HD | evergreen_blit_kms.c | 49 h = roundup2(h, 8); in set_render_target() 602 dwords = roundup2(rdev->r600_blit.state_len, 0x10); in set_default_state() 654 obj_size = roundup2(obj_size, 256); in evergreen_blit_init() 661 obj_size = roundup2(obj_size, 256); in evergreen_blit_init() 668 obj_size = roundup2(obj_size, 256); in evergreen_blit_init()
|
| HD | r600_blit_kms.c | 47 h = roundup2(h, 8); in set_render_target() 439 dwords = roundup2(rdev->r600_blit.state_len, 0x10); in set_default_state() 504 obj_size = roundup2(obj_size, 256); in r600_blit_init() 508 obj_size = roundup2(obj_size, 256); in r600_blit_init() 512 obj_size = roundup2(obj_size, 256); in r600_blit_init()
|
| HD | radeon_fb.c | 127 height = roundup2(mode_cmd->height, 8); in radeonfb_create_pinned_object() 129 aligned_size = roundup2(size, PAGE_SIZE); in radeonfb_create_pinned_object()
|
| /NextBSD/sys/dev/ifmlx4/ |
| HD | if_mlx4.c | 123 sctx->isc_qsizes[0] = roundup2((ixl_ringsz * sizeof(struct i40e_tx_desc)) + in mlx4_register() 125 sctx->isc_qsizes[1] = roundup2(ixl_ringsz * in mlx4_register()
|
| /NextBSD/sys/arm64/arm64/ |
| HD | gic_v3_its.c | 317 roundup2(LPI_PENDTAB_SIZE, PAGE_SIZE_64K), in gic_v3_its_detach() 358 its_tbl_size = roundup2(its_tbl_size, page_size); in its_alloc_tables() 677 cpu_dcache_wb_range((vm_offset_t)conf_base, roundup2(LPI_CONFTAB_SIZE, in lpi_init_conftable() 705 roundup2(LPI_PENDTAB_SIZE, PAGE_SIZE_64K), M_GIC_V3_ITS, in lpi_alloc_cpu_pendtables() 710 roundup2(LPI_PENDTAB_SIZE, PAGE_SIZE_64K)); in lpi_alloc_cpu_pendtables() 836 lpi_id_num = roundup2(lpi_id_num, bits_in_chunk); in lpi_bitmap_init() 1424 roundup2(roundup2(nvecs, 2) * esize, 0x100), M_GIC_V3_ITS, in its_device_alloc_locked()
|
| HD | genassym.c | 51 ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));
|
| /NextBSD/sys/dev/drm2/i915/ |
| HD | intel_fb.c | 59 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) / in intelfb_create() 65 size = roundup2(size, PAGE_SIZE); in intelfb_create()
|
| /NextBSD/sys/boot/i386/zfsboot/ |
| HD | zfsboot.c | 444 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); in main() 639 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load() 642 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); in load() 673 p += roundup2(ep[1].p_memsz, PAGE_SIZE); in load()
|
| /NextBSD/sys/net/ |
| HD | vnet.c | 173 #define VNET_SIZE roundup2(VNET_BYTES, PAGE_SIZE) 374 size = roundup2(size, sizeof(void *)); in vnet_data_alloc() 406 size = roundup2(size, sizeof(void *)); in vnet_data_free()
|
| /NextBSD/lib/libc/tests/string/ |
| HD | wcsnlen_test.c | 44 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; in makebuf()
|
| HD | stpncpy_test.c | 43 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; in makebuf()
|
| /NextBSD/sys/dev/cxgbe/cxgbei/ |
| HD | icl_cxgbei.c | 182 a = roundup2(mtod(m, uintptr_t), _Alignof(struct icl_cxgbei_pdu)); in icl_cxgbei_new_pdu() 190 a = roundup2((uintptr_t)(icp + 1), _Alignof(struct iscsi_bhs *)); in icl_cxgbei_new_pdu() 280 padding = roundup2(ip->ip_data_len, 4) - ip->ip_data_len; in finalize_pdu() 555 wr = alloc_wrqe(roundup2(flowclen, 16), toep->ofld_txq); in send_iscsi_flowc_wr()
|
| /NextBSD/sys/boot/efi/loader/ |
| HD | copy.c | 72 staging = roundup2(staging, 2 * 1024 * 1024); in efi_copy_init()
|
| /NextBSD/sys/dev/sound/ |
| HD | unit.c | 181 i = roundup2(i, 2); in snd_unit_init()
|
| /NextBSD/sys/crypto/via/ |
| HD | padlock.h | 82 #define PADLOCK_ALIGN(p) (void *)(roundup2((uintptr_t)(p), 16))
|
| /NextBSD/sys/boot/i386/boot2/ |
| HD | boot2.c | 243 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); in main() 344 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load() 361 p += roundup2(ep[1].p_memsz, PAGE_SIZE); in load()
|
| /NextBSD/contrib/elftoolchain/libelf/ |
| HD | elf_strptr.c | 109 count = roundup2(count, alignment); in elf_strptr()
|
| /NextBSD/sys/kern/ |
| HD | subr_pcpu.c | 166 size = roundup2(size, sizeof(void *)); in dpcpu_alloc() 198 size = roundup2(size, sizeof(void *)); in dpcpu_free()
|
| /NextBSD/sys/fs/ext2fs/ |
| HD | ext2_lookup.c | 379 endsearch = roundup2(dp->i_size, DIRBLKSIZ); in ext2_lookup_ino() 512 dp->i_offset = roundup2(dp->i_size, DIRBLKSIZ); in ext2_lookup_ino() 521 dp->i_endoff = roundup2(enduseful, DIRBLKSIZ); in ext2_lookup_ino() 845 dp->i_size = roundup2(dp->i_size, DIRBLKSIZ); in ext2_direnter()
|
| /NextBSD/sbin/hastd/ |
| HD | nv.c | 102 (sizeof(struct nvhdr) + roundup2((nvh)->nvh_namesize, 8)) 107 #define NVH_SIZE(nvh) (NVH_HSIZE(nvh) + roundup2(NVH_DSIZE(nvh), 8)) 775 nvh = malloc(sizeof(*nvh) + roundup2(namesize, 8)); in nv_add() 803 vsize = roundup2(vsize, 8) - vsize; in nv_add()
|