Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/netfilter/
Darp_tables.c540 newinfo->number = repl->num_entries; in translate_table()
562 if (i < repl->num_entries) in translate_table()
571 if (i != repl->num_entries) in translate_table()
826 info.num_entries = private->number; in get_info()
1054 u32 num_entries; member
1173 info->number = compatr->num_entries; in translate_compat_table()
1177 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1191 if (j != compatr->num_entries) in translate_compat_table()
1199 newinfo->number = compatr->num_entries; in translate_compat_table()
Dip_tables.c684 newinfo->number = repl->num_entries; in translate_table()
705 if (i < repl->num_entries) in translate_table()
714 if (i != repl->num_entries) in translate_table()
985 info.num_entries = private->number; in get_info()
1210 u32 num_entries; member
1409 info->number = compatr->num_entries; in translate_compat_table()
1413 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1427 if (j != compatr->num_entries) in translate_compat_table()
1435 newinfo->number = compatr->num_entries; in translate_compat_table()
/net/batman-adv/
Dtranslation-table.c349 atomic_add(v, &vlan->tt.num_entries); in batadv_tt_local_size_mod()
394 if (atomic_add_return(v, &vlan->tt.num_entries) == 0) { in batadv_tt_global_size_mod()
584 tt_local_entries += atomic_read(&vlan->tt.num_entries); in batadv_tt_local_table_transmit_size()
868 u16 num_entries = 0; in batadv_tt_prepare_tvlv_global_data() local
878 num_entries += atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_global_data()
886 *tt_len = batadv_tt_len(num_entries); in batadv_tt_prepare_tvlv_global_data()
952 vlan_entries = atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_local_data()
982 vlan_entries = atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_local_data()
3516 u16 num_entries) in batadv_tt_fill_gtable() argument
3528 _batadv_tt_update_changes(bat_priv, orig_node, tt_change, num_entries, in batadv_tt_fill_gtable()
[all …]
Dtypes.h242 atomic_t num_entries; member
/net/nfc/nci/
Dntf.c49 pr_debug("num_entries %d\n", ntf->num_entries); in nci_core_conn_credits_ntf_packet()
51 if (ntf->num_entries > NCI_MAX_NUM_CONN) in nci_core_conn_credits_ntf_packet()
52 ntf->num_entries = NCI_MAX_NUM_CONN; in nci_core_conn_credits_ntf_packet()
55 for (i = 0; i < ntf->num_entries; i++) { in nci_core_conn_credits_ntf_packet()
/net/ipv6/netfilter/
Dip6_tables.c702 newinfo->number = repl->num_entries; in translate_table()
723 if (i < repl->num_entries) in translate_table()
732 if (i != repl->num_entries) in translate_table()
1003 info.num_entries = private->number; in get_info()
1228 u32 num_entries; member
1426 info->number = compatr->num_entries; in translate_compat_table()
1430 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1444 if (j != compatr->num_entries) in translate_compat_table()
1452 newinfo->number = compatr->num_entries; in translate_compat_table()
/net/netfilter/
Dxt_repldata.h35 tbl->repl.num_entries = nhooks + 1; \
/net/sctp/
Dprotocol.c1372 int num_entries; in sctp_init() local
1478 num_entries = (1UL << order) * PAGE_SIZE / in sctp_init()
1486 sctp_port_hashsize = rounddown_pow_of_two(num_entries); in sctp_init()
1498 num_entries); in sctp_init()