/linux-4.4.14/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.4.14/arch/um/kernel/ |
D | maccess.c | 15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in probe_kernel_read()
|
/linux-4.4.14/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.4.14/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 309 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 314 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); in waveform_ai_cmdtest() 324 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 578 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ao_cmdtest()
|
D | usbduxsigma.c | 541 tmp = rounddown(cmd->scan_begin_arg, high_speed ? 125000 : 1000000); in usbduxsigma_ai_cmdtest() 892 tmp = rounddown(cmd->scan_begin_arg, 1000000); in usbduxsigma_ao_cmdtest()
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 570 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 571 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 582 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 583 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
/linux-4.4.14/arch/x86/crypto/ |
D | chacha20_glue.c | 87 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in chacha20_simd()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 79 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | early_printk.c | 220 efi_y = rounddown(yres, font->height) - font->height; in early_efi_setup()
|
/linux-4.4.14/drivers/mtd/ |
D | bcm47xxpart.c | 233 offset = rounddown(offset + trx->length, blocksize); in bcm47xxpart_parse()
|
/linux-4.4.14/crypto/ |
D | chacha20_generic.c | 157 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in crypto_chacha20_crypt()
|
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 772 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev() 810 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 285 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download()
|
/linux-4.4.14/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.4.14/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.4.14/sound/soc/codecs/ |
D | pcm512x.c | 665 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck() 815 for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); in pcm512x_pllin_dac_rate()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_cmd.c | 398 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 84 #define rounddown(x, y) ( \ macro
|
/linux-4.4.14/net/openvswitch/ |
D | flow_table.c | 434 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
|
D | flow_netlink.c | 66 size_t start = rounddown(offset, sizeof(long)); in update_range()
|
/linux-4.4.14/net/sched/ |
D | cls_flower.c | 90 mask->range.start = rounddown(first, sizeof(long)); in fl_mask_update_range()
|
/linux-4.4.14/drivers/target/ |
D | target_core_device.c | 545 aligned_max_sectors = rounddown(max_sectors, alignment); in se_dev_align_max_sectors()
|
/linux-4.4.14/drivers/dma/ |
D | edma.c | 1156 pset_len = rounddown(len, width); in edma_prep_dma_memcpy()
|
/linux-4.4.14/fs/f2fs/ |
D | segment.c | 1162 rounddown(start_segno + in f2fs_trim_fs()
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci-ring.c | 3649 end_frame_id = rounddown(current_frame_id + 895 * 8, 8); in xhci_get_isoc_frame_id()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem.c | 1834 view.params.partial.offset = rounddown(page_offset, chunk_size); in i915_gem_fault()
|