/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_init.c | 174 int numbytes; in mptsas_ioc_do_get_facts() local 179 numbytes = sizeof (*facts); in mptsas_ioc_do_get_facts() 184 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts() 200 int numbytes; in mptsas_ioc_do_get_facts_reply() local 212 numbytes = sizeof (*factsreply); in mptsas_ioc_do_get_facts_reply() 217 if (mptsas_get_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts_reply() 394 int numbytes; in mptsas_ioc_do_get_port_facts() local 400 numbytes = sizeof (*facts); in mptsas_ioc_do_get_port_facts() 405 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_port_facts() 420 int numbytes; in mptsas_ioc_do_get_port_facts_reply() local [all …]
|
H A D | mptsas_impl.c | 719 mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_send_handshake_msg() argument 730 ((numbytes / 4) << MPI2_DOORBELL_ADD_DWORDS_SHIFT))); in mptsas_send_handshake_msg() 751 for (i = 0; (i < numbytes / 4); i++, memp += 4) { in mptsas_send_handshake_msg() 771 mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_get_handshake_msg() argument 809 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 810 bytesleft = ((numbytes / 2) - 2); in mptsas_get_handshake_msg() 836 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 837 for (i = (numbytes / 2); i < totalbytes; i++) { in mptsas_get_handshake_msg()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 1521 int v4_idx, numbytes, inc; in smb_vop_catia_v5tov4() local 1536 if ((numbytes = smb_mbtowc(&wc, src, MTS_MB_CHAR_MAX)) < 0) in smb_vop_catia_v5tov4() 1541 inc = numbytes; in smb_vop_catia_v5tov4() 1556 src += numbytes; in smb_vop_catia_v5tov4() 1578 int v5_idx, numbytes; in smb_vop_catia_v4tov5() local 1595 numbytes = smb_wctomb(mbstring, in smb_vop_catia_v4tov5() 1597 if (space_left < numbytes) in smb_vop_catia_v4tov5() 1599 (void) strncpy(dst, mbstring, numbytes); in smb_vop_catia_v4tov5() 1601 if ((numbytes = smb_mbtowc(&wc, src, in smb_vop_catia_v4tov5() 1604 if (space_left < numbytes) in smb_vop_catia_v4tov5() [all …]
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | setkeymap.c | 197 int numbytes, key_size = cur_term->_ksz; in setkeymap() local 250 (numbytes = (int)(sizeof (_KEY_MAP) * numkeys)))) == NULL) { in setkeymap() 270 (char *) keymap, numbytes); in setkeymap()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | ddi.c | 403 btop(size_t numbytes) in btop() argument 405 return (numbytes >> PAGESHIFT); in btop() 414 btopr(size_t numbytes) in btopr() argument 416 return ((numbytes + PAGEOFFSET) >> PAGESHIFT); in btopr()
|
/titanic_41/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng.c | 514 n2rng_setup_t *collect_setupp, void *buffer, int numbytes, in n2rng_collect_diag_bits() argument 530 if (numbytes % sizeof (uint64_t)) { in n2rng_collect_diag_bits() 538 numchunks = ((numbytes / sizeof (uint64_t)) + RNG_DIAG_CHUNK_SIZE - 1) in n2rng_collect_diag_bits() 606 if (numbytes > 0) { in n2rng_collect_diag_bits() 609 numbytes - i * (RNG_DIAG_CHUNK_SIZE * in n2rng_collect_diag_bits()
|
/titanic_41/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 380 int numbytes, saltbytes; in dump_key() local 382 numbytes = SADB_1TO8(bitlen); in dump_key() 384 numbytes += saltbytes; in dump_key() 388 numbytes++; in dump_key() 390 while (numbytes-- != 0) { in dump_key() 400 numbytes == saltbytes) { in dump_key()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | n2rng.h | 275 n2rng_setup_t *collect_setupp, void *buffer, int numbytes,
|
/titanic_41/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1307 int mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, 1309 int mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes,
|
/titanic_41/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_tbolt.c | 891 int numbytes; in mrsas_tbolt_ioc_init() local 915 numbytes = sizeof (*init); in mrsas_tbolt_ioc_init() 916 bzero(init, numbytes); in mrsas_tbolt_ioc_init()
|