roundup 232 arch/arm/mach-pxa/am200epd.c am200_board.wfm_size = roundup(16*1024 + 2, fw); roundup 220 arch/arm64/mm/numa.c const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES); roundup 44 arch/parisc/math-emu/dfrem.c register boolean roundup = FALSE; roundup 222 arch/parisc/math-emu/dfrem.c roundup = TRUE; roundup 244 arch/parisc/math-emu/dfrem.c else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) { roundup 43 arch/parisc/math-emu/sfrem.c register boolean roundup = FALSE; roundup 217 arch/parisc/math-emu/sfrem.c roundup = TRUE; roundup 238 arch/parisc/math-emu/sfrem.c else if (Sgl_isequal(opnd1,opnd2) && roundup) { roundup 804 arch/powerpc/mm/numa.c const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES); roundup 53 arch/powerpc/platforms/cell/spufs/coredump.c total += roundup(strlen(fullname) + 1, 4); roundup 54 arch/powerpc/platforms/cell/spufs/coredump.c total += roundup(sz, 4); roundup 162 arch/powerpc/platforms/cell/spufs/coredump.c skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; roundup 486 arch/powerpc/platforms/pseries/vio.c if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) { roundup 495 arch/powerpc/platforms/pseries/vio.c vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); roundup 509 arch/powerpc/platforms/pseries/vio.c vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); roundup 521 arch/powerpc/platforms/pseries/vio.c if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) roundup 530 arch/powerpc/platforms/pseries/vio.c vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); roundup 545 arch/powerpc/platforms/pseries/vio.c vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); roundup 559 arch/powerpc/platforms/pseries/vio.c alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); roundup 569 arch/powerpc/platforms/pseries/vio.c alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); roundup 593 arch/powerpc/platforms/pseries/vio.c alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); roundup 323 arch/s390/kernel/crash_dump.c len = roundup(len + note->n_namesz, 4); roundup 326 arch/s390/kernel/crash_dump.c len = roundup(len + note->n_descsz, 4); roundup 344 arch/s390/kernel/crash_dump.c size += roundup(strlen(name) + 1, 4); roundup 345 arch/s390/kernel/crash_dump.c size += roundup(d_len, 4); roundup 480 arch/s390/numa/mode_emu.c size_new = roundup(size, memory_block_size_bytes()); roundup 105 arch/sh/kernel/cpu/shmobile/pm.c vp += roundup(n, 4); roundup 111 arch/sh/kernel/cpu/shmobile/pm.c vp += roundup(n, 4); roundup 117 arch/sh/kernel/cpu/shmobile/pm.c vp += roundup(n, 4); roundup 57 arch/sh/kernel/io_trapped.c len += roundup(resource_size(res), PAGE_SIZE); roundup 84 arch/sh/kernel/io_trapped.c len += roundup(resource_size(res), PAGE_SIZE); roundup 128 arch/sh/kernel/io_trapped.c voffs += roundup(len, PAGE_SIZE); roundup 172 arch/sh/kernel/io_trapped.c len = roundup(resource_size(res), PAGE_SIZE); roundup 48 arch/x86/kernel/cpu/resctrl/ctrlmondata.c *data = roundup(bw, (unsigned long)r->membw.bw_gran); roundup 103 arch/x86/kernel/cpu/resctrl/ctrlmondata.c *data = roundup(bw, (unsigned long)r->membw.bw_gran); roundup 424 arch/x86/mm/init_64.c unsigned long end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1; roundup 1324 arch/x86/mm/init_64.c all_end = roundup((unsigned long)_brk_end, PMD_SIZE); roundup 190 arch/x86/mm/numa.c const size_t nd_size = roundup(sizeof(pg_data_t), PAGE_SIZE); roundup 213 arch/x86/mm/pageattr.c return __pa_symbol(roundup(_brk_end, PMD_SIZE) - 1) >> PAGE_SHIFT; roundup 1096 arch/x86/xen/mmu_pv.c unsigned long kernel_end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1; roundup 1244 arch/x86/xen/mmu_pv.c size = roundup(size, PMD_SIZE); roundup 1273 arch/x86/xen/mmu_pv.c xen_cleanhighmap(addr, roundup(addr + size, PMD_SIZE * 2)); roundup 2068 arch/x86/xen/mmu_pv.c n_pte = roundup(size, PAGE_SIZE) >> PAGE_SHIFT; roundup 2069 arch/x86/xen/mmu_pv.c n_pt = roundup(size, PMD_SIZE) >> PMD_SHIFT; roundup 2070 arch/x86/xen/mmu_pv.c n_pmd = roundup(size, PUD_SIZE) >> PUD_SHIFT; roundup 2071 arch/x86/xen/mmu_pv.c n_pud = roundup(size, P4D_SIZE) >> P4D_SHIFT; roundup 142 arch/x86/xen/multicalls.c unsigned argidx = roundup(b->argidx, sizeof(u64)); roundup 154 arch/x86/xen/multicalls.c argidx = roundup(b->argidx, sizeof(u64)); roundup 796 block/blk-throttle.c tg->slice_end[rw] = roundup(jiffy_end, tg->td->throtl_slice); roundup 802 block/blk-throttle.c tg->slice_end[rw] = roundup(jiffy_end, tg->td->throtl_slice); roundup 889 block/blk-throttle.c jiffy_elapsed_rnd = roundup(jiffy_elapsed + 1, tg->td->throtl_slice); roundup 934 block/blk-throttle.c jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, tg->td->throtl_slice); roundup 43 drivers/cpufreq/raspberrypi-cpufreq.c min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL); roundup 44 drivers/cpufreq/raspberrypi-cpufreq.c max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL); roundup 106 drivers/crypto/cavium/nitrox/nitrox_main.c code_size = roundup(ucode_size, 16); roundup 115 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c nr_sgcomp = roundup(map_nents, 4) / 4; roundup 779 drivers/crypto/chelsio/chcr_algo.c kctx_len = roundup(ablkctx->enckey_len, 16); roundup 783 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(wrparam->bytes, 16) : roundup 786 drivers/crypto/chelsio/chcr_algo.c transhdr_len = roundup(transhdr_len, 16); roundup 1225 drivers/crypto/chelsio/chcr_algo.c kctx_len = roundup(ablkctx->enckey_len, 16); roundup 1514 drivers/crypto/chelsio/chcr_algo.c transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + roundup 1516 drivers/crypto/chelsio/chcr_algo.c transhdr_len = roundup(transhdr_len, 16); roundup 1629 drivers/crypto/chelsio/chcr_algo.c params.kctx_len = roundup(params.alg_prm.result_size, 16); roundup 1706 drivers/crypto/chelsio/chcr_algo.c params.kctx_len = roundup(params.alg_prm.result_size, 16); roundup 1779 drivers/crypto/chelsio/chcr_algo.c params.kctx_len = roundup(params.alg_prm.result_size, 16); roundup 1873 drivers/crypto/chelsio/chcr_algo.c params.kctx_len = roundup(params.alg_prm.result_size, 16); roundup 1942 drivers/crypto/chelsio/chcr_algo.c params.kctx_len = roundup(params.alg_prm.result_size, 16); roundup 2368 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16) roundup 2371 drivers/crypto/chelsio/chcr_algo.c transhdr_len = roundup(transhdr_len, 16); roundup 2429 drivers/crypto/chelsio/chcr_algo.c memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16), roundup 2430 drivers/crypto/chelsio/chcr_algo.c actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); roundup 2923 drivers/crypto/chelsio/chcr_algo.c kctx_len = roundup(aeadctx->enckey_len, 16) * 2; roundup 2927 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen + roundup 2931 drivers/crypto/chelsio/chcr_algo.c transhdr_len = roundup(transhdr_len, 16); roundup 2952 drivers/crypto/chelsio/chcr_algo.c memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16), roundup 3014 drivers/crypto/chelsio/chcr_algo.c kctx_len = roundup(aeadctx->enckey_len, 16) + AEAD_H_SIZE; roundup 3018 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16) : roundup 3021 drivers/crypto/chelsio/chcr_algo.c transhdr_len = roundup(transhdr_len, 16); roundup 3060 drivers/crypto/chelsio/chcr_algo.c memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16), roundup 3274 drivers/crypto/chelsio/chcr_algo.c key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) * 2; roundup 3381 drivers/crypto/chelsio/chcr_algo.c key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) + roundup 3520 drivers/crypto/chelsio/chcr_algo.c roundup(keys.enckeylen, 16) + roundup 3590 drivers/crypto/chelsio/chcr_algo.c key_ctx_len = sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16); roundup 263 drivers/crypto/chelsio/chtls/chtls_cm.c len = roundup(sizeof(struct cpl_close_con_req), 16); roundup 938 drivers/crypto/chelsio/chtls/chtls_cm.c len = roundup(sizeof(*rpl5), 16); roundup 1128 drivers/crypto/chelsio/chtls/chtls_cm.c len = roundup(sizeof(struct cpl_tid_release), 16); roundup 1179 drivers/crypto/chelsio/chtls/chtls_cm.c len = roundup(sizeof(*rpl), 16); roundup 2127 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int fclen16 = roundup(failover_flowc_wr_len, 16); roundup 49 drivers/crypto/chelsio/chtls/chtls_hw.c wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); roundup 71 drivers/crypto/chelsio/chtls/chtls_hw.c wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); roundup 224 drivers/crypto/chelsio/chtls/chtls_hw.c roundup(keylen, 16) + AEAD_H_SIZE; roundup 306 drivers/crypto/chelsio/chtls/chtls_hw.c klen = roundup((keylen + AEAD_H_SIZE) + sizeof(*kctx), 32); roundup 307 drivers/crypto/chelsio/chtls/chtls_hw.c wrlen = roundup(sizeof(*kwr), 16); roundup 554 drivers/crypto/hisilicon/sec/sec_algs.c *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; roundup 386 drivers/crypto/qat/qat_common/qat_algs.c roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2); roundup 428 drivers/crypto/qat/qat_common/qat_algs.c roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2) >> 3; roundup 614 drivers/firmware/stratix10-svc.c begin = roundup(sh_memory->addr, PAGE_SIZE); roundup 903 drivers/firmware/stratix10-svc.c size_t s = roundup(size, 1 << genpool->min_alloc_order); roundup 56 drivers/gpio/gpio-menz127.c debounce = roundup(debounce, MEN_Z127_DB_MIN_US); roundup 54 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c return roundup(kfd->device_info->doorbell_size * roundup 73 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c roundup(kfd->shared_resources.doorbell_start_offset, roundup 36 drivers/gpu/drm/armada/armada_gem.c return roundup(size, PAGE_SIZE); roundup 549 drivers/gpu/drm/ast/ast_main.c size = roundup(size, PAGE_SIZE); roundup 378 drivers/gpu/drm/drm_gem_vram_helper.c size = roundup(size, PAGE_SIZE); roundup 222 drivers/gpu/drm/exynos/exynos_drm_gem.c size = roundup(size, PAGE_SIZE); roundup 57 drivers/gpu/drm/gma500/gem.c size = roundup(size, PAGE_SIZE); roundup 58 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c size = roundup(size, PAGE_SIZE); roundup 6525 drivers/gpu/drm/i915/display/intel_dp.c final->t11_t12 = roundup(final->t11_t12, 100 * 10); roundup 184 drivers/gpu/drm/i915/gem/i915_gem_mman.c chunk = roundup(chunk, tile_row_pages(obj)); roundup 68 drivers/gpu/drm/i915/gem/i915_gem_tiling.c return roundup(size, stride); roundup 2942 drivers/gpu/drm/i915/gvt/cmd_parser.c roundup(ctx_size + CACHELINE_BYTES, roundup 163 drivers/gpu/drm/i915/gvt/dmabuf.c roundup(info->size, PAGE_SIZE)); roundup 273 drivers/gpu/drm/i915/gvt/dmabuf.c info->size = info->stride * roundup(info->height, tile_height); roundup 127 drivers/gpu/drm/i915/gvt/kvmgt.c total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; roundup 146 drivers/gpu/drm/i915/gvt/kvmgt.c total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; roundup 1179 drivers/gpu/drm/i915/i915_cmd_parser.c batch_len = roundup(batch_len, roundup 3911 drivers/gpu/drm/i915/i915_reg.h #define INTERVAL_1_28_US(us) roundup(((us) * 100) >> 7, 25) roundup 177 drivers/gpu/drm/mgag200/mgag200_main.c roundup(48*64, PAGE_SIZE), roundup 180 drivers/gpu/drm/mgag200/mgag200_main.c roundup(48*64, PAGE_SIZE), roundup 651 drivers/gpu/drm/nouveau/nouveau_display.c args->pitch = roundup(args->width * (args->bpp / 8), 256); roundup 653 drivers/gpu/drm/nouveau/nouveau_display.c args->size = roundup(args->size, PAGE_SIZE); roundup 325 drivers/gpu/drm/nouveau/nouveau_fbcon.c mode_cmd.pitches[0] = roundup(mode_cmd.pitches[0], 256); roundup 131 drivers/gpu/drm/nouveau/nvkm/core/mm.c s = roundup(s, mm->block_size); roundup 205 drivers/gpu/drm/nouveau/nvkm/core/mm.c s = roundup(s, mm->block_size); roundup 270 drivers/gpu/drm/nouveau/nvkm/core/mm.c node->offset = roundup(offset, mm->block_size); roundup 190 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c size = roundup(size, PAGE_SIZE); roundup 526 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c size = max(roundup(size, PAGE_SIZE), PAGE_SIZE); roundup 527 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c align = max(roundup(align, PAGE_SIZE), PAGE_SIZE); roundup 282 drivers/gpu/drm/omapdrm/dss/pll.c min_dco = roundup(hw->clkdco_min, fint); roundup 248 drivers/gpu/drm/panfrost/panfrost_gem.c size = roundup(size, SZ_2M); roundup 97 drivers/gpu/drm/qxl/qxl_object.c size = roundup(size, PAGE_SIZE); roundup 549 drivers/gpu/drm/radeon/evergreen_cs.c size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); roundup 691 drivers/gpu/drm/radeon/r600_cs.c size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); roundup 266 drivers/gpu/drm/radeon/radeon_gem.c args->size = roundup(args->size, PAGE_SIZE); roundup 191 drivers/gpu/drm/radeon/radeon_object.c unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; roundup 301 drivers/gpu/drm/rcar-du/rcar_du_kms.c args->pitch = roundup(min_pitch, align); roundup 48 drivers/gpu/drm/stm/drv.c args->pitch = roundup(min_pitch, 128); roundup 49 drivers/gpu/drm/stm/drv.c args->height = roundup(args->height, 4); roundup 129 drivers/gpu/drm/tiny/st7586.c rect->x2 = roundup(rect->x2, 3); roundup 402 drivers/gpu/drm/ttm/ttm_page_alloc.c nr_free_pool = roundup(nr_free, page_nr) >> pool->order; roundup 42 drivers/gpu/drm/udl/udl_gem.c size = roundup(size, PAGE_SIZE); roundup 282 drivers/gpu/drm/vboxvideo/vbox_main.c size = roundup(size, PAGE_SIZE); roundup 356 drivers/gpu/drm/vc4/vc4_bo.c size = roundup(size, PAGE_SIZE); roundup 409 drivers/gpu/drm/vc4/vc4_bo.c size_t size = roundup(unaligned_size, PAGE_SIZE); roundup 737 drivers/gpu/drm/vc4/vc4_dsi.c return roundup(ui + DIV_ROUND_UP(ns, ui_ns), 8); roundup 830 drivers/gpu/drm/vc4/vc4_gem.c uint32_t shader_rec_offset = roundup(bin_offset + args->bin_cl_size, roundup 451 drivers/gpu/drm/vc4/vc4_plane.c lbm = roundup(lbm, 32); roundup 343 drivers/gpu/drm/vc4/vc4_validate.c roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16); roundup 403 drivers/gpu/drm/vc4/vc4_validate.c exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096); roundup 791 drivers/gpu/drm/vc4/vc4_validate.c BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); roundup 792 drivers/gpu/drm/vc4/vc4_validate.c exec->shader_rec_v += roundup(packet_size, 16); roundup 169 drivers/gpu/drm/vgem/vgem_drv.c ret = drm_gem_object_init(dev, &obj->base, roundup(size, PAGE_SIZE)); roundup 123 drivers/gpu/drm/virtio/virtgpu_object.c params->size = roundup(params->size, PAGE_SIZE); roundup 18 drivers/gpu/drm/vkms/vkms_gem.c size = roundup(size, PAGE_SIZE); roundup 931 drivers/ide/ide-tape.c size_t aligned = roundup(tape->valid, tape->blk_size); roundup 83 drivers/ide/tx4938ide.c __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); roundup 97 drivers/ide/tx4938ide.c __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); roundup 456 drivers/ide/tx4939ide.c __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); roundup 470 drivers/ide/tx4939ide.c __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); roundup 201 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_range.roundup = 1; roundup 555 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.sensor_odr.roundup = 1; roundup 853 drivers/iio/industrialio-buffer.c in_loc = roundup(in_loc, length) + length; roundup 856 drivers/iio/industrialio-buffer.c out_loc = roundup(out_loc, length); roundup 857 drivers/iio/industrialio-buffer.c in_loc = roundup(in_loc, length); roundup 867 drivers/iio/industrialio-buffer.c out_loc = roundup(out_loc, length); roundup 868 drivers/iio/industrialio-buffer.c in_loc = roundup(in_loc, length); roundup 98 drivers/iio/pressure/cros_ec_baro.c st->core.param.sensor_range.roundup = 1; roundup 237 drivers/infiniband/hw/cxgb4/cm.c u32 len = roundup(sizeof(struct cpl_tid_release), 16); roundup 296 drivers/infiniband/hw/cxgb4/cm.c len = roundup(sizeof(union cpl_wr_size), 16); roundup 649 drivers/infiniband/hw/cxgb4/cm.c u32 wrlen = roundup(sizeof(struct cpl_close_con_req), 16); roundup 665 drivers/infiniband/hw/cxgb4/cm.c int wrlen = roundup(sizeof(*req), 16); roundup 689 drivers/infiniband/hw/cxgb4/cm.c u32 wrlen = roundup(sizeof(struct cpl_abort_req), 16); roundup 763 drivers/infiniband/hw/cxgb4/cm.c roundup(sizev4, 16) : roundup 764 drivers/infiniband/hw/cxgb4/cm.c roundup(sizev6, 16); roundup 954 drivers/infiniband/hw/cxgb4/cm.c wrlen = roundup(mpalen + sizeof(*req), 16); roundup 1059 drivers/infiniband/hw/cxgb4/cm.c wrlen = roundup(mpalen + sizeof(*req), 16); roundup 1139 drivers/infiniband/hw/cxgb4/cm.c wrlen = roundup(mpalen + sizeof(*req), 16); roundup 1416 drivers/infiniband/hw/cxgb4/cm.c u32 wrlen = roundup(sizeof(struct cpl_rx_data_ack), 16); roundup 2474 drivers/infiniband/hw/cxgb4/cm.c skb_trim(skb, roundup(sizeof(*rpl5), 16)); roundup 2490 drivers/infiniband/hw/cxgb4/cm.c memset(&rpl5->iss, 0, roundup(sizeof(*rpl5)-sizeof(*rpl), 16)); roundup 2824 drivers/infiniband/hw/cxgb4/cm.c u32 len = roundup(sizeof(struct cpl_abort_rpl), 16); roundup 1041 drivers/infiniband/hw/cxgb4/cq.c entries = roundup(entries, 16); roundup 1062 drivers/infiniband/hw/cxgb4/cq.c memsize = roundup(memsize, PAGE_SIZE); roundup 75 drivers/infiniband/hw/cxgb4/mem.c wr_len = roundup(sizeof(*req) + sizeof(*sgl), 16); roundup 133 drivers/infiniband/hw/cxgb4/mem.c wr_len = roundup(sizeof(*req) + sizeof(*sc) + roundup 134 drivers/infiniband/hw/cxgb4/mem.c roundup(copy_len, T4_ULPTX_MIN_IO), roundup 165 drivers/infiniband/hw/cxgb4/mem.c sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); roundup 702 drivers/infiniband/hw/cxgb4/mem.c int length = roundup(max_num_sg * sizeof(u64), 32); roundup 441 drivers/infiniband/hw/cxgb4/qp.c len = roundup(plen + sizeof(*immdp), 16) - (plen + sizeof(*immdp)); roundup 826 drivers/infiniband/hw/cxgb4/qp.c int pbllen = roundup(mhp->mpl_len * sizeof(u64), 32); roundup 2179 drivers/infiniband/hw/cxgb4/qp.c qhp->wq.sq.memsize = roundup(qhp->wq.sq.memsize, PAGE_SIZE); roundup 2182 drivers/infiniband/hw/cxgb4/qp.c roundup(qhp->wq.rq.memsize, PAGE_SIZE); roundup 2729 drivers/infiniband/hw/cxgb4/qp.c srq->wq.memsize = roundup(srq->wq.memsize, PAGE_SIZE); roundup 271 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); roundup 294 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); roundup 353 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT); roundup 376 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT); roundup 464 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.ocqp.cur += roundup(size, 1 << MIN_OCQP_SHIFT); roundup 476 drivers/infiniband/hw/cxgb4/resource.c rdev->stats.ocqp.cur -= roundup(size, 1 << MIN_OCQP_SHIFT); roundup 1160 drivers/infiniband/hw/hfi1/file_ops.c cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, roundup 2059 drivers/infiniband/hw/hfi1/init.c egrtop = roundup(rcd->egrbufs.alloced, dd->rcv_entries.group_size); roundup 561 drivers/infiniband/hw/mlx4/mr.c mr->page_map_size = roundup(max_pages * sizeof(u64), roundup 2295 drivers/infiniband/hw/mlx5/main.c dm->size = roundup(attr->length, MLX5_MEMIC_BASE_SIZE); roundup 5746 drivers/infiniband/hw/mlx5/main.c timeout = min_t(u32, roundup(var, 100), MLX5_MAX_DELAY_DROP_TIMEOUT_MS * roundup 1074 drivers/infiniband/hw/mlx5/mr.c inlen += sizeof(*pas) * roundup(npages, 2); roundup 1916 drivers/infiniband/hw/mlx5/mr.c ndescs = req.num_klms ? roundup(req.num_klms, 4) : roundup(1, 4); roundup 1635 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mem_size = roundup(mem_size, roundup 1813 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); roundup 479 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); roundup 782 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); roundup 1956 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c wqe_size += roundup(hdr->total_len, OCRDMA_WQE_ALIGN_BYTES); roundup 2050 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c wqe_size = roundup(wqe_size, OCRDMA_WQE_ALIGN_BYTES); roundup 277 drivers/infiniband/hw/qedr/verbs.c mm->key.len = roundup(len, PAGE_SIZE); roundup 641 drivers/md/bcache/bset.c unsigned int j = roundup(t[-1].size, roundup 289 drivers/md/bcache/bset.h return ((void *) i) + roundup(set_bytes(i), block_bytes); roundup 408 drivers/md/bcache/btree.c b->bio->bi_iter.bi_size = roundup(set_bytes(i), block_bytes(b->c)); roundup 800 drivers/md/dm-integrity.c atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); roundup 3012 drivers/md/dm-integrity.c ic->journal_entry_size = roundup(offsetof(struct journal_entry, last_bytes[ic->sectors_per_block]) + ic->tag_size, roundup 3036 drivers/md/dm-integrity.c ic->metadata_run = roundup((__u64)ic->tag_size << (ic->sb->log2_interleave_sectors - ic->sb->log2_sectors_per_block), roundup 3320 drivers/md/dm-integrity.c journal_pages = roundup((__u64)ic->journal_sections * ic->journal_section_sectors, roundup 3426 drivers/md/dm-integrity.c unsigned crypt_len = roundup(ivsize, blocksize); roundup 1193 drivers/md/dm-verity-target.c ti->per_io_data_size = roundup(ti->per_io_data_size, roundup 3004 drivers/md/dm.c front_pad = roundup(per_io_data_size, __alignof__(struct dm_target_io)) + offsetof(struct dm_target_io, clone); roundup 3005 drivers/md/dm.c io_front_pad = roundup(front_pad, __alignof__(struct dm_io)) + offsetof(struct dm_io, tio); roundup 167 drivers/md/md-bitmap.c roundup(size, bdev_logical_block_size(rdev->bdev)), roundup 231 drivers/md/md-bitmap.c size = roundup(last_page_size, roundup 824 drivers/md/md-bitmap.c roundup(DIV_ROUND_UP(num_pages*4, 8), sizeof(unsigned long)), roundup 8358 drivers/md/md.c roundup(jiffies, mddev->safemode_delay) + roundup 2366 drivers/md/raid1.c block_sectors = roundup(1 << rdev->badblocks.shift, roundup 2541 drivers/md/raid10.c block_sectors = roundup(1 << rdev->badblocks.shift, roundup 331 drivers/media/dvb-frontends/ascot2e.c frequency = roundup(p->frequency / 1000, 25); roundup 533 drivers/media/dvb-frontends/helene.c frequency = roundup(p->frequency / 1000, 1); roundup 680 drivers/media/dvb-frontends/helene.c frequency = roundup(p->frequency / 1000, 25); roundup 138 drivers/media/i2c/aptina-pll.c mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, roundup 523 drivers/media/i2c/imx274.c ? roundup((dim), (step)) \ roundup 225 drivers/media/i2c/smiapp-pll.c i = roundup(more_mul_min, more_mul_factor); roundup 363 drivers/media/i2c/smiapp-pll.c <= roundup(min_vt_div, best_pix_div)) roundup 349 drivers/media/pci/tw68/tw68-video.c maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); roundup 742 drivers/media/platform/exynos4-is/fimc-core.c sizeimage = roundup(sizeimage, row_size); roundup 563 drivers/media/platform/xilinx/xilinx-dma.c min_width = roundup(XVIP_DMA_MIN_WIDTH, align); roundup 969 drivers/media/usb/uvc/uvc_driver.c extra_size = roundup(extra_size, sizeof(*entity->pads)); roundup 345 drivers/misc/eeprom/at24.c next_page = roundup(offset + 1, at24->page_size); roundup 901 drivers/misc/fastrpc.c msg->size = roundup(ctx->msg_sz, PAGE_SIZE); roundup 1025 drivers/misc/genwqe/card_ddcb.c queue_size = roundup(GENWQE_DDCB_MAX * sizeof(struct ddcb), PAGE_SIZE); roundup 1100 drivers/misc/genwqe/card_ddcb.c queue_size = roundup(queue->ddcb_max * sizeof(struct ddcb), PAGE_SIZE); roundup 277 drivers/misc/genwqe/card_utils.c return roundup(len, PAGE_SIZE); roundup 285 drivers/misc/hpilo.c dma_va = (char *)roundup((unsigned long)dma_va, ILO_START_ALIGN); roundup 286 drivers/misc/hpilo.c dma_pa = roundup(dma_pa, ILO_START_ALIGN); roundup 301 drivers/misc/hpilo.c dma_va = (char *)roundup((unsigned long)dma_va, ILO_CACHE_SZ); roundup 302 drivers/misc/hpilo.c dma_pa = roundup(dma_pa, ILO_CACHE_SZ); roundup 459 drivers/misc/mei/client.c cb->buf.data = kmalloc(roundup(length, MEI_SLOT_SIZE), GFP_KERNEL); roundup 233 drivers/misc/vmw_vmci/vmci_guest.c dg = (struct vmci_datagram *)roundup( roundup 714 drivers/mtd/nand/raw/fsmc_nand.c len = roundup(len, 2); roundup 212 drivers/mtd/parsers/bcm47xxpart.c offset += roundup(trx_size, blocksize) - blocksize; roundup 102 drivers/mtd/parsers/bcm63xxpart.c nvramlen = roundup(nvramlen, cfe_erasesize); roundup 126 drivers/mtd/parsers/parser_imagetag.c spareaddr = roundup(totallen, master->erasesize); roundup 92 drivers/mtd/ubi/fastmap.c return roundup(size, ubi->leb_size); roundup 247 drivers/net/ethernet/atheros/ag71xx.c #define AG71XX_DESC_SIZE roundup(sizeof(struct ag71xx_desc), \ roundup 474 drivers/net/ethernet/atheros/atl1c/atl1c_main.c roundup(mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN, 8) : AT_RX_BUF_SIZE; roundup 1017 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_ring[0].dma = roundup(ring_header->dma, 8); roundup 1024 drivers/net/ethernet/atheros/atl1c/atl1c_main.c offset += roundup(tpd_ring[i].size, 8); roundup 1030 drivers/net/ethernet/atheros/atl1c/atl1c_main.c offset += roundup(rfd_ring->size, 8); roundup 1037 drivers/net/ethernet/atheros/atl1c/atl1c_main.c offset += roundup(rrd_ring->size, 8); roundup 732 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_ring->real_page_size = roundup(rx_ring->real_page_size, 32); roundup 828 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_ring->dma = roundup(adapter->ring_dma, 8); roundup 840 drivers/net/ethernet/atheros/atl1e/atl1e_main.c offset = roundup(offset, 32); roundup 286 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define UIO_ROUNDUP(bp) (roundup(BNX2X_1st_NON_L2_ETH_CID(bp), \ roundup 13666 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return roundup(cid_count, QM_CID_ROUND); roundup 261 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h #define MBX_MSG_ALIGNED_SIZE (roundup(sizeof(struct bnx2x_vf_mbx_msg), \ roundup 6852 drivers/net/ethernet/broadcom/bnxt/bnxt.c entries = roundup(entries, ctx->tqm_entries_multiple); roundup 53 drivers/net/ethernet/brocade/bna/bfa_cee.c return roundup(sizeof(struct bfa_cee_attr), BFA_DMA_ALIGN_SZ); roundup 61 drivers/net/ethernet/brocade/bna/bfa_cee.c return roundup(sizeof(struct bfa_cee_stats), BFA_DMA_ALIGN_SZ); roundup 2592 drivers/net/ethernet/brocade/bna/bfa_ioc.c return roundup(sizeof(struct bfi_ioc_attr), BFA_DMA_ALIGN_SZ); roundup 3025 drivers/net/ethernet/brocade/bna/bfa_ioc.c roundup(0x010000 + sizeof(struct bfa_mfg_block), BFA_FLASH_SEG_SZ) roundup 3203 drivers/net/ethernet/brocade/bna/bfa_ioc.c return roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); roundup 3239 drivers/net/ethernet/brocade/bna/bfa_ioc.c dm_kva += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); roundup 3240 drivers/net/ethernet/brocade/bna/bfa_ioc.c dm_pa += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); roundup 585 drivers/net/ethernet/brocade/bna/bfa_msgq.c return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) + roundup 586 drivers/net/ethernet/brocade/bna/bfa_msgq.c roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ); roundup 595 drivers/net/ethernet/brocade/bna/bfa_msgq.c kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); roundup 596 drivers/net/ethernet/brocade/bna/bfa_msgq.c pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); roundup 1885 drivers/net/ethernet/cadence/macb_main.c roundup(bp->rx_buffer_size, RX_BUFFER_MULTIPLE); roundup 755 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); roundup 1823 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS); roundup 989 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c payload[i].start = roundup(payload[i].start, roundup 1487 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c wrlen = roundup(sizeof(*wr) + (sizeof(*req) + sizeof(*aligner)) roundup 5176 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c s->ofldqsets = roundup(i, adap->params.nports); roundup 281 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); roundup 285 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); roundup 547 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c txq_info->ntxq = roundup(i, adap->params.nports); roundup 3523 drivers/net/ethernet/chelsio/cxgb4/sge.c iq->size = roundup(iq->size, 16); roundup 3567 drivers/net/ethernet/chelsio/cxgb4/sge.c fl->size = roundup(fl->size, 8); roundup 2235 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->size = roundup(rspq->size, 16); roundup 2285 drivers/net/ethernet/chelsio/cxgb4vf/sge.c fl->size = roundup(fl->size, FL_PER_EQ_UNIT); roundup 858 drivers/net/ethernet/freescale/fman/fman_port.c (roundup(port->max_frame_length, roundup 881 drivers/net/ethernet/freescale/fman/fman_port.c (roundup(port->max_frame_length, roundup 887 drivers/net/ethernet/freescale/fman/fman_port.c (roundup(min(port->max_frame_length, roundup 94 drivers/net/ethernet/freescale/gianfar.h #define GFAR_RXB_SIZE roundup(1536 + 8, 64) roundup 891 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->tx_buf_size = roundup(hdev->tx_buf_size, HCLGE_BUF_SIZE_UNIT); roundup 899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->dv_buf_size = roundup(hdev->dv_buf_size, HCLGE_BUF_SIZE_UNIT); roundup 1799 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); roundup 1809 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c shared_std = roundup(max_t(u32, shared_buf_min, shared_buf_tc), roundup 1821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c - roundup(aligned_mps / HCLGE_BUF_DIV_BY, roundup 1903 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c priv->wl.high = roundup(priv->wl.low + aligned_mps, roundup 1218 drivers/net/ethernet/hp/hp100.c return roundup(MAX_RX_FRAG * 2 + 2, 4); roundup 1233 drivers/net/ethernet/hp/hp100.c return roundup(MAX_TX_FRAG * 2 + 2, 4); roundup 1262 drivers/net/ethernet/hp/hp100.c ringptr->skb = netdev_alloc_skb(dev, roundup(MAX_ETHER_SIZE + 2, 4)); roundup 1284 drivers/net/ethernet/hp/hp100.c roundup(MAX_ETHER_SIZE + 2, 4), roundup 8815 drivers/net/ethernet/intel/igb/igb_main.c wupl = roundup(wupl, 4); roundup 1146 drivers/net/ethernet/marvell/sky2.c size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8); roundup 1158 drivers/net/ethernet/marvell/sky2.c size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8); roundup 580 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c __u64 upper_limit_mbps = roundup(255 * MLX5E_100MB, MLX5E_1GB); roundup 241 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c roundup(min, MLXSW_REG_CWTP_MIN_VALUE), roundup 242 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c roundup(max, MLXSW_REG_CWTP_MIN_VALUE), roundup 327 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c rxdr->count = roundup(rxdr->count, PCH_GBE_RX_DESC_MULTIPLE); roundup 331 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c txdr->count = roundup(txdr->count, PCH_GBE_TX_DESC_MULTIPLE); roundup 451 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c tx_ring->count = roundup(tx_ring->count, roundup 467 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c rx_ring->count = roundup(rx_ring->count, roundup 363 drivers/net/ethernet/qlogic/qed/qed_cxt.c iids->pf_cids = roundup(iids->pf_cids, TM_ALIGN); roundup 364 drivers/net/ethernet/qlogic/qed/qed_cxt.c iids->per_vf_cids = roundup(iids->per_vf_cids, TM_ALIGN); roundup 365 drivers/net/ethernet/qlogic/qed/qed_cxt.c iids->per_vf_tids = roundup(iids->per_vf_tids, TM_ALIGN); roundup 368 drivers/net/ethernet/qlogic/qed/qed_cxt.c iids->pf_tids[j] = roundup(iids->pf_tids[j], TM_ALIGN); roundup 444 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_conn->cid_count = roundup(cid_count, DQ_RANGE_ALIGN); roundup 445 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_conn->cids_per_vf = roundup(vf_cid_cnt, DQ_RANGE_ALIGN); roundup 453 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_conn->cid_count = roundup(p_conn->cid_count, align); roundup 7983 drivers/net/ethernet/qlogic/qed/qed_debug.c len_rounded = roundup(len_rounded, sizeof(u32)); roundup 2733 drivers/net/ethernet/qlogic/qed/qed_dev.c norm_regsize = roundup(QED_PF_DEMS_SIZE * non_pwm_conn, PAGE_SIZE); roundup 388 drivers/net/ethernet/wiznet/w5300.c skb = netdev_alloc_skb_ip_align(ndev, roundup(rx_len, 2)); roundup 308 drivers/net/hyperv/netvsc.c buf_size = roundup(buf_size, PAGE_SIZE); roundup 3349 drivers/net/usb/lan78xx.c skb_totallen = skb->len + roundup(skb_totallen, sizeof(u32)); roundup 3366 drivers/net/usb/lan78xx.c pos += roundup(skb2->len, sizeof(u32)); roundup 285 drivers/net/wireless/ath/ath10k/bmi.c txlen = roundup(txlen, 4); roundup 759 drivers/net/wireless/ath/ath10k/htt.h + roundup(__le16_to_cpu(rx_ind->prefix.fw_rx_desc_bytes), 4); roundup 1498 drivers/net/wireless/ath/ath10k/htt.h return (void *)item + sizeof(*item) + roundup(item->length, 4); roundup 1375 drivers/net/wireless/ath/ath10k/htt_tx.c prefetch_len = roundup(prefetch_len, 4); roundup 1575 drivers/net/wireless/ath/ath10k/htt_tx.c prefetch_len = roundup(prefetch_len, 4); roundup 96 drivers/net/wireless/ath/ath10k/swap.c swap_bin_len = roundup(swap_bin_len, 2); roundup 271 drivers/net/wireless/ath/ath10k/wmi-tlv.c len -= roundup(__le16_to_cpu(item->len), 4); roundup 274 drivers/net/wireless/ath/ath10k/wmi-tlv.c data += roundup(__le16_to_cpu(item->len), 4); roundup 1822 drivers/net/wireless/ath/ath10k/wmi-tlv.c ie_len = roundup(arg->ie_len, 4); roundup 2196 drivers/net/wireless/ath/ath10k/wmi-tlv.c sizeof(*tlv) + roundup(arg->key_len, sizeof(__le32)); roundup 2222 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv->len = __cpu_to_le16(roundup(arg->key_len, sizeof(__le32))); roundup 2227 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += roundup(arg->key_len, sizeof(__le32)); roundup 2514 drivers/net/wireless/ath/ath10k/wmi-tlv.c legacy_rate_len = roundup(arg->peer_legacy_rates.num_rates, roundup 2516 drivers/net/wireless/ath/ath10k/wmi-tlv.c ht_rate_len = roundup(arg->peer_ht_rates.num_rates, sizeof(__le32)); roundup 3112 drivers/net/wireless/ath/ath10k/wmi-tlv.c sizeof(*tlv) + roundup(bcn->len, 4); roundup 3148 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv->len = __cpu_to_le16(roundup(bcn->len, 4)); roundup 3171 drivers/net/wireless/ath/ath10k/wmi-tlv.c sizeof(*tlv) + roundup(prb->len, 4); roundup 3199 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv->len = __cpu_to_le16(roundup(prb->len, 4)); roundup 3218 drivers/net/wireless/ath/ath10k/wmi-tlv.c sizeof(*tlv) + roundup(p2p_ie[1] + 2, 4); roundup 3236 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv->len = __cpu_to_le16(roundup(p2p_ie[1] + 2, 4)); roundup 3240 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += roundup(p2p_ie[1] + 2, 4); roundup 1746 drivers/net/wireless/ath/ath10k/wmi.c u32 round_len = roundup(len, 4); roundup 6773 drivers/net/wireless/ath/ath10k/wmi.c len += roundup(arg->ie_len, 4); roundup 6884 drivers/net/wireless/ath/ath10k/wmi.c ptr += roundup(arg->ie_len, 4); roundup 1166 drivers/net/wireless/ath/ath5k/base.c common->rx_bufsize = roundup(IEEE80211_MAX_FRAME_LEN, common->cachelsz); roundup 2079 drivers/net/wireless/ath/ath5k/base.c nexttbtt = roundup(hw_tu + FUDGE, intval); roundup 2106 drivers/net/wireless/ath/ath5k/base.c nexttbtt = bc_tu + roundup(hw_tu + FUDGE - bc_tu, intval); roundup 129 drivers/net/wireless/ath/ath5k/desc.c pkt_len = roundup(pkt_len, 4); roundup 305 drivers/net/wireless/ath/ath5k/desc.c pkt_len = roundup(pkt_len, 4); roundup 225 drivers/net/wireless/ath/ath6kl/init.c reserved = roundup((2 * L1_CACHE_BYTES) + ATH6KL_DATA_OFFSET + roundup 1297 drivers/net/wireless/ath/ath6kl/main.c dev->needed_headroom += roundup(sizeof(struct ath6kl_llc_snap_hdr) + roundup 409 drivers/net/wireless/ath/ath6kl/wmi.c hdr_size = roundup(sizeof(struct ieee80211_qos_hdr), roundup 98 drivers/net/wireless/ath/ath9k/beacon.c info.buf_len[0] = roundup(skb->len, 4); roundup 100 drivers/net/wireless/ath/ath9k/common-beacon.c bs->bs_sleepduration = TU_TO_USEC(roundup(IEEE80211_MS_TO_TU(100), roundup 1986 drivers/net/wireless/ath/carl9170/main.c ar->mem_bitmap = kcalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG), roundup 1640 drivers/net/wireless/ath/carl9170/tx.c len = roundup(skb->len + FCS_LEN, 4); roundup 483 drivers/net/wireless/broadcom/b43/pio.c q->buffer_used += roundup(skb->len + hdrlen, 4); roundup 511 drivers/net/wireless/broadcom/b43/pio.c total_len = roundup(skb->len + hdrlen, 4); roundup 552 drivers/net/wireless/broadcom/b43/pio.c if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) || roundup 581 drivers/net/wireless/broadcom/b43/pio.c total_len = roundup(total_len, 4); roundup 989 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c offset = roundup(offset, sizeof(u32)); roundup 408 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c *new_length = roundup(nvp.nvram_len + 1, 4); roundup 442 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c uint roundup; /* Max roundup limit */ roundup 647 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c datalign = roundup(datalign, (align)) - datalign; roundup 1362 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c (roundup(len, bus->blocksize) != rd->len)) { roundup 1528 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c (roundup(totlen, bus->blocksize) - totlen); roundup 1529 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c totlen = roundup(totlen, bus->blocksize); roundup 1744 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { roundup 1746 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if ((pad <= bus->roundup) && (pad < bus->blocksize) && roundup 1809 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { roundup 1811 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (*pad <= bus->roundup && *pad < bus->blocksize && roundup 1943 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (rd->len != roundup(rd_new.len, 16)) { roundup 1946 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c roundup(rd_new.len, 16) >> 4); roundup 2383 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (bus->roundup && bus->blocksize && (len > bus->blocksize)) { roundup 2385 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if ((pad > bus->roundup) || (pad >= bus->blocksize)) roundup 3493 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c bus_if->maxctl += bus->roundup; roundup 3494 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c value = roundup((bus_if->maxctl + SDPCM_HDRLEN), ALIGNMENT); roundup 4021 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c bus->rxhdr = (u8 *) roundup((unsigned long)&bus->hdrbuf[0], roundup 4370 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c bus->roundup = min(max_roundup, bus->blocksize); roundup 540 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c len = roundup(len, 4) + (ndelim + 1) * AMPDU_DELIMITER_LEN; roundup 680 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c session->ampdu_len -= roundup(len, 4) - len; roundup 482 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c desc_strtaddr = (u32) roundup((unsigned long)va, alignbytes); roundup 519 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c roundup((unsigned long)va, align); roundup 534 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c roundup((unsigned long)va, align); roundup 1927 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c (u8) roundup(pi->tx_power_offset[i], 8); roundup 1007 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u32 quotient, remainder, roundup, rbit; roundup 1012 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c roundup = (divisor >> 1) + rbit; roundup 1016 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (remainder >= roundup) { roundup 1018 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c remainder = ((remainder - roundup) << 1) + rbit; roundup 1024 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (remainder >= roundup) roundup 1663 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c len = roundup(sizeof(*cmd) + cmd->count * ETH_ALEN, 4); roundup 1705 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c len = roundup(sizeof(*cmd) + addr_count * ETH_ALEN, 4); roundup 619 drivers/net/wireless/marvell/libertas/if_sdio.c chunk_buffer, roundup(chunk_size, 32)); roundup 245 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c len = roundup(len, 4); roundup 302 drivers/net/wireless/mediatek/mt7601u/mcu.c len = roundup(len, 4); roundup 1207 drivers/net/wireless/ralink/rt2x00/rt2500usb.c length = roundup(entry->skb->len, 2); roundup 1363 drivers/net/wireless/ralink/rt2x00/rt2800lib.c padding_len = roundup(entry->skb->len, 4) - entry->skb->len; roundup 419 drivers/net/wireless/ralink/rt2x00/rt2800usb.c roundup(entry->skb->len, 4) - TXINFO_DESC_SIZE); roundup 450 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return roundup(entry->skb->len, 4) + 4; roundup 1903 drivers/net/wireless/ralink/rt2x00/rt61pci.c padding_len = roundup(entry->skb->len, 4) - entry->skb->len; roundup 1557 drivers/net/wireless/ralink/rt2x00/rt73usb.c padding_len = roundup(entry->skb->len, 4) - entry->skb->len; roundup 1623 drivers/net/wireless/ralink/rt2x00/rt73usb.c length = roundup(entry->skb->len, 4); roundup 5233 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c pkt_offset = roundup(pkt_len + drvinfo_sz + desc_shift + roundup 23 drivers/nvdimm/blk.c return roundup(nsblk->lbasize, INT_LBASIZE_ALIGNMENT); roundup 765 drivers/nvdimm/btt.c arena->internal_lbasize = roundup(arena->external_lbasize, roundup 778 drivers/nvdimm/btt.c logsize = roundup(arena->nfree * LOG_GRP_SIZE, BTT_PG_SIZE); roundup 786 drivers/nvdimm/btt.c mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); roundup 1431 drivers/nvme/host/pci.c unsigned q_size_aligned = roundup(q_depth * entry_size, roundup 113 drivers/nvmem/rockchip-efuse.c addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES; roundup 166 drivers/nvmem/rockchip-efuse.c addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES; roundup 80 drivers/nvmem/stm32-romem.c rbytes = roundup(bytes + skip_bytes, 4); roundup 410 drivers/perf/arm_spe_pmu.c unsigned long delta = roundup(head, spe_pmu->align) - head; roundup 387 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), roundup 389 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), roundup 391 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), roundup 404 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < roundup(maxpin, 16); i += 16) roundup 406 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < roundup(maxpin, 32); i += 32) { roundup 374 drivers/s390/char/sclp_cmd.c start_align = roundup(*start, alignment); roundup 6041 drivers/scsi/aic7xxx/aic79xx_core.c max_list_size = roundup(sg_list_increment, PAGE_SIZE); roundup 644 drivers/scsi/arcmsr/arcmsr_hba.c acb->ioqueue_size = roundup(sizeof(struct MessageUnit_B), 32); roundup 658 drivers/scsi/arcmsr/arcmsr_hba.c acb->ioqueue_size = roundup(sizeof(struct MessageUnit_D), 32); roundup 674 drivers/scsi/arcmsr/arcmsr_hba.c acb->ioqueue_size = roundup(completeQ_size, 32); roundup 720 drivers/scsi/arcmsr/arcmsr_hba.c roundup_ccbsize = roundup(sizeof(struct CommandControlBlock) + (max_sg_entrys - 1) * sizeof(struct SG64ENTRY), 32); roundup 1919 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) + roundup 2369 drivers/scsi/hisi_sas/hisi_sas_main.c max_command_entries_ru = roundup(max_command_entries, 64); roundup 2374 drivers/scsi/hisi_sas/hisi_sas_main.c sz_slot_buf_ru = roundup(sz_slot_buf_ru, 64); roundup 142 drivers/scsi/sd_zbc.c bufsize = roundup((nr_zones + 1) * 64, 512); roundup 210 drivers/spi/spi-orion.c rate = roundup(rate, 2); roundup 649 drivers/staging/media/ipu3/ipu3-css-params.c roundup(stripe_offset_inp_uv, roundup 1133 drivers/staging/media/ipu3/ipu3-css-params.c roundup(stripe_params[s].output_width[pin], roundup 1198 drivers/staging/media/ipu3/ipu3-css-params.c block_stripes[0].width = roundup(stripe_params[0].input_width, roundup 1204 drivers/staging/media/ipu3/ipu3-css-params.c roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width - roundup 1892 drivers/staging/media/ipu3/ipu3-css-params.c roundup(css_pipe->rect[IPU3_CSS_RECT_BDS].width, roundup 1304 drivers/staging/media/ipu3/ipu3-css.c roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width, roundup 1308 drivers/staging/media/ipu3/ipu3-css.c roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].height, roundup 230 drivers/staging/media/soc_camera/mt9t031.c rect->left = rect->left > roundup(MT9T031_COLUMN_SKIP, 6) ? roundup 231 drivers/staging/media/soc_camera/mt9t031.c (rect->left / 6) * 6 : roundup(MT9T031_COLUMN_SKIP, 6); roundup 625 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 len = roundup(sizeof(struct cpl_close_con_req), 16); roundup 661 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 len = roundup(sizeof(struct cpl_abort_req), 16); roundup 1014 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 len = roundup(sizeof(struct cpl_tid_release), 16); roundup 1061 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 len = roundup(sizeof(struct cpl_rx_data_ack), 16); roundup 1105 drivers/target/iscsi/cxgbit/cxgbit_cm.c len = roundup(len, 16); roundup 1134 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int len = roundup(sizeof(*rpl5), 16); roundup 1494 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int len = roundup(sizeof(*req), 16); roundup 1531 drivers/target/iscsi/cxgbit/cxgbit_cm.c unsigned int len = roundup(sizeof(*req), 16); roundup 1717 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 len = roundup(sizeof(struct cpl_abort_rpl), 16); roundup 71 drivers/target/iscsi/cxgbit/cxgbit_ddp.c unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) + roundup 469 drivers/tee/optee/core.c begin = roundup(res.result.start, PAGE_SIZE); roundup 261 drivers/tee/tee_shm.c num_pages = (roundup(addr + length, PAGE_SIZE) - start) / PAGE_SIZE; roundup 17 drivers/tee/tee_shm_pool.c size_t s = roundup(size, 1 << genpool->min_alloc_order); roundup 321 drivers/thermal/intel/intel_powerclamp.c roundup(delta+d->steady_comp, 2)/2; roundup 399 drivers/thermal/intel/intel_powerclamp.c target_jiffies = roundup(jiffies, interval); roundup 822 drivers/usb/class/usbtmc.c roundup(max_transfer_size + 1 - bufsize, roundup 853 drivers/usb/class/usbtmc.c bufcount = roundup(max_transfer_size, bufsize) / bufsize; roundup 608 drivers/usb/gadget/function/f_uvc.c opts->streaming_maxpacket = roundup(opts->streaming_maxpacket, 1024); roundup 444 drivers/usb/gadget/udc/bdc/bdc_ep.c tfs = roundup(req->usb_req.length, maxp); roundup 3681 drivers/usb/host/xhci-ring.c start_frame_id = roundup(current_frame_id + ist + 1, 8); roundup 3977 drivers/usb/host/xhci-ring.c start_frame = roundup(start_frame, 8); roundup 3985 drivers/usb/host/xhci-ring.c start_frame = roundup(start_frame, urb->interval << 3); roundup 3988 drivers/usb/host/xhci-ring.c start_frame = roundup(start_frame, urb->interval); roundup 1240 drivers/video/fbdev/atafb.c gend1 = gstart + roundup(xres, align) * plen / prescale; roundup 700 drivers/video/fbdev/broadsheetfb.c maxlen = roundup(cur_addr, sector_size) - cur_addr; roundup 1106 drivers/video/fbdev/broadsheetfb.c videomemorysize = roundup((dpyw*dpyh), PAGE_SIZE); roundup 1423 drivers/video/fbdev/da8xx-fb.c par->vram_size = roundup(par->vram_size/8, ulcm); roundup 60 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c min_dco = roundup(hw->clkdco_min, fint); roundup 805 drivers/video/fbdev/pxafb.c var->xres = roundup(var->xres * bpp, 32) / bpp; roundup 65 drivers/watchdog/ebc-c384_wdt.c wdev->timeout = roundup(t, 60); roundup 1408 fs/binfmt_elf.c sz += roundup(strlen(en->name) + 1, 4); roundup 1409 fs/binfmt_elf.c sz += roundup(en->datasz, 4); roundup 2264 fs/binfmt_elf.c dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); roundup 1270 fs/binfmt_elf_fdpic.c sz += roundup(strlen(en->name) + 1, 4); roundup 1271 fs/binfmt_elf_fdpic.c sz += roundup(en->datasz, 4); roundup 1705 fs/binfmt_elf_fdpic.c dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); roundup 576 fs/cifs/smb2pdu.c *total_len = roundup(*total_len, 8); roundup 2248 fs/cifs/smb2pdu.c *out_size = roundup((*out_len+1)*2, 8); roundup 2348 fs/cifs/smb2pdu.c copy_size = roundup(uni_path_len, 8); roundup 2476 fs/cifs/smb2pdu.c copy_size = roundup(copy_size, 8); roundup 115 fs/erofs/dir.c ofs = roundup(ofs, sizeof(struct erofs_dirent)); roundup 120 fs/erofs/inode.c inode->i_blocks = roundup(inode->i_size, EROFS_BLKSIZ) >> 9; roundup 2661 fs/ext4/mballoc.c sbi->s_mb_group_prealloc = roundup( roundup 1959 fs/f2fs/segment.c end = roundup(end, sbi->segs_per_sec); roundup 2844 fs/f2fs/segment.c end_segno = roundup(end_segno + 1, sbi->segs_per_sec) - 1; roundup 94 fs/lockd/svc.c return roundup(nlm_grace_period, nlm_timeout) * HZ; roundup 59 fs/notify/fanotify/fanotify_user.c return roundup(sizeof(struct fanotify_event_info_fid) + roundup 122 fs/notify/inotify/inotify_user.c return roundup(event->name_len + 1, sizeof(struct inotify_event)); roundup 844 fs/proc/vmcore.c *notes_sz = roundup(phdr_sz, PAGE_SIZE); roundup 858 fs/proc/vmcore.c phdr.p_offset = roundup(note_off, PAGE_SIZE); roundup 873 fs/proc/vmcore.c *elfsz = roundup(*elfsz, PAGE_SIZE); roundup 1035 fs/proc/vmcore.c *notes_sz = roundup(phdr_sz, PAGE_SIZE); roundup 1049 fs/proc/vmcore.c phdr.p_offset = roundup(note_off, PAGE_SIZE); roundup 1064 fs/proc/vmcore.c *elfsz = roundup(*elfsz, PAGE_SIZE); roundup 1104 fs/proc/vmcore.c end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); roundup 1147 fs/proc/vmcore.c end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); roundup 1392 fs/proc/vmcore.c end = roundup(phdr->p_offset + phdr->p_memsz, roundup 1412 fs/proc/vmcore.c end = roundup(phdr->p_offset + phdr->p_memsz, roundup 1433 fs/proc/vmcore.c elfnotes_sz = roundup(elfnotes_orig_sz, PAGE_SIZE) + vmcoredd_orig_sz; roundup 1476 fs/proc/vmcore.c data_size = roundup(sizeof(struct vmcoredd_header) + data->size, roundup 282 fs/xfs/libxfs/xfs_alloc.c xfs_agblock_t aligned_bno = roundup(bno, args->alignment); roundup 329 fs/xfs/libxfs/xfs_alloc.c if ((newbno1 = roundup(freebno, alignment)) >= freeend) roundup 332 fs/xfs/libxfs/xfs_alloc.c newbno1 = roundup(wantbno, alignment); roundup 353 fs/xfs/libxfs/xfs_alloc.c newbno1 = roundup(freeend - wantlen, alignment); roundup 468 fs/xfs/libxfs/xfs_attr_leaf.c minforkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; roundup 529 fs/xfs/libxfs/xfs_attr_leaf.c minforkoff = roundup(minforkoff, 8) >> 3; roundup 1030 fs/xfs/libxfs/xfs_bmap.c ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; roundup 426 fs/xfs/libxfs/xfs_inode_buf.c if (dip->di_forkoff != (roundup(sizeof(xfs_dev_t), 8) >> 3)) roundup 149 fs/xfs/libxfs/xfs_inode_fork.c real_size = roundup(mem_size, 4); roundup 495 fs/xfs/libxfs/xfs_inode_fork.c roundup(new_size, 4), KM_NOFS); roundup 685 fs/xfs/scrub/dir.c for (lblk = roundup((xfs_dablk_t)got.br_startoff, roundup 695 fs/xfs/scrub/dir.c lblk = roundup(dabno, args.geo->fsbcount); roundup 749 fs/xfs/scrub/dir.c for (lblk = roundup((xfs_dablk_t)got.br_startoff, roundup 759 fs/xfs/scrub/dir.c lblk = roundup(dabno, args.geo->fsbcount); roundup 306 fs/xfs/xfs_dir2_readdir.c next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount); roundup 58 fs/xfs/xfs_inode_item.c *nbytes += roundup(ip->i_df.if_bytes, 4); roundup 99 fs/xfs/xfs_inode_item.c *nbytes += roundup(ip->i_afp->if_bytes, 4); roundup 196 fs/xfs/xfs_inode_item.c data_bytes = roundup(ip->i_df.if_bytes, 4); roundup 280 fs/xfs/xfs_inode_item.c data_bytes = roundup(ip->i_afp->if_bytes, 4); roundup 3247 fs/xfs/xfs_log.c log->l_curr_block = roundup(log->l_curr_block, sunit_bb); roundup 1203 fs/xfs/xfs_rtalloc.c mp->m_rsumsize = roundup(mp->m_rsumsize, sbp->sb_blocksize); roundup 2534 include/linux/platform_data/cros_ec_commands.h uint8_t roundup; roundup 428 include/soc/fsl/qman.h int roundup) roundup 440 include/soc/fsl/qman.h if (roundup && oddbit) roundup 585 include/soc/fsl/qman.h int roundup) roundup 594 include/soc/fsl/qman.h if (roundup && oddbit) roundup 92 kernel/bpf/hashtab.c return *(void **)(l->key + roundup(map->key_size, 8)); roundup 323 kernel/bpf/hashtab.c htab->map.max_entries = roundup(attr->max_entries, roundup 1033 kernel/kexec_core.c start = roundup(start, KEXEC_CRASH_MEM_ALIGN); roundup 1034 kernel/kexec_core.c end = roundup(start + new_size, KEXEC_CRASH_MEM_ALIGN); roundup 99 lib/math/prime_numbers.c m = roundup(start, x); roundup 6592 mm/page_alloc.c usemapsize = roundup(zonesize, pageblock_nr_pages); roundup 6595 mm/page_alloc.c usemapsize = roundup(usemapsize, 8 * sizeof(unsigned long)); roundup 7196 mm/page_alloc.c roundup(required_movablecore, MAX_ORDER_NR_PAGES); roundup 7305 mm/page_alloc.c roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); roundup 2563 mm/percpu.c alloc_size = roundup(min_unit_size, atom_size); roundup 2624 mm/percpu.c nr_units += roundup(group_cnt[group], upa); roundup 2633 mm/percpu.c cpu_map += roundup(group_cnt[group], upa); roundup 2656 mm/percpu.c gi->nr_units = roundup(gi->nr_units, upa); roundup 2849 mm/percpu.c nr_g0_units = roundup(num_possible_cpus(), upa); roundup 506 mm/sparse.c ptr = (void *) roundup((unsigned long)sparsemap_buf, size); roundup 484 mm/swap_state.c unsigned int roundup = 4; roundup 485 mm/swap_state.c while (roundup < pages) roundup 486 mm/swap_state.c roundup <<= 1; roundup 487 mm/swap_state.c pages = roundup; roundup 183 net/dccp/output.c cur_mps -= roundup(1 + 6 + 10 + dp->dccps_send_ndp_count * 8 + 6 + roundup 2316 net/netfilter/nf_conntrack_core.c nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); roundup 94 net/openvswitch/flow_netlink.c size_t end = roundup(offset + size, sizeof(long)); roundup 156 net/sched/cls_flower.c mask->range.end = roundup(last + 1, sizeof(long)); roundup 384 net/sched/sch_api.c int low = roundup(r->mpu, 48); roundup 385 net/sched/sch_api.c int high = roundup(low+1, 48); roundup 441 net/sunrpc/svc.c serv->sv_max_mesg = roundup(serv->sv_max_payload + PAGE_SIZE, PAGE_SIZE); roundup 205 security/keys/dh.c size_t outbuf_len = roundup(buflen, roundup 470 security/keys/encrypted-keys/encrypted.c encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); roundup 578 security/keys/encrypted-keys/encrypted.c encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); roundup 646 security/keys/encrypted-keys/encrypted.c encrypted_datalen = roundup(decrypted_datalen, blksize); roundup 680 security/keys/encrypted-keys/encrypted.c encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); roundup 928 security/keys/encrypted-keys/encrypted.c + roundup(epayload->decrypted_datalen, blksize) roundup 465 security/selinux/selinuxfs.c if (offset >= roundup(plm->len, PAGE_SIZE)) roundup 470 security/selinux/ss/ebitmap.c last_bit = roundup(bit + 1, BITS_PER_U64); roundup 140 sound/core/seq/seq_memory.c newlen = roundup(len, size_aligned); roundup 167 sound/firewire/amdtp-stream.c t.min = roundup(s->min, step); roundup 57 tools/include/linux/kernel.h #ifndef roundup roundup 5801 tools/lib/bpf/libbpf.c data_len = roundup(data_len, sizeof(__u64)); roundup 48 tools/perf/arch/s390/util/machine.c p->end = roundup(p->end, page_size); roundup 291 tools/perf/arch/x86/util/intel-pt.c return len ? roundup(len + 1, 8) : 0; roundup 76 tools/perf/pmu-events/json.c munmap(map, roundup(size, ps)); roundup 30 tools/perf/pmu-events/json.h #ifndef roundup roundup 3150 tools/perf/util/intel-pt.c len = roundup(len + 1, 8); roundup 239 tools/perf/util/symbol.c curr->end = roundup(curr->start, 4096) + 4096;