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.h857 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
/net/core/
Dnetpoll.c402 int total_len, ip_len, udp_len; in netpoll_send_udp() local
419 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
421 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
422 total_len - len); in netpoll_send_udp()
/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/dccp/
Dproto.c602 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local
607 total_len += slen; in dccp_getsockopt_service()
611 if (total_len > len) in dccp_getsockopt_service()
615 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
/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/l2tp/
Dl2tp_ppp.c267 size_t total_len) in pppol2tp_sendmsg() argument
294 2 + total_len, /* 2 bytes for PPP_ALLSTATIONS & PPP_UI */ in pppol2tp_sendmsg()
312 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg()
324 return total_len; in pppol2tp_sendmsg()
/net/phonet/
Dsocket.c418 size_t total_len) in pn_socket_sendmsg() argument
425 return sk->sk_prot->sendmsg(sk, m, total_len); in pn_socket_sendmsg()
/net/xdp/
Dxsk.c645 static int __xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in __xsk_sendmsg() argument
669 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in xsk_sendmsg() argument
674 ret = __xsk_sendmsg(sock, m, total_len); in xsk_sendmsg()
/net/ceph/
Dmessenger_v2.c1211 int total_len = ctrl_len + extdata_len; in __prepare_control() local
1216 total_len, ctrl_len, extdata_len); in __prepare_control()
1222 init_frame_desc(&desc, tag, &total_len, 1); in __prepare_control()
/net/mac80211/
Dmesh_plink.c547 elems->total_len, in mesh_sta_info_alloc()
Dieee80211_i.h1534 size_t total_len; member
Dutil.c1482 elems->total_len = len; in ieee802_11_parse_elems_crc()
/net/ethtool/
Dioctl.c1510 u32 total_len) in ethtool_get_any_eeprom() argument
1526 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()