Home
last modified time | relevance | path

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

/net/nfc/nci/
Ddata.c97 int total_len = skb->len; in nci_queue_tx_data_frags() local
105 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags()
115 while (total_len) { in nci_queue_tx_data_frags()
117 min_t(int, total_len, conn_info->max_pkt_payload_len); in nci_queue_tx_data_frags()
133 ((total_len == frag_len) ? in nci_queue_tx_data_frags()
139 total_len -= frag_len; in nci_queue_tx_data_frags()
142 frag_len, total_len); in nci_queue_tx_data_frags()
/net/rds/
Dmessage.c334 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len) in rds_message_map_pages() argument
338 int num_sgs = DIV_ROUND_UP(total_len, PAGE_SIZE); in rds_message_map_pages()
346 rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); in rds_message_map_pages()
347 rm->data.op_nents = DIV_ROUND_UP(total_len, PAGE_SIZE); in rds_message_map_pages()
Drds.h855 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
/net/core/
Dnetpoll.c382 int total_len, ip_len, udp_len; in netpoll_send_udp() local
398 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
400 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
401 total_len - len); in netpoll_send_udp()
Dethtool.c1493 u32 total_len) in ethtool_get_any_eeprom() argument
1509 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
/net/atm/
Dcommon.h19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
/net/ipv6/
Draw.c547 int total_len; in rawv6_push_pending_frames() local
559 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
561 total_len -= opt ? opt->opt_flen : 0; in rawv6_push_pending_frames()
563 if (offset >= total_len - 1) { in rawv6_push_pending_frames()
609 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
/net/bluetooth/
Da2mp.c46 u16 total_len = len + sizeof(*cmd); in a2mp_send() local
55 iv.iov_len = total_len; in a2mp_send()
59 iov_iter_kvec(&msg.msg_iter, WRITE, &iv, 1, total_len); in a2mp_send()
61 l2cap_chan_send(chan, &msg, total_len); in a2mp_send()
/net/dccp/
Dproto.c607 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local
612 total_len += slen; in dccp_getsockopt_service()
616 if (total_len > len) in dccp_getsockopt_service()
620 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
/net/l2tp/
Dl2tp_ppp.c273 size_t total_len) in pppol2tp_sendmsg() argument
300 2 + total_len, /* 2 bytes for PPP_ALLSTATIONS & PPP_UI */ in pppol2tp_sendmsg()
318 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg()
330 return total_len; in pppol2tp_sendmsg()
/net/mac80211/
Dmesh_sync.c105 elems->total_len + in mesh_sync_offset_rx_bcn_presp()
Dmesh_plink.c543 elems->total_len, in mesh_sta_info_alloc()
Dieee80211_i.h1473 size_t total_len; member
Dutil.c1353 elems->total_len = len; in ieee802_11_parse_elems_crc()
/net/phonet/
Dsocket.c419 size_t total_len) in pn_socket_sendmsg() argument
426 return sk->sk_prot->sendmsg(sk, m, total_len); in pn_socket_sendmsg()
/net/xdp/
Dxsk.c415 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in xsk_sendmsg() argument