Symbol: roundup
arch/arm/mach-pxa/am200epd.c
232
am200_board.wfm_size = roundup(16*1024 + 2, fw);
arch/parisc/math-emu/dfrem.c
222
roundup = TRUE;
arch/parisc/math-emu/dfrem.c
244
else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) {
arch/parisc/math-emu/dfrem.c
44
register boolean roundup = FALSE;
arch/parisc/math-emu/sfrem.c
217
roundup = TRUE;
arch/parisc/math-emu/sfrem.c
238
else if (Sgl_isequal(opnd1,opnd2) && roundup) {
arch/parisc/math-emu/sfrem.c
43
register boolean roundup = FALSE;
arch/powerpc/kernel/module_64.c
1125
num_stubs = roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub),
arch/powerpc/kernel/module_64.c
254
relocs += roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub),
arch/powerpc/platforms/cell/spufs/coredump.c
153
dump_skip_to(cprm, roundup(cprm->pos - ret + sz, 4));
arch/powerpc/platforms/cell/spufs/coredump.c
37
total += roundup(strlen(fullname) + 1, 4);
arch/powerpc/platforms/cell/spufs/coredump.c
38
total += roundup(sz, 4);
arch/powerpc/platforms/pseries/vio.c
490
if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) {
arch/powerpc/platforms/pseries/vio.c
499
vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE));
arch/powerpc/platforms/pseries/vio.c
513
vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE));
arch/powerpc/platforms/pseries/vio.c
528
if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))))
arch/powerpc/platforms/pseries/vio.c
537
vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)));
arch/powerpc/platforms/pseries/vio.c
552
vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)));
arch/powerpc/platforms/pseries/vio.c
566
alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl));
arch/powerpc/platforms/pseries/vio.c
577
alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl));
arch/powerpc/platforms/pseries/vio.c
601
alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl));
arch/s390/kernel/crash_dump.c
266
len = roundup(len + note->n_namesz, 4);
arch/s390/kernel/crash_dump.c
269
len = roundup(len + note->n_descsz, 4);
arch/s390/kernel/crash_dump.c
285
size += roundup(strlen(name) + 1, 4);
arch/s390/kernel/crash_dump.c
286
size += roundup(d_len, 4);
arch/s390/net/bpf_jit_comp.c
2324
code_size = roundup(jit->size,
arch/sh/kernel/cpu/shmobile/pm.c
105
vp += roundup(n, 4);
arch/sh/kernel/cpu/shmobile/pm.c
111
vp += roundup(n, 4);
arch/sh/kernel/cpu/shmobile/pm.c
117
vp += roundup(n, 4);
arch/sh/kernel/io_trapped.c
127
voffs += roundup(len, PAGE_SIZE);
arch/sh/kernel/io_trapped.c
175
len = roundup(resource_size(res), PAGE_SIZE);
arch/sh/kernel/io_trapped.c
57
len += roundup(resource_size(res), PAGE_SIZE);
arch/sh/kernel/io_trapped.c
84
len += roundup(resource_size(res), PAGE_SIZE);
arch/x86/kernel/callthunks.c
289
dest = roundup((unsigned long)addr, CONFIG_FUNCTION_ALIGNMENT);
arch/x86/kernel/fpu/xstate.c
2006
size += roundup(sizeof(owner_name), 4);
arch/x86/mm/init_64.c
1432
all_end = roundup((unsigned long)_brk_end, PMD_SIZE);
arch/x86/mm/init_64.c
448
unsigned long end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1;
arch/x86/mm/pat/set_memory.c
261
return __pa_symbol(roundup(_brk_end, PMD_SIZE) - 1) >> PAGE_SHIFT;
arch/x86/net/bpf_jit_comp.c
3966
header = bpf_jit_binary_pack_alloc(roundup(proglen, align) + extable_size,
arch/x86/net/bpf_jit_comp.c
3972
prog->aux->extable = (void *) image + roundup(proglen, align);
arch/x86/xen/mmu_pv.c
1078
unsigned long kernel_end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1;
arch/x86/xen/mmu_pv.c
1227
size = roundup(size, PMD_SIZE);
arch/x86/xen/mmu_pv.c
1256
xen_cleanhighmap(addr, roundup(addr + size, PMD_SIZE * 2));
arch/x86/xen/mmu_pv.c
1973
n_pte = roundup(size, PAGE_SIZE) >> PAGE_SHIFT;
arch/x86/xen/mmu_pv.c
1974
n_pt = roundup(size, PMD_SIZE) >> PMD_SHIFT;
arch/x86/xen/mmu_pv.c
1975
n_pmd = roundup(size, PUD_SIZE) >> PUD_SHIFT;
arch/x86/xen/mmu_pv.c
1976
n_pud = roundup(size, P4D_SIZE) >> P4D_SHIFT;
arch/x86/xen/multicalls.c
223
unsigned argidx = roundup(b->argidx, sizeof(u64));
arch/x86/xen/multicalls.c
235
argidx = roundup(b->argidx, sizeof(u64));
block/badblocks.c
1074
roundup(s, 1 << bb->shift);
block/badblocks.c
1311
roundup(target, 1 << bb->shift);
block/badblocks.c
861
roundup(next, 1 << bb->shift);
block/blk-throttle.c
550
tg->slice_end[rw] = roundup(jiffy_end, DFL_THROTL_SLICE);
block/blk-throttle.c
778
jiffy_elapsed_rnd = roundup(jiffy_elapsed + 1, DFL_THROTL_SLICE);
block/blk-throttle.c
806
jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, DFL_THROTL_SLICE);
drivers/accel/habanalabs/common/command_buffer.c
33
cb->roundup_size = roundup(cb->size, page_size);
drivers/accel/habanalabs/gaudi2/gaudi2.c
2730
hbm_drv_base_offset = roundup(CPU_FW_IMAGE_SIZE, prop->num_functional_hbms * SZ_8M);
drivers/clk/bcm/clk-bcm2835.c
1020
rate = roundup(rate, scaler);
drivers/clk/clk-sparx5.c
69
rate = roundup(rate, 1000);
drivers/clk/rockchip/clk-cpu.c
403
unsigned long new_rate = roundup(ndata->new_rate, 1000);
drivers/clk/rockchip/clk-cpu.c
426
unsigned long new_rate = roundup(ndata->new_rate, 1000);
drivers/cpufreq/raspberrypi-cpufreq.c
43
min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL);
drivers/cpufreq/raspberrypi-cpufreq.c
44
max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL);
drivers/crypto/cavium/nitrox/nitrox_main.c
96
code_size = roundup(ucode_size, 16);
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c
117
nr_sgcomp = roundup(map_nents, 4) / 4;
drivers/crypto/chelsio/chcr_algo.c
1259
kctx_len = roundup(ablkctx->enckey_len, 16);
drivers/crypto/chelsio/chcr_algo.c
1552
transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len +
drivers/crypto/chelsio/chcr_algo.c
1554
transhdr_len = roundup(transhdr_len, 16);
drivers/crypto/chelsio/chcr_algo.c
1672
params.kctx_len = roundup(params.alg_prm.result_size, 16);
drivers/crypto/chelsio/chcr_algo.c
1754
params.kctx_len = roundup(params.alg_prm.result_size, 16);
drivers/crypto/chelsio/chcr_algo.c
1831
params.kctx_len = roundup(params.alg_prm.result_size, 16);
drivers/crypto/chelsio/chcr_algo.c
1935
params.kctx_len = roundup(params.alg_prm.result_size, 16);
drivers/crypto/chelsio/chcr_algo.c
2010
params.kctx_len = roundup(params.alg_prm.result_size, 16);
drivers/crypto/chelsio/chcr_algo.c
2397
temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16)
drivers/crypto/chelsio/chcr_algo.c
2400
transhdr_len = roundup(transhdr_len, 16);
drivers/crypto/chelsio/chcr_algo.c
2458
memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16),
drivers/crypto/chelsio/chcr_algo.c
2459
actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16));
drivers/crypto/chelsio/chcr_algo.c
2988
kctx_len = roundup(aeadctx->enckey_len, 16) * 2;
drivers/crypto/chelsio/chcr_algo.c
2992
temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen +
drivers/crypto/chelsio/chcr_algo.c
2996
transhdr_len = roundup(transhdr_len, 16);
drivers/crypto/chelsio/chcr_algo.c
3017
memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16),
drivers/crypto/chelsio/chcr_algo.c
3083
kctx_len = roundup(aeadctx->enckey_len, 16) + AEAD_H_SIZE;
drivers/crypto/chelsio/chcr_algo.c
3087
temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16) :
drivers/crypto/chelsio/chcr_algo.c
3090
transhdr_len = roundup(transhdr_len, 16);
drivers/crypto/chelsio/chcr_algo.c
3129
memcpy(chcr_req->key_ctx.key + roundup(aeadctx->enckey_len, 16),
drivers/crypto/chelsio/chcr_algo.c
3343
key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) * 2;
drivers/crypto/chelsio/chcr_algo.c
3438
key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) +
drivers/crypto/chelsio/chcr_algo.c
3528
key_ctx_len = sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16) +
drivers/crypto/chelsio/chcr_algo.c
3591
key_ctx_len = sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16);
drivers/crypto/chelsio/chcr_algo.c
794
kctx_len = roundup(ablkctx->enckey_len, 16);
drivers/crypto/chelsio/chcr_algo.c
798
temp = reqctx->imm ? roundup(wrparam->bytes, 16) :
drivers/crypto/chelsio/chcr_algo.c
801
transhdr_len = roundup(transhdr_len, 16);
drivers/crypto/hisilicon/sec/sec_algs.c
555
*steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT;
drivers/crypto/intel/qat/qat_common/qat_algs.c
253
roundup(ctx->hash_digestsize, 8) * 2);
drivers/crypto/intel/qat/qat_common/qat_algs.c
295
roundup(ctx->hash_digestsize, 8) * 2) >> 3;
drivers/crypto/sa2ul.c
630
total = roundup(total, 8);
drivers/crypto/sa2ul.c
740
ad->hash_size = roundup(ad->hash_size, 8);
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1000
mem_offset_dsp_words = roundup(mem_offset_dsp_words, dsp_words_per_packed_block);
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1109
mem_offset_dsp_words = roundup(mem_offset_dsp_words, dsp_words_per_packed_block);
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1226
packed_payload_offset_dsp_words = roundup(packed_payload_offset_dsp_words,
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1327
packed_payload_offset_dsp_words = roundup(packed_payload_offset_dsp_words,
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1431
packed_payload_offset_dsp_words = roundup(packed_payload_offset_dsp_words,
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1535
packed_payload_offset_dsp_words = roundup(packed_payload_offset_dsp_words,
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
1645
packed_payload_offset_dsp_words = roundup(packed_payload_offset_dsp_words,
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
691
mem_offset_dsp_words = roundup(mem_offset_dsp_words, dsp_words_per_packed_block);
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
794
mem_offset_dsp_words = roundup(mem_offset_dsp_words, dsp_words_per_packed_block);
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
897
mem_offset_dsp_words = roundup(mem_offset_dsp_words, dsp_words_per_packed_block);
drivers/firmware/efi/libstub/x86-stub.c
377
rounded_end = roundup(start + size, EFI_PAGE_SIZE);
drivers/firmware/stratix10-svc.c
1859
size_t s = roundup(size, 1 << genpool->min_alloc_order);
drivers/firmware/stratix10-svc.c
952
begin = roundup(sh_memory->addr, PAGE_SIZE);
drivers/gpio/gpio-menz127.c
62
debounce = roundup(debounce, MEN_Z127_DB_MIN_US);
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
37
return roundup(AMDGPU_ONE_DOORBELL_SIZE *
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
1099
reserv_size = roundup(reserv_size, SZ_1M);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
1109
reserv_size_ext = roundup(reserv_size_ext, SZ_1M);
drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c
260
umsch_mm_agdb_start = roundup(umsch_mm_agdb_start, 1024);
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
577
roundup((unsigned long)amdgpu_vram_mgr_block_start(dcc_block),
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
53
return roundup(kfd->device_info.doorbell_size *
drivers/gpu/drm/armada/armada_gem.c
39
return roundup(size, PAGE_SIZE);
drivers/gpu/drm/bridge/tc358768.c
929
dsi_hsw = roundup(dsi_hsw, priv->dsi_lanes);
drivers/gpu/drm/bridge/tc358768.c
964
dsi_vsdly = roundup(dsi_vsdly, priv->dsi_lanes);
drivers/gpu/drm/display/drm_dp_tunnel.c
1847
group_bw += min(roundup(tunnel_bw, tunnel->bw_granularity),
drivers/gpu/drm/display/drm_dp_tunnel.c
740
return min(roundup(max_dprx_bw, tunnel->bw_granularity),
drivers/gpu/drm/drm_dumb_buffers.c
74
pitch = roundup(pitch, hw_pitch_align);
drivers/gpu/drm/drm_dumb_buffers.c
86
size = roundup(size, hw_size_align);
drivers/gpu/drm/drm_gem_vram_helper.c
446
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/exynos/exynos_drm_gem.c
207
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/gma500/gem.c
147
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/gma500/gem.c
213
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/i915/display/intel_pps.c
1573
final->power_cycle = roundup(final->power_cycle, msecs_to_pps_units(100));
drivers/gpu/drm/i915/display/skl_watermark.c
2894
latency = roundup(latency, max_linetime);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
207
chunk = roundup(chunk, tile_row_pages(obj) ?: 1);
drivers/gpu/drm/i915/gem/i915_gem_tiling.c
69
return roundup(size, stride);
drivers/gpu/drm/i915/gvt/cmd_parser.c
3019
roundup(ctx_size + CACHELINE_BYTES,
drivers/gpu/drm/i915/gvt/dmabuf.c
211
roundup(info->size, PAGE_SIZE));
drivers/gpu/drm/i915/gvt/dmabuf.c
322
info->size = info->stride * roundup(info->height, tile_height);
drivers/gpu/drm/mediatek/mtk_dsi.c
554
roundup(horizontal_sync_active_byte, dsi->lanes) - 2;
drivers/gpu/drm/mediatek/mtk_dsi.c
556
roundup(horizontal_frontporch_byte, dsi->lanes) - 2;
drivers/gpu/drm/mediatek/mtk_dsi.c
558
roundup(horizontal_backporch_byte, dsi->lanes) - 2;
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
72
stride = roundup(fb->width, 192);
drivers/gpu/drm/nouveau/nvkm/core/mm.c
131
s = roundup(s, mm->block_size);
drivers/gpu/drm/nouveau/nvkm/core/mm.c
205
s = roundup(s, mm->block_size);
drivers/gpu/drm/nouveau/nvkm/core/mm.c
270
node->offset = roundup(offset, mm->block_size);
drivers/gpu/drm/nouveau/nvkm/engine/ce/gv100.c
39
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
527
size = max(roundup(size, PAGE_SIZE), PAGE_SIZE);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
528
align = max(roundup(align, PAGE_SIZE), PAGE_SIZE);
drivers/gpu/drm/omapdrm/dss/pll.c
288
min_dco = roundup(hw->clkdco_min, fint);
drivers/gpu/drm/panfrost/panfrost_gem.c
485
size = roundup(size, SZ_2M);
drivers/gpu/drm/qxl/qxl_object.c
122
size = roundup(size, PAGE_SIZE);
drivers/gpu/drm/radeon/evergreen_cs.c
552
size = roundup(nbx * nby * 4, track->npipes * (2 << 10));
drivers/gpu/drm/radeon/r600_cs.c
693
size = roundup(nbx * nby * 4, track->npipes * (2 << 10));
drivers/gpu/drm/radeon/radeon_gem.c
324
args->size = roundup(args->size, PAGE_SIZE);
drivers/gpu/drm/radeon/radeon_object.c
136
unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT;
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c
187
args->pitch = roundup(min_pitch, align);
drivers/gpu/drm/sitronix/st7586.c
138
rect->x2 = roundup(rect->x2, 3);
drivers/gpu/drm/stm/drv.c
53
args->pitch = roundup(min_pitch, 128);
drivers/gpu/drm/stm/drv.c
54
args->height = roundup(args->height, 4);
drivers/gpu/drm/vc4/vc4_bo.c
424
size_t size = roundup(unaligned_size, PAGE_SIZE);
drivers/gpu/drm/vc4/vc4_dsi.c
789
return roundup(ui + DIV_ROUND_UP(ns, ui_ns), 8);
drivers/gpu/drm/vc4/vc4_gem.c
743
uint32_t shader_rec_offset = roundup(bin_offset + args->bin_cl_size,
drivers/gpu/drm/vc4/vc4_plane.c
699
lbm = roundup(lbm, vc4->gen == VC4_GEN_5 ? 128 : 64);
drivers/gpu/drm/vc4/vc4_validate.c
349
roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16);
drivers/gpu/drm/vc4/vc4_validate.c
409
exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096);
drivers/gpu/drm/vc4/vc4_validate.c
796
BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4);
drivers/gpu/drm/vc4/vc4_validate.c
797
exec->shader_rec_v += roundup(packet_size, 16);
drivers/gpu/drm/virtio/virtgpu_object.c
217
params->size = roundup(params->size, PAGE_SIZE);
drivers/hwtracing/coresight/coresight-trbe.c
445
unsigned long delta = roundup(head, cpudata->trbe_align) - head;
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
200
st->core.param.sensor_range.roundup = 1;
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
841
st->param.sensor_odr.roundup = 1;
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
875
st->param.sensor_range.roundup = 1;
drivers/iio/imu/adis16475.c
374
scaled_rate = roundup(min_sample_rate, st->clk_freq);
drivers/iio/imu/adis16480.c
375
scaled_rate = roundup(4000000, st->clk_freq);
drivers/iio/imu/adis16550.c
470
scaled_rate = roundup(min_sample_rate, st->clk_freq_hz);
drivers/iio/industrialio-buffer.c
1091
in_loc = roundup(in_loc, length) + length;
drivers/iio/industrialio-buffer.c
1100
out_loc = roundup(out_loc, length);
drivers/iio/industrialio-buffer.c
1101
in_loc = roundup(in_loc, length);
drivers/iio/industrialio-buffer.c
1115
out_loc = roundup(out_loc, length);
drivers/iio/industrialio-buffer.c
1116
in_loc = roundup(in_loc, length);
drivers/iio/pressure/cros_ec_baro.c
97
st->core.param.sensor_range.roundup = 1;
drivers/infiniband/hw/cxgb4/cm.c
1059
wrlen = roundup(mpalen + sizeof(*req), 16);
drivers/infiniband/hw/cxgb4/cm.c
1139
wrlen = roundup(mpalen + sizeof(*req), 16);
drivers/infiniband/hw/cxgb4/cm.c
1418
u32 wrlen = roundup(sizeof(struct cpl_rx_data_ack), 16);
drivers/infiniband/hw/cxgb4/cm.c
237
u32 len = roundup(sizeof(struct cpl_tid_release), 16);
drivers/infiniband/hw/cxgb4/cm.c
2481
skb = get_skb(skb, roundup(sizeof(*rpl5), 16), GFP_KERNEL);
drivers/infiniband/hw/cxgb4/cm.c
2482
rpl5 = __skb_put_zero(skb, roundup(sizeof(*rpl5), 16));
drivers/infiniband/hw/cxgb4/cm.c
2828
u32 len = roundup(sizeof(struct cpl_abort_rpl), 16);
drivers/infiniband/hw/cxgb4/cm.c
296
len = roundup(sizeof(union cpl_wr_size), 16);
drivers/infiniband/hw/cxgb4/cm.c
649
u32 wrlen = roundup(sizeof(struct cpl_close_con_req), 16);
drivers/infiniband/hw/cxgb4/cm.c
665
int wrlen = roundup(sizeof(*req), 16);
drivers/infiniband/hw/cxgb4/cm.c
689
u32 wrlen = roundup(sizeof(struct cpl_abort_req), 16);
drivers/infiniband/hw/cxgb4/cm.c
763
roundup(sizev4, 16) :
drivers/infiniband/hw/cxgb4/cm.c
764
roundup(sizev6, 16);
drivers/infiniband/hw/cxgb4/cm.c
954
wrlen = roundup(mpalen + sizeof(*req), 16);
drivers/infiniband/hw/cxgb4/cq.c
1052
entries = roundup(entries, 16);
drivers/infiniband/hw/cxgb4/cq.c
1073
memsize = roundup(memsize, PAGE_SIZE);
drivers/infiniband/hw/cxgb4/mem.c
133
wr_len = roundup(sizeof(*req) + sizeof(*sc) +
drivers/infiniband/hw/cxgb4/mem.c
134
roundup(copy_len, T4_ULPTX_MIN_IO),
drivers/infiniband/hw/cxgb4/mem.c
165
sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO));
drivers/infiniband/hw/cxgb4/mem.c
611
int length = roundup(max_num_sg * sizeof(u64), 32);
drivers/infiniband/hw/cxgb4/mem.c
75
wr_len = roundup(sizeof(*req) + sizeof(*sgl), 16);
drivers/infiniband/hw/cxgb4/qp.c
2175
qhp->wq.sq.memsize = roundup(qhp->wq.sq.memsize, PAGE_SIZE);
drivers/infiniband/hw/cxgb4/qp.c
2178
roundup(qhp->wq.rq.memsize, PAGE_SIZE);
drivers/infiniband/hw/cxgb4/qp.c
2744
srq->wq.memsize = roundup(srq->wq.memsize, PAGE_SIZE);
drivers/infiniband/hw/cxgb4/qp.c
439
len = roundup(plen + sizeof(*immdp), 16) - (plen + sizeof(*immdp));
drivers/infiniband/hw/cxgb4/qp.c
824
int pbllen = roundup(mhp->mpl_len * sizeof(u64), 32);
drivers/infiniband/hw/cxgb4/resource.c
271
rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT);
drivers/infiniband/hw/cxgb4/resource.c
294
rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT);
drivers/infiniband/hw/cxgb4/resource.c
353
rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT);
drivers/infiniband/hw/cxgb4/resource.c
376
rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT);
drivers/infiniband/hw/cxgb4/resource.c
464
rdev->stats.ocqp.cur += roundup(size, 1 << MIN_OCQP_SHIFT);
drivers/infiniband/hw/cxgb4/resource.c
476
rdev->stats.ocqp.cur -= roundup(size, 1 << MIN_OCQP_SHIFT);
drivers/infiniband/hw/hfi1/file_ops.c
1148
cinfo.rcvtids = roundup(uctxt->egrbufs.alloced,
drivers/infiniband/hw/hfi1/init.c
1947
egrtop = roundup(rcd->egrbufs.alloced, dd->rcv_entries.group_size);
drivers/infiniband/hw/mlx4/mr.c
312
mr->page_map_size = roundup(max_pages * sizeof(u64),
drivers/infiniband/hw/mlx5/dm.c
293
dm->base.size = roundup(attr->length, MLX5_MEMIC_BASE_SIZE);
drivers/infiniband/hw/mlx5/main.c
3885
timeout = min_t(u32, roundup(var, 100), MLX5_MAX_DELAY_DROP_TIMEOUT_MS *
drivers/infiniband/hw/mlx5/mr.c
1816
ndescs = req.num_klms ? roundup(req.num_klms, 4) : roundup(1, 4);
drivers/infiniband/hw/mlx5/mr.c
564
roundup(ib_umem_num_dma_blocks(umem, page_size), 2);
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
1629
mem_size = roundup(mem_size,
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
1807
cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1938
wqe_size += roundup(hdr->total_len, OCRDMA_WQE_ALIGN_BYTES);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
2030
wqe_size = roundup(wqe_size, OCRDMA_WQE_ALIGN_BYTES);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
475
u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
778
num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64)));
drivers/md/bcache/bset.c
640
unsigned int j = roundup(t[-1].size,
drivers/md/bcache/bset.h
289
return ((void *) i) + roundup(set_bytes(i), block_bytes);
drivers/md/bcache/btree.c
352
b->bio->bi_iter.bi_size = roundup(set_bytes(i), block_bytes(b->c->cache));
drivers/md/bcache/super.c
924
d->stripe_size = roundup(BCH_MIN_STRIPE_SZ, d->stripe_size);
drivers/md/dm-integrity.c
4067
ic->journal_entry_size = roundup(offsetof(struct journal_entry, last_bytes[ic->sectors_per_block]) + ic->tag_size,
drivers/md/dm-integrity.c
4421
journal_pages = roundup((__u64)ic->journal_sections * ic->journal_section_sectors,
drivers/md/dm-integrity.c
4527
unsigned int crypt_len = roundup(ivsize, blocksize);
drivers/md/dm-integrity.c
908
atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight);
drivers/md/dm-table.c
1070
front_pad = roundup(per_io_data_size,
drivers/md/dm-table.c
1073
io_front_pad = roundup(per_io_data_size,
drivers/md/dm-verity-target.c
1663
ti->per_io_data_size = roundup(ti->per_io_data_size,
drivers/md/md-bitmap.c
1059
roundup(DIV_ROUND_UP(num_pages*4, 8), sizeof(unsigned long)),
drivers/md/md-bitmap.c
357
u32 iosize = roundup(size, bdev_logical_block_size(rdev->bdev));
drivers/md/md-bitmap.c
411
return roundup(last_page_size, bdev_io_opt(bdev));
drivers/md/md-bitmap.c
449
size = roundup(last_page_size, bdev_logical_block_size(bdev));
drivers/md/md.c
6497
iosize = roundup(sizeof(bitmap_super_t),
drivers/md/md.c
9341
roundup(jiffies, mddev->safemode_delay) +
drivers/md/raid1.c
2542
block_sectors = roundup(1 << rdev->badblocks.shift, lbs);
drivers/md/raid10.c
2814
block_sectors = roundup(1 << rdev->badblocks.shift, lbs);
drivers/media/dvb-frontends/ascot2e.c
331
frequency = roundup(p->frequency / 1000, 25);
drivers/media/dvb-frontends/helene.c
533
frequency = roundup(p->frequency / 1000, 1);
drivers/media/dvb-frontends/helene.c
680
frequency = roundup(p->frequency / 1000, 25);
drivers/media/i2c/aptina-pll.c
139
mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1,
drivers/media/i2c/ccs-pll.c
566
rounded_div = roundup(vt_div, best_pix_div);
drivers/media/i2c/ccs-pll.c
680
i = roundup(more_mul_min, more_mul_factor);
drivers/media/i2c/imx274.c
585
? roundup((dim), (step)) \
drivers/media/pci/intel/ipu6/ipu6-fw-com.c
187
conf_size = roundup(sizeof(struct ipu6_fw_syscom_config), 8);
drivers/media/pci/intel/ipu6/ipu6-fw-com.c
194
specific_size = roundup(cfg->specific_size, 8);
drivers/media/pci/tw68/tw68-video.c
349
maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE);
drivers/media/platform/qcom/camss/camss-video.c
510
bpl = roundup(bpl, alignment);
drivers/media/platform/qcom/camss/camss-video.c
535
p->bytesperline = roundup(bytesperline[i], alignment);
drivers/media/platform/qcom/camss/camss-video.c
60
bytesperline = roundup(bytesperline, alignment);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
561
pixmp_op->width = roundup(width, 192);
drivers/media/platform/qcom/iris/iris_vdec.c
284
fmt->fmt.pix_mp.width = roundup(f->fmt.pix_mp.width, 192);
drivers/media/platform/samsung/exynos4-is/fimc-core.c
741
sizeimage = roundup(sizeimage, row_size);
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
492
pic_w_4x4 = roundup(dst->vp9.width, 8) >> 2;
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
493
pic_h_4x4 = roundup(dst->vp9.height, 8) >> 2;
drivers/media/platform/verisilicon/hantro_vp9.c
26
h = roundup(height, 8);
drivers/media/platform/verisilicon/hantro_vp9.c
28
height32 = roundup(h, 64);
drivers/media/platform/verisilicon/hantro_vp9.c
38
h = roundup(height, 8);
drivers/media/platform/verisilicon/hantro_vp9.c
39
height32 = roundup(h, 64);
drivers/media/platform/verisilicon/hantro_vp9.c
49
w = roundup(width, 8);
drivers/media/platform/verisilicon/hantro_vp9.c
50
h = roundup(height, 8);
drivers/media/platform/verisilicon/hantro_vp9.c
58
return roundup(sizeof(struct hantro_g2_all_probs), 16);
drivers/media/platform/verisilicon/hantro_vp9.c
63
return roundup(sizeof(struct symbol_counts), 16);
drivers/media/platform/verisilicon/hantro_vp9.c
68
return roundup((MAX_TILE_COLS * MAX_TILE_ROWS * 4 * sizeof(u16) + 15 + 16) & ~0xf, 16);
drivers/media/platform/xilinx/xilinx-dma.c
542
min_width = roundup(XVIP_DMA_MIN_WIDTH, align);
drivers/media/test-drivers/vidtv/vidtv_bridge.c
129
mux_buf_sz = roundup(nbytes_expected, TS_PACKET_LEN);
drivers/media/usb/uvc/uvc_driver.c
823
extra_size = roundup(extra_size, sizeof(*entity->pads));
drivers/misc/eeprom/at24.c
399
next_page = roundup(offset + 1, at24->page_size);
drivers/misc/eeprom/m24lr.c
251
next_sector = roundup(offset + 1, m24lr->page_size);
drivers/misc/fastrpc.c
1229
msg->size = roundup(ctx->msg_sz, PAGE_SIZE);
drivers/misc/genwqe/card_ddcb.c
1032
queue_size = roundup(GENWQE_DDCB_MAX * sizeof(struct ddcb), PAGE_SIZE);
drivers/misc/genwqe/card_ddcb.c
1104
queue_size = roundup(queue->ddcb_max * sizeof(struct ddcb), PAGE_SIZE);
drivers/misc/genwqe/card_utils.c
280
return roundup(len, PAGE_SIZE);
drivers/misc/hpilo.c
286
dma_va = (char *)roundup((unsigned long)dma_va, ILO_START_ALIGN);
drivers/misc/hpilo.c
287
dma_pa = roundup(dma_pa, ILO_START_ALIGN);
drivers/misc/hpilo.c
302
dma_va = (char *)roundup((unsigned long)dma_va, ILO_CACHE_SZ);
drivers/misc/hpilo.c
303
dma_pa = roundup(dma_pa, ILO_CACHE_SZ);
drivers/misc/mei/client.c
478
cb->buf.data = kvmalloc(roundup(length, MEI_SLOT_SIZE), GFP_KERNEL);
drivers/misc/ti_fpc202.c
408
*delay_on = roundup(*delay_on, FPC202_LED_BLINK_PRECISION);
drivers/misc/ti_fpc202.c
411
*delay_off = roundup(*delay_off, FPC202_LED_BLINK_PRECISION);
drivers/misc/vmw_vmci/vmci_guest.c
347
dg = (struct vmci_datagram *)roundup(
drivers/mtd/nand/raw/fsmc_nand.c
750
len = roundup(len, 2);
drivers/mtd/parsers/bcm47xxpart.c
211
offset += roundup(trx_size, blocksize) - blocksize;
drivers/mtd/parsers/bcm63xxpart.c
94
nvramlen = roundup(nvramlen, cfe_erasesize);
drivers/mtd/parsers/parser_imagetag.c
130
spareaddr = roundup(totallen, master->erasesize);
drivers/mtd/ubi/fastmap.c
92
return roundup(size, ubi->leb_size);
drivers/net/ethernet/atheros/ag71xx.c
301
#define AG71XX_DESC_SIZE roundup(sizeof(struct ag71xx_desc), \
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
1047
tpd_ring[0].dma = roundup(ring_header->dma, 8);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
1054
offset += roundup(tpd_ring[i].size, 8);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
1062
offset += roundup(rfd_ring[i].size, 8);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
1069
offset += roundup(rrd_ring[i].size, 8);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
489
roundup(mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN, 8) : AT_RX_BUF_SIZE;
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
729
rx_ring->real_page_size = roundup(rx_ring->real_page_size, 32);
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
826
tx_ring->dma = roundup(adapter->ring_dma, 8);
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
838
offset = roundup(offset, 32);
drivers/net/ethernet/broadcom/bnge/bnge_rmem.c
245
entries = roundup(entries, ctxm->entry_multiple);
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
292
#define UIO_ROUNDUP(bp) (roundup(BNX2X_1st_NON_L2_ETH_CID(bp), \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13537
return roundup(cid_count, QM_CID_ROUND);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
261
#define MBX_MSG_ALIGNED_SIZE (roundup(sizeof(struct bnx2x_vf_mbx_msg), \
drivers/net/ethernet/broadcom/bnxt/bnxt.c
9261
entries = roundup(entries, ctxm->entry_multiple);
drivers/net/ethernet/brocade/bna/bfa_cee.c
53
return roundup(sizeof(struct bfa_cee_attr), BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_cee.c
61
return roundup(sizeof(struct bfa_cee_stats), BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_ioc.c
2595
return roundup(sizeof(struct bfi_ioc_attr), BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_ioc.c
3030
roundup(0x010000 + sizeof(struct bfa_mfg_block), BFA_FLASH_SEG_SZ)
drivers/net/ethernet/brocade/bna/bfa_ioc.c
3208
return roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_ioc.c
3244
dm_kva += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_ioc.c
3245
dm_pa += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_msgq.c
583
return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) +
drivers/net/ethernet/brocade/bna/bfa_msgq.c
584
roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_msgq.c
593
kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/brocade/bna/bfa_msgq.c
594
pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ);
drivers/net/ethernet/cadence/macb_main.c
2586
roundup(bp->rx_buffer_size, RX_BUFFER_MULTIPLE);
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c
746
nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS);
drivers/net/ethernet/cavium/thunder/nicvf_main.c
1811
nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1391
payload[i].start = roundup(payload[i].start,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
1772
wrlen = roundup(sizeof(*wr) + (sizeof(*req) + sizeof(*aligner))
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
5743
avail_uld_qsets = roundup(i, adap->params.nports);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
250
rxq_info->nrxq = roundup(i, adap->params.nports);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
254
rxq_info->nrxq = roundup(i, adap->params.nports);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
489
txq_info->ntxq = roundup(i, adap->params.nports);
drivers/net/ethernet/chelsio/cxgb4/sge.c
2170
wrlen += roundup(hdr_len, 16);
drivers/net/ethernet/chelsio/cxgb4/sge.c
4372
iq->size = roundup(iq->size, 16);
drivers/net/ethernet/chelsio/cxgb4/sge.c
4416
fl->size = roundup(fl->size, 8);
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2232
rspq->size = roundup(rspq->size, 16);
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2282
fl->size = roundup(fl->size, FL_PER_EQ_UNIT);
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
136
roundup(keylen, 16) + ghash_size;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
851
len = wr_len + 4 * roundup(CHCR_SET_TCB_FIELD_LEN, 16);
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
914
len = wr_len + cpl * roundup(CHCR_SET_TCB_FIELD_LEN, 16);
drivers/net/ethernet/freescale/enetc/enetc_ierb.c
64
tx_credit = roundup(1000 + ENETC_MAC_MAXFRM_SIZE / 2, 100);
drivers/net/ethernet/freescale/enetc/enetc_ierb.c
80
tx_alloc = roundup(2 * tx_credit + 4 * ENETC_MAC_MAXFRM_SIZE + 64, 16);
drivers/net/ethernet/freescale/fman/fman_port.c
831
(roundup(port->max_frame_length,
drivers/net/ethernet/freescale/fman/fman_port.c
854
(roundup(port->max_frame_length,
drivers/net/ethernet/freescale/fman/fman_port.c
860
(roundup(min(port->max_frame_length,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
1939
aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
1949
shared_std = roundup(max_t(u32, shared_buf_min, shared_buf_tc),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
1961
- roundup(aligned_mps / HCLGE_BUF_DIV_BY,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2043
priv->wl.high = roundup(priv->wl.low + aligned_mps,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
775
hdev->tx_buf_size = roundup(hdev->tx_buf_size, HCLGE_BUF_SIZE_UNIT);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
783
hdev->dv_buf_size = roundup(hdev->dv_buf_size, HCLGE_BUF_SIZE_UNIT);
drivers/net/ethernet/intel/ice/ice_nvm.c
388
sr_copy = roundup(hw->flash.banks.active_css_hdr_len, 32);
drivers/net/ethernet/intel/ice/ice_nvm.c
391
sr_copy = roundup(hw->flash.banks.inactive_css_hdr_len, 32);
drivers/net/ethernet/intel/igb/igb_main.c
9576
wupl = roundup(wupl, 4);
drivers/net/ethernet/intel/igc/igc_main.c
7531
wupl = roundup(wupl, 4);
drivers/net/ethernet/marvell/octeontx2/af/ptp.c
263
nxt_rollover_set = roundup(timestamp, NSEC_PER_SEC);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
504
return (roundup(offsetof(struct cn10k_tx_sa_s, hw_ctx), 8) / 8) & 0x7F;
drivers/net/ethernet/marvell/sky2.c
1147
size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8);
drivers/net/ethernet/marvell/sky2.c
1159
size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
610
roundup(min, MLXSW_REG_CWTP_MIN_VALUE),
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
611
roundup(max, MLXSW_REG_CWTP_MIN_VALUE),
drivers/net/ethernet/microchip/vcap/vcap_api.c
1696
next_cid = roundup(src_cid + 1, VCAP_CID_LOOKUP_SIZE);
drivers/net/ethernet/microchip/vcap/vcap_api.c
992
int max_cid = roundup(cid + 1, VCAP_CID_LOOKUP_SIZE);
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1033
mem += roundup(2 * nn->tlv_caps.vnic_stats_cnt, 8);
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
337
rxdr->count = roundup(rxdr->count, PCH_GBE_RX_DESC_MULTIPLE);
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
341
txdr->count = roundup(txdr->count, PCH_GBE_TX_DESC_MULTIPLE);
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c
451
tx_ring->count = roundup(tx_ring->count,
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c
467
rx_ring->count = roundup(rx_ring->count,
drivers/net/ethernet/qlogic/qed/qed_cxt.c
212
iids->pf_cids = roundup(iids->pf_cids, TM_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
213
iids->per_vf_cids = roundup(iids->per_vf_cids, TM_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
214
iids->per_vf_tids = roundup(iids->per_vf_tids, TM_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
217
iids->pf_tids[j] = roundup(iids->pf_tids[j], TM_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
315
p_conn->cid_count = roundup(cid_count, DQ_RANGE_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
316
p_conn->cids_per_vf = roundup(vf_cid_cnt, DQ_RANGE_ALIGN);
drivers/net/ethernet/qlogic/qed/qed_cxt.c
324
p_conn->cid_count = roundup(p_conn->cid_count, align);
drivers/net/ethernet/qlogic/qed/qed_debug.c
8143
len_rounded = roundup(len_rounded, sizeof(u32));
drivers/net/ethernet/qlogic/qed/qed_dev.c
2775
norm_regsize = roundup(QED_PF_DEMS_SIZE * non_pwm_conn, PAGE_SIZE);
drivers/net/ethernet/sfc/efx_reflash.c
372
chunk = roundup(remaining, align);
drivers/net/ethernet/ti/icssg/icssg_prueth.c
576
start_offset = roundup(current_cycle, MSEC_PER_SEC);
drivers/net/hyperv/netvsc.c
348
buf_size = roundup(buf_size, PAGE_SIZE);
drivers/net/wireless/ath/ath10k/bmi.c
281
txlen = roundup(txlen, 4);
drivers/net/wireless/ath/ath10k/htt.h
764
+ roundup(__le16_to_cpu(rx_ind->prefix.fw_rx_desc_bytes), 4);
drivers/net/wireless/ath/ath10k/htt_tx.c
1415
prefetch_len = roundup(prefetch_len, 4);
drivers/net/wireless/ath/ath10k/htt_tx.c
1620
prefetch_len = roundup(prefetch_len, 4);
drivers/net/wireless/ath/ath10k/swap.c
96
swap_bin_len = roundup(swap_bin_len, 2);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
1997
ie_len = roundup(arg->ie_len, 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
2371
sizeof(*tlv) + roundup(arg->key_len, sizeof(__le32));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
2397
tlv->len = __cpu_to_le16(roundup(arg->key_len, sizeof(__le32)));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
2402
ptr += roundup(arg->key_len, sizeof(__le32));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
2689
legacy_rate_len = roundup(arg->peer_legacy_rates.num_rates,
drivers/net/wireless/ath/ath10k/wmi-tlv.c
2691
ht_rate_len = roundup(arg->peer_ht_rates.num_rates, sizeof(__le32));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3336
sizeof(*tlv) + roundup(bcn->len, 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3372
tlv->len = __cpu_to_le16(roundup(bcn->len, 4));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3395
sizeof(*tlv) + roundup(prb->len, 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3423
tlv->len = __cpu_to_le16(roundup(prb->len, 4));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3442
sizeof(*tlv) + roundup(p2p_ie[1] + 2, 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3460
tlv->len = __cpu_to_le16(roundup(p2p_ie[1] + 2, 4));
drivers/net/wireless/ath/ath10k/wmi-tlv.c
3464
ptr += roundup(p2p_ie[1] + 2, 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
364
len -= roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
367
data += roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi.c
1809
u32 round_len = roundup(len, 4);
drivers/net/wireless/ath/ath10k/wmi.c
6906
len += roundup(arg->ie_len, 4);
drivers/net/wireless/ath/ath10k/wmi.c
7017
ptr += roundup(arg->ie_len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
10015
sar_len_aligned = roundup(BIOS_SAR_TABLE_LEN, sizeof(u32));
drivers/net/wireless/ath/ath11k/wmi.c
10016
rsvd_len_aligned = roundup(BIOS_SAR_RSVD1_LEN, sizeof(u32));
drivers/net/wireless/ath/ath11k/wmi.c
10063
rsvd_len_aligned = roundup(BIOS_SAR_RSVD2_LEN, sizeof(u32));
drivers/net/wireless/ath/ath11k/wmi.c
1735
aligned_len = roundup(p2p_ie_len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
1774
size_t aligned_len = roundup(bcn->len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
1842
int key_len_aligned = roundup(arg->key_len, sizeof(uint32_t));
drivers/net/wireless/ath/ath11k/wmi.c
1984
peer_legacy_rates_align = roundup(param->peer_legacy_rates.num_rates,
drivers/net/wireless/ath/ath11k/wmi.c
1986
peer_ht_rates_align = roundup(param->peer_ht_rates.num_rates,
drivers/net/wireless/ath/ath11k/wmi.c
2288
roundup(params->extraie.len, sizeof(u32));
drivers/net/wireless/ath/ath11k/wmi.c
3919
aligned_len = roundup(tmpl->len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
4006
size_t aligned_len = roundup(tmpl->len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
623
u32 round_len = roundup(len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
668
len = sizeof(*cmd) + sizeof(*frame_tlv) + roundup(buf_len, 4);
drivers/net/wireless/ath/ath11k/wmi.c
9512
ath11k_ce_byte_swap(bitmap->patternbuf, roundup(pattern_len, 4));
drivers/net/wireless/ath/ath11k/wmi.c
9514
ath11k_ce_byte_swap(bitmap->bitmaskbuf, roundup(pattern_len, 4));
drivers/net/wireless/ath/ath11k/wmi.c
9688
roundup(nlo_list[i].ssid.ssid.ssid_len, 4));
drivers/net/wireless/ath/ath12k/wmi.c
1959
aligned_len = roundup(p2p_ie_len, sizeof(u32));
drivers/net/wireless/ath/ath12k/wmi.c
2007
size_t aligned_len = roundup(bcn->len, 4);
drivers/net/wireless/ath/ath12k/wmi.c
2089
key_len_aligned = roundup(arg->key_len, 4);
drivers/net/wireless/ath/ath12k/wmi.c
2237
peer_legacy_rates_align = roundup(arg->peer_legacy_rates.num_rates,
drivers/net/wireless/ath/ath12k/wmi.c
2239
peer_ht_rates_align = roundup(arg->peer_ht_rates.num_rates,
drivers/net/wireless/ath/ath12k/wmi.c
2661
roundup(arg->extraie.len, sizeof(u32));
drivers/net/wireless/ath/ath12k/wmi.c
3085
len_aligned = roundup(buf_len, sizeof(u32));
drivers/net/wireless/ath/ath12k/wmi.c
3130
sar_table_len_aligned = roundup(ATH12K_ACPI_BIOS_SAR_TABLE_LEN, sizeof(u32));
drivers/net/wireless/ath/ath12k/wmi.c
3131
sar_dbs_backoff_len_aligned = roundup(ATH12K_ACPI_BIOS_SAR_DBS_BACKOFF_LEN,
drivers/net/wireless/ath/ath12k/wmi.c
3185
sar_geo_len_aligned = roundup(ATH12K_ACPI_BIOS_SAR_GEO_OFFSET_LEN, sizeof(u32));
drivers/net/wireless/ath/ath12k/wmi.c
3918
aligned_len = roundup(tmpl->len, 4);
drivers/net/wireless/ath/ath12k/wmi.c
3958
size_t aligned_len = roundup(tmpl->len, 4);
drivers/net/wireless/ath/ath12k/wmi.c
755
u32 round_len = roundup(len, 4);
drivers/net/wireless/ath/ath12k/wmi.c
795
buf_len_aligned = roundup(buf_len, sizeof(u32));
drivers/net/wireless/ath/ath5k/base.c
1211
common->rx_bufsize = roundup(IEEE80211_MAX_FRAME_LEN, common->cachelsz);
drivers/net/wireless/ath/ath5k/base.c
2125
nexttbtt = roundup(hw_tu + FUDGE, intval);
drivers/net/wireless/ath/ath5k/base.c
2152
nexttbtt = bc_tu + roundup(hw_tu + FUDGE - bc_tu, intval);
drivers/net/wireless/ath/ath5k/desc.c
129
pkt_len = roundup(pkt_len, 4);
drivers/net/wireless/ath/ath5k/desc.c
305
pkt_len = roundup(pkt_len, 4);
drivers/net/wireless/ath/ath6kl/init.c
225
reserved = roundup((2 * L1_CACHE_BYTES) + ATH6KL_DATA_OFFSET +
drivers/net/wireless/ath/ath6kl/main.c
1300
dev->needed_headroom += roundup(sizeof(struct ath6kl_llc_snap_hdr) +
drivers/net/wireless/ath/ath6kl/wmi.c
409
hdr_size = roundup(sizeof(struct ieee80211_qos_hdr),
drivers/net/wireless/ath/ath9k/beacon.c
98
info.buf_len[0] = roundup(skb->len, 4);
drivers/net/wireless/ath/ath9k/common-beacon.c
101
bs->bs_sleepduration = TU_TO_USEC(roundup(IEEE80211_MS_TO_TU(100),
drivers/net/wireless/ath/carl9170/tx.c
1645
len = roundup(skb->len + FCS_LEN, 4);
drivers/net/wireless/broadcom/b43/pio.c
483
q->buffer_used += roundup(skb->len + hdrlen, 4);
drivers/net/wireless/broadcom/b43/pio.c
511
total_len = roundup(skb->len + hdrlen, 4);
drivers/net/wireless/broadcom/b43/pio.c
552
if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) ||
drivers/net/wireless/broadcom/b43/pio.c
581
total_len = roundup(total_len, 4);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
1087
params_size = roundup(params_size, sizeof(u32));
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
1138
length += roundup(sizeof(u16) * n_channels, sizeof(u32));
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
1155
offset = roundup(offset, sizeof(u32));
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
435
*new_length = roundup(nvp.nvram_len + 1, 4);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1399
(roundup(len, bus->blocksize) != rd->len)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1565
(roundup(totlen, bus->blocksize) - totlen);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1566
totlen = roundup(totlen, bus->blocksize);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1781
if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1783
if ((pad <= bus->roundup) && (pad < bus->blocksize) &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1846
if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1848
if (*pad <= bus->roundup && *pad < bus->blocksize &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1980
if (rd->len != roundup(rd_new.len, 16)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
1983
roundup(rd_new.len, 16) >> 4);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
2420
if (bus->roundup && bus->blocksize && (len > bus->blocksize)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
2422
if ((pad > bus->roundup) || (pad >= bus->blocksize))
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3544
bus_if->maxctl += bus->roundup;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3545
value = roundup((bus_if->maxctl + SDPCM_HDRLEN), ALIGNMENT);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
4081
bus->rxhdr = (u8 *) roundup((unsigned long)&bus->hdrbuf[0],
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
447
uint roundup; /* Max roundup limit */
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
4517
bus->roundup = min(max_roundup, bus->blocksize);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
670
datalign = roundup(datalign, (align)) - datalign;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/xtlv.c
32
return roundup(dlen + hsz, 4);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c
508
len = roundup(len, 4) + (ndelim + 1) * AMPDU_DELIMITER_LEN;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c
648
session->ampdu_len -= roundup(len, 4) - len;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c
482
desc_strtaddr = (u32) roundup((unsigned long)va, alignbytes);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c
519
roundup((unsigned long)va, align);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c
534
roundup((unsigned long)va, align);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c
1657
(u8) roundup(pi->tx_power_offset[i], 8);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
952
u32 quotient, remainder, roundup, rbit;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
957
roundup = (divisor >> 1) + rbit;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
961
if (remainder >= roundup) {
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
963
remainder = ((remainder - roundup) << 1) + rbit;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
969
if (remainder >= roundup)
drivers/net/wireless/intel/iwlwifi/mei/main.c
250
u32 mem_size = roundup(version == IWL_MEI_SAP_VERSION_4 ?
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
833
len = roundup(sizeof(*cmd) + cmd->count * ETH_ALEN, 4);
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
873
len = roundup(sizeof(*cmd) + addr_count * ETH_ALEN, 4);
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
1929
len = roundup(sizeof(*cmd) + cmd->count * ETH_ALEN, 4);
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
1988
len = roundup(sizeof(*cmd) + addr_count * ETH_ALEN, 4);
drivers/net/wireless/marvell/libertas/if_sdio.c
621
chunk_buffer, roundup(chunk_size, 32));
drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c
233
len = roundup(len, 4);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
101
len = roundup(len, sdio->func->cur_blksize);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
232
len = roundup(len, sdio->func->cur_blksize);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
263
err = __skb_grow(e->skb, roundup(e->skb->len,
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
275
pad = roundup(e->skb->len, 4) - e->skb->len;
drivers/net/wireless/mediatek/mt7601u/mcu.c
304
len = roundup(len, 4);
drivers/net/wireless/ralink/rt2x00/rt2500usb.c
1207
length = roundup(entry->skb->len, 2);
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
1455
padding_len = roundup(entry->skb->len, 4) - entry->skb->len;
drivers/net/wireless/ralink/rt2x00/rt2800usb.c
419
roundup(entry->skb->len, 4) - TXINFO_DESC_SIZE);
drivers/net/wireless/ralink/rt2x00/rt2800usb.c
450
return roundup(entry->skb->len, 4) + 4;
drivers/net/wireless/ralink/rt2x00/rt61pci.c
1903
padding_len = roundup(entry->skb->len, 4) - entry->skb->len;
drivers/net/wireless/ralink/rt2x00/rt73usb.c
1557
padding_len = roundup(entry->skb->len, 4) - entry->skb->len;
drivers/net/wireless/ralink/rt2x00/rt73usb.c
1623
length = roundup(entry->skb->len, 4);
drivers/net/wireless/realtek/rtl8xxxu/core.c
6358
pkt_offset = roundup(pkt_len + drvinfo_sz + desc_shift +
drivers/net/wireless/realtek/rtl8xxxu/core.c
6469
pkt_offset = roundup(pkt_len + drvinfo_sz + desc_shift +
drivers/nvdimm/btt.c
765
arena->internal_lbasize = roundup(arena->external_lbasize,
drivers/nvdimm/btt.c
778
logsize = roundup(arena->nfree * LOG_GRP_SIZE, BTT_PG_SIZE);
drivers/nvdimm/btt.c
786
mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE);
drivers/nvme/host/pci.c
2087
unsigned q_size_aligned = roundup(q_depth * entry_size,
drivers/nvmem/rockchip-efuse.c
113
addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES;
drivers/nvmem/rockchip-efuse.c
166
addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES;
drivers/nvmem/stm32-romem.c
86
rbytes = roundup(bytes + skip_bytes, 4);
drivers/pci/pcie/aspm.c
589
*value = roundup(threshold_ns, 32) / 32;
drivers/pci/pcie/aspm.c
592
*value = roundup(threshold_ns, 1024) / 1024;
drivers/pci/pcie/aspm.c
595
*value = roundup(threshold_ns, 32768) / 32768;
drivers/pci/pcie/aspm.c
598
*value = roundup(threshold_ns, 1048576) / 1048576;
drivers/pci/pcie/aspm.c
601
*value = roundup(threshold_ns, 33554432) / 33554432;
drivers/perf/arm_spe_pmu.c
547
unsigned long delta = roundup(head, spe_pmu->align) - head;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
383
pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16),
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
385
pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32),
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
387
pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32),
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
400
for (i = 0; i < roundup(maxpin, 16); i += 16)
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
402
for (i = 0; i < roundup(maxpin, 32); i += 32) {
drivers/pmdomain/qcom/cpr.c
1019
return roundup(uV, step_volt);
drivers/pmdomain/qcom/cpr.c
874
fdata->min_uV = roundup(fdata->min_uV, step_volt);
drivers/pmdomain/qcom/cpr.c
875
fdata->max_uV = roundup(fdata->max_uV, step_volt);
drivers/s390/char/sclp_mem.c
362
start_align = roundup(*start, alignment);
drivers/s390/char/sclp_mem.c
431
max_sclp_mems = roundup(sclp.rnmax * sclp.rzm, block_size) / block_size;
drivers/scsi/aic7xxx/aic79xx_core.c
6011
max_list_size = roundup(sg_list_increment, PAGE_SIZE);
drivers/scsi/arcmsr/arcmsr_hba.c
684
acb->ioqueue_size = roundup(sizeof(struct MessageUnit_B), 32);
drivers/scsi/arcmsr/arcmsr_hba.c
698
acb->ioqueue_size = roundup(sizeof(struct MessageUnit_D), 32);
drivers/scsi/arcmsr/arcmsr_hba.c
714
acb->ioqueue_size = roundup(completeQ_size, 32);
drivers/scsi/arcmsr/arcmsr_hba.c
735
acb->ioqueue_size = roundup(acb->completeQ_size + MESG_RW_BUFFER_SIZE, 32);
drivers/scsi/arcmsr/arcmsr_hba.c
833
roundup_ccbsize = roundup(sizeof(struct CommandControlBlock) + (max_sg_entrys - 1) * sizeof(struct SG64ENTRY), 32);
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2000
unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) +
drivers/scsi/hisi_sas/hisi_sas_main.c
2287
max_command_entries_ru = roundup(max_command_entries,
drivers/scsi/hisi_sas/hisi_sas_main.c
2294
sz_slot_buf_ru = roundup(sz_slot_buf_ru, BLK_CNT_OPTIMIZE_MARK);
drivers/scsi/qla2xxx/qla_def.h
4879
#define RX_ELS_SIZE (roundup(sizeof(struct enode) + ELS_MAX_PAYLOAD, SMP_CACHE_BYTES))
drivers/scsi/qla2xxx/qla_edif.h
133
#define RX_ELS_SIZE (roundup(sizeof(struct enode) + ELS_MAX_PAYLOAD, SMP_CACHE_BYTES))
drivers/scsi/qla2xxx/qla_isr.c
255
tpad = roundup(total_bytes, 4);
drivers/scsi/sd_zbc.c
182
bufsize = roundup((nr_zones + 1) * 64, SECTOR_SIZE);
drivers/spi/spi-orion.c
212
rate = roundup(rate, 2);
drivers/staging/media/atomisp/pci/atomisp_subdev.c
341
crop[pad]->width = roundup(crop[pad]->width * 5 / 6,
drivers/staging/media/atomisp/pci/atomisp_subdev.c
343
crop[pad]->height = roundup(crop[pad]->height * 5 / 6,
drivers/staging/media/ipu3/ipu3-css-params.c
1128
roundup(stripe_params[s].output_width[pin],
drivers/staging/media/ipu3/ipu3-css-params.c
1193
block_stripes[0].width = roundup(stripe_params[0].input_width,
drivers/staging/media/ipu3/ipu3-css-params.c
1199
roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width -
drivers/staging/media/ipu3/ipu3-css-params.c
1891
roundup(css_pipe->rect[IPU3_CSS_RECT_BDS].width,
drivers/staging/media/ipu3/ipu3-css-params.c
647
roundup(stripe_offset_inp_uv,
drivers/staging/media/ipu3/ipu3-css.c
1260
roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width,
drivers/staging/media/ipu3/ipu3-css.c
1264
roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].height,
drivers/staging/media/tegra-video/tegra20.c
1230
roundup(width, 2) << VI_VIP_H_ACTIVE_PERIOD_SFT);
drivers/staging/media/tegra-video/tegra20.c
454
pix->bytesperline = roundup(pix->width, 8) * bpp;
drivers/staging/media/tegra-video/tegra210.c
252
bpl = roundup(pix->bytesperline, SURFACE_ALIGN_BYTES);
drivers/staging/media/tegra-video/tegra210.c
426
buf_offset = i * roundup(gang_bpl, SURFACE_ALIGN_BYTES);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1016
u32 len = roundup(sizeof(struct cpl_tid_release), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1063
u32 len = roundup(sizeof(struct cpl_rx_data_ack), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1107
len = roundup(len, 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1136
unsigned int len = roundup(sizeof(*rpl5), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1514
unsigned int len = roundup(sizeof(*req), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1549
unsigned int len = roundup(sizeof(*req), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
1730
u32 len = roundup(sizeof(struct cpl_abort_rpl), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
625
u32 len = roundup(sizeof(struct cpl_close_con_req), 16);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
661
u32 len = roundup(sizeof(struct cpl_abort_req), 16);
drivers/target/iscsi/cxgbit/cxgbit_ddp.c
71
unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) +
drivers/tee/amdtee/core.c
186
*ta_size = roundup(fw->size, PAGE_SIZE);
drivers/tee/optee/smc_abi.c
1445
begin = roundup(res.result.start, PAGE_SIZE);
drivers/tee/tee_shm.c
341
size_t nr_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE;
drivers/tee/tee_shm_pool.c
19
size_t s = roundup(size, a);
drivers/thermal/intel/intel_powerclamp.c
422
roundup(delta+d->steady_comp, 2)/2;
drivers/thermal/renesas/rzg2l_thermal.c
111
*temp = roundup(val, RZG2L_THERMAL_GRAN);
drivers/thermal/renesas/rzg3s_thermal.c
97
*temp = roundup(*temp, 500);
drivers/thunderbolt/tb.c
2580
max_up_rounded = roundup(max_up, granularity);
drivers/thunderbolt/tb.c
2581
max_down_rounded = roundup(max_down, granularity);
drivers/thunderbolt/tunnel.c
1221
*max_bw_rounded = roundup(max_bw, ret);
drivers/tty/n_gsm.c
2301
if (dlci->prio != (roundup(dlci->addr + 1, 8) - 1))
drivers/tty/n_gsm.c
2610
dlci->prio = roundup(dlci->addr + 1, 8) - 1;
drivers/tty/n_gsm.c
2669
dlci->prio = roundup(addr + 1, 8) - 1;
drivers/usb/class/usbtmc.c
862
roundup(max_transfer_size + 1 - bufsize,
drivers/usb/class/usbtmc.c
893
bufcount = roundup(max_transfer_size, bufsize) / bufsize;
drivers/usb/gadget/function/f_uvc.c
689
opts->streaming_maxpacket = roundup(opts->streaming_maxpacket, 1024);
drivers/usb/gadget/udc/bdc/bdc_ep.c
443
tfs = roundup(req->usb_req.length, maxp);
drivers/usb/host/xhci-mtk-sch.c
541
j = roundup(offset, UFRAMES_PER_FRAME);
drivers/usb/host/xhci-ring.c
3993
start_frame_id = roundup(current_frame_id + ist + 1, 8);
drivers/usb/host/xhci-ring.c
4300
start_frame = roundup(start_frame, 8);
drivers/usb/host/xhci-ring.c
4308
start_frame = roundup(start_frame, urb->interval << 3);
drivers/usb/host/xhci-ring.c
4311
start_frame = roundup(start_frame, urb->interval);
drivers/video/fbdev/atafb.c
1220
gend1 = gstart + roundup(xres, align) * plen / prescale;
drivers/video/fbdev/broadsheetfb.c
1044
videomemorysize = roundup((dpyw*dpyh), PAGE_SIZE);
drivers/video/fbdev/broadsheetfb.c
700
maxlen = roundup(cur_addr, sector_size) - cur_addr;
drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c
60
min_dco = roundup(hw->clkdco_min, fint);
drivers/video/fbdev/pxafb.c
804
var->xres = roundup(var->xres * bpp, 32) / bpp;
drivers/watchdog/ebc-c384_wdt.c
65
wdev->timeout = roundup(t, 60);
fs/binfmt_elf.c
1419
sz += roundup(strlen(en->name) + 1, 4);
fs/binfmt_elf.c
1420
sz += roundup(en->datasz, 4);
fs/binfmt_elf.c
2046
dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE);
fs/binfmt_elf_fdpic.c
1230
sz += roundup(strlen(en->name) + 1, 4);
fs/binfmt_elf_fdpic.c
1231
sz += roundup(en->datasz, 4);
fs/binfmt_elf_fdpic.c
1568
dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE);
fs/erofs/dir.c
104
ofs = roundup(ofs, sizeof(struct erofs_dirent));
fs/ext4/mballoc.c
1118
ac->ac_g_ex.fe_len = roundup(ac->ac_g_ex.fe_len,
fs/ext4/mballoc.c
3816
sbi->s_mb_group_prealloc = roundup(
fs/f2fs/data.c
4368
nr_pblocks = roundup(nr_pblocks, blks_per_sec);
fs/f2fs/file.c
1927
sec_len = roundup(map.m_len, sec_blks);
fs/f2fs/segment.c
2218
end = roundup(end, SEGS_PER_SEC(sbi));
fs/f2fs/segment.c
3506
end_segno = roundup(end_segno + 1, SEGS_PER_SEC(sbi)) - 1;
fs/lockd/svc.c
96
return roundup(nlm_grace_period, nlm_timeout) * HZ;
fs/notify/fanotify/fanotify_user.c
232
return roundup(FANOTIFY_FID_INFO_HDR_LEN + info_len,
fs/notify/inotify/inotify_user.c
160
return roundup(event->name_len + 1, sizeof(struct inotify_event));
fs/proc/vmcore.c
1071
*notes_sz = roundup(phdr_sz, PAGE_SIZE);
fs/proc/vmcore.c
1085
phdr.p_offset = roundup(note_off, PAGE_SIZE);
fs/proc/vmcore.c
1100
*elfsz = roundup(*elfsz, PAGE_SIZE);
fs/proc/vmcore.c
1139
end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE);
fs/proc/vmcore.c
1176
end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE);
fs/proc/vmcore.c
1415
end = roundup(phdr->p_offset + phdr->p_memsz,
fs/proc/vmcore.c
1435
end = roundup(phdr->p_offset + phdr->p_memsz,
fs/proc/vmcore.c
1456
elfnotes_sz = roundup(elfnotes_orig_sz, PAGE_SIZE) + vmcoredd_orig_sz;
fs/proc/vmcore.c
1497
data_size = roundup(sizeof(struct vmcoredd_header) + data->size,
fs/proc/vmcore.c
1586
end = roundup(phdr->p_offset + phdr->p_memsz, PAGE_SIZE);
fs/proc/vmcore.c
1610
new_size = roundup(new_size, PAGE_SIZE);
fs/proc/vmcore.c
880
*notes_sz = roundup(phdr_sz, PAGE_SIZE);
fs/proc/vmcore.c
894
phdr.p_offset = roundup(note_off, PAGE_SIZE);
fs/proc/vmcore.c
909
*elfsz = roundup(*elfsz, PAGE_SIZE);
fs/resctrl/ctrlmondata.c
74
*data = roundup(bw, (unsigned long)r->membw.bw_gran);
fs/smb/client/smb2pdu.c
3013
copy_size = roundup(uni_path_len, 8);
fs/xfs/libxfs/xfs_alloc.c
348
xfs_agblock_t aligned_bno = roundup(bno, args->alignment);
fs/xfs/libxfs/xfs_alloc.c
395
if ((newbno1 = roundup(freebno, alignment)) >= freeend)
fs/xfs/libxfs/xfs_alloc.c
398
newbno1 = roundup(wantbno, alignment);
fs/xfs/libxfs/xfs_alloc.c
419
newbno1 = roundup(freeend - wantlen, alignment);
fs/xfs/libxfs/xfs_attr_leaf.c
712
minforkoff = roundup(sizeof(xfs_dev_t), 8) >> 3;
fs/xfs/libxfs/xfs_attr_leaf.c
769
minforkoff = roundup(minforkoff, 8) >> 3;
fs/xfs/libxfs/xfs_bmap.c
207
return roundup(sizeof(xfs_dev_t), 8);
fs/xfs/libxfs/xfs_ialloc.c
3126
first_bno = roundup(first_bno, sunit);
fs/xfs/libxfs/xfs_ialloc.c
3129
first_bno = roundup(first_bno, mp->m_sb.sb_inoalignmt);
fs/xfs/libxfs/xfs_inode_buf.c
492
if (dip->di_forkoff != (roundup(sizeof(xfs_dev_t), 8) >> 3))
fs/xfs/scrub/dir.c
847
for (lblk = roundup((xfs_dablk_t)got.br_startoff,
fs/xfs/scrub/dir.c
858
lblk = roundup(dabno, args.geo->fsbcount);
fs/xfs/scrub/dir.c
912
for (lblk = roundup((xfs_dablk_t)got.br_startoff,
fs/xfs/scrub/dir.c
922
lblk = roundup(dabno, args.geo->fsbcount);
fs/xfs/scrub/inode_repair.c
1424
afork_min = roundup(afork_min, 8);
fs/xfs/scrub/inode_repair.c
1425
dfork_min = roundup(dfork_min, 8);
fs/xfs/scrub/inode_repair.c
1426
bmdr_minsz = roundup(bmdr_minsz, 8);
fs/xfs/xfs_buf.c
1117
roundup(BBTOB(bp->b_length), PAGE_SIZE));
fs/xfs/xfs_dir2_readdir.c
313
next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount);
fs/xfs/xfs_ioctl.c
1260
da.d_mem = roundup(st.dio_mem_align, sizeof(void *));
fs/xfs/xfs_log.c
1672
count = roundup(count_init, log->l_iclog_roundoff);
fs/xfs/xfs_log.c
2713
log->l_curr_block = roundup(log->l_curr_block, sunit_bb);
fs/xfs/xfs_log.h
59
return roundup(len, sizeof(uint32_t));
fs/xfs/xfs_rtalloc.c
1860
xfs_rgblock_t aligned_rgbno = roundup(rgbno, prod);
include/linux/platform_data/cros_ec_commands.h
2646
uint8_t roundup;
include/soc/fsl/qman.h
429
int roundup)
include/soc/fsl/qman.h
441
if (roundup && oddbit)
include/soc/fsl/qman.h
586
int roundup)
include/soc/fsl/qman.h
595
if (roundup && oddbit)
kernel/bpf/bloom_filter.c
145
bitset_bytes = roundup(bitset_bytes, sizeof(unsigned long));
kernel/bpf/bloom_filter.c
199
bitset_bytes = roundup(bitset_bytes, sizeof(unsigned long));
kernel/bpf/btf.c
6602
offset += btf_type_is_ptr(t) ? 8 : roundup(t->size, 8);
kernel/bpf/btf.c
6608
offset += btf_type_is_ptr(t) ? 8 : roundup(t->size, 8);
kernel/bpf/btf.c
6645
off += roundup(sz, 8);
kernel/bpf/hashtab.c
2427
offsetof(struct htab_elem, key) + roundup(map->key_size, 8));
kernel/bpf/hashtab.c
570
htab->map.max_entries = roundup(attr->max_entries,
kernel/crash_core.c
407
new_size = roundup(new_size, KEXEC_CRASH_MEM_ALIGN);
kernel/crash_reserve.c
477
unsigned long long request_size = roundup(cma_size, PAGE_SIZE);
kernel/crash_reserve.c
494
request_size = roundup(request_size / 2, PAGE_SIZE);
kernel/crash_reserve.c
70
total_mem = roundup(total_mem, SZ_128M);
kernel/dma/swiotlb.c
1636
min_align = roundup(min_align_mask, IO_TLB_SIZE);
kernel/padata.c
418
size = roundup(start + 1, ps->chunk_size) - start;
kernel/padata.c
484
ps.chunk_size = roundup(ps.chunk_size, job->align);
lib/math/prime_numbers.c
108
m = roundup(start, x);
mm/numa.c
14
const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES);
mm/percpu.c
2841
alloc_size = roundup(min_unit_size, atom_size);
mm/percpu.c
2907
nr_units += roundup(group_cnt[group], upa);
mm/percpu.c
2916
cpu_map += roundup(group_cnt[group], upa);
mm/percpu.c
2939
gi->nr_units = roundup(gi->nr_units, upa);
mm/percpu.c
3213
nr_g0_units = roundup(num_possible_cpus(), upa);
mm/swap.h
112
VM_WARN_ON_ONCE(offset >= roundup(si->max, SWAPFILE_CLUSTER));
mm/swap_state.c
746
unsigned int roundup = 4;
mm/swap_state.c
747
while (roundup < pages)
mm/swap_state.c
748
roundup <<= 1;
mm/swap_state.c
749
pages = roundup;
net/mptcp/pm.c
993
return TCPOLEN_MPTCP_RM_ADDR_BASE + roundup(rm_list->nr - 1, 4) + 1;
net/netfilter/nf_conntrack_core.c
2527
nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head));
net/netfilter/nft_set_pipapo.c
724
new_bucket_size = roundup(new_bucket_size,
net/openvswitch/flow_netlink.c
100
size_t end = roundup(offset + size, sizeof(long));
net/sched/cls_flower.c
176
mask->range.end = roundup(last + 1, sizeof(long));
net/sched/sch_api.c
397
int low = roundup(r->mpu, 48);
net/sched/sch_api.c
398
int high = roundup(low+1, 48);
net/sunrpc/svc.c
500
serv->sv_max_mesg = roundup(serv->sv_max_payload + PAGE_SIZE, PAGE_SIZE);
security/keys/dh.c
101
size_t outbuf_len = roundup(buflen, crypto_shash_digestsize(hash));
security/keys/encrypted-keys/encrypted.c
438
encrypted_datalen = roundup(epayload->decrypted_datalen, blksize);
security/keys/encrypted-keys/encrypted.c
545
encrypted_datalen = roundup(epayload->decrypted_datalen, blksize);
security/keys/encrypted-keys/encrypted.c
633
encrypted_datalen = roundup(decrypted_datalen, blksize);
security/keys/encrypted-keys/encrypted.c
667
encrypted_datalen = roundup(epayload->decrypted_datalen, blksize);
security/keys/encrypted-keys/encrypted.c
922
+ roundup(epayload->decrypted_datalen, blksize)
security/selinux/selinuxfs.c
409
if (offset >= roundup(plm->len, PAGE_SIZE))
security/selinux/ss/ebitmap.c
528
last_bit = roundup(bit + 1, BITS_PER_U64);
sound/core/seq/seq_memory.c
184
newlen = roundup(len, size_aligned);
sound/drivers/vx/vx_pcm.c
1170
chip->ibl.size = roundup(preferred, chip->ibl.granularity);
sound/firewire/amdtp-stream.c
178
t.min = roundup(s->min, step);
sound/hda/core/stream.c
528
pos_adj = roundup(pos_adj, pos_align);
sound/soc/soc-utils.c
117
tdm_slots = roundup(tdm_slots, slot_multiple);
tools/bpf/bpftool/gen.c
1270
mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE));
tools/bpf/bpftool/gen.c
1690
mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE));
tools/bpf/bpftool/gen.c
491
map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map);
tools/bpf/bpftool/gen.c
492
map_sz = roundup(map_sz, page_sz);
tools/include/linux/math.h
16
#ifndef roundup
tools/lib/bpf/btf_dump.c
902
new_off = roundup(cur_off, pad_bits);
tools/lib/bpf/btf_dump.c
918
(new_off == next_off && roundup(cur_off, next_align * 8) != new_off) ||
tools/lib/bpf/gen_loader.c
171
size8 = roundup(size, 8);
tools/lib/bpf/libbpf.c
11219
size_t elem_sz = roundup(map->def.value_size, 8);
tools/lib/bpf/libbpf.c
1830
map_sz = (size_t)roundup(value_sz, 8) * max_entries;
tools/lib/bpf/libbpf.c
1831
map_sz = roundup(map_sz, page_sz);
tools/lib/bpf/libbpf.c
3001
const size_t data_alloc_sz = roundup(data_sz, page_sz);
tools/lib/bpf/libbpf.c
4495
ext->kcfg.data_off = roundup(off, ext->kcfg.align);
tools/lib/bpf/libbpf.c
7453
roundup(obj->arena_data_sz, sysconf(_SC_PAGE_SIZE));
tools/lib/bpf/libbpf_utils.c
249
final_len = roundup(final_len + 9, SHA256_BLOCK_LENGTH);
tools/perf/arch/x86/util/intel-pt.c
296
return len ? roundup(len + 1, 8) : 0;
tools/perf/bench/inject-buildid.c
180
len += roundup(strlen(dso->name) + 1, 8) + bench_id_hdr_size;
tools/perf/builtin-inject.c
2485
output_data_offset = roundup(8192 + session->header.data_offset, 4096);
tools/perf/builtin-inject.c
2528
output_data_offset = roundup(output_data_offset, 4096);
tools/perf/tests/dlfilter-test.c
150
size_t fsz = roundup(strlen(filename) + 1, 8);
tools/perf/util/bpf-utils.c
152
data_len += roundup(count * size, sizeof(__u64));
tools/perf/util/bpf-utils.c
183
ptr += roundup(count * size, sizeof(__u64));
tools/perf/util/bpf-utils.c
231
ptr += roundup(count1 * size1, sizeof(__u64));
tools/perf/util/intel-pt.c
4523
len = roundup(len + 1, 8);
tools/perf/util/symbol.c
296
prev->end = roundup(prev->end + 4096, 4096);
tools/perf/util/symbol.c
299
prev->end = roundup(prev->end + 4096, 4096);
tools/perf/util/symbol.c
310
curr->end = roundup(curr->start, 4096) + 4096;
tools/perf/util/util.c
503
new_sz = msz >= 64 ? 1 : roundup(64, msz); /* Start with at least 64 bytes */
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
136
values_percpu = calloc(entries, roundup(value_sz, 8) * nr_cpus);
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
273
memset(values_percpu, 0, roundup(value_sz, 8) * nr_cpus * entries);
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
283
roundup(value_sz, 8) * i * nr_cpus;
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
285
v = *(u32 *) (values_row + roundup(value_sz, 8) * j);