/Linux-v6.6/security/selinux/ss/ |
D | ebitmap.c | 485 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-v6.6/arch/um/kernel/ |
D | maccess.c | 12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in copy_from_kernel_nofault_allowed()
|
/Linux-v6.6/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-v6.6/drivers/staging/media/atomisp/pci/ |
D | atomisp_subdev.c | 375 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH); in atomisp_subdev_set_selection() 376 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT); in atomisp_subdev_set_selection() 420 dvs_w = rounddown(crop[pad]->width / 5, in atomisp_subdev_set_selection() 422 dvs_h = rounddown(crop[pad]->height / 5, in atomisp_subdev_set_selection() 478 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection() 486 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection()
|
/Linux-v6.6/drivers/firmware/efi/ |
D | earlycon.c | 260 memset32(efi_x_array, rounddown(xres, font->width), ARRAY_SIZE(efi_x_array)); in efi_earlycon_setup() 261 efi_y = rounddown(yres, font->height); in efi_earlycon_setup()
|
/Linux-v6.6/drivers/nvmem/ |
D | rockchip-efuse.c | 112 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()
|
D | stm32-romem.c | 82 roffset = rounddown(offset, 4); in stm32_bsec_read()
|
/Linux-v6.6/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 545 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 546 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 557 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 558 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
/Linux-v6.6/drivers/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()
|
/Linux-v6.6/drivers/tty/vt/ |
D | selection.c | 263 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection() 264 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
|
/Linux-v6.6/crypto/ |
D | cts.c | 167 offset = rounddown(nbytes - 1, bsize); in crypto_cts_encrypt() 267 offset = rounddown(nbytes - 1, bsize); in crypto_cts_decrypt()
|
/Linux-v6.6/include/linux/ |
D | math.h | 73 #define rounddown(x, y) ( \ macro
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-menz127.c | 58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
|
/Linux-v6.6/drivers/powercap/ |
D | arm_scmi_powercap.c | 113 *norm = rounddown(*norm, spz->info->power_cap_step); in scmi_powercap_normalize_cap() 163 *norm = rounddown(*norm, spz->info->pai_step); in scmi_powercap_normalize_time()
|
/Linux-v6.6/arch/powerpc/crypto/ |
D | chacha-p10-glue.c | 104 nbytes = rounddown(nbytes, walk.stride); in chacha_p10_stream_xor()
|
/Linux-v6.6/lib/ |
D | test_hexdump.c | 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
|
/Linux-v6.6/fs/proc/ |
D | vmcore.c | 1122 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64() 1165 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32() 1410 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers() 1430 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers()
|
/Linux-v6.6/sound/firewire/tascam/ |
D | tascam-hwdep.c | 73 length = rounddown(remained, sizeof(*entries)); in tscm_hwdep_read_queue()
|
/Linux-v6.6/arch/arm64/crypto/ |
D | chacha-neon-glue.c | 119 nbytes = rounddown(nbytes, walk.stride); in chacha_neon_stream_xor()
|
/Linux-v6.6/drivers/iio/adc/ |
D | ti_am335x_adc.c | 245 dma->fifo_thresh = rounddown(FIFO1_THRESHOLD + 1, in tiadc_start_dma() 249 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, in tiadc_start_dma()
|
/Linux-v6.6/fs/nilfs2/ |
D | alloc.c | 763 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev() 801 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
|
/Linux-v6.6/drivers/staging/media/ipu3/ |
D | ipu3-css-params.c | 577 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() 1196 rounddown(css_pipe->rect[IPU3_CSS_RECT_GDC].width - in imgu_css_osys_calc()
|
/Linux-v6.6/drivers/gpu/drm/i915/gvt/ |
D | cfg_space.c | 276 switch (rounddown(offset, 4)) { in intel_vgpu_emulate_cfg_write()
|
/Linux-v6.6/drivers/gpu/drm/tiny/ |
D | st7586.c | 119 rect->x1 = rounddown(rect->x1, 3); in st7586_fb_dirty()
|
/Linux-v6.6/drivers/tee/ |
D | tee_shm.c | 249 start = rounddown(addr, PAGE_SIZE); in register_shm_helper()
|