/Linux-v4.19/security/selinux/ss/ |
D | ebitmap.c | 464 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 466 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 480 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 485 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 503 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
|
/Linux-v4.19/arch/um/kernel/ |
D | maccess.c | 15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in probe_kernel_read()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 135 e = rounddown(e, mm->block_size); in nvkm_mm_head() 209 e = rounddown(e, mm->block_size); in nvkm_mm_tail() 271 node->length = rounddown(offset + length, mm->block_size); in nvkm_mm_init()
|
/Linux-v4.19/drivers/nvmem/ |
D | rockchip-efuse.c | 120 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3328_efuse_read() 173 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3399_efuse_read()
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 318 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 323 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); in waveform_ai_cmdtest() 333 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 574 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ao_cmdtest()
|
D | usbduxsigma.c | 532 tmp = rounddown(cmd->scan_begin_arg, high_speed ? 125000 : 1000000); in usbduxsigma_ai_cmdtest() 883 tmp = rounddown(cmd->scan_begin_arg, 1000000); in usbduxsigma_ao_cmdtest()
|
/Linux-v4.19/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 576 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 577 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 588 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 589 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
/Linux-v4.19/arch/x86/crypto/ |
D | chacha20_glue.c | 88 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in chacha20_simd()
|
/Linux-v4.19/drivers/iio/buffer/ |
D | industrialio-buffer-dmaengine.c | 67 block->bytes_used = rounddown(block->bytes_used, in iio_dmaengine_buffer_submit_block()
|
D | industrialio-buffer-dma.c | 507 n = rounddown(n, buffer->bytes_per_datum); in iio_dma_buffer_read()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 77 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-menz127.c | 61 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | early_printk.c | 220 efi_y = rounddown(yres, font->height) - font->height; in early_efi_setup()
|
/Linux-v4.19/lib/ |
D | test_hexdump.c | 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
|
/Linux-v4.19/fs/proc/ |
D | vmcore.c | 1075 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64() 1118 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32() 1363 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers() 1383 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers()
|
/Linux-v4.19/drivers/iio/adc/ |
D | ti_am335x_adc.c | 261 dma->fifo_thresh = rounddown(FIFO1_THRESHOLD + 1, in tiadc_start_dma() 264 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, in tiadc_start_dma()
|
/Linux-v4.19/fs/nilfs2/ |
D | alloc.c | 762 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev() 800 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
|
/Linux-v4.19/drivers/gpu/drm/tinydrm/ |
D | st7586.c | 130 clip.x1 = rounddown(clip.x1, 3); in st7586_fb_dirty()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | cfg_space.c | 303 switch (rounddown(offset, 4)) { in intel_vgpu_emulate_cfg_write()
|
D | gvt.h | 467 offset = rounddown(offset, 4); in intel_vgpu_write_pci_bar()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 428 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download()
|
/Linux-v4.19/drivers/tee/ |
D | tee_shm.c | 266 start = rounddown(addr, PAGE_SIZE); in tee_shm_register()
|
/Linux-v4.19/drivers/atm/ |
D | lanai.c | 2074 int rounddown = 0; /* 1 = Round PCR down, i.e. round ICG _up_ */ in pcr_to_cbricg() local 2079 rounddown = 1; in pcr_to_cbricg() 2084 if (rounddown) in pcr_to_cbricg() 2090 pcr, rounddown ? 'Y' : 'N', icg); in pcr_to_cbricg()
|
/Linux-v4.19/drivers/s390/char/ |
D | sclp_cmd.c | 375 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
|
/Linux-v4.19/sound/soc/codecs/ |
D | pcm512x.c | 662 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck() 812 for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); in pcm512x_pllin_dac_rate()
|