/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.c | 363 len_attrs += ROUNDUP(extra_attr->attr.ulValueLen, 8); in soft_keystore_pack_obj() 385 buf1 = buf1 + ROUNDUP(extra_attr->attr.ulValueLen, 8); in soft_keystore_pack_obj() 486 buf = buf + ROUNDUP(template.ulValueLen, 8); in soft_keystore_unpack_obj() 576 return (ROUNDUP(((biginteger_t *) in soft_pack_object_size() 578 ROUNDUP(((biginteger_t *) in soft_pack_object_size() 587 return (ROUNDUP(((biginteger_t *) in soft_pack_object_size() 589 ROUNDUP(((biginteger_t *) in soft_pack_object_size() 591 ROUNDUP(((biginteger_t *) in soft_pack_object_size() 593 ROUNDUP(((biginteger_t *) in soft_pack_object_size() 600 return (ROUNDUP(((biginteger_t *) in soft_pack_object_size() [all …]
|
H A D | softKeystore.h | 65 #define ROUNDUP(x, y) roundup(x, y) /* defined in sys/sysmacros.h */ macro
|
/titanic_50/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_gcmd.c | 36 #define ROUNDUP(x) (((x) + 0x07) & ~0x07) macro 49 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gw_t)) 72 ccblen = ROUNDUP(ccblen); in ghd_gcmd_alloc()
|
H A D | ghd_scsa.c | 45 #define ROUNDUP(x) (((x) + 0x07) & ~0x07) macro 54 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gcmd_t)) 101 gwrap_len = sizeof (gwrap_t) + ROUNDUP(ccblen); in ghd_pktalloc()
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 40 #define ROUNDUP(x, y) (((x) + ((y) - 1)) & ~((y) - 1)) macro 55 max_rss = ROUNDUP(mcap, 1024) / 1024; in update_zone()
|
H A D | rcapd_collection_project.c | 38 #define ROUNDUP(x, y) (((x) + ((y) - 1)) & ~((y) - 1)) macro 63 max_rss = ROUNDUP(strtoll(capattr_abs, &end, 10), 1024) / 1024; in lcollection_update_project_cb()
|
/titanic_50/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, \
|
/titanic_50/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.h | 272 #if !defined(ROUNDUP) 273 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro 275 #define ITMROUNDUP(i) ROUNDUP(i, sizeof (uint64_t))
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/sgs/ar/common/ |
H A D | inc.h | 58 #define ROUNDUP(x) (((x) + 1) & ~1) macro
|
/titanic_50/usr/src/lib/libbc/inc/include/nettli/ |
H A D | tiuser.h | 209 #define ROUNDUP(X) ((X + 0x03)&~0x03) macro
|
/titanic_50/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 1285 malloc(ROUNDUP(stbuf.st_size))) == NULL) { in copy_elf_file_to_temp_ar_file() 1311 if (write(fdartmp, buf, (size_t)ROUNDUP(stbuf.st_size)) != in copy_elf_file_to_temp_ar_file() 1312 (size_t)ROUNDUP(stbuf.st_size)) { in copy_elf_file_to_temp_ar_file() 1354 malloc(ROUNDUP(mem_header->ar_size))) == NULL) { in copy_non_elf_to_temp_ar() 1366 (size_t)ROUNDUP(mem_header->ar_size)) != in copy_non_elf_to_temp_ar() 1367 (size_t)ROUNDUP(mem_header->ar_size)) { 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()
|
H A D | mcs.h | 54 #define ROUNDUP(x) (((x) + 1) & ~1) macro
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/hme/ |
H A D | hme.h | 275 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | dca_rng.c | 105 chunk = ROUNDUP(len, sizeof (uint32_t)); in dca_rngstart()
|
/titanic_50/usr/src/uts/sun/io/eri/ |
H A D | eri.h | 681 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|
/titanic_50/usr/src/uts/common/os/ |
H A D | klpd.c | 44 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro 222 len += ROUNDUP(MAXPATHLEN, sizeof (uint_t)); in klpd_marshall()
|
/titanic_50/usr/src/lib/libsqlite/src/ |
H A D | btree.c | 113 #define ROUNDUP(X) ((X+3) & ~3) macro 417 n = ROUNDUP(n); in cellSize() 487 assert( nByte==ROUNDUP(nByte) ); in allocateSpace() 535 assert( size == ROUNDUP(size) ); in freeSpace() 536 assert( start == ROUNDUP(start) ); in freeSpace() 610 if( idx!=ROUNDUP(idx) ) goto page_format_error; in initPage()
|
/titanic_50/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)
|
/titanic_50/usr/src/uts/common/sys/crypto/ |
H A D | dca.h | 760 #define ROUNDUP(a, n) (((a) + ((n) - 1)) & ~((n) - 1)) macro
|