Searched refs:total_size (Results 1 – 10 of 10) sorted by relevance
| /net/batman-adv/ |
| A D | fragmentation.c | 176 chain->total_size = ntohs(frag_packet->total_size); in batadv_frag_insert_packet() 211 chain->total_size != ntohs(frag_packet->total_size) || in batadv_frag_insert_packet() 212 chain->total_size > batadv_frag_size_limit()) { in batadv_frag_insert_packet() 219 } else if (ntohs(frag_packet->total_size) == chain->size) { in batadv_frag_insert_packet() 264 size = ntohs(packet->total_size) + hdr_size; in batadv_frag_merge_packets() 355 u16 total_size; in batadv_frag_skb_fwd() local 367 total_size = ntohs(packet->total_size); in batadv_frag_skb_fwd() 368 if (total_size > neigh_node->if_incoming->net_dev->mtu) { in batadv_frag_skb_fwd() 490 frag_header.total_size = htons(skb->len); in batadv_frag_send_packet()
|
| A D | types.h | 306 u16 total_size; member
|
| /net/core/ |
| A D | net_test.c | 186 unsigned int total_size = 0, total_true_size = 0; in gso_test_func() local 207 total_size += frag_size; in gso_test_func() 211 skb->len += total_size; in gso_test_func() 212 skb->data_len += total_size; in gso_test_func()
|
| /net/nfc/ |
| A 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/ethtool/ |
| A D | rss.c | 119 u32 total_size, indir_bytes; in rss_get_data_alloc() local 130 total_size = indir_bytes + data->hkey_size; in rss_get_data_alloc() 131 rss_config = kzalloc(total_size, GFP_KERNEL); in rss_get_data_alloc() 206 u32 total_size, indir_bytes; in rss_prepare_ctx() local 221 total_size = indir_bytes + data->hkey_size; in rss_prepare_ctx() 222 rss_config = kzalloc(total_size, GFP_KERNEL); in rss_prepare_ctx()
|
| A D | ioctl.c | 1380 u32 total_size; in ethtool_get_rxfh() local 1413 total_size = indir_bytes + user_key_size; in ethtool_get_rxfh() 1414 rss_config = kzalloc(total_size, GFP_USER); in ethtool_get_rxfh() 1466 rss_config, total_size)) { in ethtool_get_rxfh()
|
| /net/bluetooth/ |
| A D | msft.c | 513 size_t total_size = sizeof(*cp) + sizeof(*pattern_data); in msft_add_monitor_sync() local 524 total_size += sizeof(*pattern) + entry->length; in msft_add_monitor_sync() 527 cp = kmalloc(total_size, GFP_KERNEL); in msft_add_monitor_sync() 552 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, total_size, cp, in msft_add_monitor_sync()
|
| /net/ipv4/netfilter/ |
| A D | arp_tables.c | 670 static int copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 689 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1339 static int compat_copy_entries_to_user(unsigned int total_size, in compat_copy_entries_to_user() argument 1356 size = total_size; in compat_copy_entries_to_user() 1357 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
| A D | ip_tables.c | 810 copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 829 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1550 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user() argument 1566 size = total_size; in compat_copy_entries_to_user() 1567 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
| /net/ipv6/netfilter/ |
| A D | ip6_tables.c | 826 copy_entries_to_user(unsigned int total_size, in copy_entries_to_user() argument 845 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1559 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user() argument 1575 size = total_size; in compat_copy_entries_to_user() 1576 xt_entry_foreach(iter, private->entries, total_size) { in compat_copy_entries_to_user()
|
Completed in 42 milliseconds