| /Linux-v4.19/arch/sh/kernel/cpu/shmobile/ |
| D | pm.c | 108 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 114 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 120 vp += roundup(n, 4); in sh_mobile_register_self_refresh()
|
| /Linux-v4.19/tools/perf/pmu-events/ |
| D | json.h | 30 #ifndef roundup 31 #define roundup(x, y) ( \ macro
|
| /Linux-v4.19/arch/parisc/math-emu/ |
| D | sfrem.c | 56 register boolean roundup = FALSE; in sgl_frem() local 230 roundup = TRUE; in sgl_frem() 251 else if (Sgl_isequal(opnd1,opnd2) && roundup) { in sgl_frem()
|
| D | dfrem.c | 57 register boolean roundup = FALSE; in dbl_frem() local 235 roundup = TRUE; in dbl_frem() 257 else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) { in dbl_frem()
|
| /Linux-v4.19/arch/sh/kernel/ |
| D | io_trapped.c | 60 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 87 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 131 voffs += roundup(len, PAGE_SIZE); in match_trapped_io_handler() 175 len = roundup(resource_size(res), PAGE_SIZE); in lookup_address()
|
| /Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
| D | coredump.c | 66 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 67 total += roundup(sz, 4); in spufs_ctx_note_size() 175 skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; in spufs_arch_write_note()
|
| /Linux-v4.19/drivers/crypto/chelsio/chtls/ |
| D | chtls_hw.c | 52 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in __set_tcb_field() 74 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in chtls_set_tcb_field() 227 roundup(keylen, 16) + AEAD_H_SIZE; in chtls_key_info() 317 klen = roundup((keylen + AEAD_H_SIZE) + sizeof(*kctx), 32); in chtls_setkey() 318 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey()
|
| /Linux-v4.19/fs/proc/ |
| D | vmcore.c | 816 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 830 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 845 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1007 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32() 1021 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32() 1036 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1076 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64() 1119 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32() 1364 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() 1384 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() [all …]
|
| /Linux-v4.19/tools/include/linux/ |
| D | kernel.h | 57 #ifndef roundup 58 #define roundup(x, y) ( \ macro
|
| /Linux-v4.19/drivers/pinctrl/pxa/ |
| D | pinctrl-pxa2xx.c | 391 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init() 393 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 395 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 408 for (i = 0; i < roundup(maxpin, 16); i += 16) in pxa2xx_pinctrl_init() 410 for (i = 0; i < roundup(maxpin, 32); i += 32) { in pxa2xx_pinctrl_init()
|
| /Linux-v4.19/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()
|
| /Linux-v4.19/drivers/gpu/drm/stm/ |
| D | drv.c | 44 args->pitch = roundup(min_pitch, 128); in stm_gem_cma_dumb_create() 45 args->height = roundup(args->height, 4); in stm_gem_cma_dumb_create()
|
| /Linux-v4.19/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_doorbell.c | 54 return roundup(kfd->device_info->doorbell_size * in kfd_doorbell_process_slice() 73 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
|
| /Linux-v4.19/drivers/gpu/drm/mgag200/ |
| D | mgag200_main.c | 242 mgag200_bo_create(dev, roundup(48*64, PAGE_SIZE), 0, 0, in mgag200_driver_load() 244 mgag200_bo_create(dev, roundup(48*64, PAGE_SIZE), 0, 0, in mgag200_driver_load() 289 size = roundup(size, PAGE_SIZE); in mgag200_gem_create()
|
| /Linux-v4.19/arch/x86/xen/ |
| D | multicalls.c | 137 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry() 149 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
|
| /Linux-v4.19/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()
|
| /Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
| D | bfa_cee.c | 61 return roundup(sizeof(struct bfa_cee_attr), BFA_DMA_ALIGN_SZ); in bfa_cee_attr_meminfo() 69 return roundup(sizeof(struct bfa_cee_stats), BFA_DMA_ALIGN_SZ); in bfa_cee_stats_meminfo()
|
| D | bfa_msgq.c | 593 return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) + in bfa_msgq_meminfo() 594 roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_meminfo() 603 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 604 pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim()
|
| /Linux-v4.19/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()
|
| /Linux-v4.19/arch/powerpc/platforms/pseries/ |
| D | vio.c | 490 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() 512 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_free_coherent() 525 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() 550 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page() 565 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 581 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 601 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
|
| /Linux-v4.19/drivers/crypto/chelsio/ |
| D | chcr_algo.c | 761 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 765 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 768 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1201 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1491 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr() 1493 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1594 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 1663 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_final() 1723 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_finup() 1807 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_digest() [all …]
|
| /Linux-v4.19/include/soc/fsl/ |
| D | qman.h | 428 int roundup) in qm_fqd_set_taildrop() argument 440 if (roundup && oddbit) in qm_fqd_set_taildrop() 585 int roundup) in qm_cgr_cs_thres_set64() argument 594 if (roundup && oddbit) in qm_cgr_cs_thres_set64()
|
| /Linux-v4.19/mm/ |
| D | swap_state.c | 511 unsigned int roundup = 4; in __swapin_nr_pages() local 512 while (roundup < pages) in __swapin_nr_pages() 513 roundup <<= 1; in __swapin_nr_pages() 514 pages = roundup; in __swapin_nr_pages()
|
| /Linux-v4.19/drivers/mtd/ |
| D | bcm63xxpart.c | 147 nvramlen = roundup(nvramlen, cfe_erasesize); in bcm63xx_parse_cfe_nor_partitions() 192 spareaddr = roundup(totallen, master->erasesize) + cfelen; in bcm63xx_parse_cfe_nor_partitions()
|
| /Linux-v4.19/security/keys/encrypted-keys/ |
| D | encrypted.c | 470 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_encrypt() 578 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_decrypt() 639 encrypted_datalen = roundup(decrypted_datalen, blksize); in encrypted_key_alloc() 673 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in encrypted_key_decrypt() 921 + roundup(epayload->decrypted_datalen, blksize) in encrypted_read()
|