HomeSort by relevance Sort by last modified time
    Searched refs:DIV_ROUND_UP (Results 1 - 20 of 20) sorted by null

  /system/core/libmemtrack/
memtrack_test.c 26 #define DIV_ROUND_UP(x,y) (((x) + (y) - 1) / (y))
129 v1 = DIV_ROUND_UP(memtrack_proc_graphics_total(p), 1024);
130 v2 = DIV_ROUND_UP(memtrack_proc_graphics_pss(p), 1024);
131 v3 = DIV_ROUND_UP(memtrack_proc_gl_total(p), 1024);
132 v4 = DIV_ROUND_UP(memtrack_proc_gl_pss(p), 1024);
133 v5 = DIV_ROUND_UP(memtrack_proc_other_total(p), 1024);
134 v6 = DIV_ROUND_UP(memtrack_proc_other_pss(p), 1024);
  /system/core/libsparse/
sparse_defs.h 42 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y))
43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y)))
sparse.c 94 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
96 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) {
139 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
  /external/libvpx/libvpx/vpx_mem/memory_manager/include/
hmm_intrnl.h 59 #define DIV_ROUND_UP(NUMER, DENOM) (((NUMER) + (DENOM) - 1) / (DENOM))
62 #define HEAD_AAUS DIV_ROUND_UP(sizeof(head_record), HMM_ADDR_ALIGN_UNIT)
65 #define PTR_RECORD_AAUS DIV_ROUND_UP(sizeof(ptr_record), HMM_ADDR_ALIGN_UNIT)
68 #define DUMMY_END_BLOCK_BAUS DIV_ROUND_UP(HEAD_AAUS, HMM_BLOCK_ALIGN_UNIT)
72 DIV_ROUND_UP(HEAD_AAUS + PTR_RECORD_AAUS, HMM_BLOCK_ALIGN_UNIT)
  /bionic/libc/kernel/common/linux/
mroute6.h 52 #ifndef DIV_ROUND_UP
54 #define DIV_ROUND_UP(x,y) (((x) + ((y) - 1)) / (y))
57 if_mask ifs_bits[DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
  /external/linux-tools-perf/util/include/linux/
bitops.h 21 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
kernel.h 9 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
  /external/libvpx/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);
  /external/kernel-headers/original/linux/
mroute6.h 46 #if !defined(__KERNEL__) && !defined(DIV_ROUND_UP)
47 #define DIV_ROUND_UP(x,y) (((x) + ((y) - 1)) / (y))
51 if_mask ifs_bits[DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
  /system/extras/ext4_utils/
make_ext4fs.c 309 u32 journal_blocks = DIV_ROUND_UP(info.len, info.block_size) / 64;
324 return DIV_ROUND_UP(info.len, info.block_size) / 4;
329 u32 blocks = DIV_ROUND_UP(info.len, info.block_size);
330 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group);
331 u32 inodes = DIV_ROUND_UP(info.inodes, block_groups);
344 u32 blocks = DIV_ROUND_UP(info.len, info.block_size);
345 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group);
346 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc),
350 DIV_ROUND_UP(block_groups * 1024 * sizeof(struct ext2_group_desc),
indirect.c 33 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS)
325 ind += DIV_ROUND_UP(len, aux_info.blocks_per_ind);
332 ind += DIV_ROUND_UP(len, aux_info.blocks_per_dind);
339 ind += DIV_ROUND_UP(len, aux_info.blocks_per_tind);
408 u32 block_len = DIV_ROUND_UP(len, info.block_size);
494 u32 block_len = DIV_ROUND_UP(len, info.block_size);
ext4_utils.h 72 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y))
73 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y)))
ext4_utils.c 95 aux_info.inode_table_blocks = DIV_ROUND_UP(info.inodes_per_group * info.inode_size,
97 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block,
104 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc),
extent.c 78 u32 block_len = DIV_ROUND_UP(len, info.block_size);
contents.c 107 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size);
ext4fixup.c 381 num_block_groups = DIV_ROUND_UP(aux_info.len_blocks, info.blocks_per_group);
  /external/qemu/
osdep.h 58 #ifndef DIV_ROUND_UP
59 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
  /system/extras/tests/ext4/
corrupt_gdt_free_blocks.c 56 num_bgs = DIV_ROUND_UP(sb.s_blocks_count_lo, sb.s_blocks_per_group);
  /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...]

Completed in 1857 milliseconds