/linux-4.4.14/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-4.4.14/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-4.4.14/fs/proc/ |
D | kcore.c | 92 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()
|
D | vmcore.c | 664 *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/ |
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-4.4.14/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 roundup(cprm->written - total + sz, 4) - cprm->written)) in spufs_arch_write_note()
|
/linux-4.4.14/mm/ |
D | swap_state.c | 428 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()
|
D | sparse.c | 250 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; in usemap_size() 251 size_bytes = roundup(size_bytes, sizeof(unsigned long)); in usemap_size()
|
D | percpu.c | 1807 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()
|
D | page_alloc.c | 5106 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/ |
D | kernel.h | 49 #ifndef roundup 50 #define roundup(x, y) ( \ macro
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 260 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()
|
D | mem.c | 74 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()
|
D | cm.c | 531 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()
|
D | cq.c | 907 entries = roundup(entries, 16); in c4iw_create_cq() 927 memsize = roundup(memsize, PAGE_SIZE); in c4iw_create_cq()
|
D | qp.c | 416 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/ |
D | kfd_doorbell.c | 56 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/ |
D | mgag200_main.c | 240 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/ |
D | kgdb.xml.db | 9 API-kgdb-roundup-cpus
|
/linux-4.4.14/drivers/mtd/ |
D | bcm63xxpart.c | 96 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/ |
D | multicalls.c | 136 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry() 148 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
|
D | mmu.c | 1111 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/ |
D | mm.c | 131 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/ |
D | vc4_bo.c | 44 bo = vc4_bo_create(dev, roundup(args->size, PAGE_SIZE)); in vc4_dumb_create()
|
/linux-4.4.14/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()
|
D | bfa_ioc.c | 2599 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/ |
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()
|
D | tx4939ide.c | 458 __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()
|
D | ide-tape.c | 929 size_t aligned = roundup(tape->valid, tape->blk_size); in ide_tape_flush_merge_buffer()
|
/linux-4.4.14/arch/powerpc/kernel/ |
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-4.4.14/fs/xfs/ |
D | xfs_inode_item.c | 68 *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()
|
D | xfs_rtalloc.c | 1193 mp->m_rsumsize = roundup(mp->m_rsumsize, sbp->sb_blocksize); in xfs_rtmount_init()
|
D | xfs_aops.c | 754 p_offset = p_offset ? roundup(p_offset, len) : PAGE_CACHE_SIZE; in xfs_convert_page()
|
D | xfs_log.c | 3173 log->l_curr_block = roundup(log->l_curr_block, sunit_bb); in xlog_state_switch_iclogs()
|
/linux-4.4.14/security/keys/encrypted-keys/ |
D | encrypted.c | 476 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/ |
D | pio.c | 496 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/ |
D | crash_dump.c | 267 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/ |
D | aptina-pll.c | 151 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
|
D | smiapp-pll.c | 233 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/ |
D | sdio.c | 442 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 …]
|
D | firmware.c | 393 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip()
|
D | cfg80211.c | 912 offset = roundup(offset, sizeof(u32)); in brcmf_escan_prep()
|
/linux-4.4.14/drivers/misc/ |
D | hpilo.c | 281 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/ |
D | industrialio-buffer.c | 1279 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/ |
D | chacha20_glue.c | 76 state = (u32 *)roundup((uintptr_t)state_buf, CHACHA20_STATE_ALIGN); in chacha20_simd()
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 462 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()
|
D | pch_gbe_ethtool.c | 320 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/ |
D | gem.c | 105 size = roundup(size, PAGE_SIZE); in psb_gem_create()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 114 bs->bs_sleepduration = TU_TO_USEC(roundup(IEEE80211_MS_TO_TU(100), in ath9k_cmn_beacon_config_sta()
|
D | beacon.c | 98 info.buf_len[0] = roundup(skb->len, 4); in ath9k_beacon_setup()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 274 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 …]
|
D | swap.c | 107 swap_bin_len = roundup(swap_bin_len, 2); in ath10k_swap_code_seg_alloc()
|
D | bmi.c | 153 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
|
D | htt.h | 647 + 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()
|
D | htt_tx.c | 568 prefetch_len = roundup(prefetch_len, 4); in ath10k_htt_tx()
|
D | wmi.c | 1607 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/ |
D | virtgpu_object.c | 82 size = roundup(size, PAGE_SIZE); in virtio_gpu_object_create()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | fpsimd.c | 236 fpsimd_save_partial_state(s, roundup(num_regs, 2)); in kernel_neon_begin_partial()
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 129 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()
|
D | base.c | 1167 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/ |
D | hdmi_pll.c | 62 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute()
|
/linux-4.4.14/drivers/thermal/ |
D | intel_powerclamp.c | 327 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/ |
D | udl_gem.c | 42 size = roundup(size, PAGE_SIZE); in udl_gem_create()
|
/linux-4.4.14/drivers/gpu/drm/vgem/ |
D | vgem_drv.c | 145 size = roundup(size, PAGE_SIZE); in vgem_gem_create()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 153 *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()
|
D | nouveau_fbcon.c | 352 mode_cmd.pitches[0] = roundup(mode_cmd.pitches[0], 256); in nouveau_fbcon_create() 358 size = roundup(size, PAGE_SIZE); in nouveau_fbcon_create()
|
D | nouveau_display.c | 892 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/ |
D | blk-throttle.c | 587 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/ |
D | am200epd.c | 232 am200_board.wfm_size = roundup(16*1024 + 2, fw); in am200_presetup_fb()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 539 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/ |
D | cirrus_main.c | 225 size = roundup(size, PAGE_SIZE); in cirrus_gem_create()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_drv.h | 239 return roundup(pitch, 8 * bytespp); in align_pitch()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 95 size = roundup(size, PAGE_SIZE); in qxl_bo_create()
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | mt9t031.c | 234 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/ |
D | blk.c | 312 blk_dev->internal_lbasize = roundup(nsblk->lbasize, in nd_blk_probe()
|
D | btt.c | 537 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/ |
D | mode_emu.c | 442 size_new = roundup(size, memory_block_size_bytes()); in emu_setup_size_adjust()
|
/linux-4.4.14/drivers/md/bcache/ |
D | bset.h | 279 return ((void *) i) + roundup(set_bytes(i), block_bytes); in bset_next_set()
|
D | bset.c | 592 unsigned j = roundup(t[-1].size, in bset_alloc_tree()
|
D | btree.c | 401 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/ |
D | dma.c | 482 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()
|
D | ampdu.c | 540 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/ |
D | ep0.c | 849 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/ |
D | rt2800usb.c | 511 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()
|
D | rt73usb.c | 1563 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()
|
D | rt2500usb.c | 1225 length = roundup(entry->skb->len, 2); in rt2500usb_get_tx_data_len()
|
D | rt61pci.c | 1995 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt61pci_write_beacon()
|
D | rt2800lib.c | 1027 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt2800_write_beacon()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 544 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()
|
D | ocrdma_hw.c | 1630 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/ |
D | ast_main.c | 505 size = roundup(size, PAGE_SIZE); in ast_gem_create()
|
/linux-4.4.14/security/selinux/ss/ |
D | ebitmap.c | 463 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
|
/linux-4.4.14/fs/lockd/ |
D | svc.c | 86 return roundup(nlm_grace_period, nlm_timeout) * HZ; in get_lockd_grace_period()
|
/linux-4.4.14/sound/core/seq/ |
D | seq_memory.c | 154 newlen = roundup(len, size_aligned); in snd_seq_expand_var_event()
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_ddcb.c | 1034 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()
|
D | card_utils.c | 287 return roundup(len, PAGE_SIZE); in genwqe_sgl_size()
|
/linux-4.4.14/kernel/ |
D | kexec_core.c | 926 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/ |
D | atl1c_main.c | 490 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/ |
D | ascot2e.c | 339 frequency = roundup(p->frequency / 1000, 25); in ascot2e_set_params()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 242 size = roundup(size, PAGE_SIZE); in exynos_drm_gem_create()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | broadsheetfb.c | 700 maxlen = roundup(cur_addr, sector_size) - cur_addr; in broadsheet_write_spiflash() 1106 videomemorysize = roundup((dpyw*dpyh), PAGE_SIZE); in broadsheetfb_probe()
|
D | auo_k190x.c | 1060 videomemorysize = roundup((panel->w * panel->h) * 2, PAGE_SIZE); in auok190x_common_probe()
|
D | da8xx-fb.c | 1425 par->vram_size = roundup(par->vram_size/8, ulcm); in fb_probe()
|
D | pxafb.c | 801 var->xres = roundup(var->xres * bpp, 32) / bpp; in overlayfb_check_var()
|
D | atafb.c | 1264 gend1 = gstart + roundup(xres, align) * plen / prescale; in falcon_decode_var()
|
/linux-4.4.14/fs/ |
D | binfmt_elf_fdpic.c | 1294 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()
|
D | binfmt_elf.c | 1335 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/ |
D | at24.c | 322 next_page = roundup(offset + 1, at24->chip.page_size); in at24_eeprom_write()
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_guest.c | 237 dg = (struct vmci_datagram *)roundup( in vmci_dispatch_dgs()
|
/linux-4.4.14/drivers/spi/ |
D | spi-orion.c | 167 rate = roundup(rate, 2); in orion_spi_baudrate_set()
|
D | spi-fsl-espi.c | 228 len = roundup(len, 4) / 4; in fsl_espi_bufs()
|
/linux-4.4.14/arch/x86/mm/ |
D | init_64.c | 382 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()
|
D | numa.c | 191 const size_t nd_size = roundup(sizeof(pg_data_t), PAGE_SIZE); in alloc_node_data()
|
D | pageattr.c | 101 return __pa_symbol(roundup(_brk_end, PMD_SIZE)) >> PAGE_SHIFT; in highmap_end_pfn()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc.c | 170 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()
|
D | xfs_inode_fork.c | 274 real_size = roundup(size, 4); in xfs_iformat_local() 648 real_size = roundup(new_size, 4); in xfs_idata_realloc()
|
D | xfs_attr_leaf.c | 396 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()
|
D | xfs_bmap.c | 1153 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/ |
D | hp100.c | 1236 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/ |
D | mcu.c | 305 len = roundup(len, 4); in __mt7601u_dma_fw()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_gem.c | 46 return roundup(size, PAGE_SIZE); in roundup_gem_size()
|
/linux-4.4.14/net/dccp/ |
D | output.c | 186 cur_mps -= roundup(1 + 6 + 10 + dp->dccps_send_ndp_count * 8 + 6 + in dccp_sync_mss()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_cmd.c | 397 start_align = roundup(*start, alignment); in align_to_block_size()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 78 #define roundup(x, y) ( \ macro
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 132 args->pitch = roundup(min_pitch, align); in rcar_du_dumb_create()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 256 #define MBX_MSG_ALIGNED_SIZE (roundup(sizeof(struct bnx2x_vf_mbx_msg), \
|
D | bnx2x.h | 280 #define UIO_ROUNDUP(bp) (roundup(BNX2X_1st_NON_L2_ETH_CID(bp), \
|
D | bnx2x_main.c | 13514 return roundup(cid_count, QM_CID_ROUND); in bnx2x_set_qm_cid_count()
|
/linux-4.4.14/drivers/net/ethernet/wiznet/ |
D | w5300.c | 402 skb = netdev_alloc_skb_ip_align(ndev, roundup(rx_len, 2)); in w5300_napi_poll()
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 133 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
|
/linux-4.4.14/drivers/md/ |
D | bitmap.c | 162 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()
|
D | dm-verity.c | 941 …ti->per_bio_data_size = roundup(sizeof(struct dm_verity_io) + v->shash_descsize + v->digest_size *… in verity_ctr()
|
D | dm.c | 3500 …front_pad = roundup(per_bio_data_size, __alignof__(struct dm_target_io)) + offsetof(struct dm_targ… in dm_alloc_md_mempools()
|
D | raid1.c | 2174 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
|
D | raid10.c | 2459 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 569 min_width = roundup(XVIP_DMA_MIN_WIDTH, align); in __xvip_dma_try_format()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 231 page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_create_restricted()
|
D | amdgpu_gem.c | 195 size = roundup(size, PAGE_SIZE); in amdgpu_gem_create_ioctl()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 365 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/ |
D | atl1e_main.c | 749 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/ |
D | nicvf_ethtool.c | 650 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()
|
D | nicvf_main.c | 1493 qcount = roundup(num_online_cpus(), MAX_CMP_QUEUES_PER_QS); in nicvf_probe()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_gem.c | 259 args->size = roundup(args->size, PAGE_SIZE); in radeon_gem_create_ioctl()
|
D | radeon_object.c | 186 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create()
|
D | r600_cs.c | 690 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in r600_cs_track_validate_db()
|
D | evergreen_cs.c | 548 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/ |
D | phy_lcn.c | 1018 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()
|
D | phy_cmn.c | 1938 (u8) roundup(pi->tx_power_offset[i], 8); in wlc_phy_txpower_update_shm()
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci-ring.c | 3648 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/ |
D | cros_ec_commands.h | 1365 uint8_t roundup; member
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 164 p_conn->cid_count = roundup(cid_count, DQ_RANGE_ALIGN); in qed_cxt_set_proto_cid_count()
|
/linux-4.4.14/net/sched/ |
D | cls_flower.c | 91 mask->range.end = roundup(last + 1, sizeof(long)); in fl_mask_update_range()
|
D | sch_api.c | 368 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/ |
D | pxa_camera.c | 301 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/ |
D | super.c | 511 ra_pages = roundup(_MIN_RA, ra_pages / 2); in __ra_pages()
|
/linux-4.4.14/Documentation/thermal/ |
D | intel_powerclamp.txt | 111 roundup(jiffies, interval)
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-video.c | 370 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 2227 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/ |
D | numa.c | 925 const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES); in setup_node_data()
|
/linux-4.4.14/drivers/usb/class/ |
D | usbtmc.c | 672 n_bytes = roundup(USBTMC_HEADER_SIZE + this_part, 4); in usbtmc_write()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | if_sdio.c | 650 chunk_buffer, roundup(chunk_size, 32)); in if_sdio_prog_real()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | fsmc_nand.c | 750 len = roundup(len, 2); in fsmc_read_page_hwecc()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | head_64.S | 305 stx %l3, [%sp + 2047 + 128 + 0x30] ! arg4: roundup(ksize, 4MB)
|
/linux-4.4.14/net/sunrpc/ |
D | svc.c | 425 serv->sv_max_mesg = roundup(serv->sv_max_payload + PAGE_SIZE, PAGE_SIZE); in __svc_create()
|
/linux-4.4.14/arch/tile/kernel/ |
D | setup.c | 731 size = roundup(size, PAGE_SIZE); in percpu_size()
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 524 …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/ |
D | init.c | 224 reserved = roundup((2 * L1_CACHE_BYTES) + ATH6KL_DATA_OFFSET + in ath6kl_buf_alloc()
|
D | main.c | 1302 dev->needed_headroom += roundup(sizeof(struct ath6kl_llc_snap_hdr) + in init_netdev()
|
D | wmi.c | 409 hdr_size = roundup(sizeof(struct ieee80211_qos_hdr), in ath6kl_wmi_dot11_hdr_remove()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | init.c | 1680 egrtop = roundup(rcd->egrbufs.alloced, dd->rcv_entries.group_size); in hfi1_setup_eagerbufs()
|
D | file_ops.c | 1199 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 2460 iq->size = roundup(iq->size, 16); in t4_sge_alloc_rxq() 2500 fl->size = roundup(fl->size, 8); in t4_sge_alloc_rxq()
|
D | cxgb4_main.c | 4353 s->ofldqsets = roundup(i, adap->params.nports); in cfg_queues()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mr.c | 1304 int ndescs = roundup(max_num_sg, 4); in mlx5_ib_alloc_mr()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 1637 len = roundup(skb->len + FCS_LEN, 4); in carl9170_update_beacon()
|
D | main.c | 1987 ar->mem_bitmap = kzalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG) * in carl9170_register()
|
/linux-4.4.14/drivers/net/usb/ |
D | lan78xx.c | 2607 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/ |
D | fastmap.c | 99 return roundup(size, ubi->leb_size); in ubi_calc_fm_size()
|
/linux-4.4.14/security/selinux/ |
D | selinuxfs.c | 464 if (offset >= roundup(plm->len, PAGE_SIZE)) in sel_mmap_policy_fault()
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_core.c | 1546 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/ |
D | mac80211.c | 1918 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/ |
D | pci.c | 1474 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/ |
D | bdc_ep.c | 450 tfs = roundup(req->usb_req.length, maxp); in setup_bd_list_xfr()
|
/linux-4.4.14/tools/perf/util/ |
D | symbol.c | 200 curr->end = roundup(curr->start, 4096); in symbols__fixup_end()
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1586 unsigned int wr_len = roundup(sizeof(struct ulp_mem_io) + in ddp_ppod_write_idata()
|
/linux-4.4.14/net/openvswitch/ |
D | flow_netlink.c | 67 size_t end = roundup(offset + size, sizeof(long)); in update_range()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | sky2.c | 1160 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/ |
D | macb.c | 1362 roundup(bp->rx_buffer_size, RX_BUFFER_MULTIPLE); in macb_init_rx_buffer_size()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | qp.c | 219 s = roundup(size, 1U << qp->sq.wqe_shift); in stamp_send_wqe()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem.c | 384 size = roundup(size, PAGE_SIZE); in i915_gem_create()
|
D | i915_reg.h | 2848 #define INTERVAL_1_28_US(us) roundup(((us) * 100) >> 7, 25)
|
/linux-4.4.14/fs/ext4/ |
D | mballoc.c | 2652 sbi->s_mb_group_prealloc = roundup( in ext4_mb_init()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx_core.c | 6047 max_list_size = roundup(sg_list_increment, PAGE_SIZE); in ahd_sglist_allocsize()
|