/linux-4.1.27/arch/x86/mm/ |
D | init.c | 215 unsigned long end = round_up(mr[i].end, PMD_SIZE); in adjust_range_page_size_mask() 228 unsigned long end = round_up(mr[i].end, PUD_SIZE); in adjust_range_page_size_mask() 283 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 285 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 295 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 299 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 312 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 322 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 559 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.1.27/mm/kasan/ |
D | kasan.c | 318 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), in kasan_poison_object_data() 330 unsigned long rounded_up_size = round_up(size, KASAN_SHADOW_SCALE_SIZE); in kasan_slab_free() 347 redzone_start = round_up((unsigned long)(object + size), in kasan_kmalloc() 349 redzone_end = round_up((unsigned long)object + cache->object_size, in kasan_kmalloc() 368 redzone_start = round_up((unsigned long)(ptr + size), in kasan_kmalloc_large() 420 shadow_size = round_up(size >> KASAN_SHADOW_SCALE_SHIFT, in kasan_module_alloc() 448 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); in register_global()
|
/linux-4.1.27/arch/x86/kernel/ |
D | check.c | 92 corruption_check_size = round_up(corruption_check_size, PAGE_SIZE); in setup_bios_corruption_check() 95 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 | 1014 end = round_up(start, ram_alignment(start)) - 1; in e820_reserve_resources_late()
|
/linux-4.1.27/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 | 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.1.27/kernel/bpf/ |
D | hashtab.c | 89 round_up(htab->map.key_size, 8) + in htab_map_alloc() 140 return l->key + round_up(map->key_size, 8); in htab_map_lookup_elem() 228 memcpy(l_new->key + round_up(key_size, 8), value, map->value_size); in htab_map_update_elem()
|
D | arraymap.c | 35 elem_size = round_up(attr->value_size, 8); in array_map_alloc()
|
D | core.c | 78 size = round_up(size, PAGE_SIZE); in bpf_prog_alloc() 105 size = round_up(size, PAGE_SIZE); in bpf_prog_realloc() 145 size = round_up(proglen + sizeof(*hdr) + 128, PAGE_SIZE); in bpf_jit_binary_alloc()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv25.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); in nv25_fb_tile_comp()
|
D | nv36.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); in nv36_fb_tile_comp()
|
D | nv35.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); in nv35_fb_tile_comp()
|
D | nv40.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x100); in nv40_fb_tile_comp()
|
D | nv20.c | 46 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); in nv20_fb_tile_comp()
|
D | nv30.c | 54 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); in nv30_fb_tile_comp()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | mixer_vp_layer.c | 175 src->width = clamp(src->width, round_up(dst->width / 16, 4), in mxr_vp_fix_geometry() 177 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.1.27/mm/ |
D | truncate.c | 669 loff_t holebegin = round_up(newsize, PAGE_SIZE); in truncate_pagecache() 741 rounded_from = round_up(from, bsize); in pagecache_isize_extended() 777 loff_t unmap_start = round_up(lstart, PAGE_SIZE); in truncate_pagecache_range()
|
D | filemap.c | 1877 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); in filemap_fault() 1927 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); in filemap_fault() 2032 size = round_up(i_size_read(mapping->host), PAGE_CACHE_SIZE); in filemap_map_pages()
|
D | memblock.c | 127 cand = round_up(this_start, align); in __memblock_find_range_bottom_up() 1478 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 | 1379 pfn = round_up(pfn + 1, in scan_movable_pages()
|
D | shmem.c | 573 loff_t holebegin = round_up(newsize, PAGE_SIZE); in shmem_setattr() 2066 loff_t unmap_start = round_up(offset, PAGE_SIZE); in shmem_fallocate()
|
D | page_alloc.c | 6086 numentries = round_up(numentries, (1<<20)/PAGE_SIZE); in alloc_large_system_hash() 6288 iter = round_up(iter + 1, 1<<compound_order(page)) - 1; in has_unmovable_pages()
|
D | swapfile.c | 2282 for (i = maxpages; i < round_up(maxpages, SWAPFILE_CLUSTER); i++) in setup_swap_map_and_extents()
|
/linux-4.1.27/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 | 506 nbx = round_up(nbx, 16 * 8); in evergreen_cs_track_validate_htile() 508 nby = round_up(nby, track->npipes * 8); in evergreen_cs_track_validate_htile() 517 nbx = round_up(nbx, 64 * 8); in evergreen_cs_track_validate_htile() 518 nby = round_up(nby, 64 * 8); in evergreen_cs_track_validate_htile() 522 nbx = round_up(nbx, 64 * 8); in evergreen_cs_track_validate_htile() 523 nby = round_up(nby, 32 * 8); in evergreen_cs_track_validate_htile() 527 nbx = round_up(nbx, 32 * 8); in evergreen_cs_track_validate_htile() 528 nby = round_up(nby, 32 * 8); in evergreen_cs_track_validate_htile() 532 nbx = round_up(nbx, 32 * 8); in evergreen_cs_track_validate_htile() 533 nby = round_up(nby, 16 * 8); in evergreen_cs_track_validate_htile()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | fixmap.h | 44 #define FIXADDR_TOP (round_up(VSYSCALL_ADDR + PAGE_SIZE, 1<<PMD_SHIFT) - \
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 402 mem_addr = (u8 *)round_up((size_t)mem_addr, 4); in rtw_dump_xframe() 494 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete() 545 if (round_up(pbuf + len, 8) > MAX_XMITBUF_SZ) { in rtl8188eu_xmitframe_complete() 568 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete()
|
/linux-4.1.27/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.1.27/tools/perf/util/include/linux/ |
D | kernel.h | 104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_pool.c | 144 static inline __u64 dru(__u64 val, __u32 shift, int round_up) in dru() argument 146 return (val + (round_up ? (1 << shift) - 1 : 0)) >> shift; in dru() 245 int round_up; in ldlm_pool_recalc_slv() local 255 round_up = granted < limit; in ldlm_pool_recalc_slv() 270 slv = dru(slv, LDLM_POOL_SLV_SHIFT, round_up); in ldlm_pool_recalc_slv()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv40.c | 88 priv->base.reserved = round_up(priv->base.reserved, 4096); in nv40_instmem_ctor()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 232 offset = round_up(qat_get_inter_state_size(ctx->qat_hash_alg), 8); in qat_alg_do_precomputes() 338 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); in qat_alg_aead_init_enc_session() 340 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_alg_aead_init_enc_session() 355 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); in qat_alg_aead_init_enc_session() 427 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); in qat_alg_aead_init_dec_session() 429 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_alg_aead_init_dec_session() 445 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); in qat_alg_aead_init_dec_session()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 88 txn->current_pa = round_up(txn->current_pa, 16); in alloc_dma() 89 txn->current_va = (void *)round_up((long)txn->current_va, 16); in alloc_dma() 513 *w = round_up(*w, geom[fmt].slot_w); in tiler_align() 514 *h = round_up(*h, geom[fmt].slot_h); in tiler_align() 536 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; in tiler_vsize()
|
/linux-4.1.27/drivers/media/platform/coda/ |
D | coda-bit.c | 341 width = round_up(q_data->width, 16); in coda_alloc_framebuffers() 342 height = round_up(q_data->height, 16); in coda_alloc_framebuffers() 344 width = round_up(q_data->width, 8); in coda_alloc_framebuffers() 498 size = round_up(size, 1024); in coda_iram_alloc() 551 iram_info->search_ram_size = round_up(mb_width * 16 * in coda_setup_iram() 814 value = (round_up(q_data_src->width, 16) & in coda_start_encoding() 816 value |= (round_up(q_data_src->height, 16) & in coda_start_encoding() 1528 width = round_up(width, 16); in __coda_start_decoding() 1529 height = round_up(height, 16); in __coda_start_decoding()
|
D | coda-common.c | 480 return round_up(clamp(sizeimage, width * height / 8, in coda_estimate_sizeimage() 514 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt() 519 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt() 581 f->fmt.pix.height = round_up(f->fmt.pix.height, 16); in coda_try_fmt_vid_cap() 582 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); in coda_try_fmt_vid_cap() 1287 round_up(q_data_src->width, 16) != q_data_dst->width) || in coda_start_streaming() 1289 round_up(q_data_src->height, 16) != q_data_dst->height)) { in coda_start_streaming()
|
/linux-4.1.27/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.1.27/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 | 1209 iendoffset = round_up(offset + len, rounding) - 1; in xfs_free_file_space() 1370 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.1.27/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.1.27/arch/arm64/mm/ |
D | mmu.c | 311 unsigned long kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); in __map_memblock() 409 unsigned long aligned_end = round_up(__pa(__init_end), in fixup_executable()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 117 size = round_up(size, PAGE_SIZE); in rockchip_gem_create_object()
|
/linux-4.1.27/drivers/scsi/ |
D | mvumi.c | 144 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.1.27/drivers/gpu/drm/tegra/ |
D | gem.c | 158 size = round_up(size, PAGE_SIZE); in tegra_bo_alloc_object() 403 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.1.27/drivers/firmware/ |
D | qcom_scm.c | 246 end = round_up(end, cacheline_size); in qcom_scm_inv_range()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/ |
D | drm_gem_cma_helper.c | 104 size = round_up(size, PAGE_SIZE); in drm_gem_cma_create()
|
/linux-4.1.27/fs/hfsplus/ |
D | attributes.c | 127 len = round_up(len, 2); in hfsplus_attr_build_record()
|
/linux-4.1.27/fs/btrfs/ |
D | file.c | 1440 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow() 1790 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter() 2286 ino_size = round_up(inode->i_size, PAGE_CACHE_SIZE); in btrfs_punch_hole() 2296 lockstart = round_up(offset, BTRFS_I(inode)->root->sectorsize); in btrfs_punch_hole() 2565 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate() 2736 lockend = round_up(i_size_read(inode), root->sectorsize); in find_desired_extent()
|
D | extent_io.c | 4423 len = round_up(max, BTRFS_I(inode)->root->sectorsize) - start; in extent_fiemap()
|
D | inode.c | 7198 range_end = round_up(offset + num_bytes, root->sectorsize) - 1; in can_nocow_extent()
|
/linux-4.1.27/block/ |
D | blk-flush.c | 502 rq_sz = round_up(rq_sz + cmd_size, cache_line_size()); in blk_alloc_flush_queue()
|
D | blk-mq.c | 1461 rq_size = round_up(sizeof(struct request) + set->cmd_size, in blk_mq_init_rq_map()
|
/linux-4.1.27/include/linux/usb/ |
D | gadget.h | 602 round_up(len, (size_t)ep->desc->wMaxPacketSize); in usb_ep_align_maybe()
|
/linux-4.1.27/arch/mips/mm/ |
D | tlb-r4k.c | 128 end = round_up(end, PAGE_SIZE << 1); in local_flush_tlb_range()
|
/linux-4.1.27/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 200 writesl(reg, data, round_up(count, 4) / 4); in emac_outblk_32bit() 205 readsl(reg, data, round_up(count, 4) / 4); in emac_inblk_32bit()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
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.1.27/drivers/vfio/pci/ |
D | vfio_pci_config.c | 340 size = round_up(size, 4); in alloc_perm_bits() 1010 len = round_up(len, 16); in vfio_vc_cap_len() 1113 bits = byte ? round_up(byte, 32) : 256; in vfio_ext_cap_len()
|
/linux-4.1.27/drivers/xen/ |
D | balloon.c | 229 balloon_hotplug = round_up(balloon_hotplug, PAGES_PER_SECTION); in reserve_additional_memory()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | verify_pefile.c | 145 if (round_up(wrapper.length, 8) != ctx->sig_len) { in pefile_strip_sig_wrapper()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 344 cmdsz = round_up(pcmd->cmdsz, 8); in r8712_cmd_thread()
|
D | rtl8712_recv.c | 1055 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe()
|
/linux-4.1.27/tools/perf/util/ |
D | symbol-elf.c | 1495 kci->etext = round_up(kci->etext, page_size); in kcore_copy__calc_maps() 1497 kci->etext = round_up(kci->last_symbol, page_size); in kcore_copy__calc_maps() 1504 kci->last_module_symbol = round_up(kci->last_module_symbol, in kcore_copy__calc_maps()
|
D | callchain.c | 41 size = round_up(size, sizeof(u64)); in get_stack_size()
|
/linux-4.1.27/drivers/pci/host/ |
D | pci-mvebu.c | 790 return round_up(start, max_t(resource_size_t, SZ_64K, in mvebu_pcie_align_resource() 793 return round_up(start, max_t(resource_size_t, SZ_1M, in mvebu_pcie_align_resource()
|
/linux-4.1.27/arch/arm/mm/ |
D | init.c | 738 end = round_up(end, PAGE_SIZE); in free_initrd_mem()
|
D | mmu.c | 1333 phys_addr_t kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); in map_lowmem()
|
/linux-4.1.27/drivers/target/ |
D | target_core_user.c | 191 size = round_up(size+offset, PAGE_SIZE); in tcmu_flush_dcache_range() 298 + round_up(scsi_command_size(se_cmd->t_task_cdb), TCMU_OP_ALIGN_SIZE); in tcmu_queue_cmd_ring()
|
/linux-4.1.27/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 | 694 payload = (u8 *)round_up((size_t)(payload), 4); in xmitframe_addmic() 1099 mem_start = (unsigned char *)round_up(addr, 4) + hw_hdr_offset; in rtw_xmitframe_coalesce()
|
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 935 return round_up(ieee80211_hdrlen(hdr->frame_control), 4); in ath10k_htt_rx_nwifi_hdrlen() 1077 rfc1042 += round_up(hdr_len, 4) + in ath10k_htt_rx_h_find_rfc1042() 1078 round_up(crypto_len, 4); in ath10k_htt_rx_h_find_rfc1042()
|
D | wmi.c | 1080 len = round_up(len, 4); in ath10k_wmi_op_gen_mgmt_tx() 3012 pool_size = num_units * round_up(unit_len, 4); in ath10k_wmi_alloc_host_mem()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgf100.c | 993 info->buffer[info->buffer_nr] = round_up(info->addr, align); in gf100_grctx_mmio_data()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_eld.c | 796 pos = round_up(pos, 4); in snd_hdmi_get_eld_ati()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx.c | 616 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init()
|
/linux-4.1.27/include/linux/ |
D | kernel.h | 63 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.1.27/arch/tile/mm/ |
D | init.c | 182 end = round_up(end, PMD_SIZE); in page_table_range_init()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_context.c | 343 dev_priv->hw_context_size = round_up(get_context_size(dev), 4096); in i915_gem_context_init()
|
D | intel_lrc.c | 1940 context_size = round_up(get_lr_context_size(ring), 4096); in intel_lr_context_deferred_create()
|
D | intel_ringbuffer.c | 1211 num_dwords += round_up((num_rings-1) * MBOX_UPDATE_DWORDS, 2); in gen6_signal()
|
D | i915_gem.c | 573 end = round_up(end, 128); in shmem_clflush_swizzled_range()
|
D | intel_display.c | 2548 u32 size_aligned = round_up(plane_config->base + plane_config->size, in intel_alloc_initial_plane_obj()
|
/linux-4.1.27/arch/x86/platform/efi/ |
D | efi.c | 547 npages = round_up(size, page_shift) / page_shift; in efi_memory_uc()
|
/linux-4.1.27/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.1.27/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 761 wmin = round_up(wmin, pix_lim->out_width_align); in __camif_video_try_format() 763 hmin = round_up(hmin, 8); in __camif_video_try_format()
|
/linux-4.1.27/drivers/net/can/usb/ |
D | kvaser_usb.c | 599 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> in kvaser_usb_wait_msg() 1340 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> in kvaser_usb_read_bulk_callback()
|
/linux-4.1.27/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 937 pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) - in sunxi_pinctrl_init()
|
/linux-4.1.27/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.1.27/drivers/acpi/ |
D | osl.c | 401 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem()
|
/linux-4.1.27/fs/ceph/ |
D | file.c | 1141 loff_t nearly = round_up(offset, PAGE_CACHE_SIZE); in ceph_zero_pagecache_range()
|
/linux-4.1.27/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.1.27/kernel/rcu/ |
D | tree_plugin.h | 1507 *dj = round_up(rcu_idle_gp_delay + jiffies, in rcu_needs_cpu()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwsignal.c | 889 fillers = round_up(data_offset, 4) - data_offset; in brcmf_fws_hdrpush()
|
/linux-4.1.27/fs/ |
D | binfmt_elf.c | 1517 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.1.27/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 244 ep->emss -= round_up(TCPOLEN_TIMESTAMP, 4); in set_emss() 610 round_up(TCPOLEN_TIMESTAMP, 4) : 0); in best_mtu()
|
/linux-4.1.27/fs/ext4/ |
D | extents.c | 4764 start = round_up(offset, 1 << blkbits); in ext4_zero_range() 4809 (round_up((offset + len), 1 << blkbits) - in ext4_zero_range()
|
D | inode.c | 3650 first_block_offset = round_up(offset, sb->s_blocksize); in ext4_punch_hole()
|
/linux-4.1.27/fs/fuse/ |
D | file.c | 2780 return round_up(off, FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT); in fuse_round_up()
|
/linux-4.1.27/drivers/block/ |
D | rbd.c | 1465 round_up(rbd_dev->parent_overlap, rbd_obj_bytes(&rbd_dev->header)); in obj_request_overlaps_parent()
|
/linux-4.1.27/kernel/sched/ |
D | fair.c | 828 rss = round_up(rss, nr_scan_pages); in task_nr_scan_windows()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 4949 stack_size = round_up(stack_size, sizeof(u64)); in perf_sample_ustack_size()
|