/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_init.c | 209 int numbytes; in mptsas_ioc_do_get_facts() local 214 numbytes = sizeof (*facts); in mptsas_ioc_do_get_facts() 219 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts() 235 int numbytes; in mptsas_ioc_do_get_facts_reply() local 247 numbytes = sizeof (*factsreply); in mptsas_ioc_do_get_facts_reply() 252 if (mptsas_get_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_facts_reply() 429 int numbytes; in mptsas_ioc_do_get_port_facts() local 435 numbytes = sizeof (*facts); in mptsas_ioc_do_get_port_facts() 440 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) { in mptsas_ioc_do_get_port_facts() 455 int numbytes; in mptsas_ioc_do_get_port_facts_reply() local [all …]
|
H A D | mptsas_impl.c | 743 mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_send_handshake_msg() argument 754 ((numbytes / 4) << MPI2_DOORBELL_ADD_DWORDS_SHIFT))); in mptsas_send_handshake_msg() 775 for (i = 0; (i < numbytes / 4); i++, memp += 4) { in mptsas_send_handshake_msg() 795 mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, in mptsas_get_handshake_msg() argument 833 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 834 bytesleft = ((numbytes / 2) - 2); in mptsas_get_handshake_msg() 860 if (totalbytes > (numbytes / 2)) { in mptsas_get_handshake_msg() 861 for (i = (numbytes / 2); i < totalbytes; i++) { in mptsas_get_handshake_msg()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 1739 int v4_idx, numbytes, inc; in smb_vop_catia_v5tov4() local 1754 if ((numbytes = smb_mbtowc(&wc, src, MTS_MB_CHAR_MAX)) < 0) in smb_vop_catia_v5tov4() 1759 inc = numbytes; in smb_vop_catia_v5tov4() 1774 src += numbytes; in smb_vop_catia_v5tov4() 1796 int v5_idx, numbytes; in smb_vop_catia_v4tov5() local 1813 numbytes = smb_wctomb(mbstring, in smb_vop_catia_v4tov5() 1815 if (space_left < numbytes) in smb_vop_catia_v4tov5() 1817 (void) strncpy(dst, mbstring, numbytes); in smb_vop_catia_v4tov5() 1819 if ((numbytes = smb_mbtowc(&wc, src, in smb_vop_catia_v4tov5() 1822 if (space_left < numbytes) in smb_vop_catia_v4tov5() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | setkeymap.c | 195 int numbytes, key_size = cur_term->_ksz; in setkeymap() local 248 (numbytes = (int)(sizeof (_KEY_MAP) * numkeys)))) == NULL) { in setkeymap() 268 (char *) keymap, numbytes); in setkeymap()
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | n2rng.h | 275 n2rng_setup_t *collect_setupp, void *buffer, int numbytes,
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 385 int numbytes, saltbytes; in dump_key() local 387 numbytes = SADB_1TO8(bitlen); in dump_key() 389 numbytes += saltbytes; in dump_key() 393 numbytes++; in dump_key() 395 while (numbytes-- != 0) { in dump_key() 405 numbytes == saltbytes) { in dump_key()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1332 int mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, 1334 int mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes,
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_tbolt.c | 889 int numbytes; in mrsas_tbolt_ioc_init() local 913 numbytes = sizeof (*init); in mrsas_tbolt_ioc_init() 914 bzero(init, numbytes); in mrsas_tbolt_ioc_init()
|