Home
last modified time | relevance | path

Searched refs:rounddown (Results 1 – 26 of 26) sorted by relevance

/linux-4.4.14/security/selinux/ss/
Debitmap.c459 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/
Dmaccess.c15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in probe_kernel_read()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c135 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/
Dcomedi_test.c309 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()
Dusbduxsigma.c541 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/
Dxilinx-dma.c570 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/
Dchacha20_glue.c87 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in chacha20_simd()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c79 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
/linux-4.4.14/arch/x86/platform/efi/
Dearly_printk.c220 efi_y = rounddown(yres, font->height) - font->height; in early_efi_setup()
/linux-4.4.14/drivers/mtd/
Dbcm47xxpart.c233 offset = rounddown(offset + trx->length, blocksize); in bcm47xxpart_parse()
/linux-4.4.14/crypto/
Dchacha20_generic.c157 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in crypto_chacha20_crypt()
/linux-4.4.14/fs/nilfs2/
Dalloc.c772 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/
Dbmi.c285 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download()
/linux-4.4.14/fs/proc/
Dvmcore.c913 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/
Dlanai.c2076 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/
Dpcm512x.c665 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/
Dsclp_cmd.c398 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
/linux-4.4.14/include/linux/
Dkernel.h84 #define rounddown(x, y) ( \ macro
/linux-4.4.14/net/openvswitch/
Dflow_table.c434 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
Dflow_netlink.c66 size_t start = rounddown(offset, sizeof(long)); in update_range()
/linux-4.4.14/net/sched/
Dcls_flower.c90 mask->range.start = rounddown(first, sizeof(long)); in fl_mask_update_range()
/linux-4.4.14/drivers/target/
Dtarget_core_device.c545 aligned_max_sectors = rounddown(max_sectors, alignment); in se_dev_align_max_sectors()
/linux-4.4.14/drivers/dma/
Dedma.c1156 pset_len = rounddown(len, width); in edma_prep_dma_memcpy()
/linux-4.4.14/fs/f2fs/
Dsegment.c1162 rounddown(start_segno + in f2fs_trim_fs()
/linux-4.4.14/drivers/usb/host/
Dxhci-ring.c3649 end_frame_id = rounddown(current_frame_id + 895 * 8, 8); in xhci_get_isoc_frame_id()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem.c1834 view.params.partial.offset = rounddown(page_offset, chunk_size); in i915_gem_fault()