Home
last modified time | relevance | path

Searched refs:n_bytes (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_ops.c262 unsigned long n_bytes, ndr_ref_t *ref) in ndo_pad_pdu() argument
269 ndo_printf(nds, ref, "pad %d@%-3d", n_bytes, pdu_offset); in ndo_pad_pdu()
271 bzero(data, n_bytes); in ndo_pad_pdu()
285 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_get_pdu() argument
293 ndo_hexfmt(data, n_bytes, swap_bytes, hexbuf, NDOBUFSZ); in ndo_get_pdu()
296 n_bytes, pdu_offset, hexbuf); in ndo_get_pdu()
299 bcopy(data, buf, n_bytes); in ndo_get_pdu()
301 nds_bswap(data, (unsigned char *)buf, n_bytes); in ndo_get_pdu()
315 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_put_pdu() argument
323 ndo_hexfmt((uint8_t *)buf, n_bytes, 0, hexbuf, NDOBUFSZ); in ndo_put_pdu()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddkioc_free_util.c157 uint64_t n_bytes, n_segs, start_idx, i; in dfl_iter() local
220 n_bytes = n_segs = 0; in dfl_iter()
257 n_bytes = 0; in dfl_iter()
262 n_bytes + len > dfi->dfi_max_bytes) { in dfl_iter()
283 n_bytes = len; in dfl_iter()
298 n_bytes = 0; in dfl_iter()
315 n_bytes = len; in dfl_iter()
320 n_bytes += len; in dfl_iter()
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_client.c768 args.cookie.n_bytes = (char *)&xid; in nlm_call_lock()
960 cargs.cookie.n_bytes = (char *)&xid; in nlm_call_cancel()
1051 args.cookie.n_bytes = (char *)&xid; in nlm_call_unlock()
1123 args.cookie.n_bytes = (char *)&xid; in nlm_call_test()
1199 lock->fh.n_bytes = fh->n_bytes; in nlm_init_lock()
1201 lock->oh.n_bytes = (void *)oh; in nlm_init_lock()
1352 args.cookie.n_bytes = (char *)&xid; in nlm_call_share()
1430 args.cookie.n_bytes = (char *)&xid; in nlm_call_unshare()
1494 args->fh.n_bytes = fh->n_bytes; in nlm_init_share()
1496 args->oh.n_bytes = (void *)shr->s_owner; in nlm_init_share()
[all …]
H A Dnlm_impl.c535 dst->n_bytes = kmem_alloc(src->n_len, KM_SLEEP); in nlm_copy_netobj()
536 bcopy(src->n_bytes, dst->n_bytes, src->n_len); in nlm_copy_netobj()
1977 kmem_free(nslp->nsl_fh.n_bytes, nslp->nsl_fh.n_len); in nlm_slock_unregister()
2071 bcmp(alock->fh.n_bytes, nslp->nsl_lock.fh.n_bytes, in nlm_slock_grant()
2838 obj->n_bytes = (char *)&sin->sin_addr; in nlm_netbuf_to_netobj()
2847 obj->n_bytes = (char *)&sin6->sin6_addr; in nlm_netbuf_to_netobj()
H A Dnlm_service.c210 fhp = (fhandle3_t *)fh->n_bytes; in nlm_fh_to_vp()
428 lh->oh.n_bytes = (void *)oh; in nlm_do_test()
1045 oh = (void *) argp->alock.oh.n_bytes; in nlm_do_granted()
1184 shr->s_owner = nshare->oh.n_bytes; in nlm_init_shrlock()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/
H A Dfakensl.c66 npk.n_bytes = (char *)pk; in key_encryptsession_pk_g()
85 npk.n_bytes = (char *)pk; in key_decryptsession_pk_g()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c268 (unsigned char)regargs->address.n_bytes[i]); in nsmaddrproc1_reg()
330 memcmp(addr->ah.n_bytes, regargs->address.n_bytes, in nsmaddrproc1_reg()
338 (unsigned char)addr->ah.n_bytes[i]); in nsmaddrproc1_reg()
382 addr->ah.n_bytes = tmp_n_bytes; in nsmaddrproc1_reg()
392 (void) memcpy(addr->ah.n_bytes, regargs->address.n_bytes, in nsmaddrproc1_reg()
924 ipv4_addr = *(struct in_addr *)addr->ah.n_bytes; in pr_name_addr()
929 ipv6_addr = (char *)addr->ah.n_bytes; in pr_name_addr()
H A Dsm_statd.c1305 addr = *(struct in_addr *)ah->n_bytes; in record_addr()
1309 addr6 = (char *)ah->n_bytes; in record_addr()
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c274 extdhkey_t *keyent = (extdhkey_t *)no->n_bytes; in __nis_dhext_extract_pkey()
277 while (keyent < (extdhkey_t *)(no->n_bytes + no->n_len)) { in __nis_dhext_extract_pkey()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_des.c114 pkey.n_bytes = (char *)pkey_data; in authdes_seccreate()
154 (void) memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); in authdes_pk_seccreate()
420 pkey.n_bytes = (char *)(ad->ad_pkey); in authdes_refresh()
H A Dkey_call.c325 npk.n_bytes = (char *)remotekey; in key_encryptsession_pk_g()
395 npk.n_bytes = (char *)remotekey; in key_decryptsession_pk_g()
H A Dxdr.c467 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
H A Dauth_time.c153 srv->pkey.n_bytes = NULL; in get_server()
H A Dsvcauth_des.c244 pkey.n_bytes = pkey_data; in __svcauth_des()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_rx.c755 ixgbe_ring_rx_poll(void *arg, int n_bytes) in ixgbe_ring_rx_poll() argument
760 ASSERT(n_bytes >= 0); in ixgbe_ring_rx_poll()
762 if (n_bytes == 0) in ixgbe_ring_rx_poll()
766 mp = ixgbe_ring_rx(rx_ring, n_bytes); in ixgbe_ring_rx_poll()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c832 ssize_t n_bytes; in send_pkt_internal() local
1016 n_bytes = sendmsg(v6_sock_fd, &msg, 0); in send_pkt_internal()
1018 n_bytes = sendto(lif->lif_sock_ip_fd, dpkt->pkt, in send_pkt_internal()
1024 if (n_bytes != dpkt->pkt_cur_len) { in send_pkt_internal()
1025 msgtype = (n_bytes == -1) ? MSG_ERR : MSG_WARNING; in send_pkt_internal()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfsauth.c68 nbuf.buf = argp->req_client.n_bytes; in nfsauth_access()
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/
H A Dcommon_nvm.h55 extern int nvm_read(u32 nvm_addr, u32 n_bytes, u32 *read_buf);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_subr.c73 rlm_args.alock.fh.n_bytes = fh; in remote_lock()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c894 t4_poll_ring(void *arg, int n_bytes) in t4_poll_ring() argument
899 ASSERT(n_bytes >= 0); in t4_poll_ring()
900 if (n_bytes == 0) in t4_poll_ring()
904 mp = t4_ring_rx(rxq, n_bytes); in t4_poll_ring()
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr.c506 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
H A Dxdr.h515 char *n_bytes; member
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompile-i386.c522 static struct storage *stack_alloc(int n_bytes) in stack_alloc() argument
533 stor->size = n_bytes; in stack_alloc()
534 f->stack_size += n_bytes; in stack_alloc()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c4612 unsigned char *n_bytes; in pkinit_find_private_key() local
4651 n_bytes = (unsigned char *) malloc((size_t) n_len); in pkinit_find_private_key()
4652 if (n_bytes == NULL) { in pkinit_find_private_key()
4656 if (BN_bn2bin(rsan, n_bytes) == 0) { in pkinit_find_private_key()
4657 free (n_bytes); in pkinit_find_private_key()
4664 attrs[nattrs].pValue = n_bytes; in pkinit_find_private_key()
4669 free (n_bytes); in pkinit_find_private_key()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c3067 ql_ring_rx_poll(void *arg, int n_bytes) in ql_ring_rx_poll() argument
3074 ASSERT(n_bytes >= 0); in ql_ring_rx_poll()
3076 __func__, rx_ring->cq_id, n_bytes)); in ql_ring_rx_poll()
3080 if (n_bytes == 0) in ql_ring_rx_poll()
3083 mp = ql_ring_rx(rx_ring, n_bytes); in ql_ring_rx_poll()

12