Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 6 of 6) sorted by relevance

/net/sunrpc/
Dxdr.c61 __be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes) in xdr_encode_opaque_fixed() argument
63 if (likely(nbytes != 0)) { in xdr_encode_opaque_fixed()
64 unsigned int quadlen = XDR_QUADLEN(nbytes); in xdr_encode_opaque_fixed()
65 unsigned int padding = (quadlen << 2) - nbytes; in xdr_encode_opaque_fixed()
68 memcpy(p, ptr, nbytes); in xdr_encode_opaque_fixed()
70 memset((char *)p + nbytes, 0, padding); in xdr_encode_opaque_fixed()
85 __be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes) in xdr_encode_opaque() argument
87 *p++ = cpu_to_be32(nbytes); in xdr_encode_opaque()
88 return xdr_encode_opaque_fixed(p, ptr, nbytes); in xdr_encode_opaque()
490 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space() argument
[all …]
/net/atm/
Dmpoa_proc.c51 size_t nbytes, loff_t *ppos);
207 size_t nbytes, loff_t *ppos) in proc_mpc_write() argument
212 if (nbytes == 0) in proc_mpc_write()
215 if (nbytes >= PAGE_SIZE) in proc_mpc_write()
216 nbytes = PAGE_SIZE-1; in proc_mpc_write()
222 for (p = page, len = 0; len < nbytes; p++, len++) { in proc_mpc_write()
/net/core/
Dgen_estimator.c118 u64 nbytes; in est_timer() local
128 nbytes = e->bstats->bytes; in est_timer()
130 brate = (nbytes - e->last_bytes)<<(7 - idx); in est_timer()
131 e->last_bytes = nbytes; in est_timer()
/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c653 int nblocks, nbytes; in gss_krb5_aes_encrypt() local
718 nbytes = buf->len - offset - GSS_KRB5_TOK_HDR_LEN; in gss_krb5_aes_encrypt()
719 nblocks = (nbytes + blocksize - 1) / blocksize; in gss_krb5_aes_encrypt()
/net/ipv6/
Dtcp_ipv6.c568 const struct in6_addr *saddr, int nbytes) in tcp_v6_md5_hash_pseudoheader() argument
578 bp->len = cpu_to_be32(nbytes); in tcp_v6_md5_hash_pseudoheader()
/net/ipv4/
Dtcp_ipv4.c1116 __be32 daddr, __be32 saddr, int nbytes) in tcp_v4_md5_hash_pseudoheader() argument
1132 bp->len = cpu_to_be16(nbytes); in tcp_v4_md5_hash_pseudoheader()