/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_init.c | 205 int numbytes; in mptsas_ioc_do_get_facts() local 210 numbytes = sizeof (*facts); in mptsas_ioc_do_get_facts() 215 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts() 231 int numbytes; in mptsas_ioc_do_get_facts_reply() local 243 numbytes = sizeof (*factsreply); in mptsas_ioc_do_get_facts_reply() 248 if (mptsas_get_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts_reply() 425 int numbytes; in mptsas_ioc_do_get_port_facts() local 431 numbytes = sizeof (*facts); in mptsas_ioc_do_get_port_facts() 436 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_port_facts() 451 int numbytes; in mptsas_ioc_do_get_port_facts_reply() local [all …]
|
H A D | mptsas_impl.c | 722 mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_send_handshake_msg() argument 733 ((numbytes / 4) << MPI2_DOORBELL_ADD_DWORDS_SHIFT))); in mptsas_send_handshake_msg() 754 for (i = 0; (i < numbytes / 4); i++, memp += 4) { in mptsas_send_handshake_msg() 774 mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_get_handshake_msg() argument 812 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 813 bytesleft = ((numbytes / 2) - 2); in mptsas_get_handshake_msg() 839 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 840 for (i = (numbytes / 2); i < totalbytes; i++) { in mptsas_get_handshake_msg()
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 1532 int v4_idx, numbytes, inc; in smb_vop_catia_v5tov4() local 1547 if ((numbytes = smb_mbtowc(&wc, src, MTS_MB_CHAR_MAX)) < 0) in smb_vop_catia_v5tov4() 1552 inc = numbytes; in smb_vop_catia_v5tov4() 1567 src += numbytes; in smb_vop_catia_v5tov4() 1589 int v5_idx, numbytes; in smb_vop_catia_v4tov5() local 1606 numbytes = smb_wctomb(mbstring, in smb_vop_catia_v4tov5() 1608 if (space_left < numbytes) in smb_vop_catia_v4tov5() 1610 (void) strncpy(dst, mbstring, numbytes); in smb_vop_catia_v4tov5() 1612 if ((numbytes = smb_mbtowc(&wc, src, in smb_vop_catia_v4tov5() 1615 if (space_left < numbytes) in smb_vop_catia_v4tov5() [all …]
|
/titanic_50/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_50/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_50/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_50/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_50/usr/src/uts/sun4v/sys/ |
H A D | n2rng.h | 275 n2rng_setup_t *collect_setupp, void *buffer, int numbytes,
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1317 int mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, 1319 int mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes,
|
/titanic_50/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_tbolt.c | 892 int numbytes; in mrsas_tbolt_ioc_init() local 916 numbytes = sizeof (*init); in mrsas_tbolt_ioc_init() 917 bzero(init, numbytes); in mrsas_tbolt_ioc_init()
|