Home
last modified time | relevance | path

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

12

/net/nfc/nci/
Ddata.c90 int total_len = skb->len; in nci_queue_tx_data_frags() local
98 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags()
102 while (total_len) { in nci_queue_tx_data_frags()
104 min_t(int, total_len, ndev->max_data_pkt_payload_size); in nci_queue_tx_data_frags()
120 ((total_len == frag_len) ? in nci_queue_tx_data_frags()
126 total_len -= frag_len; in nci_queue_tx_data_frags()
129 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.h661 size_t total_len);
662 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.c124 elems->total_len + in mesh_sync_offset_rx_bcn_presp()
Dmesh_plink.c444 elems->total_len, in mesh_sta_info_alloc()
Dieee80211_i.h1159 size_t total_len; member
/net/tipc/
Dport.c98 unsigned int total_len) in tipc_multicast() argument
121 res = tipc_msg_build(hdr, msg_sect, num_sect, total_len, MAX_MSG_SIZE, in tipc_multicast()
445 unsigned int total_len, int err) in tipc_port_reject_sections() argument
450 res = tipc_msg_build(hdr, msg_sect, num_sect, total_len, MAX_MSG_SIZE, in tipc_port_reject_sections()
1181 unsigned int total_len) in tipc_port_recv_sections() argument
1186 res = tipc_msg_build(&sender->phdr, msg_sect, num_sect, total_len, in tipc_port_recv_sections()
1197 unsigned int total_len) in tipc_send() argument
1212 total_len, destnode); in tipc_send()
1215 total_len); in tipc_send()
1226 return total_len; in tipc_send()
[all …]
Dport.h213 unsigned int total_len);
217 unsigned int total_len);
221 unsigned int total_len);
228 unsigned int total_len);
232 unsigned int total_len, int err);
Dsocket.c492 struct msghdr *m, size_t total_len) in send_msg() argument
506 if (total_len > TIPC_MAX_USER_MSG_SIZE) in send_msg()
523 ((sock->type == SOCK_STREAM) && (total_len != 0))) { in send_msg()
548 total_len); in send_msg()
554 total_len); in send_msg()
567 total_len); in send_msg()
602 struct msghdr *m, size_t total_len) in send_packet() argument
612 return send_msg(iocb, sock, m, total_len); in send_packet()
614 if (total_len > TIPC_MAX_USER_MSG_SIZE) in send_packet()
632 total_len); in send_packet()
[all …]
Dmsg.c76 u32 num_sect, unsigned int total_len, in tipc_msg_build() argument
81 dsz = total_len; in tipc_msg_build()
Dlink.c98 u32 num_sect, unsigned int total_len,
1102 unsigned int total_len, in tipc_link_send_sections_fast() argument
1117 res = tipc_msg_build(hdr, msg_sect, num_sect, total_len, in tipc_link_send_sections_fast()
1160 num_sect, total_len, in tipc_link_send_sections_fast()
1172 total_len, TIPC_ERR_NO_NODE); in tipc_link_send_sections_fast()
1193 unsigned int total_len, in link_send_sections_long() argument
1199 u32 dsz = total_len; in link_send_sections_long()
1323 total_len, TIPC_ERR_NO_NODE); in link_send_sections_long()
Dlink.h231 unsigned int total_len,
Dmsg.h725 u32 num_sect, unsigned int total_len,
/net/atm/
Dcommon.h19 size_t total_len);
Dcommon.c575 size_t total_len) in vcc_sendmsg() argument
/net/sunrpc/xprtrdma/
Drpc_rdma.c564 unsigned int i, total_len; in rpcrdma_count_chunks() local
571 total_len = 0; in rpcrdma_count_chunks()
583 total_len += ntohl(seg->rs_length); in rpcrdma_count_chunks()
597 return total_len; in rpcrdma_count_chunks()
/net/dccp/
Dproto.c589 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local
594 total_len += slen; in dccp_getsockopt_service()
598 if (total_len > len) in dccp_getsockopt_service()
602 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
/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()
361 return total_len; in pppol2tp_sendmsg()
/net/ipv6/
Draw.c534 int total_len; in rawv6_push_pending_frames() local
545 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
546 if (offset >= total_len - 1) { in rawv6_push_pending_frames()
589 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
/net/core/
Dnetpoll.c426 int total_len, ip_len, udp_len; in netpoll_send_udp() local
440 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
442 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
443 total_len - len); in netpoll_send_udp()
Dethtool.c798 u32 total_len) in ethtool_get_any_eeprom() argument
814 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
/net/bluetooth/
Da2mp.c49 u16 total_len = len + sizeof(*cmd); in a2mp_send() local
58 iv.iov_len = total_len; in a2mp_send()
65 l2cap_chan_send(chan, &msg, total_len, 0); in a2mp_send()
/net/
Dsocket.c1989 int err, ctl_len, total_len; in ___sys_sendmsg() local
2016 total_len = err; in ___sys_sendmsg()
2063 err = sock_sendmsg_nosec(sock, msg_sys, total_len); in ___sys_sendmsg()
2066 err = sock_sendmsg(sock, msg_sys, total_len); in ___sys_sendmsg()
2192 int err, total_len, len; in ___sys_recvmsg() local
2231 total_len = err; in ___sys_recvmsg()
2239 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()

12