Home
last modified time | relevance | path

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

1234

/linux/security/selinux/ss/
A Debitmap.c485 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
487 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
506 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
524 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A 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/arch/um/kernel/
A Dmaccess.c12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in copy_from_kernel_nofault_allowed()
/linux/drivers/comedi/drivers/
A 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()
/linux/drivers/media/platform/xilinx/
A Dxilinx-dma.c561 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format()
562 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format()
573 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format()
574 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
/linux/drivers/nvmem/
A Drockchip-efuse.c112 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3328_efuse_read()
165 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3399_efuse_read()
A Dstm32-romem.c78 roffset = rounddown(offset, 4); in stm32_bsec_read()
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_subdev.c396 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH); in atomisp_subdev_set_selection()
397 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT); in atomisp_subdev_set_selection()
466 dvs_w = rounddown(crop[pad]->width / 5, in atomisp_subdev_set_selection()
468 dvs_h = rounddown(crop[pad]->height / 5, in atomisp_subdev_set_selection()
527 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection()
535 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection()
/linux/drivers/tty/vt/
A Dselection.c262 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection()
263 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
/linux/crypto/
A Dcts.c167 offset = rounddown(nbytes - 1, bsize); in crypto_cts_encrypt()
267 offset = rounddown(nbytes - 1, bsize); in crypto_cts_decrypt()
/linux/include/linux/
A Dmath.h72 #define rounddown(x, y) ( \ macro
/linux/drivers/gpu/drm/i915/
A Di915_scatterlist.h137 size = rounddown(size, PAGE_SIZE); in i915_sg_segment_size()
A Di915_scatterlist.c128 const u64 max_segment = rounddown(UINT_MAX, PAGE_SIZE); in i915_sg_from_buddy_resource()
/linux/drivers/gpio/
A Dgpio-menz127.c58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
/linux/fs/proc/
A Dvmcore.c1145 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64()
1188 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32()
1433 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers()
1453 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_doorbell.c74 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()
/linux/drivers/firmware/efi/
A Dearlycon.c238 efi_y = rounddown(yres, font->height) - font->height; in efi_earlycon_setup()
/linux/drivers/iio/buffer/
A Dindustrialio-buffer-dmaengine.c70 block->bytes_used = rounddown(block->bytes_used, in iio_dmaengine_buffer_submit_block()
/linux/lib/
A Dtest_hexdump.c217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
/linux/drivers/staging/media/ipu3/
A Dipu3-css-params.c577 rounddown(stripe_offset_out_y, in imgu_css_osys_calc_frame_and_stripe_params()
616 chunk_floor_y = rounddown(stripe_offset_inp_y, in imgu_css_osys_calc_frame_and_stripe_params()
619 rounddown(stripe_offset_inp_uv, in imgu_css_osys_calc_frame_and_stripe_params()
672 rounddown(stripe_offset_inp_y, in imgu_css_osys_calc_frame_and_stripe_params()
675 rounddown(stripe_offset_inp_uv, in imgu_css_osys_calc_frame_and_stripe_params()
696 next_offset = rounddown(next_offset, 64); in imgu_css_osys_calc_frame_and_stripe_params()
765 rounddown(stripe_output_width_y, in imgu_css_osys_calc_frame_and_stripe_params()
1199 rounddown(css_pipe->rect[IPU3_CSS_RECT_GDC].width - in imgu_css_osys_calc()
/linux/arch/arm64/crypto/
A Dchacha-neon-glue.c119 nbytes = rounddown(nbytes, walk.stride); in chacha_neon_stream_xor()
/linux/sound/firewire/tascam/
A Dtascam-hwdep.c73 length = rounddown(remained, sizeof(*entries)); in tscm_hwdep_read_queue()
/linux/drivers/iio/adc/
A Dti_am335x_adc.c246 dma->fifo_thresh = rounddown(FIFO1_THRESHOLD + 1, in tiadc_start_dma()
250 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, in tiadc_start_dma()
/linux/fs/nilfs2/
A Dalloc.c762 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
800 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
/linux/drivers/gpu/drm/tiny/
A Dst7586.c119 rect->x1 = rounddown(rect->x1, 3); in st7586_fb_dirty()

Completed in 40 milliseconds

1234