Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 19 of 19) sorted by relevance

/net/nfc/nci/
Ddata.c87 int total_len = skb->len; in nci_queue_tx_data_frags() local
95 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags()
99 while (total_len) { in nci_queue_tx_data_frags()
101 min_t(int, total_len, ndev->max_data_pkt_payload_size); in nci_queue_tx_data_frags()
117 ((total_len == frag_len) ? in nci_queue_tx_data_frags()
123 total_len -= frag_len; in nci_queue_tx_data_frags()
126 frag_len, total_len); in nci_queue_tx_data_frags()
/net/rds/
Dmessage.c238 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len) in rds_message_map_pages() argument
242 int num_sgs = ceil(total_len, PAGE_SIZE); in rds_message_map_pages()
250 rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); in rds_message_map_pages()
251 rm->data.op_nents = ceil(total_len, PAGE_SIZE); in rds_message_map_pages()
268 size_t total_len) in rds_message_copy_from_user() argument
277 rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); in rds_message_copy_from_user()
287 while (total_len) { in rds_message_copy_from_user()
289 ret = rds_page_remainder_alloc(sg, total_len, in rds_message_copy_from_user()
303 to_copy = min_t(size_t, to_copy, total_len); in rds_message_copy_from_user()
317 total_len -= to_copy; in rds_message_copy_from_user()
Drds.h662 size_t total_len);
663 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
/net/mac80211/
Daes_cmac.c44 size_t i, e, left, total_len; in aes_128_cmac_vector() local
48 total_len = 0; in aes_128_cmac_vector()
50 total_len += len[e]; in aes_128_cmac_vector()
51 left = total_len; in aes_128_cmac_vector()
75 if (left || total_len == 0) { in aes_128_cmac_vector()
Dmesh_sync.c104 elems->total_len + in mesh_sync_offset_rx_bcn_presp()
Dmesh_plink.c456 elems->total_len, in mesh_sta_info_alloc()
Dieee80211_i.h1355 size_t total_len; member
Dutil.c760 elems->total_len = len; in ieee802_11_parse_elems_crc()
/net/core/
Dnetpoll.c381 int total_len, ip_len, udp_len; in netpoll_send_udp() local
395 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
397 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
398 total_len - len); in netpoll_send_udp()
Dethtool.c987 u32 total_len) in ethtool_get_any_eeprom() argument
1003 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
/net/atm/
Dcommon.h19 size_t total_len);
Dcommon.c573 size_t total_len) in vcc_sendmsg() argument
/net/sunrpc/xprtrdma/
Drpc_rdma.c570 unsigned int i, total_len; in rpcrdma_count_chunks() local
577 total_len = 0; in rpcrdma_count_chunks()
589 total_len += ntohl(seg->rs_length); in rpcrdma_count_chunks()
603 return total_len; in rpcrdma_count_chunks()
/net/dccp/
Dproto.c596 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local
601 total_len += slen; in dccp_getsockopt_service()
605 if (total_len > len) in dccp_getsockopt_service()
609 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
/net/ipv6/
Draw.c544 int total_len; in rawv6_push_pending_frames() local
555 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
556 if (offset >= total_len - 1) { in rawv6_push_pending_frames()
598 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
/net/l2tp/
Dl2tp_ppp.c299 size_t total_len) in pppol2tp_sendmsg() argument
331 sizeof(ppph) + total_len, in pppol2tp_sendmsg()
349 error = memcpy_fromiovec(skb_put(skb, total_len), m->msg_iov, in pppol2tp_sendmsg()
350 total_len); in pppol2tp_sendmsg()
363 return total_len; in pppol2tp_sendmsg()
/net/bluetooth/
Da2mp.c50 u16 total_len = len + sizeof(*cmd); in a2mp_send() local
59 iv.iov_len = total_len; in a2mp_send()
66 l2cap_chan_send(chan, &msg, total_len); in a2mp_send()
/net/
Dsocket.c2035 int err, ctl_len, total_len; in ___sys_sendmsg() local
2063 total_len = err; in ___sys_sendmsg()
2110 err = sock_sendmsg_nosec(sock, msg_sys, total_len); in ___sys_sendmsg()
2113 err = sock_sendmsg(sock, msg_sys, total_len); in ___sys_sendmsg()
2239 int err, total_len, len; in ___sys_recvmsg() local
2277 total_len = err; in ___sys_recvmsg()
2288 total_len, flags); in ___sys_recvmsg()
/net/phonet/
Dsocket.c429 struct msghdr *m, size_t total_len) in pn_socket_sendmsg() argument
436 return sk->sk_prot->sendmsg(iocb, sk, m, total_len); in pn_socket_sendmsg()