/freebsd-10.0-release/tools/regression/lib/libc/string/ |
H A D | test-wcsnlen.c | 42 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
|
H A D | test-stpncpy.c | 41 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
|
/freebsd-10.0-release/usr.sbin/bhyve/ |
H A D | virtio.h | 271 size = roundup2(size, VRING_ALIGN); 275 size = roundup2(size, VRING_ALIGN);
|
/freebsd-10.0-release/lib/libelf/ |
H A D | elf_strptr.c | 110 count = roundup2(count, alignment);
|
/freebsd-10.0-release/sys/compat/linux/ |
H A D | linux_socket.h | 60 #define LINUX_CMSG_ALIGN(len) roundup2(len, sizeof(l_ulong))
|
/freebsd-10.0-release/sys/crypto/via/ |
H A D | padlock.h | 82 #define PADLOCK_ALIGN(p) (void *)(roundup2((uintptr_t)(p), 16))
|
/freebsd-10.0-release/sys/dev/sound/ |
H A D | unit.c | 181 i = roundup2(i, 2);
|
/freebsd-10.0-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.0-release/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 142 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 277 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 280 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); 311 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.0-release/sys/dev/drm2/i915/ |
H A D | intel_fb.c | 58 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) / 64 size = roundup2(size, PAGE_SIZE);
|
/freebsd-10.0-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 | 125 height = roundup2(mode_cmd->height, 8); 127 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.0-release/sys/boot/i386/zfsboot/ |
H A D | zfsboot.c | 444 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 639 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 642 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); 673 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | kernel.h | 65 #define ALIGN(x, y) roundup2((x), (y))
|
/freebsd-10.0-release/sys/sys/ |
H A D | param.h | 281 #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.0-release/sys/kern/ |
H A D | subr_pcpu.c | 141 size = roundup2(size, sizeof(void *)); 173 size = roundup2(size, sizeof(void *));
|
/freebsd-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_lookup.c | 376 i_offset = roundup2(dp->i_size, DIRBLKSIZ); 413 endsearch = roundup2(dp->i_size, DIRBLKSIZ); 488 dp->i_offset = roundup2(dp->i_size, DIRBLKSIZ); 497 dp->i_endoff = roundup2(enduseful, DIRBLKSIZ); 935 dp->i_size = roundup2(dp->i_size, DIRBLKSIZ);
|
/freebsd-10.0-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 227 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 327 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 344 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.0-release/sys/boot/pc98/boot2/ |
H A D | boot2.c | 356 dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); 466 p += roundup2(hdr.ex.a_text, PAGE_SIZE); 483 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
|
/freebsd-10.0-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.0-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.0-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.0-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))
|