Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 195 of 195) sorted by relevance

/linux-4.4.14/arch/sh/kernel/cpu/shmobile/
Dpm.c108 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-4.4.14/arch/parisc/math-emu/
Dsfrem.c56 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()
Ddfrem.c57 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-4.4.14/fs/proc/
Dkcore.c92 roundup(sizeof(CORE_STR), 4)) + in get_kcore_size()
93 roundup(sizeof(struct elf_prstatus), 4) + in get_kcore_size()
94 roundup(sizeof(struct elf_prpsinfo), 4) + in get_kcore_size()
95 roundup(arch_task_struct_size, 4); in get_kcore_size()
282 sz += roundup((strlen(en->name) + 1), 4); in notesize()
283 sz += roundup(en->datasz, 4); in notesize()
306 bufp = (char*) roundup((unsigned long)bufp,4); in storenote()
308 bufp = (char*) roundup((unsigned long)bufp,4); in storenote()
Dvmcore.c664 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64()
678 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64()
693 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64()
850 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32()
864 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32()
879 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32()
914 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64()
957 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32()
/linux-4.4.14/arch/sh/kernel/
Dio_trapped.c60 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-4.4.14/arch/powerpc/platforms/cell/spufs/
Dcoredump.c66 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size()
67 total += roundup(sz, 4); in spufs_ctx_note_size()
175 roundup(cprm->written - total + sz, 4) - cprm->written)) in spufs_arch_write_note()
/linux-4.4.14/mm/
Dswap_state.c428 unsigned int roundup = 4; in swapin_nr_pages() local
429 while (roundup < pages) in swapin_nr_pages()
430 roundup <<= 1; in swapin_nr_pages()
431 pages = roundup; in swapin_nr_pages()
Dsparse.c250 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; in usemap_size()
251 size_bytes = roundup(size_bytes, sizeof(unsigned long)); in usemap_size()
Dpercpu.c1807 alloc_size = roundup(min_unit_size, atom_size); in pcpu_build_alloc_info()
1868 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1877 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1900 gi->nr_units = roundup(gi->nr_units, upa); in pcpu_build_alloc_info()
Dpage_alloc.c5106 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size()
5109 usemapsize = roundup(usemapsize, 8 * sizeof(unsigned long)); in usemap_size()
5538 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
5647 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
/linux-4.4.14/tools/include/linux/
Dkernel.h49 #ifndef roundup
50 #define roundup(x, y) ( \ macro
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dresource.c260 rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_alloc()
273 rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_free()
333 rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_alloc()
346 rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_free()
400 rdev->stats.ocqp.cur += roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_alloc()
412 rdev->stats.ocqp.cur -= roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_free()
Dmem.c74 wr_len = roundup(sizeof(*req) + sizeof(*sgl), 16); in _c4iw_write_mem_dma_aligned()
132 wr_len = roundup(sizeof *req + sizeof *sc + in _c4iw_write_mem_inline()
133 roundup(copy_len, T4_ULPTX_MIN_IO), 16); in _c4iw_write_mem_inline()
162 sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); in _c4iw_write_mem_inline()
866 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr()
Dcm.c531 int wrlen = roundup(sizeof *req, 16); in send_halfclose()
552 int wrlen = roundup(sizeof *req, 16); in send_abort()
679 roundup(sizev4, 16) : in send_connect()
680 roundup(sizev6, 16); in send_connect()
864 wrlen = roundup(mpalen + sizeof *req, 16); in send_mpa_req()
957 wrlen = roundup(mpalen + sizeof *req, 16); in send_mpa_reject()
1037 wrlen = roundup(mpalen + sizeof *req, 16); in send_mpa_reply()
1311 int wrlen = roundup(sizeof *req, 16); in update_rx_credits()
2257 skb_trim(skb, roundup(sizeof(*rpl5), 16)); in accept_cr()
2318 memset(&rpl5->iss, 0, roundup(sizeof(*rpl5)-sizeof(*rpl), 16)); in accept_cr()
Dcq.c907 entries = roundup(entries, 16); in c4iw_create_cq()
927 memsize = roundup(memsize, PAGE_SIZE); in c4iw_create_cq()
Dqp.c416 len = roundup(plen + sizeof *immdp, 16) - (plen + sizeof *immdp); in build_immd()
619 int pbllen = roundup(mhp->mpl_len * sizeof(u64), 32); in build_memreg()
1678 qhp->wq.sq.memsize = roundup(qhp->wq.sq.memsize, PAGE_SIZE); in c4iw_create_qp()
1679 qhp->wq.rq.memsize = roundup(qhp->wq.rq.memsize, PAGE_SIZE); in c4iw_create_qp()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c56 return roundup(KFD_SIZE_OF_DOORBELL_IN_BYTES * in doorbell_process_allocation()
75 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_main.c240 mgag200_bo_create(dev, roundup(48*64, PAGE_SIZE), 0, 0, in mgag200_driver_load()
242 mgag200_bo_create(dev, roundup(48*64, PAGE_SIZE), 0, 0, in mgag200_driver_load()
288 size = roundup(size, PAGE_SIZE); in mgag200_gem_create()
/linux-4.4.14/Documentation/DocBook/
Dkgdb.xml.db9 API-kgdb-roundup-cpus
/linux-4.4.14/drivers/mtd/
Dbcm63xxpart.c96 nvramlen = roundup(nvramlen, cfe_erasesize); in bcm63xx_parse_cfe_partitions()
128 spareaddr = roundup(totallen, master->erasesize) + cfelen; in bcm63xx_parse_cfe_partitions()
/linux-4.4.14/arch/x86/xen/
Dmulticalls.c136 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
148 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
Dmmu.c1111 unsigned long kernel_end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1; in xen_cleanhighmap()
1228 size = roundup(size, PMD_SIZE); in xen_pagetable_p2m_free()
1254 size = roundup(xen_start_info->nr_pt_frames * PAGE_SIZE, PMD_SIZE); in xen_pagetable_cleanhighmap()
1262 xen_cleanhighmap(MODULES_VADDR, roundup(MODULES_VADDR, PUD_SIZE) - 1); in xen_pagetable_cleanhighmap()
2099 n_pte = roundup(size, PAGE_SIZE) >> PAGE_SHIFT; in xen_relocate_p2m()
2100 n_pt = roundup(size, PMD_SIZE) >> PMD_SHIFT; in xen_relocate_p2m()
2101 n_pmd = roundup(size, PUD_SIZE) >> PUD_SHIFT; in xen_relocate_p2m()
2102 n_pud = roundup(size, PGDIR_SIZE) >> PGDIR_SHIFT; in xen_relocate_p2m()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c131 s = roundup(s, mm->block_size); in nvkm_mm_head()
204 s = roundup(s, mm->block_size); in nvkm_mm_tail()
268 node->offset = roundup(offset, mm->block_size); in nvkm_mm_init()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_bo.c44 bo = vc4_bo_create(dev, roundup(args->size, PAGE_SIZE)); in vc4_dumb_create()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_cee.c61 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()
Dbfa_msgq.c593 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()
Dbfa_ioc.c2599 return roundup(sizeof(struct bfi_ioc_attr), BFA_DMA_ALIGN_SZ); in bfa_nw_ioc_meminfo()
3032 roundup(0x010000 + sizeof(struct bfa_mfg_block), BFA_FLASH_SEG_SZ)
3210 return roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_nw_flash_meminfo()
3246 dm_kva += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_nw_flash_memclaim()
3247 dm_pa += roundup(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_nw_flash_memclaim()
/linux-4.4.14/drivers/ide/
Dtx4938ide.c83 __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()
Dtx4939ide.c458 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4939ide_input_data_swap()
472 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4939ide_output_data_swap()
Dide-tape.c929 size_t aligned = roundup(tape->valid, tape->blk_size); in ide_tape_flush_merge_buffer()
/linux-4.4.14/arch/powerpc/kernel/
Dvio.c490 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-4.4.14/fs/xfs/
Dxfs_inode_item.c68 *nbytes += roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_data_fork_size()
110 *nbytes += roundup(ip->i_afp->if_bytes, 4); in xfs_inode_item_attr_fork_size()
211 data_bytes = roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_format_data_fork()
306 data_bytes = roundup(ip->i_afp->if_bytes, 4); in xfs_inode_item_format_attr_fork()
Dxfs_rtalloc.c1193 mp->m_rsumsize = roundup(mp->m_rsumsize, sbp->sb_blocksize); in xfs_rtmount_init()
Dxfs_aops.c754 p_offset = p_offset ? roundup(p_offset, len) : PAGE_CACHE_SIZE; in xfs_convert_page()
Dxfs_log.c3173 log->l_curr_block = roundup(log->l_curr_block, sunit_bb); in xlog_state_switch_iclogs()
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c476 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_encrypt()
573 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_decrypt()
630 encrypted_datalen = roundup(decrypted_datalen, blksize); in encrypted_key_alloc()
664 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in encrypted_key_decrypt()
912 + roundup(epayload->decrypted_datalen, blksize) in encrypted_read()
/linux-4.4.14/drivers/net/wireless/b43/
Dpio.c496 q->buffer_used += roundup(skb->len + hdrlen, 4); in pio_tx_frame()
524 total_len = roundup(skb->len + hdrlen, 4); in b43_pio_tx()
565 if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) || in b43_pio_tx()
594 total_len = roundup(total_len, 4); in b43_pio_handle_txstatus()
/linux-4.4.14/arch/s390/kernel/
Dcrash_dump.c267 len = roundup(len + note->n_namesz, 4); in nt_init()
270 len = roundup(len + note->n_descsz, 4); in nt_init()
379 len = roundup(len + note->n_namesz, 4); in nt_s390_vx_low()
/linux-4.4.14/drivers/media/i2c/
Daptina-pll.c151 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
Dsmiapp-pll.c233 i = roundup(more_mul_min, more_mul_factor); in __smiapp_pll_calculate()
371 <= roundup(min_vt_div, best_pix_div)) in __smiapp_pll_calculate()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.c442 uint roundup; /* Max roundup limit */ member
734 datalign = roundup(datalign, (align)) - datalign; in pkt_align()
1426 (roundup(len, bus->blocksize) != rd->len)) { in brcmf_sdio_hdparse()
1593 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom()
1594 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom()
1821 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control()
1823 if ((pad <= bus->roundup) && (pad < bus->blocksize) && in brcmf_sdio_read_control()
1886 if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { in brcmf_sdio_pad()
1888 if (*pad <= bus->roundup && *pad < bus->blocksize && in brcmf_sdio_pad()
2017 if (rd->len != roundup(rd_new.len, 16)) { in brcmf_sdio_readframes()
[all …]
Dfirmware.c393 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip()
Dcfg80211.c912 offset = roundup(offset, sizeof(u32)); in brcmf_escan_prep()
/linux-4.4.14/drivers/misc/
Dhpilo.c281 dma_va = (char *)roundup((unsigned long)dma_va, ILO_START_ALIGN); in ilo_ccb_setup()
282 dma_pa = roundup(dma_pa, ILO_START_ALIGN); in ilo_ccb_setup()
297 dma_va = (char *)roundup((unsigned long)dma_va, ILO_CACHE_SZ); in ilo_ccb_setup()
298 dma_pa = roundup(dma_pa, ILO_CACHE_SZ); in ilo_ccb_setup()
/linux-4.4.14/drivers/iio/
Dindustrialio-buffer.c1279 in_loc = roundup(in_loc, length) + length; in iio_buffer_update_demux()
1287 out_loc = roundup(out_loc, length); in iio_buffer_update_demux()
1288 in_loc = roundup(in_loc, length); in iio_buffer_update_demux()
1304 out_loc = roundup(out_loc, length); in iio_buffer_update_demux()
1305 in_loc = roundup(in_loc, length); in iio_buffer_update_demux()
/linux-4.4.14/arch/x86/crypto/
Dchacha20_glue.c76 state = (u32 *)roundup((uintptr_t)state_buf, CHACHA20_STATE_ALIGN); in chacha20_simd()
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c462 tx_ring->count = roundup(tx_ring->count, in pch_gbe_check_options()
478 rx_ring->count = roundup(rx_ring->count, in pch_gbe_check_options()
Dpch_gbe_ethtool.c320 rxdr->count = roundup(rxdr->count, PCH_GBE_RX_DESC_MULTIPLE); in pch_gbe_set_ringparam()
324 txdr->count = roundup(txdr->count, PCH_GBE_TX_DESC_MULTIPLE); in pch_gbe_set_ringparam()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dgem.c105 size = roundup(size, PAGE_SIZE); in psb_gem_create()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c114 bs->bs_sleepduration = TU_TO_USEC(roundup(IEEE80211_MS_TO_TU(100), in ath9k_cmn_beacon_config_sta()
Dbeacon.c98 info.buf_len[0] = roundup(skb->len, 4); in ath9k_beacon_setup()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c274 len -= roundup(__le16_to_cpu(item->len), 4); in ath10k_wmi_tlv_event_diag_data()
277 data += roundup(__le16_to_cpu(item->len), 4); in ath10k_wmi_tlv_event_diag_data()
1449 ie_len = roundup(arg->ie_len, 4); in ath10k_wmi_tlv_op_gen_start_scan()
1798 sizeof(*tlv) + roundup(arg->key_len, sizeof(__le32)); in ath10k_wmi_tlv_op_gen_vdev_install_key()
1824 tlv->len = __cpu_to_le16(roundup(arg->key_len, sizeof(__le32))); in ath10k_wmi_tlv_op_gen_vdev_install_key()
1829 ptr += roundup(arg->key_len, sizeof(__le32)); in ath10k_wmi_tlv_op_gen_vdev_install_key()
2114 legacy_rate_len = roundup(arg->peer_legacy_rates.num_rates, in ath10k_wmi_tlv_op_gen_peer_assoc()
2116 ht_rate_len = roundup(arg->peer_ht_rates.num_rates, sizeof(__le32)); in ath10k_wmi_tlv_op_gen_peer_assoc()
2568 sizeof(*tlv) + roundup(bcn->len, 4); in ath10k_wmi_tlv_op_gen_bcn_tmpl()
2604 tlv->len = __cpu_to_le16(roundup(bcn->len, 4)); in ath10k_wmi_tlv_op_gen_bcn_tmpl()
[all …]
Dswap.c107 swap_bin_len = roundup(swap_bin_len, 2); in ath10k_swap_code_seg_alloc()
Dbmi.c153 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
Dhtt.h647 + roundup(__le16_to_cpu(rx_ind->prefix.fw_rx_desc_bytes), 4); in htt_rx_ind_get_mpdu_ranges()
1243 return (void *)item + sizeof(*item) + roundup(item->length, 4); in htt_stats_conf_next_item()
Dhtt_tx.c568 prefetch_len = roundup(prefetch_len, 4); in ath10k_htt_tx()
Dwmi.c1607 u32 round_len = roundup(len, 4); in ath10k_wmi_alloc_skb()
5557 len += roundup(arg->ie_len, 4); in ath10k_wmi_start_scan_tlvs_len()
5669 ptr += roundup(arg->ie_len, 4); in ath10k_wmi_put_start_scan_tlvs()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_object.c82 size = roundup(size, PAGE_SIZE); in virtio_gpu_object_create()
/linux-4.4.14/arch/arm64/kernel/
Dfpsimd.c236 fpsimd_save_partial_state(s, roundup(num_regs, 2)); in kernel_neon_begin_partial()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Ddesc.c129 pkt_len = roundup(pkt_len, 4); in ath5k_hw_setup_2word_tx_desc()
305 pkt_len = roundup(pkt_len, 4); in ath5k_hw_setup_4word_tx_desc()
Dbase.c1167 common->rx_bufsize = roundup(IEEE80211_MAX_FRAME_LEN, common->cachelsz); in ath5k_rx_start()
2080 nexttbtt = roundup(hw_tu + FUDGE, intval); in ath5k_beacon_update_timers()
2107 nexttbtt = bc_tu + roundup(hw_tu + FUDGE - bc_tu, intval); in ath5k_beacon_update_timers()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dhdmi_pll.c62 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute()
/linux-4.4.14/drivers/thermal/
Dintel_powerclamp.c327 roundup(delta+d->steady_comp, 2)/2; in adjust_compensation()
416 target_jiffies = roundup(jiffies, interval); in clamp_thread()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_gem.c42 size = roundup(size, PAGE_SIZE); in udl_gem_create()
/linux-4.4.14/drivers/gpu/drm/vgem/
Dvgem_drv.c145 size = roundup(size, PAGE_SIZE); in vgem_gem_create()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bo.c153 *size = roundup(*size, 64 * nvbo->tile_mode); in nouveau_bo_fixup_align()
157 *size = roundup(*size, 64 * nvbo->tile_mode); in nouveau_bo_fixup_align()
161 *size = roundup(*size, 64 * nvbo->tile_mode); in nouveau_bo_fixup_align()
165 *size = roundup(*size, 32 * nvbo->tile_mode); in nouveau_bo_fixup_align()
169 *size = roundup(*size, (1 << nvbo->page_shift)); in nouveau_bo_fixup_align()
173 *size = roundup(*size, PAGE_SIZE); in nouveau_bo_fixup_align()
Dnouveau_fbcon.c352 mode_cmd.pitches[0] = roundup(mode_cmd.pitches[0], 256); in nouveau_fbcon_create()
358 size = roundup(size, PAGE_SIZE); in nouveau_fbcon_create()
Dnouveau_display.c892 args->pitch = roundup(args->width * (args->bpp / 8), 256); in nouveau_display_dumb_create()
894 args->size = roundup(args->size, PAGE_SIZE); in nouveau_display_dumb_create()
/linux-4.4.14/block/
Dblk-throttle.c587 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_set_slice_end()
593 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_extend_slice()
682 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); in tg_with_in_iops_limit()
731 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); in tg_with_in_bps_limit()
/linux-4.4.14/arch/arm/mach-pxa/
Dam200epd.c232 am200_board.wfm_size = roundup(16*1024 + 2, fw); in am200_presetup_fb()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c539 size = max(roundup(size, PAGE_SIZE), PAGE_SIZE); in gk20a_instobj_new()
540 align = max(roundup(align, PAGE_SIZE), PAGE_SIZE); in gk20a_instobj_new()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_main.c225 size = roundup(size, PAGE_SIZE); in cirrus_gem_create()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_drv.h239 return roundup(pitch, 8 * bytespp); in align_pitch()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_object.c95 size = roundup(size, PAGE_SIZE); in qxl_bo_create()
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9t031.c234 rect->left = rect->left > roundup(MT9T031_COLUMN_SKIP, 6) ? in mt9t031_set_params()
235 (rect->left / 6) * 6 : roundup(MT9T031_COLUMN_SKIP, 6); in mt9t031_set_params()
/linux-4.4.14/drivers/nvdimm/
Dblk.c312 blk_dev->internal_lbasize = roundup(nsblk->lbasize, in nd_blk_probe()
Dbtt.c537 arena->internal_lbasize = roundup(arena->external_lbasize, in alloc_arena()
550 logsize = roundup(2 * arena->nfree * sizeof(struct log_entry), in alloc_arena()
559 mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); in alloc_arena()
/linux-4.4.14/arch/s390/numa/
Dmode_emu.c442 size_new = roundup(size, memory_block_size_bytes()); in emu_setup_size_adjust()
/linux-4.4.14/drivers/md/bcache/
Dbset.h279 return ((void *) i) + roundup(set_bytes(i), block_bytes); in bset_next_set()
Dbset.c592 unsigned j = roundup(t[-1].size, in bset_alloc_tree()
Dbtree.c401 b->bio->bi_iter.bi_size = roundup(set_bytes(i), block_bytes(b->c)); in do_btree_node_write()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c482 desc_strtaddr = (u32) roundup((unsigned long)va, alignbytes); in dma_ringalloc()
519 roundup((unsigned long)va, align); in dma64_alloc()
534 roundup((unsigned long)va, align); in dma64_alloc()
Dampdu.c540 len = roundup(len, 4) + (ndelim + 1) * AMPDU_DELIMITER_LEN; in brcms_c_ampdu_add_frame()
680 session->ampdu_len -= roundup(len, 4) - len; in brcms_c_ampdu_finalize()
/linux-4.4.14/drivers/usb/dwc3/
Dep0.c849 transfer_size = roundup((ur->length - transfer_size), in dwc3_ep0_complete_data()
985 transfer_size = roundup((req->request.length - transfer_size), in __dwc3_ep0_do_control_data()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2800usb.c511 roundup(entry->skb->len, 4) - TXINFO_DESC_SIZE); in rt2800usb_write_tx_desc()
542 return roundup(entry->skb->len, 4) + 4; in rt2800usb_get_tx_data_len()
Drt73usb.c1563 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt73usb_write_beacon()
1629 length = roundup(entry->skb->len, 4); in rt73usb_get_tx_data_len()
Drt2500usb.c1225 length = roundup(entry->skb->len, 2); in rt2500usb_get_tx_data_len()
Drt61pci.c1995 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt61pci_write_beacon()
Drt2800lib.c1027 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt2800_write_beacon()
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c544 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); in ocrdma_alloc_ucontext()
861 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
2064 wqe_size += roundup(hdr->total_len, OCRDMA_WQE_ALIGN_BYTES); in ocrdma_build_inline_sges()
2158 wqe_size = roundup(wqe_size, OCRDMA_WQE_ALIGN_BYTES); in ocrdma_build_reg()
3076 *pbe_size = roundup(buf_list[0].size, PAGE_SIZE); in count_kernel_pbes()
3090 buf_size = roundup(buf_list[i].size, PAGE_SIZE); in count_kernel_pbes()
3128 roundup_pow_of_two(roundup(buf_list[i].size, PAGE_SIZE)) / in build_kernel_pbes()
Docrdma_hw.c1630 mem_size = roundup(mem_size, in ocrdma_build_q_conf()
1809 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_main.c505 size = roundup(size, PAGE_SIZE); in ast_gem_create()
/linux-4.4.14/security/selinux/ss/
Debitmap.c463 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
/linux-4.4.14/fs/lockd/
Dsvc.c86 return roundup(nlm_grace_period, nlm_timeout) * HZ; in get_lockd_grace_period()
/linux-4.4.14/sound/core/seq/
Dseq_memory.c154 newlen = roundup(len, size_aligned); in snd_seq_expand_var_event()
/linux-4.4.14/drivers/misc/genwqe/
Dcard_ddcb.c1034 queue_size = roundup(genwqe_ddcb_max * sizeof(struct ddcb), PAGE_SIZE); in setup_ddcb_queue()
1110 queue_size = roundup(queue->ddcb_max * sizeof(struct ddcb), PAGE_SIZE); in free_ddcb_queue()
Dcard_utils.c287 return roundup(len, PAGE_SIZE); in genwqe_sgl_size()
/linux-4.4.14/kernel/
Dkexec_core.c926 start = roundup(start, KEXEC_CRASH_MEM_ALIGN); in crash_shrink_memory()
927 end = roundup(start + new_size, KEXEC_CRASH_MEM_ALIGN); in crash_shrink_memory()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c490 roundup(mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN, 8) : AT_RX_BUF_SIZE; in atl1c_set_rxbufsize()
1027 tpd_ring[0].dma = roundup(ring_header->dma, 8); in atl1c_setup_ring_resources()
1034 offset += roundup(tpd_ring[i].size, 8); in atl1c_setup_ring_resources()
1040 offset += roundup(rfd_ring->size, 8); in atl1c_setup_ring_resources()
1047 offset += roundup(rrd_ring->size, 8); in atl1c_setup_ring_resources()
/linux-4.4.14/drivers/media/dvb-frontends/
Dascot2e.c339 frequency = roundup(p->frequency / 1000, 25); in ascot2e_set_params()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c242 size = roundup(size, PAGE_SIZE); in exynos_drm_gem_create()
/linux-4.4.14/drivers/video/fbdev/
Dbroadsheetfb.c700 maxlen = roundup(cur_addr, sector_size) - cur_addr; in broadsheet_write_spiflash()
1106 videomemorysize = roundup((dpyw*dpyh), PAGE_SIZE); in broadsheetfb_probe()
Dauo_k190x.c1060 videomemorysize = roundup((panel->w * panel->h) * 2, PAGE_SIZE); in auok190x_common_probe()
Dda8xx-fb.c1425 par->vram_size = roundup(par->vram_size/8, ulcm); in fb_probe()
Dpxafb.c801 var->xres = roundup(var->xres * bpp, 32) / bpp; in overlayfb_check_var()
Datafb.c1264 gend1 = gstart + roundup(xres, align) * plen / prescale; in falcon_decode_var()
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c1294 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1295 sz += roundup(en->datasz, 4); in notesize()
1726 dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); in elf_fdpic_core_dump()
Dbinfmt_elf.c1335 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1336 sz += roundup(en->datasz, 4); in notesize()
2204 dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); in elf_core_dump()
/linux-4.4.14/drivers/misc/eeprom/
Dat24.c322 next_page = roundup(offset + 1, at24->chip.page_size); in at24_eeprom_write()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_guest.c237 dg = (struct vmci_datagram *)roundup( in vmci_dispatch_dgs()
/linux-4.4.14/drivers/spi/
Dspi-orion.c167 rate = roundup(rate, 2); in orion_spi_baudrate_set()
Dspi-fsl-espi.c228 len = roundup(len, 4) / 4; in fsl_espi_bufs()
/linux-4.4.14/arch/x86/mm/
Dinit_64.c382 unsigned long end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1; in cleanup_highmap()
1134 all_end = roundup((unsigned long)_brk_end, PMD_SIZE); in mark_rodata_ro()
Dnuma.c191 const size_t nd_size = roundup(sizeof(pg_data_t), PAGE_SIZE); in alloc_node_data()
Dpageattr.c101 return __pa_symbol(roundup(_brk_end, PMD_SIZE)) >> PAGE_SHIFT; in highmap_end_pfn()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_alloc.c170 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
214 if ((newbno1 = roundup(freebno, alignment)) >= freeend) in xfs_alloc_compute_diff()
217 newbno1 = roundup(wantbno, alignment); in xfs_alloc_compute_diff()
238 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
Dxfs_inode_fork.c274 real_size = roundup(size, 4); in xfs_iformat_local()
648 real_size = roundup(new_size, 4); in xfs_idata_realloc()
Dxfs_attr_leaf.c396 minforkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; in xfs_attr_shortform_bytesfit()
399 minforkoff = roundup(sizeof(uuid_t), 8) >> 3; in xfs_attr_shortform_bytesfit()
460 minforkoff = roundup(minforkoff, 8) >> 3; in xfs_attr_shortform_bytesfit()
Dxfs_bmap.c1153 ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; in xfs_bmap_add_attrfork()
1156 ip->i_d.di_forkoff = roundup(sizeof(uuid_t), 8) >> 3; in xfs_bmap_add_attrfork()
/linux-4.4.14/drivers/net/ethernet/hp/
Dhp100.c1236 return roundup(MAX_RX_FRAG * 2 + 2, 4); in hp100_init_rxpdl()
1251 return roundup(MAX_TX_FRAG * 2 + 2, 4); in hp100_init_txpdl()
1280 ringptr->skb = netdev_alloc_skb(dev, roundup(MAX_ETHER_SIZE + 2, 4)); in hp100_build_rx_pdl()
1302 roundup(MAX_ETHER_SIZE + 2, 4), in hp100_build_rx_pdl()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmcu.c305 len = roundup(len, 4); in __mt7601u_dma_fw()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_gem.c46 return roundup(size, PAGE_SIZE); in roundup_gem_size()
/linux-4.4.14/net/dccp/
Doutput.c186 cur_mps -= roundup(1 + 6 + 10 + dp->dccps_send_ndp_count * 8 + 6 + in dccp_sync_mss()
/linux-4.4.14/drivers/s390/char/
Dsclp_cmd.c397 start_align = roundup(*start, alignment); in align_to_block_size()
/linux-4.4.14/include/linux/
Dkernel.h78 #define roundup(x, y) ( \ macro
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c132 args->pitch = roundup(min_pitch, align); in rcar_du_dumb_create()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h256 #define MBX_MSG_ALIGNED_SIZE (roundup(sizeof(struct bnx2x_vf_mbx_msg), \
Dbnx2x.h280 #define UIO_ROUNDUP(bp) (roundup(BNX2X_1st_NON_L2_ETH_CID(bp), \
Dbnx2x_main.c13514 return roundup(cid_count, QM_CID_ROUND); in bnx2x_set_qm_cid_count()
/linux-4.4.14/drivers/net/ethernet/wiznet/
Dw5300.c402 skb = netdev_alloc_skb_ip_align(ndev, roundup(rx_len, 2)); in w5300_napi_poll()
/linux-4.4.14/fs/notify/inotify/
Dinotify_user.c133 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
/linux-4.4.14/drivers/md/
Dbitmap.c162 roundup(size, bdev_logical_block_size(rdev->bdev)), in read_sb_page()
228 size = roundup(last_page_size, in write_sb_page()
798 roundup(DIV_ROUND_UP(num_pages*4, 8), sizeof(unsigned long)), in bitmap_storage_alloc()
Ddm-verity.c941 …ti->per_bio_data_size = roundup(sizeof(struct dm_verity_io) + v->shash_descsize + v->digest_size *… in verity_ctr()
Ddm.c3500 …front_pad = roundup(per_bio_data_size, __alignof__(struct dm_target_io)) + offsetof(struct dm_targ… in dm_alloc_md_mempools()
Draid1.c2174 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
Draid10.c2459 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-dma.c569 min_width = roundup(XVIP_DMA_MIN_WIDTH, align); in __xvip_dma_try_format()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c231 page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_create_restricted()
Damdgpu_gem.c195 size = roundup(size, PAGE_SIZE); in amdgpu_gem_create_ioctl()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c365 roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2); in qat_alg_aead_init_dec_session()
407 roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2) >> 3; in qat_alg_aead_init_dec_session()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c749 rx_ring->real_page_size = roundup(rx_ring->real_page_size, 32); in atl1e_init_ring_resources()
845 tx_ring->dma = roundup(adapter->ring_dma, 8); in atl1e_setup_ring_resources()
857 offset = roundup(offset, 32); in atl1e_setup_ring_resources()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c650 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()
Dnicvf_main.c1493 qcount = roundup(num_online_cpus(), MAX_CMP_QUEUES_PER_QS); in nicvf_probe()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_gem.c259 args->size = roundup(args->size, PAGE_SIZE); in radeon_gem_create_ioctl()
Dradeon_object.c186 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create()
Dr600_cs.c690 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in r600_cs_track_validate_db()
Devergreen_cs.c548 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in evergreen_cs_track_validate_htile()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c1018 u32 quotient, remainder, roundup, rbit; in wlc_lcnphy_qdiv_roundup() local
1023 roundup = (divisor >> 1) + rbit; in wlc_lcnphy_qdiv_roundup()
1027 if (remainder >= roundup) { in wlc_lcnphy_qdiv_roundup()
1029 remainder = ((remainder - roundup) << 1) + rbit; in wlc_lcnphy_qdiv_roundup()
1035 if (remainder >= roundup) in wlc_lcnphy_qdiv_roundup()
Dphy_cmn.c1938 (u8) roundup(pi->tx_power_offset[i], 8); in wlc_phy_txpower_update_shm()
/linux-4.4.14/drivers/usb/host/
Dxhci-ring.c3648 start_frame_id = roundup(current_frame_id + ist + 1, 8); in xhci_get_isoc_frame_id()
3973 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
3981 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
3984 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
/linux-4.4.14/include/linux/mfd/
Dcros_ec_commands.h1365 uint8_t roundup; member
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c164 p_conn->cid_count = roundup(cid_count, DQ_RANGE_ALIGN); in qed_cxt_set_proto_cid_count()
/linux-4.4.14/net/sched/
Dcls_flower.c91 mask->range.end = roundup(last + 1, sizeof(long)); in fl_mask_update_range()
Dsch_api.c368 int low = roundup(r->mpu, 48); in __detect_linklayer()
369 int high = roundup(low+1, 48); in __detect_linklayer()
/linux-4.4.14/drivers/media/platform/soc_camera/
Dpxa_camera.c301 xfer_len = roundup(min(dma_len - offset, size), 8); in calculate_dma_sglen()
365 xfer_len = roundup(min(dma_len - offset, size), 8); in pxa_init_dma_channel()
/linux-4.4.14/fs/exofs/
Dsuper.c511 ra_pages = roundup(_MIN_RA, ra_pages / 2); in __ra_pages()
/linux-4.4.14/Documentation/thermal/
Dintel_powerclamp.txt111 roundup(jiffies, interval)
/linux-4.4.14/drivers/media/pci/tw68/
Dtw68-video.c370 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2227 rspq->size = roundup(rspq->size, 16); in t4vf_sge_alloc_rxq()
2277 fl->size = roundup(fl->size, FL_PER_EQ_UNIT); in t4vf_sge_alloc_rxq()
/linux-4.4.14/arch/powerpc/mm/
Dnuma.c925 const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES); in setup_node_data()
/linux-4.4.14/drivers/usb/class/
Dusbtmc.c672 n_bytes = roundup(USBTMC_HEADER_SIZE + this_part, 4); in usbtmc_write()
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_sdio.c650 chunk_buffer, roundup(chunk_size, 32)); in if_sdio_prog_real()
/linux-4.4.14/drivers/mtd/nand/
Dfsmc_nand.c750 len = roundup(len, 2); in fsmc_read_page_hwecc()
/linux-4.4.14/arch/sparc/kernel/
Dhead_64.S305 stx %l3, [%sp + 2047 + 128 + 0x30] ! arg4: roundup(ksize, 4MB)
/linux-4.4.14/net/sunrpc/
Dsvc.c425 serv->sv_max_mesg = roundup(serv->sv_max_payload + PAGE_SIZE, PAGE_SIZE); in __svc_create()
/linux-4.4.14/arch/tile/kernel/
Dsetup.c731 size = roundup(size, PAGE_SIZE); in percpu_size()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_hba.c524 …roundup_ccbsize = roundup(sizeof(struct CommandControlBlock) + (max_sg_entrys - 1) * sizeof(struct… in arcmsr_alloc_ccb_pool()
2639 acb->roundup_ccbsize = roundup(sizeof(struct MessageUnit_B), 32); in arcmsr_hbaB_get_config()
2785 acb->roundup_ccbsize = roundup(sizeof(struct MessageUnit_D), 32); in arcmsr_hbaD_get_config()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dinit.c224 reserved = roundup((2 * L1_CACHE_BYTES) + ATH6KL_DATA_OFFSET + in ath6kl_buf_alloc()
Dmain.c1302 dev->needed_headroom += roundup(sizeof(struct ath6kl_llc_snap_hdr) + in init_netdev()
Dwmi.c409 hdr_size = roundup(sizeof(struct ieee80211_qos_hdr), in ath6kl_wmi_dot11_hdr_remove()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dinit.c1680 egrtop = roundup(rcd->egrbufs.alloced, dd->rcv_entries.group_size); in hfi1_setup_eagerbufs()
Dfile_ops.c1199 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2460 iq->size = roundup(iq->size, 16); in t4_sge_alloc_rxq()
2500 fl->size = roundup(fl->size, 8); in t4_sge_alloc_rxq()
Dcxgb4_main.c4353 s->ofldqsets = roundup(i, adap->params.nports); in cfg_queues()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmr.c1304 int ndescs = roundup(max_num_sg, 4); in mlx5_ib_alloc_mr()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dtx.c1637 len = roundup(skb->len + FCS_LEN, 4); in carl9170_update_beacon()
Dmain.c1987 ar->mem_bitmap = kzalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG) * in carl9170_register()
/linux-4.4.14/drivers/net/usb/
Dlan78xx.c2607 skb_totallen = skb->len + roundup(skb_totallen, sizeof(u32)); in lan78xx_tx_bh()
2622 pos += roundup(skb2->len, sizeof(u32)); in lan78xx_tx_bh()
/linux-4.4.14/drivers/mtd/ubi/
Dfastmap.c99 return roundup(size, ubi->leb_size); in ubi_calc_fm_size()
/linux-4.4.14/security/selinux/
Dselinuxfs.c464 if (offset >= roundup(plm->len, PAGE_SIZE)) in sel_mmap_policy_fault()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c1546 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c1918 len = roundup(sizeof(*cmd) + cmd->count * ETH_ALEN, 4); in iwl_mvm_mc_iface_iterator()
1957 len = roundup(sizeof(*cmd) + addr_count * ETH_ALEN, 4); in iwl_mvm_prepare_multicast()
/linux-4.4.14/drivers/nvme/host/
Dpci.c1474 unsigned q_size_aligned = roundup(q_depth * entry_size, dev->page_size); in nvme_cmb_qdepth()
1498 roundup(SQ_SIZE(depth), dev->page_size); in nvme_alloc_sq_cmds()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c450 tfs = roundup(req->usb_req.length, maxp); in setup_bd_list_xfr()
/linux-4.4.14/tools/perf/util/
Dsymbol.c200 curr->end = roundup(curr->start, 4096); in symbols__fixup_end()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1586 unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) + in ddp_ppod_write_idata()
/linux-4.4.14/net/openvswitch/
Dflow_netlink.c67 size_t end = roundup(offset + size, sizeof(long)); in update_range()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c1160 size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8); in sky2_get_rx_threshold()
1172 size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8); in sky2_get_rx_data_size()
/linux-4.4.14/drivers/net/ethernet/cadence/
Dmacb.c1362 roundup(bp->rx_buffer_size, RX_BUFFER_MULTIPLE); in macb_init_rx_buffer_size()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dqp.c219 s = roundup(size, 1U << qp->sq.wqe_shift); in stamp_send_wqe()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem.c384 size = roundup(size, PAGE_SIZE); in i915_gem_create()
Di915_reg.h2848 #define INTERVAL_1_28_US(us) roundup(((us) * 100) >> 7, 25)
/linux-4.4.14/fs/ext4/
Dmballoc.c2652 sbi->s_mb_group_prealloc = roundup( in ext4_mb_init()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx_core.c6047 max_list_size = roundup(sg_list_increment, PAGE_SIZE); in ahd_sglist_allocsize()