Searched refs:round_up (Results 1 - 118 of 118) sorted by relevance

/linux-4.1.27/mm/kasan/
H A Dkasan.c318 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 Dcheck.c92 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 Dtboot.c187 mr->size = round_up(end, PAGE_SIZE) - mr->start; add_mac_region()
H A Damd_gart_64.c536 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; check_iommu_size()
H A De820.c1014 end = round_up(start, ram_alignment(start)) - 1; e820_reserve_resources_late()
/linux-4.1.27/arch/x86/mm/
H A Dinit.c215 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 Dnuma_32.c56 end = round_up(end, PAGES_PER_SECTION); memory_present()
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dmixer_vp_layer.c175 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 Dmixer_grp_layer.c171 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 Darraymap.c35 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 Dhashtab.c89 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 Dcore.c78 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 Dnv25.c33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv25_fb_tile_comp()
H A Dnv35.c33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv35_fb_tile_comp()
H A Dnv36.c33 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv36_fb_tile_comp()
H A Dnv40.c33 u32 tags = round_up(tiles / pfb->ram->parts, 0x100); nv40_fb_tile_comp()
H A Dnv20.c46 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv20_fb_tile_comp()
H A Dnv30.c54 u32 tags = round_up(tiles / pfb->ram->parts, 0x40); nv30_fb_tile_comp()
/linux-4.1.27/tools/perf/util/include/linux/
H A Dkernel.h104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/linux-4.1.27/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c165 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 Darm-stub.c401 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 Dr600_cs.c651 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 Devergreen_cs.c506 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 Dqat_algs.c232 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 Dcoda-bit.c341 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 Dcoda-common.c480 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 Drtl8188eu_xmit.c402 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 Dfixmap.h44 #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 Dnv40.c88 priv->base.reserved = round_up(priv->base.reserved, 4096); nv40_instmem_ctor()
/linux-4.1.27/drivers/staging/fwserial/
H A Ddma_fifo.c75 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 Dat91_adc.c790 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 Domap_dmm_tiler.c88 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 Dxfs_da_format.c224 * 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 Dxfs_trans_resv.c47 return round_up(sizeof(struct xlog_op_header) + xfs_buf_log_overhead()
/linux-4.1.27/drivers/scsi/
H A Dmvumi.c144 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 Dgem.c158 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 Dfb.c216 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, tegra_fbdev_probe()
/linux-4.1.27/arch/arm64/mm/
H A Dmmu.c311 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 Dcw1200_sdio.c252 size = round_up(size, SDIO_BLOCK_SIZE); cw1200_sdio_align_size()
H A Dwsm.c1811 size = round_up(size, FWLOAD_BLOCK_SIZE); wsm_buf_reserve()
/linux-4.1.27/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c117 size = round_up(size, PAGE_SIZE); rockchip_gem_create_object()
/linux-4.1.27/fs/xfs/
H A Dxfs_log.h69 lv->lv_buf_len += round_up(len, sizeof(uint64_t)); xlog_finish_iovec()
H A Dxfs_pnfs.c153 limit = max(limit, round_up(i_size_read(inode), xfs_fs_map_blocks()
H A Dxfs_log_cil.c210 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 Dxfs_bmap_util.c1209 iendoffset = round_up(offset + len, rounding) - 1; xfs_free_file_space()
1370 round_up(offset + len, blksize) - xfs_zero_file_space()
H A Dxfs_log_recover.c131 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 Dattributes.c127 len = round_up(len, 2); hfsplus_attr_build_record()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_pool.c144 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 Dsun4i-emac.c200 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 Dusb_ops_linux.c163 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 Dtlb-r4k.c128 end = round_up(end, PAGE_SIZE << 1); local_flush_tlb_range()
/linux-4.1.27/mm/
H A Dtruncate.c669 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 Dmemblock.c127 cand = round_up(this_start, align); __memblock_find_range_bottom_up()
1478 start = round_up(orig_start, align); for_each_memblock()
H A Dfilemap.c1877 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 Dpercpu.c345 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 Dshmem.c573 loff_t holebegin = round_up(newsize, PAGE_SIZE); shmem_setattr()
2066 loff_t unmap_start = round_up(offset, PAGE_SIZE); shmem_fallocate()
H A Dmemory_hotplug.c1379 pfn = round_up(pfn + 1, scan_movable_pages()
H A Dswapfile.c2282 for (i = maxpages; i < round_up(maxpages, SWAPFILE_CLUSTER); i++) setup_swap_map_and_extents()
H A Dpage_alloc.c6086 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 Dassoc_array.c273 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 Didr.c768 * 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 Dhorizon.c603 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 Dambassador.h658 round_up, enumerator in enum:__anon3403
H A Dhorizon.h502 round_up, enumerator in enum:__anon3409
H A Dambassador.c913 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 Dfile.c1440 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 Dextent_io.c4423 len = round_up(max, BTRFS_I(inode)->root->sectorsize) - start; extent_fiemap()
H A Dinode.c7198 range_end = round_up(offset + num_bytes, root->sectorsize) - 1; can_nocow_extent()
/linux-4.1.27/drivers/vfio/pci/
H A Dvfio_pci_config.c340 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 Dsymbol-elf.c1495 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 Dcallchain.c41 size = round_up(size, sizeof(u64)); get_stack_size()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl8712_cmd.c344 cmdsz = round_up(pcmd->cmdsz, 8); r8712_cmd_thread()
H A Drtl8712_recv.c1055 pkt_offset = (u16)round_up(tmp_len, 128); recvbuf2recvframe()
/linux-4.1.27/drivers/firmware/
H A Dqcom_scm.c246 end = round_up(end, cacheline_size); qcom_scm_inv_range()
/linux-4.1.27/block/
H A Dblk-flush.c502 rq_sz = round_up(rq_sz + cmd_size, cache_line_size()); blk_alloc_flush_queue()
H A Dblk-mq.c1461 rq_size = round_up(sizeof(struct request) + set->cmd_size, blk_mq_init_rq_map()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dverify_pefile.c145 if (round_up(wrapper.length, 8) != ctx->sig_len) { pefile_strip_sig_wrapper()
/linux-4.1.27/drivers/xen/
H A Dballoon.c229 balloon_hotplug = round_up(balloon_hotplug, PAGES_PER_SECTION); reserve_additional_memory()
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_dev.c786 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 Dpci-mvebu.c790 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 Dtarget_core_user.c191 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 Dhtt_rx.c935 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 Dwmi.c1080 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 Drtw_security.c192 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 Drtw_xmit.c694 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 Ddrm_gem_cma_helper.c104 size = round_up(size, PAGE_SIZE); drm_gem_cma_create()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx.c616 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 Dpinctrl-sunxi.c937 pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) - sunxi_pinctrl_init()
/linux-4.1.27/arch/arm/mm/
H A Dinit.c738 end = round_up(end, PAGE_SIZE); free_initrd_mem()
H A Dmmu.c1333 phys_addr_t kernel_x_end = round_up(__pa(__init_end), SECTION_SIZE); map_lowmem()
/linux-4.1.27/sound/pci/hda/
H A Dhda_eld.c796 pos = round_up(pos, 4); snd_hdmi_get_eld_ati()
/linux-4.1.27/drivers/net/can/usb/
H A Dkvaser_usb.c599 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 Dcamif-capture.c761 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 Dvsp1_video.c258 pix->plane_fmt[i].bytesperline = round_up(bpl, align); __vsp1_video_try_format()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_context.c343 dev_priv->hw_context_size = round_up(get_context_size(dev), 4096); i915_gem_context_init()
H A Dintel_lrc.c1940 context_size = round_up(get_lr_context_size(ring), 4096); intel_lr_context_deferred_create()
H A Dintel_ringbuffer.c1211 num_dwords += round_up((num_rings-1) * MBOX_UPDATE_DWORDS, 2); gen6_signal()
H A Di915_gem.c573 end = round_up(end, 128); shmem_clflush_swizzled_range()
H A Dintel_display.c2548 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 Defi.c547 npages = round_up(size, page_shift) / page_shift; efi_memory_uc()
/linux-4.1.27/arch/tile/mm/
H A Dinit.c182 end = round_up(end, PMD_SIZE); page_table_range_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgf100.c993 info->buffer[info->buffer_nr] = round_up(info->addr, align); gf100_grctx_mmio_data()
/linux-4.1.27/fs/ceph/
H A Dfile.c1141 loff_t nearly = round_up(offset, PAGE_CACHE_SIZE); ceph_zero_pagecache_range()
/linux-4.1.27/include/linux/
H A Dkernel.h63 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/linux-4.1.27/drivers/acpi/
H A Dosl.c401 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; acpi_os_map_iomem()
/linux-4.1.27/include/linux/usb/
H A Dgadget.h602 round_up(len, (size_t)ep->desc->wMaxPacketSize); usb_ep_align_maybe()
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c164 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 Dfwsignal.c889 fillers = round_up(data_offset, 4) - data_offset; brcmf_fws_hdrpush()
/linux-4.1.27/fs/
H A Dbinfmt_elf.c1517 size = round_up(size, PAGE_SIZE); fill_files_note()
H A Ddcache.c1572 round_up(name->len + 1, sizeof(unsigned long))); __d_alloc()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Dcm.c244 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 Dfile.c2780 return round_up(off, FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT); fuse_round_up()
/linux-4.1.27/kernel/rcu/
H A Dtree_plugin.h1507 *dj = round_up(rcu_idle_gp_delay + jiffies, rcu_needs_cpu()
/linux-4.1.27/fs/ext4/
H A Dextents.c4764 start = round_up(offset, 1 << blkbits); ext4_zero_range()
4809 (round_up((offset + len), 1 << blkbits) - ext4_zero_range()
H A Dinode.c3650 first_block_offset = round_up(offset, sb->s_blocksize); ext4_punch_hole()
/linux-4.1.27/drivers/block/
H A Drbd.c1465 round_up(rbd_dev->parent_overlap, rbd_obj_bytes(&rbd_dev->header)); obj_request_overlaps_parent()
/linux-4.1.27/kernel/events/
H A Dcore.c4949 stack_size = round_up(stack_size, sizeof(u64)); perf_sample_ustack_size()
/linux-4.1.27/kernel/sched/
H A Dfair.c828 rss = round_up(rss, nr_scan_pages); task_nr_scan_windows()

Completed in 3849 milliseconds