/linux-master/arch/um/kernel/ |
H A D | maccess.c | 12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE);
|
/linux-master/security/selinux/ss/ |
H A D | ebitmap.c | 484 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { 486 last_startbit = rounddown(bit, BITS_PER_U64); 501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { 506 last_startbit = rounddown(bit, BITS_PER_U64); 524 last_startbit = rounddown(bit, BITS_PER_U64);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | mm.c | 135 e = rounddown(e, mm->block_size); 209 e = rounddown(e, mm->block_size); 271 node->length = rounddown(offset + length, mm->block_size);
|
/linux-master/drivers/firmware/efi/ |
H A D | earlycon.c | 260 memset32(efi_x_array, rounddown(xres, font->width), ARRAY_SIZE(efi_x_array)); 261 efi_y = rounddown(yres, font->height);
|
/linux-master/include/linux/ |
H A D | math.h | 33 * To perform arbitrary rounding down, use rounddown() below. 66 * rounddown - round down to next specified multiple 73 #define rounddown(x, y) ( \ macro
|
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 545 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); 546 width = rounddown(pix->width * info->bpp, align); 557 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); 558 bpl = rounddown(pix->bytesperline, dma->align);
|
/linux-master/drivers/nvmem/ |
H A D | rockchip-efuse.c | 112 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; 165 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES;
|
H A D | stm32-romem.c | 84 roffset = rounddown(offset, 4);
|
/linux-master/drivers/tty/vt/ |
H A D | selection.c | 272 new_sel_start = rounddown(ps, vc->vc_size_row); 273 new_sel_end = rounddown(pe, vc->vc_size_row) +
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 375 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH); 376 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT); 420 dvs_w = rounddown(crop[pad]->width / 5, 422 dvs_h = rounddown(crop[pad]->height / 5, 478 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> 486 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]->
|
/linux-master/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 113 *norm = rounddown(*norm, spz->info->power_cap_step); 163 *norm = rounddown(*norm, spz->info->pai_step);
|
/linux-master/crypto/ |
H A D | cts.c | 167 offset = rounddown(nbytes - 1, bsize); 267 offset = rounddown(nbytes - 1, bsize);
|
/linux-master/arch/arm64/crypto/ |
H A D | chacha-neon-glue.c | 119 nbytes = rounddown(nbytes, walk.stride);
|
/linux-master/sound/firewire/tascam/ |
H A D | tascam-hwdep.c | 73 length = rounddown(remained, sizeof(*entries));
|
/linux-master/drivers/gpio/ |
H A D | gpio-menz127.c | 58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US);
|
/linux-master/lib/ |
H A D | test_hexdump.c | 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii);
|
/linux-master/drivers/comedi/drivers/ |
H A D | comedi_test.c | 324 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); 329 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); 339 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); 593 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC));
|
/linux-master/arch/powerpc/crypto/ |
H A D | chacha-p10-glue.c | 104 nbytes = rounddown(nbytes, walk.stride);
|
/linux-master/drivers/iio/adc/ |
H A D | ti_am335x_adc.c | 245 dma->fifo_thresh = rounddown(FIFO1_THRESHOLD + 1, 249 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2,
|
/linux-master/fs/nilfs2/ |
H A D | alloc.c | 764 entry_start = rounddown(group_offset, epb); 802 entry_start = rounddown(group_offset, epb);
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 276 switch (rounddown(offset, 4)) {
|
/linux-master/fs/proc/ |
H A D | vmcore.c | 1122 start = rounddown(paddr, PAGE_SIZE); 1165 start = rounddown(paddr, PAGE_SIZE); 1410 start = rounddown(phdr->p_offset, PAGE_SIZE); 1430 start = rounddown(phdr->p_offset, PAGE_SIZE);
|
/linux-master/block/ |
H A D | badblocks.c | 883 rounddown(s, bb->shift); 1161 rounddown(target, bb->shift); 1291 rounddown(s, bb->shift);
|
/linux-master/drivers/gpu/drm/tiny/ |
H A D | st7586.c | 120 rect->x1 = rounddown(rect->x1, 3);
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | bmi.c | 459 u32 head_len = rounddown(length, 4);
|