/kernel/linux/linux-5.10/arch/sh/kernel/cpu/shmobile/ |
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()
|
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
D | json.h | 30 #ifndef roundup 31 #define roundup(x, y) ( \ macro
|
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
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()
|
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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
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 if (!dump_skip(cprm, roundup(cprm->pos - ret + sz, 4) - cprm->pos)) in spufs_arch_write_note()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
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()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
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()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | vmcore.c | 847 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 861 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 876 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1038 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32() 1052 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32() 1067 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1107 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64() 1150 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32() 1395 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() 1415 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() [all …]
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | kernel.h | 55 #ifndef roundup 56 #define roundup(x, y) ( \ macro
|
/kernel/linux/linux-5.10/drivers/pinctrl/pxa/ |
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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
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()
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
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()
|
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/ |
D | machine.c | 48 p->end = roundup(p->end, page_size); in arch__symbols__fixup_end()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | tx4938ide.c | 83 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4938ide_input_data_swap() 97 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4938ide_output_data_swap()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 487 if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) { in vio_dma_iommu_alloc_coherent() 496 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_alloc_coherent() 510 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_free_coherent() 522 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) in vio_dma_iommu_map_page() 531 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_map_page() 546 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page() 560 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 570 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 594 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_txrx.c | 99 len = roundup(len, sdio->func->cur_blksize); in mt7663s_rx_run_queue() 181 len = roundup(len, sdio->func->cur_blksize); in __mt7663s_xmit_queue() 216 pad = roundup(e->skb->len, 4) - e->skb->len; in mt7663s_tx_run_queue()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
D | chcr_algo.c | 830 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 834 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 837 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1295 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1592 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr() 1594 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1712 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 1794 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_final() 1871 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_finup() 1968 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_digest() [all …]
|
/kernel/linux/linux-5.10/include/soc/fsl/ |
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()
|
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
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()
|