/linux-4.1.27/mm/kasan/ |
H A D | kasan.c | 318 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), kasan_poison_object_data() 330 unsigned long rounded_up_size = round_up(size, KASAN_SHADOW_SCALE_SIZE); kasan_slab_free() 347 redzone_start = round_up((unsigned long)(object + size), kasan_kmalloc() 349 redzone_end = round_up((unsigned long)object + cache->object_size, kasan_kmalloc() 368 redzone_start = round_up((unsigned long)(ptr + size), kasan_kmalloc_large() 420 shadow_size = round_up(size >> KASAN_SHADOW_SCALE_SHIFT, kasan_module_alloc() 448 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); register_global()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | check.c | 92 corruption_check_size = round_up(corruption_check_size, PAGE_SIZE); setup_bios_corruption_check() 95 start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE), setup_bios_corruption_check()
|
H A D | tboot.c | 187 mr->size = round_up(end, PAGE_SIZE) - mr->start; add_mac_region()
|
H A D | amd_gart_64.c | 536 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; check_iommu_size()
|
H A D | e820.c | 1014 end = round_up(start, ram_alignment(start)) - 1; e820_reserve_resources_late()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | init.c | 215 unsigned long end = round_up(mr[i].end, PMD_SIZE); adjust_range_page_size_mask() 228 unsigned long end = round_up(mr[i].end, PUD_SIZE); adjust_range_page_size_mask() 283 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range() 285 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range() 295 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range() 299 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); split_mem_range() 312 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); split_mem_range() 322 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range() 470 * In the bottom-up case, round_up(x, 0) returns 0 though too, which get_new_step_size() 559 next = round_up(start + 1, step_size); memory_map_bottom_up()
|
H A D | numa_32.c | 56 end = round_up(end, PAGES_PER_SECTION); memory_present()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
H A D | mixer_vp_layer.c | 175 src->width = clamp(src->width, round_up(dst->width / 16, 4), mxr_vp_fix_geometry() 177 src->height = clamp(src->height, round_up(dst->height / 16, 4), mxr_vp_fix_geometry()
|
H A D | mixer_grp_layer.c | 171 dst->width = round_up(dst->width, 2); mxr_graph_fix_geometry() 172 dst->height = round_up(dst->height, 2); mxr_graph_fix_geometry()
|
/linux-4.1.27/kernel/bpf/ |
H A D | arraymap.c | 35 elem_size = round_up(attr->value_size, 8); array_map_alloc() 37 /* check round_up into zero and u32 overflow */ array_map_alloc()
|
H A D | hashtab.c | 89 round_up(htab->map.key_size, 8) + htab_map_alloc() 140 return l->key + round_up(map->key_size, 8); htab_map_lookup_elem() 228 memcpy(l_new->key + round_up(key_size, 8), value, map->value_size); htab_map_update_elem()
|
H A D | core.c | 78 size = round_up(size, PAGE_SIZE); bpf_prog_alloc() 105 size = round_up(size, PAGE_SIZE); bpf_prog_realloc() 145 size = round_up(proglen + sizeof(*hdr) + 128, PAGE_SIZE); bpf_jit_binary_alloc()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv25.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv25_fb_tile_comp()
|
H A D | nv35.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv35_fb_tile_comp()
|
H A D | nv36.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv36_fb_tile_comp()
|
H A D | nv40.c | 33 u32 tags = round_up(tiles / pfb->ram->parts, 0x100); nv40_fb_tile_comp()
|
H A D | nv20.c | 46 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv20_fb_tile_comp()
|
H A D | nv30.c | 54 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv30_fb_tile_comp()
|
/linux-4.1.27/tools/perf/util/include/linux/ |
H A D | kernel.h | 104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 165 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; efi_high_alloc() 250 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; efi_low_alloc() 275 start = round_up(start, align); efi_low_alloc() 304 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; efi_free() 573 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; efi_relocate_kernel()
|
H A D | arm-stub.c | 401 efi_virt_base = round_up(efi_virt_base, SZ_2M); efi_get_virtmap() 403 efi_virt_base = round_up(efi_virt_base, SZ_64K); efi_get_virtmap()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 651 nbx = round_up(nbx, 16 * 8); r600_cs_track_validate_db() 653 nby = round_up(nby, track->npipes * 8); r600_cs_track_validate_db() 662 nbx = round_up(nbx, 64 * 8); r600_cs_track_validate_db() 663 nby = round_up(nby, 64 * 8); r600_cs_track_validate_db() 667 nbx = round_up(nbx, 64 * 8); r600_cs_track_validate_db() 668 nby = round_up(nby, 32 * 8); r600_cs_track_validate_db() 672 nbx = round_up(nbx, 32 * 8); r600_cs_track_validate_db() 673 nby = round_up(nby, 32 * 8); r600_cs_track_validate_db() 677 nbx = round_up(nbx, 32 * 8); r600_cs_track_validate_db() 678 nby = round_up(nby, 16 * 8); r600_cs_track_validate_db() 1430 nbx = round_up(nbx, block_align); r600_texture_size() 1434 nby = round_up(nby, height_align); r600_texture_size() 1448 offset = round_up(offset, base_align); r600_texture_size()
|
H A D | evergreen_cs.c | 506 nbx = round_up(nbx, 16 * 8); evergreen_cs_track_validate_htile() 508 nby = round_up(nby, track->npipes * 8); evergreen_cs_track_validate_htile() 517 nbx = round_up(nbx, 64 * 8); evergreen_cs_track_validate_htile() 518 nby = round_up(nby, 64 * 8); evergreen_cs_track_validate_htile() 522 nbx = round_up(nbx, 64 * 8); evergreen_cs_track_validate_htile() 523 nby = round_up(nby, 32 * 8); evergreen_cs_track_validate_htile() 527 nbx = round_up(nbx, 32 * 8); evergreen_cs_track_validate_htile() 528 nby = round_up(nby, 32 * 8); evergreen_cs_track_validate_htile() 532 nbx = round_up(nbx, 32 * 8); evergreen_cs_track_validate_htile() 533 nby = round_up(nby, 16 * 8); evergreen_cs_track_validate_htile()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 232 offset = round_up(qat_get_inter_state_size(ctx->qat_hash_alg), 8); qat_alg_do_precomputes() 338 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); qat_alg_aead_init_enc_session() 340 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); qat_alg_aead_init_enc_session() 355 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); qat_alg_aead_init_enc_session() 427 round_up(ICP_QAT_HW_SHA1_STATE1_SZ, 8); qat_alg_aead_init_dec_session() 429 round_up(ICP_QAT_HW_SHA1_STATE2_SZ, 8); qat_alg_aead_init_dec_session() 445 round_up(hash_cd_ctrl->inner_state1_sz, 8)) >> 3); qat_alg_aead_init_dec_session()
|
/linux-4.1.27/drivers/media/platform/coda/ |
H A D | coda-bit.c | 341 width = round_up(q_data->width, 16); coda_alloc_framebuffers() 342 height = round_up(q_data->height, 16); coda_alloc_framebuffers() 344 width = round_up(q_data->width, 8); coda_alloc_framebuffers() 498 size = round_up(size, 1024); coda_iram_alloc() 551 iram_info->search_ram_size = round_up(mb_width * 16 * coda_setup_iram() 814 value = (round_up(q_data_src->width, 16) & coda_start_encoding() 816 value |= (round_up(q_data_src->height, 16) & coda_start_encoding() 1528 width = round_up(width, 16); __coda_start_decoding() 1529 height = round_up(height, 16); __coda_start_decoding()
|
H A D | coda-common.c | 480 return round_up(clamp(sizeimage, width * height / 8, coda_estimate_sizeimage() 514 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); coda_try_fmt() 519 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); coda_try_fmt() 581 f->fmt.pix.height = round_up(f->fmt.pix.height, 16); coda_try_fmt_vid_cap() 582 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); coda_try_fmt_vid_cap() 1287 round_up(q_data_src->width, 16) != q_data_dst->width) || coda_start_streaming() 1289 round_up(q_data_src->height, 16) != q_data_dst->height)) { coda_start_streaming()
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188eu_xmit.c | 402 mem_addr = (u8 *)round_up((size_t)mem_addr, 4); rtw_dump_xframe() 494 pbuf = round_up(pbuf_tail, 8); rtl8188eu_xmitframe_complete() 545 if (round_up(pbuf + len, 8) > MAX_XMITBUF_SZ) { rtl8188eu_xmitframe_complete() 568 pbuf = round_up(pbuf_tail, 8); rtl8188eu_xmitframe_complete()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | fixmap.h | 44 #define FIXADDR_TOP (round_up(VSYSCALL_ADDR + PAGE_SIZE, 1<<PMD_SHIFT) - \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | nv40.c | 88 priv->base.reserved = round_up(priv->base.reserved, 4096); nv40_instmem_ctor()
|
/linux-4.1.27/drivers/staging/fwserial/ |
H A D | dma_fifo.c | 75 size = round_up(size, align); dma_fifo_alloc() 221 fifo->out += round_up(n, fifo->align); dma_fifo_out_pend()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | at91_adc.c | 790 return round_up((startup_time * adc_clk_khz / 1000) - 1, 8) / 8; calc_startup_ticks_9260() 1011 st->ts_pendbc = round_up(TOUCH_PEN_DETECT_DEBOUNCE_US * adc_clk_khz / at91_ts_hw_init() 1031 st->ts_sample_period_val = round_up((TOUCH_SAMPLE_PERIOD_US_RL * at91_ts_hw_init() 1060 st->ts_sample_period_val = round_up((TOUCH_SAMPLE_PERIOD_US * at91_ts_hw_init() 1244 shtim = round_up((st->sample_hold_time * adc_clk_khz / 1000) at91_adc_probe()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 88 txn->current_pa = round_up(txn->current_pa, 16); alloc_dma() 89 txn->current_va = (void *)round_up((long)txn->current_va, 16); alloc_dma() 513 *w = round_up(*w, geom[fmt].slot_w); tiler_align() 514 *h = round_up(*h, geom[fmt].slot_h); tiler_align() 536 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; tiler_vsize()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_da_format.c | 224 * calculations. We also use round_up() as XFS_DIR2_DATA_ALIGN is always a power 228 round_up((offsetof(struct xfs_dir2_data_entry, name[0]) + (n) + \ 232 round_up((offsetof(struct xfs_dir2_data_entry, name[0]) + (n) + \
|
H A D | xfs_trans_resv.c | 47 return round_up(sizeof(struct xlog_op_header) + xfs_buf_log_overhead()
|
/linux-4.1.27/drivers/scsi/ |
H A D | mvumi.c | 144 size = round_up(size, 8); mvumi_alloc_mem_resource() 963 offset = round_up(p, 128) - p; mvumi_init_data() 978 offset = round_up(p, 8) - p; mvumi_init_data() 987 offset = round_up(p, 8) - p; mvumi_init_data() 995 offset = round_up(p, 4) - p; mvumi_init_data() 1005 offset = round_up(p, 128) - p; mvumi_init_data() 1014 tmp_size = round_up(tmp_size, 8); mvumi_init_data() 1033 tmp_size += round_up(mhba->max_target_id, sizeof(unsigned char) * 8) / mvumi_init_data()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | gem.c | 158 size = round_up(size, PAGE_SIZE); tegra_bo_alloc_object() 403 args->pitch = round_up(min_pitch, tegra->pitch_align); tegra_bo_dumb_create()
|
H A D | fb.c | 216 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, tegra_fbdev_probe()
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | mmu.c | 311 unsigned long kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); __map_memblock() 409 unsigned long aligned_end = round_up(__pa(__init_end), fixup_executable()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | cw1200_sdio.c | 252 size = round_up(size, SDIO_BLOCK_SIZE); cw1200_sdio_align_size()
|
H A D | wsm.c | 1811 size = round_up(size, FWLOAD_BLOCK_SIZE); wsm_buf_reserve()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 117 size = round_up(size, PAGE_SIZE); rockchip_gem_create_object()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_log.h | 69 lv->lv_buf_len += round_up(len, sizeof(uint64_t)); xlog_finish_iovec()
|
H A D | xfs_pnfs.c | 153 limit = max(limit, round_up(i_size_read(inode), xfs_fs_map_blocks()
|
H A D | xfs_log_cil.c | 210 nbytes = round_up(nbytes, sizeof(uint64_t)); xlog_cil_insert_format_items() 221 round_up((sizeof(struct xfs_log_vec) + xlog_cil_insert_format_items()
|
H A D | xfs_bmap_util.c | 1209 iendoffset = round_up(offset + len, rounding) - 1; xfs_free_file_space() 1370 round_up(offset + len, blksize) - xfs_zero_file_space()
|
H A D | xfs_log_recover.c | 131 nbblks = round_up(nbblks, log->l_sectBBsize); xlog_get_bp() 184 nbblks = round_up(nbblks, log->l_sectBBsize); xlog_bread_noalign() 269 nbblks = round_up(nbblks, log->l_sectBBsize); xlog_bwrite()
|
/linux-4.1.27/fs/hfsplus/ |
H A D | attributes.c | 127 len = round_up(len, 2); hfsplus_attr_build_record()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_pool.c | 144 static inline __u64 dru(__u64 val, __u32 shift, int round_up) dru() argument 146 return (val + (round_up ? (1 << shift) - 1 : 0)) >> shift; dru() 245 int round_up; ldlm_pool_recalc_slv() local 255 round_up = granted < limit; ldlm_pool_recalc_slv() 270 slv = dru(slv, LDLM_POOL_SLV_SHIFT, round_up); ldlm_pool_recalc_slv()
|
/linux-4.1.27/drivers/net/ethernet/allwinner/ |
H A D | sun4i-emac.c | 200 writesl(reg, data, round_up(count, 4) / 4); emac_outblk_32bit() 205 readsl(reg, data, round_up(count, 4) / 4); emac_inblk_32bit()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | usb_ops_linux.c | 163 pkt_offset = (u16)round_up(pkt_offset, 128); recvbuf2recvframe() 166 pkt_offset = (u16)round_up(pkt_offset, 4); recvbuf2recvframe()
|
/linux-4.1.27/arch/mips/mm/ |
H A D | tlb-r4k.c | 128 end = round_up(end, PAGE_SIZE << 1); local_flush_tlb_range()
|
/linux-4.1.27/mm/ |
H A D | truncate.c | 669 loff_t holebegin = round_up(newsize, PAGE_SIZE); truncate_pagecache() 741 rounded_from = round_up(from, bsize); pagecache_isize_extended() 777 loff_t unmap_start = round_up(lstart, PAGE_SIZE); truncate_pagecache_range()
|
H A D | memblock.c | 127 cand = round_up(this_start, align); __memblock_find_range_bottom_up() 1478 start = round_up(orig_start, align); for_each_memblock()
|
H A D | filemap.c | 1877 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); filemap_fault() 1927 size = round_up(i_size_read(inode), PAGE_CACHE_SIZE); filemap_fault() 2032 size = round_up(i_size_read(mapping->host), PAGE_CACHE_SIZE); filemap_map_pages()
|
H A D | percpu.c | 345 if (!(next & 1) && nend >= round_up(end, PAGE_SIZE)) pcpu_count_occupied_pages() 346 end = round_up(end, PAGE_SIZE); pcpu_count_occupied_pages()
|
H A D | shmem.c | 573 loff_t holebegin = round_up(newsize, PAGE_SIZE); shmem_setattr() 2066 loff_t unmap_start = round_up(offset, PAGE_SIZE); shmem_fallocate()
|
H A D | memory_hotplug.c | 1379 pfn = round_up(pfn + 1, scan_movable_pages()
|
H A D | swapfile.c | 2282 for (i = maxpages; i < round_up(maxpages, SWAPFILE_CLUSTER); i++) setup_swap_map_and_extents()
|
H A D | page_alloc.c | 6086 numentries = round_up(numentries, (1<<20)/PAGE_SIZE); alloc_large_system_hash() 6288 iter = round_up(iter + 1, 1<<compound_order(page)) - 1; has_unmovable_pages()
|
/linux-4.1.27/lib/ |
H A D | assoc_array.c | 273 if (round_up(sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE) > shortcut->skip_to_level) { assoc_array_walk() 775 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_into_terminal_node() 881 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_mid_shortcut() 931 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_mid_shortcut() 1522 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_gc()
|
H A D | idr.c | 768 * beginning of the next layer using round_up(). idr_get_next() 770 id = round_up(id + 1, 1 << n); idr_get_next()
|
/linux-4.1.27/drivers/atm/ |
H A D | horizon.c | 603 r == round_up ? "up" : r == round_down ? "down" : "nearest"); make_rate() 634 default: /* round_up */ make_rate() 661 default: /* round_up */ make_rate() 698 c, (r == round_up) ? "up" : (r == round_down) ? "down" : "nearest", tol); make_rate_with_tolerance() 2255 r = round_up; hrz_open() 2288 pr = round_up; hrz_open() 2303 sr = round_up; hrz_open()
|
H A D | ambassador.h | 658 round_up, enumerator in enum:__anon3403
|
H A D | horizon.h | 502 round_up, enumerator in enum:__anon3409
|
H A D | ambassador.c | 913 if (r == round_up) { make_rate() 951 case round_up: { make_rate() 1073 r = round_up; amb_open()
|
/linux-4.1.27/fs/btrfs/ |
H A D | file.c | 1440 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; check_can_nocow() 1790 end_pos = round_up(pos + count, root->sectorsize); btrfs_file_write_iter() 2286 ino_size = round_up(inode->i_size, PAGE_CACHE_SIZE); btrfs_punch_hole() 2296 lockstart = round_up(offset, BTRFS_I(inode)->root->sectorsize); btrfs_punch_hole() 2565 alloc_end = round_up(offset + len, blocksize); btrfs_fallocate() 2736 lockend = round_up(i_size_read(inode), root->sectorsize); find_desired_extent()
|
H A D | extent_io.c | 4423 len = round_up(max, BTRFS_I(inode)->root->sectorsize) - start; extent_fiemap()
|
H A D | inode.c | 7198 range_end = round_up(offset + num_bytes, root->sectorsize) - 1; can_nocow_extent()
|
/linux-4.1.27/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 340 size = round_up(size, 4); alloc_perm_bits() 1010 len = round_up(len, 16); vfio_vc_cap_len() 1113 bits = byte ? round_up(byte, 32) : 256; vfio_ext_cap_len()
|
/linux-4.1.27/tools/perf/util/ |
H A D | symbol-elf.c | 1495 kci->etext = round_up(kci->etext, page_size); kcore_copy__calc_maps() 1497 kci->etext = round_up(kci->last_symbol, page_size); kcore_copy__calc_maps() 1504 kci->last_module_symbol = round_up(kci->last_module_symbol, kcore_copy__calc_maps()
|
H A D | callchain.c | 41 size = round_up(size, sizeof(u64)); get_stack_size()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl8712_cmd.c | 344 cmdsz = round_up(pcmd->cmdsz, 8); r8712_cmd_thread()
|
H A D | rtl8712_recv.c | 1055 pkt_offset = (u16)round_up(tmp_len, 128); recvbuf2recvframe()
|
/linux-4.1.27/drivers/firmware/ |
H A D | qcom_scm.c | 246 end = round_up(end, cacheline_size); qcom_scm_inv_range()
|
/linux-4.1.27/block/ |
H A D | blk-flush.c | 502 rq_sz = round_up(rq_sz + cmd_size, cache_line_size()); blk_alloc_flush_queue()
|
H A D | blk-mq.c | 1461 rq_size = round_up(sizeof(struct request) + set->cmd_size, blk_mq_init_rq_map()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 145 if (round_up(wrapper.length, 8) != ctx->sig_len) { pefile_strip_sig_wrapper()
|
/linux-4.1.27/drivers/xen/ |
H A D | balloon.c | 229 balloon_hotplug = round_up(balloon_hotplug, PAGES_PER_SECTION); reserve_additional_memory()
|
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | card_dev.c | 786 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); genwqe_pin_mem() 816 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); genwqe_unpin_mem()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-mvebu.c | 790 return round_up(start, max_t(resource_size_t, SZ_64K, mvebu_pcie_align_resource() 793 return round_up(start, max_t(resource_size_t, SZ_1M, mvebu_pcie_align_resource()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_user.c | 191 size = round_up(size+offset, PAGE_SIZE); tcmu_flush_dcache_range() 298 + round_up(scsi_command_size(se_cmd->t_task_cdb), TCMU_OP_ALIGN_SIZE); tcmu_queue_cmd_ring()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 935 return round_up(ieee80211_hdrlen(hdr->frame_control), 4); ath10k_htt_rx_nwifi_hdrlen() 1077 rfc1042 += round_up(hdr_len, 4) + ath10k_htt_rx_h_find_rfc1042() 1078 round_up(crypto_len, 4); ath10k_htt_rx_h_find_rfc1042()
|
H A D | wmi.c | 1080 len = round_up(len, 4); ath10k_wmi_op_gen_mgmt_tx() 3012 pool_size = num_units * round_up(unit_len, 4); ath10k_wmi_alloc_host_mem()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_security.c | 192 pframe = (u8 *)round_up((size_t)(pframe), 4); rtw_wep_encrypt() 631 pframe = (u8 *)round_up((size_t)(pframe), 4); rtw_tkip_encrypt() 1245 pframe = (u8 *)round_up((size_t)(pframe), 8); rtw_aes_encrypt()
|
H A D | rtw_xmit.c | 694 payload = (u8 *)round_up((size_t)(payload), 4); xmitframe_addmic() 1099 mem_start = (unsigned char *)round_up(addr, 4) + hw_hdr_offset; rtw_xmitframe_coalesce()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_gem_cma_helper.c | 104 size = round_up(size, PAGE_SIZE); drm_gem_cma_create()
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx.c | 616 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, nx_crypto_ctx_init()
|
/linux-4.1.27/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.c | 937 pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) - sunxi_pinctrl_init()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | init.c | 738 end = round_up(end, PAGE_SIZE); free_initrd_mem()
|
H A D | mmu.c | 1333 phys_addr_t kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); map_lowmem()
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_eld.c | 796 pos = round_up(pos, 4); snd_hdmi_get_eld_ati()
|
/linux-4.1.27/drivers/net/can/usb/ |
H A D | kvaser_usb.c | 599 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> kvaser_usb_wait_msg() 1340 pos = round_up(pos, le16_to_cpu(dev->bulk_in-> kvaser_usb_read_bulk_callback()
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
H A D | camif-capture.c | 761 wmin = round_up(wmin, pix_lim->out_width_align); __camif_video_try_format() 763 hmin = round_up(hmin, 8); __camif_video_try_format()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
H A D | vsp1_video.c | 258 pix->plane_fmt[i].bytesperline = round_up(bpl, align); __vsp1_video_try_format()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_context.c | 343 dev_priv->hw_context_size = round_up(get_context_size(dev), 4096); i915_gem_context_init()
|
H A D | intel_lrc.c | 1940 context_size = round_up(get_lr_context_size(ring), 4096); intel_lr_context_deferred_create()
|
H A D | intel_ringbuffer.c | 1211 num_dwords += round_up((num_rings-1) * MBOX_UPDATE_DWORDS, 2); gen6_signal()
|
H A D | i915_gem.c | 573 end = round_up(end, 128); shmem_clflush_swizzled_range()
|
H A D | intel_display.c | 2548 u32 size_aligned = round_up(plane_config->base + plane_config->size, intel_alloc_initial_plane_obj()
|
/linux-4.1.27/arch/x86/platform/efi/ |
H A D | efi.c | 547 npages = round_up(size, page_shift) / page_shift; efi_memory_uc()
|
/linux-4.1.27/arch/tile/mm/ |
H A D | init.c | 182 end = round_up(end, PMD_SIZE); page_table_range_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgf100.c | 993 info->buffer[info->buffer_nr] = round_up(info->addr, align); gf100_grctx_mmio_data()
|
/linux-4.1.27/fs/ceph/ |
H A D | file.c | 1141 loff_t nearly = round_up(offset, PAGE_CACHE_SIZE); ceph_zero_pagecache_range()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 63 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/linux-4.1.27/drivers/acpi/ |
H A D | osl.c | 401 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; acpi_os_map_iomem()
|
/linux-4.1.27/include/linux/usb/ |
H A D | gadget.h | 602 round_up(len, (size_t)ep->desc->wMaxPacketSize); usb_ep_align_maybe()
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-nand.c | 164 geo->ecc_strength = round_up(chip->ecc_strength_ds, 2); set_geometry_by_ecc_info()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 889 fillers = round_up(data_offset, 4) - data_offset; brcmf_fws_hdrpush()
|
/linux-4.1.27/fs/ |
H A D | binfmt_elf.c | 1517 size = round_up(size, PAGE_SIZE); fill_files_note()
|
H A D | dcache.c | 1572 round_up(name->len + 1, sizeof(unsigned long))); __d_alloc()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 244 ep->emss -= round_up(TCPOLEN_TIMESTAMP, 4); set_emss() 610 round_up(TCPOLEN_TIMESTAMP, 4) : 0); best_mtu()
|
/linux-4.1.27/fs/fuse/ |
H A D | file.c | 2780 return round_up(off, FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT); fuse_round_up()
|
/linux-4.1.27/kernel/rcu/ |
H A D | tree_plugin.h | 1507 *dj = round_up(rcu_idle_gp_delay + jiffies, rcu_needs_cpu()
|
/linux-4.1.27/fs/ext4/ |
H A D | extents.c | 4764 start = round_up(offset, 1 << blkbits); ext4_zero_range() 4809 (round_up((offset + len), 1 << blkbits) - ext4_zero_range()
|
H A D | inode.c | 3650 first_block_offset = round_up(offset, sb->s_blocksize); ext4_punch_hole()
|
/linux-4.1.27/drivers/block/ |
H A D | rbd.c | 1465 round_up(rbd_dev->parent_overlap, rbd_obj_bytes(&rbd_dev->header)); obj_request_overlaps_parent()
|
/linux-4.1.27/kernel/events/ |
H A D | core.c | 4949 stack_size = round_up(stack_size, sizeof(u64)); perf_sample_ustack_size()
|
/linux-4.1.27/kernel/sched/ |
H A D | fair.c | 828 rss = round_up(rss, nr_scan_pages); task_nr_scan_windows()
|