| /linux/security/selinux/ss/ ! |
| H A D | ebitmap.c | 497 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write() 499 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 515 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write() 520 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 538 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
|
| /linux/drivers/staging/media/atomisp/pci/ ! |
| H A D | atomisp_subdev.c | 317 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH); in atomisp_subdev_set_selection() 318 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT); in atomisp_subdev_set_selection() 363 dvs_w = rounddown(crop[pad]->width / 5, in atomisp_subdev_set_selection() 365 dvs_h = rounddown(crop[pad]->height / 5, in atomisp_subdev_set_selection() 421 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection() 429 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ ! |
| H A 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/drivers/firmware/efi/ ! |
| H A 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/drivers/media/platform/xilinx/ ! |
| H A D | xilinx-dma.c | 543 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 544 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 555 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 556 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
| /linux/drivers/nvmem/ ! |
| H A 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()
|
| H A D | stm32-romem.c | 84 roffset = rounddown(offset, 4); in stm32_bsec_read()
|
| /linux/drivers/comedi/drivers/ ! |
| H A D | comedi_test.c | 325 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 330 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); in waveform_ai_cmdtest() 340 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 595 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ao_cmdtest()
|
| /linux/drivers/tty/vt/ ! |
| H A D | selection.c | 284 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection() 285 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
|
| /linux/crypto/ ! |
| H A D | cts.c | 167 offset = rounddown(nbytes - 1, bsize); in crypto_cts_encrypt() 267 offset = rounddown(nbytes - 1, bsize); in crypto_cts_decrypt()
|
| /linux/drivers/net/ethernet/sfc/ ! |
| H A D | efx_reflash.c | 295 chunk = rounddown(EFX_NVRAM_ERASE_IDEAL_CHUNK_SIZE, align); in efx_reflash_erase_partition() 343 chunk = rounddown(write_max, align); in efx_reflash_write_partition()
|
| /linux/fs/proc/ ! |
| H A D | vmcore.c | 1138 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64() 1175 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32() 1414 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers() 1434 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers() 1585 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcore_reset_offsets_elf64()
|
| /linux/drivers/powercap/ ! |
| H A 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/include/linux/ ! |
| H A D | math.h | 85 #define rounddown(x, y) ( \ macro
|
| /linux/block/ ! |
| H A D | badblocks.c | 860 rounddown(s, 1 << bb->shift); in _badblocks_set() 1075 rounddown(target, 1 << bb->shift); in _badblocks_clear() 1310 rounddown(s, 1 << bb->shift); in badblocks_check()
|
| /linux/lib/ ! |
| H A D | test_hexdump.c | 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
|
| /linux/sound/firewire/tascam/ ! |
| H A D | tascam-hwdep.c | 73 length = rounddown(remained, sizeof(*entries)); in tscm_hwdep_read_queue()
|
| /linux/fs/nilfs2/ ! |
| H A D | alloc.c | 859 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev() 897 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
|
| /linux/drivers/iio/adc/ ! |
| H A 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/drivers/staging/media/ipu3/ ! |
| H A 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/drivers/net/ethernet/marvell/octeon_ep/ ! |
| H A D | octep_regs_cn9k_pf.h | 406 aligned_offset = rounddown((offset), 8); in cn9k_pemx_pfx_csx_pfcfgx()
|
| /linux/drivers/gpu/drm/i915/display/ ! |
| H A D | intel_link_bw.c | 186 pipe_bpp = rounddown(pipe_bpp, 2 * 3); in intel_link_bw_compute_pipe_bpp()
|
| /linux/drivers/media/platform/arm/mali-c55/ ! |
| H A D | mali-c55-tpg.c | 73 / max(rounddown(tgt_fps, 15), 5)) - format->height; in mali_c55_tpg_update_vblank()
|
| /linux/drivers/gpu/drm/sitronix/ ! |
| H A D | st7586.c | 122 rect->x1 = rounddown(rect->x1, 3); in st7586_fb_dirty()
|
| /linux/drivers/scsi/ ! |
| H A D | sd_zbc.c | 194 bufsize = rounddown(bufsize >> 1, SECTOR_SIZE); in sd_zbc_alloc_report_buffer()
|