Searched refs:rounddown (Results 1 - 18 of 18) sorted by relevance

/linux-4.1.27/arch/um/kernel/
H A Dmaccess.c15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); probe_kernel_read()
/linux-4.1.27/security/selinux/ss/
H A Debitmap.c459 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { ebitmap_for_each_positive_bit()
461 last_startbit = rounddown(bit, BITS_PER_U64); ebitmap_for_each_positive_bit()
475 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { ebitmap_for_each_positive_bit()
480 last_startbit = rounddown(bit, BITS_PER_U64); ebitmap_for_each_positive_bit()
498 last_startbit = rounddown(bit, BITS_PER_U64); ebitmap_for_each_positive_bit()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c135 e = rounddown(e, mm->block_size); nvkm_mm_head()
208 e = rounddown(e, mm->block_size); nvkm_mm_tail()
269 node->length = rounddown(offset + length, mm->block_size); nvkm_mm_init()
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-dma.c567 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); __xvip_dma_try_format()
568 width = rounddown(pix->width * info->bpp, align); __xvip_dma_try_format()
579 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); __xvip_dma_try_format()
580 bpl = rounddown(pix->bytesperline, dma->align); __xvip_dma_try_format()
/linux-4.1.27/arch/x86/platform/efi/
H A Dearly_printk.c220 efi_y = rounddown(yres, font->height) - font->height; early_efi_setup()
/linux-4.1.27/drivers/mtd/
H A Dbcm47xxpart.c233 offset = rounddown(offset + trx->length, blocksize); bcm47xxpart_parse()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dbmi.c285 u32 head_len = rounddown(length, 4); ath10k_bmi_fast_download()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_doorbell.c79 rounddown(kfd->shared_resources.doorbell_aperture_size, kfd_doorbell_init()
/linux-4.1.27/drivers/s390/char/
H A Dsclp_cmd.c398 size_align = rounddown(*start + *size, alignment) - start_align; align_to_block_size()
/linux-4.1.27/fs/proc/
H A Dvmcore.c913 start = rounddown(paddr, PAGE_SIZE); process_ptload_program_headers_elf64()
956 start = rounddown(paddr, PAGE_SIZE); process_ptload_program_headers_elf32()
/linux-4.1.27/sound/soc/codecs/
H A Dpcm512x.c667 sck_rate = rounddown(pcm512x_pll_max(pcm512x), pcm512x_find_sck()
817 for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); pcm512x_pllin_dac_rate()
/linux-4.1.27/drivers/atm/
H A Dlanai.c2076 int rounddown = 0; /* 1 = Round PCR down, i.e. round ICG _up_ */ pcr_to_cbricg() local
2081 rounddown = 1; pcr_to_cbricg()
2086 if (rounddown) pcr_to_cbricg()
2091 DPRINTK("pcr_to_cbricg: pcr=%d rounddown=%c icg=%d\n", pcr_to_cbricg()
2092 pcr, rounddown ? 'Y' : 'N', icg); pcr_to_cbricg()
/linux-4.1.27/net/openvswitch/
H A Dflow_table.c432 return rounddown(offsetof(struct sw_flow_key, phy), flow_key_start()
H A Dflow_netlink.c65 size_t start = rounddown(offset, sizeof(long)); update_range()
/linux-4.1.27/include/linux/
H A Dkernel.h84 #define rounddown(x, y) ( \ macro
/linux-4.1.27/drivers/target/
H A Dtarget_core_device.c645 aligned_max_sectors = rounddown(max_sectors, alignment); se_dev_align_max_sectors()
/linux-4.1.27/fs/f2fs/
H A Dsegment.c1081 cpc.trim_end = min_t(unsigned int, rounddown(start_segno + f2fs_trim_fs()
/linux-4.1.27/drivers/usb/host/
H A Dxhci-ring.c3011 * rounddown(total bytes transferred including this TRB / wMaxPacketSize)

Completed in 704 milliseconds