/linux/arch/sh/kernel/cpu/shmobile/ |
A D | pm.c | 105 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 111 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 117 vp += roundup(n, 4); in sh_mobile_register_self_refresh()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_hw.c | 49 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in __set_tcb_field() 71 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in chtls_set_tcb_field() 99 wrlen = roundup(wrlen, 16); in chtls_set_tcb_field_rpl_skb() 142 wrlen = roundup(wrlen, 16); in chtls_set_quiesce_ctrl() 263 roundup(keylen, 16) + AEAD_H_SIZE; in chtls_key_info() 373 klen = roundup((keylen + AEAD_H_SIZE) + sizeof(*kctx), 32); in chtls_setkey() 374 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey()
|
/linux/tools/include/linux/ |
A D | math.h | 16 #ifndef roundup 17 #define roundup(x, y) ( \ macro
|
/linux/arch/parisc/math-emu/ |
A D | sfrem.c | 43 register boolean roundup = FALSE; in sgl_frem() local 217 roundup = TRUE; in sgl_frem() 238 else if (Sgl_isequal(opnd1,opnd2) && roundup) { in sgl_frem()
|
A D | dfrem.c | 44 register boolean roundup = FALSE; in dbl_frem() local 222 roundup = TRUE; in dbl_frem() 244 else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) { in dbl_frem()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
A D | coredump.c | 37 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 38 total += roundup(sz, 4); in spufs_ctx_note_size() 152 dump_skip_to(cprm, roundup(cprm->pos - ret + sz, 4)); in spufs_arch_write_note()
|
/linux/arch/sh/kernel/ |
A D | io_trapped.c | 57 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 84 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 127 voffs += roundup(len, PAGE_SIZE); in match_trapped_io_handler() 175 len = roundup(resource_size(res), PAGE_SIZE); in lookup_address()
|
/linux/tools/perf/pmu-events/ |
A D | json.h | 30 #ifndef roundup 31 #define roundup(x, y) ( \ macro
|
/linux/drivers/cpufreq/ |
A D | raspberrypi-cpufreq.c | 43 min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe() 44 max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe()
|
/linux/fs/proc/ |
A D | vmcore.c | 886 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 900 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 915 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1077 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32() 1091 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32() 1106 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1146 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64() 1189 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32() 1434 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() 1454 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() [all …]
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ierb.c | 65 tx_credit = roundup(1000 + ENETC_MAC_MAXFRM_SIZE / 2, 100); in enetc_ierb_register_pf() 81 tx_alloc = roundup(2 * tx_credit + 4 * ENETC_MAC_MAXFRM_SIZE + 64, 16); in enetc_ierb_register_pf()
|
/linux/drivers/pinctrl/pxa/ |
A D | pinctrl-pxa2xx.c | 388 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init() 390 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 392 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 405 for (i = 0; i < roundup(maxpin, 16); i += 16) in pxa2xx_pinctrl_init() 407 for (i = 0; i < roundup(maxpin, 32); i += 32) { in pxa2xx_pinctrl_init()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | resource.c | 271 rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_alloc() 294 rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_free() 353 rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_alloc() 376 rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_free() 464 rdev->stats.ocqp.cur += roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_alloc() 476 rdev->stats.ocqp.cur -= roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_free()
|
/linux/drivers/gpu/drm/stm/ |
A D | drv.c | 48 args->pitch = roundup(min_pitch, 128); in stm_gem_cma_dumb_create() 49 args->height = roundup(args->height, 4); in stm_gem_cma_dumb_create()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | vio.c | 488 if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) { in vio_dma_iommu_alloc_coherent() 497 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_alloc_coherent() 511 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_free_coherent() 523 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) in vio_dma_iommu_map_page() 532 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_map_page() 547 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page() 561 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 572 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 596 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | mm.c | 131 s = roundup(s, mm->block_size); in nvkm_mm_head() 205 s = roundup(s, mm->block_size); in nvkm_mm_tail() 270 node->offset = roundup(offset, mm->block_size); in nvkm_mm_init()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_doorbell.c | 51 return roundup(kfd->device_info->doorbell_size * in kfd_doorbell_process_slice() 70 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
|
/linux/arch/x86/xen/ |
A D | multicalls.c | 142 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry() 154 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
|
/linux/drivers/crypto/chelsio/ |
A D | chcr_algo.c | 823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 827 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 830 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1288 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1588 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1706 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 2485 transhdr_len = roundup(transhdr_len, 16); in create_authenc_wr() 3073 kctx_len = roundup(aeadctx->enckey_len, 16) * 2; in create_aead_ccm_wr() 3081 transhdr_len = roundup(transhdr_len, 16); in create_aead_ccm_wr() 3175 transhdr_len = roundup(transhdr_len, 16); in create_gcm_wr() [all …]
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bfa_cee.c | 53 return roundup(sizeof(struct bfa_cee_attr), BFA_DMA_ALIGN_SZ); in bfa_cee_attr_meminfo() 61 return roundup(sizeof(struct bfa_cee_stats), BFA_DMA_ALIGN_SZ); in bfa_cee_stats_meminfo()
|
A D | bfa_msgq.c | 585 return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) + in bfa_msgq_meminfo() 586 roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_meminfo() 595 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 596 pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | sdio_txrx.c | 97 len = roundup(len, sdio->func->cur_blksize); in mt76s_rx_run_queue() 215 len = roundup(len, sdio->func->cur_blksize); in __mt76s_xmit_queue() 251 pad = roundup(e->skb->len, 4) - e->skb->len; in mt76s_tx_run_queue()
|
/linux/include/soc/fsl/ |
A D | qman.h | 429 int roundup) in qm_fqd_set_taildrop() argument 441 if (roundup && oddbit) in qm_fqd_set_taildrop() 586 int roundup) in qm_cgr_cs_thres_set64() argument 595 if (roundup && oddbit) in qm_cgr_cs_thres_set64()
|
/linux/security/keys/encrypted-keys/ |
A D | encrypted.c | 458 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_encrypt() 566 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_decrypt() 634 encrypted_datalen = roundup(decrypted_datalen, blksize); in encrypted_key_alloc() 668 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in encrypted_key_decrypt() 916 + roundup(epayload->decrypted_datalen, blksize) in encrypted_read()
|
/linux/tools/perf/arch/s390/util/ |
A D | machine.c | 49 p->end = roundup(p->end, page_size); in arch__symbols__fixup_end()
|