Home
last modified time | relevance | path

Searched refs:ROUND_UP (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/usr.sbin/ndiscvt/
H A Dndiscvt.c88 #define ROUND_UP(n, align) ROUND_DOWN(((uintptr_t)n) + (align) - 1l, \ macro
126 offaccum += ROUND_UP(sect_hdr->ish_vaddr - oldraddr, in insert_padding()
129 ROUND_UP(sect_hdr->ish_misc.ish_vsize, in insert_padding()
131 ROUND_UP(sect_hdr->ish_rawdatasize, in insert_padding()
142 ROUND_UP(sect_hdr->ish_misc.ish_vsize, in insert_padding()
/freebsd-12.1/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c143 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(sizeof(swPrsPatch),4), 0, sizeof(uint32_t)); in PrsInit()
146 memset((uint8_t *)p_TmpCode, 0, ROUND_UP(sizeof(swPrsPatch),4)); in PrsInit()
377 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(p_SwPrs->size,4), 0, sizeof(uint32_t)); in FM_PCD_PrsLoadSw()
380 memset((uint8_t *)p_TmpCode, 0, ROUND_UP(p_SwPrs->size,4)); in FM_PCD_PrsLoadSw()
396 p_FmPcd->p_FmPcdPrs->p_SwPrsCode + p_SwPrs->base*2/4 + ROUND_UP(p_SwPrs->size,4); in FM_PCD_PrsLoadSw()
H A Dfm_manip.c2100 waySize = ROUND_UP(keySize, 8); in CreateReassTable()
/freebsd-12.1/contrib/binutils/ld/
H A Ddeffilep.y32 #define ROUND_UP(a, b) (((a)+((b)-1))&~((b)-1)) macro
477 int max_exports = ROUND_UP(def->num_exports, 32); in def_file_add_export()
481 max_exports = ROUND_UP(def->num_exports + 1, 32); in def_file_add_export()
536 int max_imports = ROUND_UP (def->num_imports, 16); in def_file_add_import()
540 max_imports = ROUND_UP (def->num_imports+1, 16); in def_file_add_import()
714 int max_sections = ROUND_UP (def->num_section_defs, 4); in def_section()
718 max_sections = ROUND_UP (def->num_section_defs+1, 4); in def_section()
/freebsd-12.1/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c216 #define ROUND_UP(val, div) roundup(val, div) macro
251 uv = ROUND_UP(uv, step_uvolt); in freq_to_voltage()
254 min_uvolt = ROUND_UP(sc->cpu_def->min_uvolt, step_uvolt); in freq_to_voltage()
/freebsd-12.1/tools/test/testfloat/
H A DtestFunction.h130 ROUND_UP, enumerator
H A Dtestsoftfloat.c317 ROUND_UP, enumerator
371 case ROUND_UP: in testFunctionVariety()
948 roundingMode = ROUND_UP; in main()
H A Dtestfloat.c200 roundingMode = ROUND_UP; in main()
H A DtestFunction.c612 case ROUND_UP: in testFunctionVariety()
/freebsd-12.1/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c5616 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5621 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5626 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5631 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5636 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5646 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5648 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5650 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5656 size = ROUND_UP(size,4); in FmPortConfigAutoResForDeepSleepSupport1()
5751 size = ROUND_UP(size,4); in AR_ComputeOffsets()
[all …]
/freebsd-12.1/contrib/gcc/
H A Dggc-page.c234 #define ROUND_UP(x, f) (CEIL (x, f) * (f)) macro
1515 s = ROUND_UP (s, MAX_ALIGNMENT); in init_ggc()
2071 a += ROUND_UP (d->d.totals[i] * OBJECT_SIZE (i), G.pagesize); in ggc_pch_total_size()
2084 a += ROUND_UP (d->d.totals[i] * OBJECT_SIZE (i), G.pagesize); in ggc_pch_this_base()
2274 bytes = ROUND_UP (d.totals[i] * OBJECT_SIZE (i), G.pagesize); in ggc_pch_read()
H A Dggc-zone.c225 #define ROUND_UP(x, f) (CEIL (x, f) * (f)) macro
2208 d->d.type_totals[i] = ROUND_UP (d->d.type_totals[i], GGC_PAGE_SIZE); in ggc_pch_total_size()
2215 alloc_size = ROUND_UP (alloc_size, MAX_ALIGNMENT); in ggc_pch_total_size()
2328 alloc_size = ROUND_UP (alloc_size, MAX_ALIGNMENT); in ggc_pch_read()
H A DChangeLog-200335785 * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
36409 (ROUND_UP): New.
36411 (init_ggc): Use ROUND_UP.
/freebsd-12.1/sys/contrib/ncsw/inc/
H A Dncsw_ext.h148 #define ROUND_UP(x,y) ((((x) + (y) - 1) / (y)) * (y)) macro
/freebsd-12.1/contrib/ofed/libcxgb4/
H A Dqp.c122 len = ROUND_UP(plen + 8, 16) - (plen + 8); in build_immd()
H A Dt4.h54 #define ROUND_UP(x, n) (((x) + (n) - 1u) & ~((n) - 1u)) macro
/freebsd-12.1/lib/libc/softfloat/
H A Dtimesoftfloat.c2040 ROUND_UP, enumerator
2093 case ROUND_UP: in timeFunctionVariety()
2564 roundingMode = ROUND_UP; in main()
/freebsd-12.1/contrib/expat/lib/
H A Dxmlparse.c83 #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) macro
2121 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()