Searched refs:numbytes (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_init.c174 int numbytes;
179 numbytes = sizeof (*facts);
184 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) {
200 int numbytes;
212 numbytes = sizeof (*factsreply);
217 if (mptsas_get_handshake_msg(mpt, memp, numbytes, accessp)) {
394 int numbytes; local
400 numbytes = sizeof (*facts);
405 if (mptsas_send_handshake_msg(mpt, memp, numbytes, accessp)) {
420 int numbytes;
[all...]
H A Dmptsas_impl.c719 mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, argument
730 ((numbytes / 4) << MPI2_DOORBELL_ADD_DWORDS_SHIFT)));
751 for (i = 0; (i < numbytes / 4); i++, memp += 4) {
771 mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, argument
809 if (totalbytes > (numbytes / 2)) {
810 bytesleft = ((numbytes / 2) - 2);
836 if (totalbytes > (numbytes / 2)) {
837 for (i = (numbytes / 2); i < totalbytes; i++) {
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetkeymap.c197 int numbytes, key_size = cur_term->_ksz; local
250 (numbytes = (int)(sizeof (_KEY_MAP) * numkeys)))) == NULL) {
270 (char *) keymap, numbytes);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c1532 int v4_idx, numbytes, inc; local
1547 if ((numbytes = smb_mbtowc(&wc, src, MTS_MB_CHAR_MAX)) < 0)
1552 inc = numbytes;
1567 src += numbytes;
1589 int v5_idx, numbytes; local
1606 numbytes = smb_wctomb(mbstring,
1608 if (space_left < numbytes)
1610 (void) strncpy(dst, mbstring, numbytes);
1612 if ((numbytes = smb_mbtowc(&wc, src,
1615 if (space_left < numbytes)
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dddi.c403 btop(size_t numbytes) argument
405 return (numbytes >> PAGESHIFT);
414 btopr(size_t numbytes) argument
416 return ((numbytes + PAGEOFFSET) >> PAGESHIFT);
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng.c504 * Collects a buffer full of bits, using the specified setup. numbytes
514 n2rng_setup_t *collect_setupp, void *buffer, int numbytes,
530 if (numbytes % sizeof (uint64_t)) {
538 numchunks = ((numbytes / sizeof (uint64_t)) + RNG_DIAG_CHUNK_SIZE - 1)
606 if (numbytes > 0) {
609 numbytes - i * (RNG_DIAG_CHUNK_SIZE *
513 n2rng_collect_diag_bits(n2rng_t *n2rng, int rngid, n2rng_setup_t *collect_setupp, void *buffer, int numbytes, n2rng_setup_t *exit_setupp, uint64_t exitstate) argument
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h275 n2rng_setup_t *collect_setupp, void *buffer, int numbytes,
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c380 int numbytes, saltbytes; local
382 numbytes = SADB_1TO8(bitlen);
384 numbytes += saltbytes;
388 numbytes++;
390 while (numbytes-- != 0) {
400 numbytes == saltbytes) {
/illumos-gate/usr/src/boot/lib/libstand/
H A Dpkgfs.c97 char numbytes[12]; member in struct:ustar_hdr::__anon87::__anon89::gnu_sparse
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1305 int mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes,
1307 int mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes,
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_tbolt.c892 int numbytes; local
916 numbytes = sizeof (*init);
917 bzero(init, numbytes);

Completed in 312 milliseconds