Home
last modified time | relevance | path

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

12

/Linux-v4.19/security/selinux/ss/
Debitmap.c464 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/
Dmaccess.c15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in probe_kernel_read()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c135 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/
Drockchip-efuse.c120 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/
Dcomedi_test.c318 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()
Dusbduxsigma.c532 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/
Dxilinx-dma.c576 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/
Dchacha20_glue.c88 rounddown(walk.nbytes, CHACHA20_BLOCK_SIZE)); in chacha20_simd()
/Linux-v4.19/drivers/iio/buffer/
Dindustrialio-buffer-dmaengine.c67 block->bytes_used = rounddown(block->bytes_used, in iio_dmaengine_buffer_submit_block()
Dindustrialio-buffer-dma.c507 n = rounddown(n, buffer->bytes_per_datum); in iio_dma_buffer_read()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c77 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
/Linux-v4.19/drivers/gpio/
Dgpio-menz127.c61 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
/Linux-v4.19/arch/x86/platform/efi/
Dearly_printk.c220 efi_y = rounddown(yres, font->height) - font->height; in early_efi_setup()
/Linux-v4.19/lib/
Dtest_hexdump.c217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
/Linux-v4.19/fs/proc/
Dvmcore.c1075 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/
Dti_am335x_adc.c261 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/
Dalloc.c762 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/
Dst7586.c130 clip.x1 = rounddown(clip.x1, 3); in st7586_fb_dirty()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dcfg_space.c303 switch (rounddown(offset, 4)) { in intel_vgpu_emulate_cfg_write()
Dgvt.h467 offset = rounddown(offset, 4); in intel_vgpu_write_pci_bar()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dbmi.c428 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download()
/Linux-v4.19/drivers/tee/
Dtee_shm.c266 start = rounddown(addr, PAGE_SIZE); in tee_shm_register()
/Linux-v4.19/drivers/atm/
Dlanai.c2074 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/
Dsclp_cmd.c375 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
/Linux-v4.19/sound/soc/codecs/
Dpcm512x.c662 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()

12