/linux-4.1.27/arch/um/kernel/ |
H A D | maccess.c | 15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); probe_kernel_read()
|
/linux-4.1.27/security/selinux/ss/ |
H A D | ebitmap.c | 459 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 D | mm.c | 135 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 D | xilinx-dma.c | 567 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 D | early_printk.c | 220 efi_y = rounddown(yres, font->height) - font->height; early_efi_setup()
|
/linux-4.1.27/drivers/mtd/ |
H A D | bcm47xxpart.c | 233 offset = rounddown(offset + trx->length, blocksize); bcm47xxpart_parse()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | bmi.c | 285 u32 head_len = rounddown(length, 4); ath10k_bmi_fast_download()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_doorbell.c | 79 rounddown(kfd->shared_resources.doorbell_aperture_size, kfd_doorbell_init()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | sclp_cmd.c | 398 size_align = rounddown(*start + *size, alignment) - start_align; align_to_block_size()
|
/linux-4.1.27/fs/proc/ |
H A D | vmcore.c | 913 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 D | pcm512x.c | 667 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 D | lanai.c | 2076 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 D | flow_table.c | 432 return rounddown(offsetof(struct sw_flow_key, phy), flow_key_start()
|
H A D | flow_netlink.c | 65 size_t start = rounddown(offset, sizeof(long)); update_range()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 84 #define rounddown(x, y) ( \ macro
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_device.c | 645 aligned_max_sectors = rounddown(max_sectors, alignment); se_dev_align_max_sectors()
|
/linux-4.1.27/fs/f2fs/ |
H A D | segment.c | 1081 cpc.trim_end = min_t(unsigned int, rounddown(start_segno + f2fs_trim_fs()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci-ring.c | 3011 * rounddown(total bytes transferred including this TRB / wMaxPacketSize)
|