Home
last modified time | relevance | path

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

/net/nfc/nci/
A 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/
A 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()
A Drds.h857 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
/net/ethtool/
A Dmodule.c449 int err_msg_len, sub_err_msg_len, total_len; in ethnl_module_fw_flash_ntf_put_err() local
456 total_len = err_msg_len + 2; /* For period and NUL. */ in ethnl_module_fw_flash_ntf_put_err()
460 total_len += sub_err_msg_len + 2; /* For ", ". */ in ethnl_module_fw_flash_ntf_put_err()
464 total_len); in ethnl_module_fw_flash_ntf_put_err()
A Dioctl.c1923 u32 total_len) in ethtool_get_any_eeprom() argument
1939 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
/net/core/
A Dnetpoll.c501 int total_len, ip_len, udp_len; in netpoll_send_udp() local
513 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
515 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
516 total_len - len); in netpoll_send_udp()
/net/mac80211/
A Dparse.c887 elems->ie_start, elems->total_len) { in ieee80211_prep_mle_link_parse()
904 elems->total_len, in ieee80211_prep_mle_link_parse()
961 elems->total_len, in ieee80211_mle_defrag_reconf()
982 elems->total_len, in ieee80211_mle_defrag_epcs()
1021 elems->total_len = params->len; in ieee802_11_parse_elems_full()
A Dmesh_plink.c567 elems->total_len, in mesh_sta_info_alloc()
A Dieee80211_i.h1757 size_t total_len; member
A Dmlme.c2692 cfg80211_iter_rnr(elems->ie_start, elems->total_len, in ieee80211_sta_other_link_csa_disappeared()
3071 cfg80211_iter_rnr(elems->ie_start, elems->total_len, in ieee80211_mgd_update_bss_param_ch_cnt()
/net/atm/
A Dcommon.h19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
/net/ipv6/
A Draw.c518 int total_len; in rawv6_push_pending_frames() local
530 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
532 total_len -= opt ? opt->opt_flen : 0; in rawv6_push_pending_frames()
534 if (offset >= total_len - 1) { in rawv6_push_pending_frames()
580 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
/net/vmw_vsock/
A Dvirtio_transport.c310 int total_len = VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE; in virtio_vsock_rx_fill() local
319 skb = virtio_vsock_alloc_linear_skb(total_len, GFP_KERNEL); in virtio_vsock_rx_fill()
324 sg_init_one(&pkt, virtio_vsock_hdr(skb), total_len); in virtio_vsock_rx_fill()
/net/l2tp/
A Dl2tp_ppp.c261 size_t total_len) in pppol2tp_sendmsg() argument
288 2 + total_len, /* 2 bytes for PPP_ALLSTATIONS & PPP_UI */ in pppol2tp_sendmsg()
306 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg()
318 return total_len; in pppol2tp_sendmsg()
/net/phonet/
A Dsocket.c417 size_t total_len) in pn_socket_sendmsg() argument
424 return sk->sk_prot->sendmsg(sk, m, total_len); in pn_socket_sendmsg()
/net/xdp/
A Dxsk.c906 static int __xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in __xsk_sendmsg() argument
937 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in xsk_sendmsg() argument
942 ret = __xsk_sendmsg(sock, m, total_len); in xsk_sendmsg()
/net/rxrpc/
A Drxgk.c616 static struct page *rxgk_alloc_packet(size_t total_len) in rxgk_alloc_packet() argument
621 order = get_order(total_len); in rxgk_alloc_packet()
/net/ceph/
A Dmessenger_v2.c1324 int total_len = ctrl_len + extdata_len; in __prepare_control() local
1329 total_len, ctrl_len, extdata_len); in __prepare_control()
1335 init_frame_desc(&desc, tag, &total_len, 1); in __prepare_control()

Completed in 69 milliseconds