Searched refs:rounddown (Results 1 – 17 of 17) sorted by relevance
/linux-4.1.27/security/selinux/ss/ |
D | ebitmap.c | 459 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 461 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 475 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 480 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 498 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
|
/linux-4.1.27/arch/um/kernel/ |
D | maccess.c | 15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in probe_kernel_read()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 135 e = rounddown(e, mm->block_size); in nvkm_mm_head() 208 e = rounddown(e, mm->block_size); in nvkm_mm_tail() 269 node->length = rounddown(offset + length, mm->block_size); in nvkm_mm_init()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 567 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 568 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 579 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 580 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 79 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
|
/linux-4.1.27/arch/x86/platform/efi/ |
D | early_printk.c | 220 efi_y = rounddown(yres, font->height) - font->height; in early_efi_setup()
|
/linux-4.1.27/drivers/mtd/ |
D | bcm47xxpart.c | 233 offset = rounddown(offset + trx->length, blocksize); in bcm47xxpart_parse()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 285 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download()
|
/linux-4.1.27/fs/proc/ |
D | vmcore.c | 913 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64() 956 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32()
|
/linux-4.1.27/drivers/atm/ |
D | lanai.c | 2076 int rounddown = 0; /* 1 = Round PCR down, i.e. round ICG _up_ */ in pcr_to_cbricg() local 2081 rounddown = 1; in pcr_to_cbricg() 2086 if (rounddown) in pcr_to_cbricg() 2092 pcr, rounddown ? 'Y' : 'N', icg); in pcr_to_cbricg()
|
/linux-4.1.27/sound/soc/codecs/ |
D | pcm512x.c | 667 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck() 817 for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); in pcm512x_pllin_dac_rate()
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_cmd.c | 398 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
|
/linux-4.1.27/include/linux/ |
D | kernel.h | 84 #define rounddown(x, y) ( \ macro
|
/linux-4.1.27/net/openvswitch/ |
D | flow_table.c | 432 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
|
D | flow_netlink.c | 65 size_t start = rounddown(offset, sizeof(long)); in update_range()
|
/linux-4.1.27/drivers/target/ |
D | target_core_device.c | 645 aligned_max_sectors = rounddown(max_sectors, alignment); in se_dev_align_max_sectors()
|
/linux-4.1.27/fs/f2fs/ |
D | segment.c | 1081 cpc.trim_end = min_t(unsigned int, rounddown(start_segno + in f2fs_trim_fs()
|