/freebsd-10.3-release/sys/boot/uboot/lib/ |
H A D | copy.c | 104 eubldr = roundup2((uint64_t)uboot_heap_end, KERN_ALIGN); 108 sblock = roundup2((uint64_t)si->mr[i].start, 138 return roundup2(addr, PAGE_SIZE);
|
/freebsd-10.3-release/usr.sbin/bhyve/ |
H A D | virtio.h | 272 size = roundup2(size, VRING_ALIGN); 276 size = roundup2(size, VRING_ALIGN);
|
/freebsd-10.3-release/lib/libc/tests/string/ |
H A D | stpncpy_test.c | 43 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
|
H A D | wcsnlen_test.c | 44 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
|
/freebsd-10.3-release/lib/libelf/ |
H A D | elf_strptr.c | 110 count = roundup2(count, alignment);
|
/freebsd-10.3-release/sys/crypto/via/ |
H A D | padlock.h | 82 #define PADLOCK_ALIGN(p) (void *)(roundup2((uintptr_t)(p), 16))
|
/freebsd-10.3-release/sys/dev/sound/ |
H A D | unit.c | 181 i = roundup2(i, 2);
|
/freebsd-10.3-release/sys/net80211/ |
H A D | ieee80211_radiotap.c | 71 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); 87 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); 359 off = roundup2(off, items[i].align);
|
/freebsd-10.3-release/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 139 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 275 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 278 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); 309 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.3-release/sys/dev/drm2/i915/ |
H A D | intel_fb.c | 59 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) / 65 size = roundup2(size, PAGE_SIZE);
|
/freebsd-10.3-release/sys/dev/drm2/radeon/ |
H A D | evergreen_blit_kms.c | 49 h = roundup2(h, 8); 602 dwords = roundup2(rdev->r600_blit.state_len, 0x10); 654 obj_size = roundup2(obj_size, 256); 661 obj_size = roundup2(obj_size, 256); 668 obj_size = roundup2(obj_size, 256);
|
H A D | radeon_fb.c | 127 height = roundup2(mode_cmd->height, 8); 129 aligned_size = roundup2(size, PAGE_SIZE);
|
H A D | r600_blit_kms.c | 47 h = roundup2(h, 8); 439 dwords = roundup2(rdev->r600_blit.state_len, 0x10); 504 obj_size = roundup2(obj_size, 256); 508 obj_size = roundup2(obj_size, 256); 512 obj_size = roundup2(obj_size, 256);
|
/freebsd-10.3-release/sys/boot/i386/zfsboot/ |
H A D | zfsboot.c | 440 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 635 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 638 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); 669 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.3-release/sys/sys/ |
H A D | param.h | 295 #define roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ macro
|
H A D | pcpu.h | 75 #define DPCPU_SIZE roundup2(DPCPU_BYTES, PAGE_SIZE)
|
/freebsd-10.3-release/sys/kern/ |
H A D | subr_pcpu.c | 166 size = roundup2(size, sizeof(void *)); 198 size = roundup2(size, sizeof(void *));
|
/freebsd-10.3-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 201 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 301 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 318 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.3-release/sys/boot/pc98/boot2/ |
H A D | boot2.c | 330 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 440 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 457 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.3-release/sys/net/ |
H A D | vnet.c | 174 #define VNET_SIZE roundup2(VNET_BYTES, PAGE_SIZE) 375 size = roundup2(size, sizeof(void *)); 407 size = roundup2(size, sizeof(void *));
|
/freebsd-10.3-release/lib/libprocstat/ |
H A D | core.c | 218 roundup2(nhdr.n_namesz, sizeof(Elf32_Size)) + 219 roundup2(nhdr.n_descsz, sizeof(Elf32_Size));
|
/freebsd-10.3-release/sys/amd64/amd64/ |
H A D | vm_machdep.c | 103 roundup2(cpu_max_ext_state_size, XSAVE_AREA_ALIGN); 123 roundup2(cpu_max_ext_state_size, XSAVE_AREA_ALIGN) -
|
/freebsd-10.3-release/sbin/hastd/ |
H A D | 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)); 803 vsize = roundup2(vsize, 8) - vsize;
|
/freebsd-10.3-release/sys/dev/firewire/ |
H A D | fwdma.c | 164 esize = ssize = roundup2(esize, PAGE_SIZE);
|
/freebsd-10.3-release/sys/dev/ciss/ |
H A D | cissvar.h | 149 #define CISS_COMMAND_ALLOC_SIZE (roundup2(sizeof(struct ciss_command) + CISS_COMMAND_SG_LENGTH, CISS_COMMAND_ALIGN))
|