/linux-4.4.14/arch/x86/mm/ |
D | init.c | 218 unsigned long end = round_up(mr[i].end, PMD_SIZE); in adjust_range_page_size_mask() 231 unsigned long end = round_up(mr[i].end, PUD_SIZE); in adjust_range_page_size_mask() 286 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 288 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 298 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 302 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 315 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 325 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 562 next = round_up(start + 1, step_size); in memory_map_bottom_up()
|
D | numa_32.c | 56 end = round_up(end, PAGES_PER_SECTION); in memory_present()
|
/linux-4.4.14/mm/kasan/ |
D | kasan.c | 332 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), in kasan_poison_object_data() 344 unsigned long rounded_up_size = round_up(size, KASAN_SHADOW_SCALE_SIZE); in kasan_slab_free() 361 redzone_start = round_up((unsigned long)(object + size), in kasan_kmalloc() 363 redzone_end = round_up((unsigned long)object + cache->object_size, in kasan_kmalloc() 382 redzone_start = round_up((unsigned long)(ptr + size), in kasan_kmalloc_large() 434 shadow_size = round_up(size >> KASAN_SHADOW_SCALE_SHIFT, in kasan_module_alloc() 463 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); in register_global()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.h | 82 MT76_SET(MT_TXD_INFO_LEN, round_up(skb->len, 4)) | in mt7601u_dma_skb_wrap() 87 return skb_put_padto(skb, round_up(skb->len, 4) + 4); in mt7601u_dma_skb_wrap()
|
/linux-4.4.14/kernel/bpf/ |
D | hashtab.c | 77 round_up(htab->map.key_size, 8) + in htab_map_alloc() 91 htab->map.pages = round_up(htab->n_buckets * sizeof(struct hlist_head) + in htab_map_alloc() 160 return l->key + round_up(map->key_size, 8); in htab_map_lookup_elem() 248 memcpy(l_new->key + round_up(key_size, 8), value, map->value_size); in htab_map_update_elem()
|
D | arraymap.c | 37 elem_size = round_up(attr->value_size, 8); in array_map_alloc() 58 array->map.pages = round_up(array_size, PAGE_SIZE) >> PAGE_SHIFT; in array_map_alloc()
|
D | core.c | 80 size = round_up(size, PAGE_SIZE); in bpf_prog_alloc() 110 size = round_up(size, PAGE_SIZE); in bpf_prog_realloc() 153 size = round_up(proglen + sizeof(*hdr) + 128, PAGE_SIZE); in bpf_jit_binary_alloc()
|
/linux-4.4.14/arch/x86/kernel/ |
D | check.c | 92 corruption_check_size = round_up(corruption_check_size, PAGE_SIZE); in setup_bios_corruption_check() 96 start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE), in setup_bios_corruption_check()
|
D | tboot.c | 187 mr->size = round_up(end, PAGE_SIZE) - mr->start; in add_mac_region()
|
D | amd_gart_64.c | 536 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; in check_iommu_size()
|
D | e820.c | 1034 end = round_up(start, ram_alignment(start)) - 1; in e820_reserve_resources_late()
|
/linux-4.4.14/drivers/firmware/efi/libstub/ |
D | efi-stub-helper.c | 165 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_high_alloc() 250 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_low_alloc() 275 start = round_up(start, align); in efi_low_alloc() 304 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free() 573 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
|
D | arm64-stub.c | 56 nr_pages = round_up(kernel_memsize, EFI_ALLOC_ALIGN) / in handle_kernel_image()
|
D | arm-stub.c | 401 efi_virt_base = round_up(efi_virt_base, SZ_2M); in efi_get_virtmap() 403 efi_virt_base = round_up(efi_virt_base, SZ_64K); in efi_get_virtmap()
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_firmware.c | 115 if (round_up(fw->size, 4) > MAX_FW_SIZE - padding) { in _rtl92e_fw_prepare() 128 blob->size = round_up(fw->size, 4) + padding; in _rtl92e_fw_prepare()
|
/linux-4.4.14/arch/arm/kernel/ |
D | module-plts.c | 170 mod->arch.core_plt->sh_size = round_up(core_plts * PLT_ENT_SIZE, in module_frob_arch_sections() 177 mod->arch.init_plt->sh_size = round_up(init_plts * PLT_ENT_SIZE, in module_frob_arch_sections()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv25.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv25_fb_tile_comp()
|
D | nv35.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv35_fb_tile_comp()
|
D | nv36.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv36_fb_tile_comp()
|
D | nv40.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x100); in nv40_fb_tile_comp()
|
D | nv20.c | 47 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv20_fb_tile_comp()
|
D | nv30.c | 53 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv30_fb_tile_comp()
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer_vp_layer.c | 176 src->width = clamp(src->width, round_up(dst->width / 16, 4), in mxr_vp_fix_geometry() 178 src->height = clamp(src->height, round_up(dst->height / 16, 4), in mxr_vp_fix_geometry()
|
D | mixer_grp_layer.c | 171 dst->width = round_up(dst->width, 2); in mxr_graph_fix_geometry() 172 dst->height = round_up(dst->height, 2); in mxr_graph_fix_geometry()
|
/linux-4.4.14/mm/ |
D | truncate.c | 673 loff_t holebegin = round_up(newsize, PAGE_SIZE); in truncate_pagecache() 745 rounded_from = round_up(from, bsize); in pagecache_isize_extended() 781 loff_t unmap_start = round_up(lstart, PAGE_SIZE); in truncate_pagecache_range()
|
D | filemap.c | 1943 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); in filemap_fault() 1993 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); in filemap_fault() 2098 size = round_up(i_size_read(mapping->host), PAGE_CACHE_SIZE); in filemap_map_pages()
|
D | memblock.c | 135 cand = round_up(this_start, align); in __memblock_find_range_bottom_up() 1585 start = round_up(orig_start, align); in memblock_trim_memory()
|
D | percpu.c | 345 if (!(next & 1) && nend >= round_up(end, PAGE_SIZE)) in pcpu_count_occupied_pages() 346 end = round_up(end, PAGE_SIZE); in pcpu_count_occupied_pages()
|
D | memory_hotplug.c | 1425 pfn = round_up(pfn + 1, in scan_movable_pages()
|
D | shmem.c | 590 loff_t holebegin = round_up(newsize, PAGE_SIZE); in shmem_setattr() 2082 loff_t unmap_start = round_up(offset, PAGE_SIZE); in shmem_fallocate()
|
D | page_alloc.c | 6353 numentries = round_up(numentries, (1<<20)/PAGE_SIZE); in alloc_large_system_hash() 6555 iter = round_up(iter + 1, 1<<compound_order(page)) - 1; in has_unmovable_pages()
|
D | swapfile.c | 2323 for (i = maxpages; i < round_up(maxpages, SWAPFILE_CLUSTER); i++) in setup_swap_map_and_extents()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 651 nbx = round_up(nbx, 16 * 8); in r600_cs_track_validate_db() 653 nby = round_up(nby, track->npipes * 8); in r600_cs_track_validate_db() 662 nbx = round_up(nbx, 64 * 8); in r600_cs_track_validate_db() 663 nby = round_up(nby, 64 * 8); in r600_cs_track_validate_db() 667 nbx = round_up(nbx, 64 * 8); in r600_cs_track_validate_db() 668 nby = round_up(nby, 32 * 8); in r600_cs_track_validate_db() 672 nbx = round_up(nbx, 32 * 8); in r600_cs_track_validate_db() 673 nby = round_up(nby, 32 * 8); in r600_cs_track_validate_db() 677 nbx = round_up(nbx, 32 * 8); in r600_cs_track_validate_db() 678 nby = round_up(nby, 16 * 8); in r600_cs_track_validate_db() [all …]
|
D | evergreen_cs.c | 509 nbx = round_up(nbx, 16 * 8); in evergreen_cs_track_validate_htile() 511 nby = round_up(nby, track->npipes * 8); in evergreen_cs_track_validate_htile() 520 nbx = round_up(nbx, 64 * 8); in evergreen_cs_track_validate_htile() 521 nby = round_up(nby, 64 * 8); in evergreen_cs_track_validate_htile() 525 nbx = round_up(nbx, 64 * 8); in evergreen_cs_track_validate_htile() 526 nby = round_up(nby, 32 * 8); in evergreen_cs_track_validate_htile() 530 nbx = round_up(nbx, 32 * 8); in evergreen_cs_track_validate_htile() 531 nby = round_up(nby, 32 * 8); in evergreen_cs_track_validate_htile() 535 nbx = round_up(nbx, 32 * 8); in evergreen_cs_track_validate_htile() 536 nby = round_up(nby, 16 * 8); in evergreen_cs_track_validate_htile()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | fixmap.h | 44 #define FIXADDR_TOP (round_up(VSYSCALL_ADDR + PAGE_SIZE, 1<<PMD_SHIFT) - \
|
/linux-4.4.14/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 403 mem_addr = (u8 *)round_up((size_t)mem_addr, 4); in rtw_dump_xframe() 495 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete() 546 if (round_up(pbuf + len, 8) > MAX_XMITBUF_SZ) { in rtl8188eu_xmitframe_complete() 569 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete()
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda-bit.c | 357 width = round_up(q_data->width, 16); in coda_alloc_framebuffers() 358 height = round_up(q_data->height, 16); in coda_alloc_framebuffers() 360 width = round_up(q_data->width, 8); in coda_alloc_framebuffers() 371 size = round_up(ysize, 4096) + ysize / 2; in coda_alloc_framebuffers() 396 cb = round_up(cb, 4096); in coda_alloc_framebuffers() 530 size = round_up(size, 1024); in coda_iram_alloc() 583 iram_info->search_ram_size = round_up(mb_width * 16 * in coda_setup_iram() 875 value = (round_up(q_data_src->width, 16) & in coda_start_encoding() 877 value |= (round_up(q_data_src->height, 16) & in coda_start_encoding() 1614 width = round_up(width, 16); in __coda_start_decoding() [all …]
|
D | coda-common.c | 424 return round_up(clamp(sizeimage, width * height / 8, in coda_estimate_sizeimage() 458 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt() 463 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt() 525 f->fmt.pix.height = round_up(f->fmt.pix.height, 16); in coda_try_fmt_vid_cap() 526 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt_vid_cap() 1288 round_up(q_data_src->width, 16) != q_data_dst->width) || in coda_start_streaming() 1290 round_up(q_data_src->height, 16) != q_data_dst->height)) { in coda_start_streaming()
|
/linux-4.4.14/drivers/staging/fwserial/ |
D | dma_fifo.c | 75 size = round_up(size, align); in dma_fifo_alloc() 221 fifo->out += round_up(n, fifo->align); in dma_fifo_out_pend()
|
/linux-4.4.14/tools/include/linux/ |
D | kernel.h | 104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.4.14/arch/arm64/mm/ |
D | mmu.c | 317 unsigned long kernel_x_end = round_up(__pa(__init_end), SWAPPER_BLOCK_SIZE); in __map_memblock() 415 unsigned long aligned_end = round_up(__pa(__init_end), in fixup_executable() 694 round_up(offset + size, SWAPPER_BLOCK_SIZE), prot); in fixmap_remap_fdt()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 223 offset = round_up(qat_get_inter_state_size(ctx->qat_hash_alg), 8); in qat_alg_do_precomputes() 330 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); in qat_alg_aead_init_enc_session() 332 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_alg_aead_init_enc_session() 347 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); in qat_alg_aead_init_enc_session() 420 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); in qat_alg_aead_init_dec_session() 422 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_alg_aead_init_dec_session() 438 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); in qat_alg_aead_init_dec_session()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 89 txn->current_pa = round_up(txn->current_pa, 16); in alloc_dma() 90 txn->current_va = (void *)round_up((long)txn->current_va, 16); in alloc_dma() 514 *w = round_up(*w, geom[fmt].slot_w); in tiler_align() 515 *h = round_up(*h, geom[fmt].slot_h); in tiler_align() 537 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; in tiler_vsize()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | mon.c | 134 data = (u8 *)round_up((size_t)data, 4); in rtl88eu_mon_xmit_hook()
|
D | usb_ops_linux.c | 163 pkt_offset = (u16)round_up(pkt_offset, 128); in recvbuf2recvframe() 166 pkt_offset = (u16)round_up(pkt_offset, 4); in recvbuf2recvframe()
|
/linux-4.4.14/drivers/iio/adc/ |
D | at91_adc.c | 790 return round_up((startup_time * adc_clk_khz / 1000) - 1, 8) / 8; in calc_startup_ticks_9260() 1011 st->ts_pendbc = round_up(TOUCH_PEN_DETECT_DEBOUNCE_US * adc_clk_khz / in at91_ts_hw_init() 1031 st->ts_sample_period_val = round_up((TOUCH_SAMPLE_PERIOD_US_RL * in at91_ts_hw_init() 1060 st->ts_sample_period_val = round_up((TOUCH_SAMPLE_PERIOD_US * in at91_ts_hw_init() 1244 shtim = round_up((st->sample_hold_time * adc_clk_khz / 1000) in at91_adc_probe()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_log.h | 69 lv->lv_buf_len += round_up(len, sizeof(uint64_t)); in xlog_finish_iovec()
|
D | xfs_log_cil.c | 210 nbytes = round_up(nbytes, sizeof(uint64_t)); in xlog_cil_insert_format_items() 221 round_up((sizeof(struct xfs_log_vec) + in xlog_cil_insert_format_items()
|
D | xfs_pnfs.c | 153 limit = max(limit, round_up(i_size_read(inode), in xfs_fs_map_blocks()
|
D | xfs_bmap_util.c | 1247 iendoffset = round_up(offset + len, rounding) - 1; in xfs_free_file_space() 1408 round_up(offset + len, blksize) - in xfs_zero_file_space()
|
D | xfs_log_recover.c | 131 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_get_bp() 184 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_bread_noalign() 269 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_bwrite()
|
/linux-4.4.14/lib/ |
D | assoc_array.c | 273 if (round_up(sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE) > shortcut->skip_to_level) { in assoc_array_walk() 775 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_into_terminal_node() 881 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_mid_shortcut() 931 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_mid_shortcut() 1522 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_gc()
|
D | idr.c | 770 id = round_up(id + 1, 1 << n); in idr_get_next()
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 115 size = round_up(size, PAGE_SIZE); in rockchip_gem_create_object()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842.c | 187 adj_slen = round_up(slen, c->multiple); in compress() 371 adj_slen = round_up(slen, c->multiple); in decompress()
|
D | nx.c | 688 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init()
|
/linux-4.4.14/drivers/scsi/ |
D | mvumi.c | 145 size = round_up(size, 8); in mvumi_alloc_mem_resource() 963 offset = round_up(p, 128) - p; in mvumi_init_data() 978 offset = round_up(p, 8) - p; in mvumi_init_data() 987 offset = round_up(p, 8) - p; in mvumi_init_data() 995 offset = round_up(p, 4) - p; in mvumi_init_data() 1005 offset = round_up(p, 128) - p; in mvumi_init_data() 1014 tmp_size = round_up(tmp_size, 8); in mvumi_init_data() 1033 tmp_size += round_up(mhba->max_target_id, sizeof(unsigned char) * 8) / in mvumi_init_data()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv40.c | 172 imem->base.reserved = round_up(imem->base.reserved, 4096); in nv40_instmem_oneinit()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | gem.c | 158 size = round_up(size, PAGE_SIZE); in tegra_bo_alloc_object() 394 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()
|
D | fb.c | 216 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe()
|
/linux-4.4.14/drivers/atm/ |
D | horizon.h | 502 round_up, enumerator
|
D | horizon.c | 603 r == round_up ? "up" : r == round_down ? "down" : "nearest"); in make_rate() 698 c, (r == round_up) ? "up" : (r == round_down) ? "down" : "nearest", tol); in make_rate_with_tolerance() 2255 r = round_up; in hrz_open() 2288 pr = round_up; in hrz_open() 2303 sr = round_up; in hrz_open()
|
D | ambassador.h | 658 round_up, enumerator
|
D | ambassador.c | 913 if (r == round_up) { in make_rate() 951 case round_up: { in make_rate() 1073 r = round_up; in amb_open()
|
/linux-4.4.14/drivers/firmware/ |
D | qcom_scm-32.c | 238 end = round_up(end, cacheline_size); in qcom_scm_inv_range()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_gem_cma_helper.c | 104 size = round_up(size, PAGE_SIZE); in drm_gem_cma_create()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_pool.c | 143 static inline __u64 dru(__u64 val, __u32 shift, int round_up) in dru() argument 145 return (val + (round_up ? (1 << shift) - 1 : 0)) >> shift; in dru()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_da_format.c | 228 round_up((offsetof(struct xfs_dir2_data_entry, name[0]) + (n) + \ 232 round_up((offsetof(struct xfs_dir2_data_entry, name[0]) + (n) + \
|
D | xfs_trans_resv.c | 47 return round_up(sizeof(struct xlog_op_header) + in xfs_buf_log_overhead()
|
/linux-4.4.14/fs/hfsplus/ |
D | attributes.c | 127 len = round_up(len, 2); in hfsplus_attr_build_record()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | cw1200_sdio.c | 252 size = round_up(size, SDIO_BLOCK_SIZE); in cw1200_sdio_align_size()
|
D | wsm.c | 1811 size = round_up(size, FWLOAD_BLOCK_SIZE); in wsm_buf_reserve()
|
/linux-4.4.14/arch/mips/mm/ |
D | tlb-r4k.c | 128 end = round_up(end, PAGE_SIZE << 1); in local_flush_tlb_range()
|
/linux-4.4.14/block/ |
D | blk-flush.c | 515 rq_sz = round_up(rq_sz + cmd_size, cache_line_size()); in blk_alloc_flush_queue()
|
D | blk-mq.c | 1485 rq_size = round_up(sizeof(struct request) + set->cmd_size, in blk_mq_init_rq_map()
|
/linux-4.4.14/fs/btrfs/ |
D | file.c | 1450 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow() 1806 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter() 2309 ino_size = round_up(inode->i_size, PAGE_CACHE_SIZE); in btrfs_punch_hole() 2319 lockstart = round_up(offset, BTRFS_I(inode)->root->sectorsize); in btrfs_punch_hole() 2645 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate() 2849 lockend = round_up(i_size_read(inode), root->sectorsize); in find_desired_extent()
|
D | extent-tree.c | 4141 len = round_up(start + len, root->sectorsize) - in btrfs_check_data_free_space() 4174 len = round_up(start + len, root->sectorsize) - in btrfs_free_reserved_data_space_noquota()
|
D | inode.c | 7265 range_end = round_up(offset + num_bytes, root->sectorsize) - 1; in can_nocow_extent() 8493 dio_data.reserve = round_up(count, root->sectorsize); in btrfs_direct_IO()
|
D | extent_io.c | 4495 len = round_up(max, BTRFS_I(inode)->root->sectorsize) - start; in extent_fiemap()
|
/linux-4.4.14/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 201 writesl(reg, data, round_up(count, 4) / 4); in emac_outblk_32bit() 206 readsl(reg, data, round_up(count, 4) / 4); in emac_inblk_32bit()
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | intel-bts.c | 171 sz = round_up(sz, page_size) / page_size; in intel_bts_recording_options()
|
D | intel-pt.c | 564 sz = round_up(sz, page_size) / page_size; in intel_pt_recording_options()
|
/linux-4.4.14/crypto/asymmetric_keys/ |
D | verify_pefile.c | 145 if (round_up(wrapper.length, 8) != ctx->sig_len) { in pefile_strip_sig_wrapper()
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 346 cmdsz = round_up(pcmd->cmdsz, 8); in r8712_cmd_thread()
|
D | rtl8712_recv.c | 1058 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe()
|
/linux-4.4.14/drivers/xen/ |
D | balloon.c | 320 balloon_hotplug = round_up(credit, PAGES_PER_SECTION); in reserve_additional_memory()
|
/linux-4.4.14/include/linux/usb/ |
D | gadget.h | 679 round_up(len, (size_t)ep->desc->wMaxPacketSize); in usb_ep_align_maybe()
|
/linux-4.4.14/drivers/vfio/pci/ |
D | vfio_pci_config.c | 340 size = round_up(size, 4); in alloc_perm_bits() 1078 len = round_up(len, 16); in vfio_vc_cap_len() 1181 bits = byte ? round_up(byte, 32) : 256; in vfio_ext_cap_len()
|
/linux-4.4.14/drivers/target/ |
D | target_core_user.c | 199 size = round_up(size+offset, PAGE_SIZE); in tcmu_flush_dcache_range() 403 + round_up(scsi_command_size(se_cmd->t_task_cdb), TCMU_OP_ALIGN_SIZE); in tcmu_queue_cmd_ring()
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-elf.c | 1513 kci->etext = round_up(kci->etext, page_size); in kcore_copy__calc_maps() 1515 kci->etext = round_up(kci->last_symbol, page_size); in kcore_copy__calc_maps() 1522 kci->last_module_symbol = round_up(kci->last_module_symbol, in kcore_copy__calc_maps()
|
D | util.c | 463 size = round_up(size, sizeof(u64)); in get_stack_size()
|
D | evsel.c | 689 dump_size = round_up(dump_size, sizeof(u64)); in apply_config_terms()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 192 pframe = (u8 *)round_up((size_t)(pframe), 4); in rtw_wep_encrypt() 631 pframe = (u8 *)round_up((size_t)(pframe), 4); in rtw_tkip_encrypt() 1245 pframe = (u8 *)round_up((size_t)(pframe), 8); in rtw_aes_encrypt()
|
D | rtw_xmit.c | 695 payload = (u8 *)round_up((size_t)(payload), 4); in xmitframe_addmic() 1100 mem_start = (unsigned char *)round_up(addr, 4) + hw_hdr_offset; in rtw_xmitframe_coalesce()
|
/linux-4.4.14/arch/arm/mm/ |
D | init.c | 771 end = round_up(end, PAGE_SIZE); in free_initrd_mem()
|
D | mmu.c | 1387 phys_addr_t kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); in map_lowmem()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-mvebu.c | 893 return round_up(start, max_t(resource_size_t, SZ_64K, in mvebu_pcie_align_resource() 896 return round_up(start, max_t(resource_size_t, SZ_1M, in mvebu_pcie_align_resource()
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_dev.c | 786 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); in genwqe_pin_mem() 816 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); in genwqe_unpin_mem()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgf100.c | 992 info->buffer[info->buffer_nr] = round_up(info->addr, align); in gf100_grctx_mmio_data()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1018 len = round_up(len, 4); in ath10k_htt_rx_nwifi_hdrlen() 1161 rfc1042 += round_up(hdr_len, 4) + in ath10k_htt_rx_h_find_rfc1042() 1162 round_up(crypto_len, 4); in ath10k_htt_rx_h_find_rfc1042()
|
D | wmi.c | 1781 len = round_up(len, 4); in ath10k_wmi_op_gen_mgmt_tx() 4268 pool_size = num_units * round_up(unit_len, 4); in ath10k_wmi_alloc_host_mem() 4325 pool_size = num_units * round_up(unit_size, 4); in ath10k_wmi_is_host_mem_allocated()
|
/linux-4.4.14/lib/842/ |
D | 842_compress.c | 178 int b = p->bit, bits = b + n, s = round_up(bits, 8) - bits; in add_bits()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 63 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_eld.c | 796 pos = round_up(pos, 4); in snd_hdmi_get_eld_ati()
|
/linux-4.4.14/arch/tile/mm/ |
D | init.c | 182 end = round_up(end, PMD_SIZE); in page_table_range_init()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_context.c | 373 dev_priv->hw_context_size = round_up(get_context_size(dev), 4096); in i915_gem_context_init()
|
D | i915_guc_submission.c | 861 const size_t gemsize = round_up(poolsize, PAGE_SIZE); in i915_guc_submission_init()
|
D | i915_gem.c | 555 end = round_up(end, 128); in shmem_clflush_swizzled_range() 5253 obj = i915_gem_alloc_object(dev, round_up(size, PAGE_SIZE)); in i915_gem_object_create_from_data()
|
D | intel_lrc.c | 2468 context_size = round_up(get_lr_context_size(ring), 4096); in intel_lr_context_deferred_alloc()
|
D | intel_ringbuffer.c | 1316 num_dwords += round_up((num_rings-1) * MBOX_UPDATE_DWORDS, 2); in gen6_signal()
|
D | intel_display.c | 2537 u32 size_aligned = round_up(plane_config->base + plane_config->size, in intel_alloc_initial_plane_obj()
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | efi.c | 573 npages = round_up(size, page_shift) / page_shift; in efi_memory_uc()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/ |
D | com.fuc | 521 // nTx = round_up(w * cpp, 1 << Tp) >> Tp 522 // nTy = round_up(h, 1 << Th) >> Th
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 760 wmin = round_up(wmin, pix_lim->out_width_align); in __camif_video_try_format() 762 hmin = round_up(hmin, 8); in __camif_video_try_format()
|
/linux-4.4.14/drivers/net/can/usb/ |
D | kvaser_usb.c | 599 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> in kvaser_usb_wait_msg() 1339 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> in kvaser_usb_read_bulk_callback()
|
/linux-4.4.14/drivers/ntb/ |
D | ntb_transport.c | 661 xlat_size = round_up(size, mw->xlat_align_size); in ntb_set_mw() 662 buff_size = round_up(size, mw->xlat_align); in ntb_set_mw()
|
/linux-4.4.14/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 960 pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) - in sunxi_pinctrl_init()
|
/linux-4.4.14/drivers/acpi/ |
D | osl.c | 398 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem()
|
/linux-4.4.14/fs/hugetlbfs/ |
D | inode.c | 521 hole_start = round_up(offset, hpage_size); in hugetlbfs_punch_hole()
|
/linux-4.4.14/drivers/cpufreq/ |
D | intel_pstate.c | 1131 limits->max_perf = round_up(limits->max_perf, FRAC_BITS); in intel_pstate_set_policy()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 258 pix->plane_fmt[i].bytesperline = round_up(bpl, align); in __vsp1_video_try_format()
|
/linux-4.4.14/fs/ceph/ |
D | file.c | 1232 loff_t nearly = round_up(offset, PAGE_CACHE_SIZE); in ceph_zero_pagecache_range()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | pci.c | 783 aligned_end = round_up(off + count, 8); in cxl_afu_read_err_buffer()
|
/linux-4.4.14/drivers/media/platform/ |
D | rcar_jpu.c | 829 bpl = round_up(bpl, JPU_MEMALIGN); in __jpu_try_fmt()
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 164 geo->ecc_strength = round_up(chip->ecc_strength_ds, 2); in set_geometry_by_ecc_info()
|
/linux-4.4.14/kernel/rcu/ |
D | tree_plugin.h | 1499 dj = round_up(rcu_idle_gp_delay + jiffies, in rcu_needs_cpu()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwsignal.c | 889 fillers = round_up(data_offset, 4) - data_offset; in brcmf_fws_hdrpush()
|
/linux-4.4.14/fs/ |
D | binfmt_elf.c | 1527 size = round_up(size, PAGE_SIZE); in fill_files_note()
|
D | dcache.c | 1572 round_up(name->len + 1, sizeof(unsigned long))); in __d_alloc()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 5115 stack_size = round_up(stack_size, sizeof(u64)); in perf_sample_ustack_size() 5382 u32 real_size = round_up(raw_size + sizeof(u32), in perf_output_sample() 5521 header->size += round_up(size, sizeof(u64)); in perf_prepare_sample()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 245 ep->emss -= round_up(TCPOLEN_TIMESTAMP, 4); in set_emss() 627 round_up(TCPOLEN_TIMESTAMP, 4) : 0); in best_mtu()
|
/linux-4.4.14/fs/ext4/ |
D | extents.c | 4787 start = round_up(offset, 1 << blkbits); in ext4_zero_range() 4832 (round_up((offset + len), 1 << blkbits) - in ext4_zero_range()
|
D | inode.c | 3692 first_block_offset = round_up(offset, sb->s_blocksize); in ext4_punch_hole()
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 2780 return round_up(off, FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT); in fuse_round_up()
|
/linux-4.4.14/drivers/block/ |
D | rbd.c | 1467 round_up(rbd_dev->parent_overlap, rbd_obj_bytes(&rbd_dev->header)); in obj_request_overlaps_parent()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mad.c | 4119 *out_mad_size = round_up(resp_len, 8); in hfi1_process_opa_mad()
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 834 rss = round_up(rss, nr_scan_pages); in task_nr_scan_windows()
|