/prebuilts/ndk/current/platforms/android-24/arch-x86/usr/include/linux/ |
mroute6.h | 56 #ifndef DIV_ROUND_UP 57 #define DIV_ROUND_UP(x,y) (((x) + ((y) - 1)) / (y)) 61 if_mask ifs_bits[DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
|
/prebuilts/ndk/current/platforms/android-24/arch-x86_64/usr/include/linux/ |
mroute6.h | 56 #ifndef DIV_ROUND_UP 57 #define DIV_ROUND_UP(x,y) (((x) + ((y) - 1)) / (y)) 61 if_mask ifs_bits[DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/ |
hmm_alloc.c | 40 n = DIV_ROUND_UP(n, HMM_BLOCK_ALIGN_UNIT);
|
hmm_resize.c | 28 n = DIV_ROUND_UP(n, HMM_BLOCK_ALIGN_UNIT);
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/ |
bitops.h | 14 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) 15 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64)) 16 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32)) 17 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE)
|
/system/extras/ext4_utils/ |
indirect.c | 31 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS) 323 ind += DIV_ROUND_UP(len, aux_info.blocks_per_ind); 330 ind += DIV_ROUND_UP(len, aux_info.blocks_per_dind); 337 ind += DIV_ROUND_UP(len, aux_info.blocks_per_tind); 406 u32 block_len = DIV_ROUND_UP(len, info.block_size); 492 u32 block_len = DIV_ROUND_UP(len, info.block_size);
|
ext4_utils.h | 64 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) 65 #define EXT4_ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y)))
|
make_ext4fs.c | 359 u32 journal_blocks = DIV_ROUND_UP(info.len, info.block_size) / 64; 374 return DIV_ROUND_UP(info.len, info.block_size) / 4; 379 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); 380 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); 381 u32 inodes = DIV_ROUND_UP(info.inodes, block_groups); 394 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); 395 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); 396 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc), 400 DIV_ROUND_UP(block_groups * 1024 * sizeof(struct ext2_group_desc), 603 real_file_block_size = DIV_ROUND_UP(real_file_block_size, info.block_size) [all...] |
ext4_utils.c | 204 aux_info.inode_table_blocks = DIV_ROUND_UP(info.inodes_per_group * info.inode_size, 206 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block, 213 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc),
|
extent.c | 77 u32 block_len = DIV_ROUND_UP(len, info.block_size), prealloc_block_len;
|
contents.c | 111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size);
|
ext4fixup.c | 275 num_block_groups = DIV_ROUND_UP(aux_info.len_blocks, info.blocks_per_group);
|
/system/core/libsparse/ |
sparse.c | 95 DIV_ROUND_UP(backed_block_len(bb), s->block_size); 97 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) { 149 DIV_ROUND_UP(backed_block_len(bb), s->block_size); 265 DIV_ROUND_UP(backed_block_len(bb), to->block_size);
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
kernel.h | 22 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
|
/external/iw/ |
coalesce.c | 123 DIV_ROUND_UP(patlen, 8), mask); 253 if (DIV_ROUND_UP(patlen, 8) != masklen) {
|
wowlan.c | 105 DIV_ROUND_UP(patlen, 8), mask); 292 DIV_ROUND_UP(patlen, 8), mask); 444 if (DIV_ROUND_UP(patlen, 8) != masklen) {
|
iw.h | 64 #define DIV_ROUND_UP(x, y) (((x) + (y - 1)) / (y))
|
util.c | 67 result_mask = calloc(DIV_ROUND_UP(len, 8) + 2, 1);
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
kernel.h | 9 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
|
/system/extras/tests/fstest/ |
recovery_test.cpp | 141 int num_bgs = DIV_ROUND_UP(sb.s_blocks_count_lo, sb.s_blocks_per_group);
|
/external/e2fsprogs/e2fsck/ |
pass5.c | 23 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) 141 blk = DIV_ROUND_UP(start,
|
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 50 #define DIV_ROUND_UP(a, b) (((a) + (b) - 1) / (b)) 722 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); 723 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); [all...] |
/hardware/ti/omap4-aah/hwc/ |
hwc.c | 55 #define DIV_ROUND_UP(a, b) (((a) + (b) - 1) / (b)) 913 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); 914 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); [all...] |