Searched refs:total_size (Results 1 – 8 of 8) sorted by relevance
/net/batman-adv/ |
D | fragmentation.c | 177 chain->total_size = ntohs(frag_packet->total_size); in batadv_frag_insert_packet() 212 chain->total_size != ntohs(frag_packet->total_size) || in batadv_frag_insert_packet() 213 chain->total_size > batadv_frag_size_limit()) { in batadv_frag_insert_packet() 220 } else if (ntohs(frag_packet->total_size) == chain->size) { in batadv_frag_insert_packet() 265 size = ntohs(packet->total_size) + hdr_size; in batadv_frag_merge_packets() 357 u16 total_size; in batadv_frag_skb_fwd() local 372 total_size = ntohs(packet->total_size); in batadv_frag_skb_fwd() 373 if (total_size > neigh_node->if_incoming->net_dev->mtu) { in batadv_frag_skb_fwd() 496 frag_header.total_size = htons(skb->len); in batadv_frag_send_packet()
|
D | types.h | 300 u16 total_size; member
|
/net/bluetooth/ |
D | msft.c | 487 size_t total_size = sizeof(*cp) + sizeof(*pattern_data); in __msft_add_monitor_pattern() local 497 total_size += sizeof(*pattern) + entry->length; in __msft_add_monitor_pattern() 500 cp = kmalloc(total_size, GFP_KERNEL); in __msft_add_monitor_pattern() 526 hci_req_add(&req, hdev->msft_opcode, total_size, cp); in __msft_add_monitor_pattern()
|
/net/nfc/ |
D | core.c | 719 unsigned int total_size; in nfc_alloc_send_skb() local 721 total_size = size + in nfc_alloc_send_skb() 724 skb = sock_alloc_send_skb(sk, total_size, flags & MSG_DONTWAIT, err); in nfc_alloc_send_skb() 740 unsigned int total_size; in nfc_alloc_recv_skb() local 742 total_size = size + 1; in nfc_alloc_recv_skb() 743 skb = alloc_skb(total_size, gfp); in nfc_alloc_recv_skb()
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 669 static int copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 688 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1330 static int compat_copy_entries_to_user(unsigned int total_size, in compat_copy_entries_to_user() argument 1347 size = total_size; in compat_copy_entries_to_user() 1348 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
D | ip_tables.c | 811 copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 830 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1543 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user() argument 1559 size = total_size; in compat_copy_entries_to_user() 1560 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 828 copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 847 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1553 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user() argument 1569 size = total_size; in compat_copy_entries_to_user() 1570 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
/net/ethtool/ |
D | ioctl.c | 1164 u32 total_size; in ethtool_get_rxfh() local 1201 total_size = indir_bytes + user_key_size; in ethtool_get_rxfh() 1202 rss_config = kzalloc(total_size, GFP_USER); in ethtool_get_rxfh() 1226 rss_config, total_size)) { in ethtool_get_rxfh()
|