/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.c | 1406 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1425 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1434 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1443 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1462 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1471 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1499 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1508 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1518 buf += ROUNDUP(offset, 8); in soft_unpack_object() 1551 buf += ROUNDUP(offset, 8); in soft_unpack_object() [all …]
|
H A D | softKeystore.h | 65 #define ROUNDUP(x, y) roundup(x, y) /* defined in sys/sysmacros.h */ macro
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_gcmd.c | 34 #define ROUNDUP(x) (((x) + 0x07) & ~0x07) macro 47 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gw_t)) 70 ccblen = ROUNDUP(ccblen); in ghd_gcmd_alloc()
|
H A D | ghd_scsa.c | 43 #define ROUNDUP(x) (((x) + 0x07) & ~0x07) macro 52 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gcmd_t)) 99 gwrap_len = sizeof (gwrap_t) + ROUNDUP(ccblen); in ghd_pktalloc()
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_provider.c | 48 #define ROUNDUP(k, n) (((k) + (n) - 1) & ~((n) - 1)) macro 73 uint64_t as64[ROUNDUP(SHA1WORDS, 2) >> 1]; in fips_random() 176 rv = n2rng_getentropy(n2rng, (void *)frsp->XKEY, ROUNDUP(SHA1BYTES, 8)); in n2rng_fips_random_init()
|
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_hba.c | 304 #define ROUNDUP(x) (((x) + 0x07) & ~0x07) macro 341 cmdlen = ROUNDUP(cmdlen); in dcd_hba_pkt_alloc() 342 tgtlen = ROUNDUP(tgtlen); in dcd_hba_pkt_alloc() 343 hbalen = ROUNDUP(hbalen); in dcd_hba_pkt_alloc() 344 statuslen = ROUNDUP(statuslen); in dcd_hba_pkt_alloc()
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | trapstat.h | 201 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro 205 (ROUNDUP((NCPU * TSTAT_DATA_SIZE) + TSTAT_TRAPTBL_SIZE, \ 221 (ROUNDUP(((ncpu) * TSTAT_DATA_SIZE) + TSTAT_INSTR_SIZE, \
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.h | 270 #if !defined(ROUNDUP) 271 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro 273 #define ITMROUNDUP(i) ROUNDUP(i, sizeof (uint64_t))
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 38 #define ROUNDUP(x, y) (((x) + ((y) - 1)) & ~((y) - 1)) macro 53 max_rss = ROUNDUP(mcap, 1024) / 1024; in update_zone()
|
H A D | rcapd_collection_project.c | 36 #define ROUNDUP(x, y) (((x) + ((y) - 1)) & ~((y) - 1)) macro 61 max_rss = ROUNDUP(strtoll(capattr_abs, &end, 10), 1024) / 1024; in lcollection_update_project_cb()
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_hca.c | 625 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) macro 781 sgid_tbl_len = ROUNDUP(sp1->p_sgid_tbl_sz * sizeof (ib_gid_t), in ibtl_query_one_port() 783 pkey_tbl_len = ROUNDUP(sp1->p_pkey_tbl_sz * sizeof (ib_pkey_t), in ibtl_query_one_port() 845 sgid_tbl_len = ROUNDUP(sp1->p_sgid_tbl_sz * sizeof (ib_gid_t), in ibtl_query_hca_ports() 847 pkey_tbl_len = ROUNDUP(sp1->p_pkey_tbl_sz * sizeof (ib_pkey_t), in ibtl_query_hca_ports() 931 sgid_tbl_len = ROUNDUP(p1->p_sgid_tbl_sz * sizeof (ib_gid_t), in ibtl_reinit_hca_portinfo() 933 pkey_tbl_len = ROUNDUP(p1->p_pkey_tbl_sz * sizeof (ib_pkey_t), in ibtl_reinit_hca_portinfo() 1034 pkey_tbl_len = ROUNDUP(pkey_tbl_sz * sizeof (ib_pkey_t), in ibtl_init_hca_portinfo() 1036 sgid_tbl_len = ROUNDUP(sgid_tbl_sz * sizeof (ib_gid_t), in ibtl_init_hca_portinfo()
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | inc.h | 58 #define ROUNDUP(x) (((x) + 1) & ~1) macro
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 1293 malloc(ROUNDUP(stbuf.st_size))) == NULL) { in copy_elf_file_to_temp_ar_file() 1319 if (write(fdartmp, buf, (size_t)ROUNDUP(stbuf.st_size)) != in copy_elf_file_to_temp_ar_file() 1320 (size_t)ROUNDUP(stbuf.st_size)) { in copy_elf_file_to_temp_ar_file() 1362 malloc(ROUNDUP(mem_header->ar_size))) == NULL) { in copy_non_elf_to_temp_ar() 1374 (size_t)ROUNDUP(mem_header->ar_size)) != in copy_non_elf_to_temp_ar() 1375 (size_t)ROUNDUP(mem_header->ar_size)) { in copy_non_elf_to_temp_ar() 1382 (size_t)ROUNDUP(mem_header->ar_size)) != in copy_non_elf_to_temp_ar() 1383 (size_t)ROUNDUP(mem_header->ar_size)) { in copy_non_elf_to_temp_ar()
|
H A D | mcs.h | 57 #define ROUNDUP(x) (((x) + 1) & ~1) macro
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.h | 275 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1e_reg.h | 87 (ROUNDUP(L1E_MAX_FRAMELEN, L1E_RX_PAGE_ALIGN) * L1E_RX_FRAMES_PAGE)
|
H A D | atge.h | 42 #define ROUNDUP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
|
H A D | atge_l1e.c | 185 l1e->atge_l1e_pagesize = ROUNDUP(guard_size + L1E_RX_PAGE_SZ, in atge_l1e_alloc_dma() 600 ROUNDUP(len + sizeof (rx_rs_t), L1E_RX_PAGE_ALIGN); in atge_l1e_rx_next_pkt()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_cxt.c | 399 iids->pf_cids = ROUNDUP(iids->pf_cids, TM_ALIGN); in ecore_cxt_tm_iids() 400 iids->per_vf_cids = ROUNDUP(iids->per_vf_cids, TM_ALIGN); in ecore_cxt_tm_iids() 401 iids->per_vf_tids = ROUNDUP(iids->per_vf_tids, TM_ALIGN); in ecore_cxt_tm_iids() 404 iids->pf_tids[j] = ROUNDUP(iids->pf_tids[j], TM_ALIGN); in ecore_cxt_tm_iids() 467 p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN); in ecore_cxt_set_proto_cid_count() 468 p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN); in ecore_cxt_set_proto_cid_count() 476 p_conn->cid_count = ROUNDUP(p_conn->cid_count, align); in ecore_cxt_set_proto_cid_count()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_rng.c | 103 chunk = ROUNDUP(len, sizeof (uint32_t)); in dca_rngstart()
|
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.h | 681 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | klpd.c | 46 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro 224 len += ROUNDUP(MAXPATHLEN, sizeof (uint_t)); in klpd_marshall()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | btree.c | 111 #define ROUNDUP(X) ((X+3) & ~3) macro 415 n = ROUNDUP(n); in cellSize() 485 assert( nByte==ROUNDUP(nByte) ); in allocateSpace() 533 assert( size == ROUNDUP(size) ); in freeSpace() 534 assert( start == ROUNDUP(start) ); in freeSpace() 608 if( idx!=ROUNDUP(idx) ) goto page_format_error; in initPage()
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_bitmap.c | 116 #define ROUNDUP(n, d) (((n) + (d) - 1) / (d)) macro 117 #define MEM_LEN(l) (ROUNDUP((l), BMAP_BPW) * BMAP_WSIZE)
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | dca.h | 760 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|