Searched refs:nbytes (Results 1 – 12 of 12) sorted by relevance
| /net/sunrpc/ |
| A D | xdr.c | 56 if (likely(nbytes != 0)) { in xdr_encode_opaque_fixed() 61 memcpy(p, ptr, nbytes); in xdr_encode_opaque_fixed() 80 *p++ = cpu_to_be32(nbytes); in xdr_encode_opaque() 1014 size_t nbytes) in xdr_get_next_encode_buffer() argument 1020 if (nbytes > PAGE_SIZE) in xdr_get_next_encode_buffer() 1084 nbytes += 3; in xdr_reserve_space() 1085 nbytes &= ~3; in xdr_reserve_space() 1086 q = p + (nbytes >> 2); in xdr_reserve_space() 1127 while (nbytes) { in xdr_reserve_space_vec() 1135 nbytes -= thislen; in xdr_reserve_space_vec() [all …]
|
| /net/atm/ |
| A D | mpoa_proc.c | 52 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++) { in proc_mpc_write()
|
| /net/ethtool/ |
| A D | bitset.c | 249 unsigned int nbytes = nwords * sizeof(u32); in ethnl_put_bitset32() local 252 attr = nla_reserve(skb, ETHTOOL_A_BITSET_VALUE, nbytes); in ethnl_put_bitset32() 256 memcpy(dst, val, nbytes); in ethnl_put_bitset32() 261 attr = nla_reserve(skb, ETHTOOL_A_BITSET_MASK, nbytes); in ethnl_put_bitset32() 265 memcpy(dst, mask, nbytes); in ethnl_put_bitset32() 473 unsigned int nbytes = nwords * sizeof(u32); in ethnl_update_bitset32_verbose() local 482 memcpy(saved_bitmap, bitmap, nbytes); in ethnl_update_bitset32_verbose()
|
| /net/core/ |
| A D | netprio_cgroup.c | 196 char *buf, size_t nbytes, loff_t off) in write_priomap() argument 216 return ret ?: nbytes; in write_priomap()
|
| /net/can/j1939/ |
| A D | transport.c | 1825 int nbytes; in j1939_xtp_rx_dat_one() local 1875 nbytes = se_skb->len - offset; in j1939_xtp_rx_dat_one() 1876 if (nbytes > 7) in j1939_xtp_rx_dat_one() 1877 nbytes = 7; in j1939_xtp_rx_dat_one() 1878 if (nbytes <= 0 || (nbytes + 1) > skb->len) { in j1939_xtp_rx_dat_one() 1880 __func__, session, nbytes, skb->len); in j1939_xtp_rx_dat_one() 1886 memcpy(&tpdat[offset], &dat[1], nbytes); in j1939_xtp_rx_dat_one() 1890 err = memcmp(&tpdat[offset], &dat[1], nbytes); in j1939_xtp_rx_dat_one() 1895 nbytes, &dat[1], in j1939_xtp_rx_dat_one() 1896 nbytes, &tpdat[offset]); in j1939_xtp_rx_dat_one()
|
| /net/ipv6/ |
| A D | tcp_ao.c | 117 const struct in6_addr *saddr, int nbytes) in tcp_v6_ao_hash_pseudoheader() argument 126 bp->len = cpu_to_be32(nbytes); in tcp_v6_ao_hash_pseudoheader()
|
| A D | tcp_ipv6.c | 696 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument 707 bp->len = cpu_to_be32(nbytes); in tcp_v6_md5_hash_headers()
|
| /net/rds/ |
| A D | message.c | 422 unsigned long to_copy, nbytes; in rds_message_copy_from_user() local 450 nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user() 452 if (nbytes != to_copy) in rds_message_copy_from_user()
|
| /net/batman-adv/ |
| A D | tp_meter.c | 535 u8 *buf, size_t nbytes) in batadv_tp_fill_prerandom() argument 544 tp_vars->prerandom_offset += nbytes; in batadv_tp_fill_prerandom() 548 while (nbytes) { in batadv_tp_fill_prerandom() 551 to_copy = min(nbytes, bytes_inbuf); in batadv_tp_fill_prerandom() 555 nbytes -= to_copy; in batadv_tp_fill_prerandom()
|
| /net/sunrpc/auth_gss/ |
| A D | gss_krb5_crypto.c | 481 u32 blocksize, nbytes, nblocks, cbcbytes; in krb5_cbc_cts_encrypt() local 486 nbytes = buf->len - offset; in krb5_cbc_cts_encrypt() 487 nblocks = (nbytes + blocksize - 1) / blocksize; in krb5_cbc_cts_encrypt()
|
| /net/ipv4/ |
| A D | tcp_ao.c | 440 int nbytes) in tcp_v4_ao_hash_pseudoheader() argument 450 bp->len = cpu_to_be16(nbytes); in tcp_v4_ao_hash_pseudoheader() 460 struct tcp_sigpool *hp, int nbytes) in tcp_ao_hash_pseudoheader() argument
|
| A D | tcp_ipv4.c | 1582 const struct tcphdr *th, int nbytes) argument 1593 bp->len = cpu_to_be16(nbytes);
|
Completed in 88 milliseconds