/net/batman-adv/ |
D | translation-table.c | 329 atomic_add(v, &vlan->tt.num_entries); in batadv_tt_local_size_mod() 374 if (atomic_add_return(v, &vlan->tt.num_entries) == 0) { in batadv_tt_global_size_mod() 567 tt_local_entries += atomic_read(&vlan->tt.num_entries); in batadv_tt_local_table_transmit_size() 846 u16 num_entries = 0; in batadv_tt_prepare_tvlv_global_data() local 856 num_entries += atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_global_data() 864 *tt_len = batadv_tt_len(num_entries); in batadv_tt_prepare_tvlv_global_data() 931 vlan_entries = atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_local_data() 961 vlan_entries = atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_local_data() 3288 u16 num_entries) in batadv_tt_fill_gtable() argument 3300 _batadv_tt_update_changes(bat_priv, orig_node, tt_change, num_entries, in batadv_tt_fill_gtable() [all …]
|
D | types.h | 325 atomic_t num_entries; member
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 530 newinfo->number = repl->num_entries; in translate_table() 552 if (i < repl->num_entries) in translate_table() 561 if (i != repl->num_entries) in translate_table() 826 info.num_entries = private->number; in get_info() 1051 u32 num_entries; member 1170 info->number = compatr->num_entries; in translate_compat_table() 1174 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table() 1188 if (j != compatr->num_entries) in translate_compat_table() 1198 newinfo->number = compatr->num_entries; in translate_compat_table()
|
D | ip_tables.c | 671 newinfo->number = repl->num_entries; in translate_table() 692 if (i < repl->num_entries) in translate_table() 701 if (i != repl->num_entries) in translate_table() 983 info.num_entries = private->number; in get_info() 1205 u32 num_entries; member 1404 info->number = compatr->num_entries; in translate_compat_table() 1408 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table() 1422 if (j != compatr->num_entries) in translate_compat_table() 1432 newinfo->number = compatr->num_entries; in translate_compat_table()
|
/net/nfc/nci/ |
D | ntf.c | 54 pr_debug("num_entries %d\n", ntf->num_entries); in nci_core_conn_credits_ntf_packet() 56 if (ntf->num_entries > NCI_MAX_NUM_CONN) in nci_core_conn_credits_ntf_packet() 57 ntf->num_entries = NCI_MAX_NUM_CONN; in nci_core_conn_credits_ntf_packet() 60 for (i = 0; i < ntf->num_entries; i++) { in nci_core_conn_credits_ntf_packet()
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 689 newinfo->number = repl->num_entries; in translate_table() 710 if (i < repl->num_entries) in translate_table() 719 if (i != repl->num_entries) in translate_table() 1000 info.num_entries = private->number; in get_info() 1222 u32 num_entries; member 1420 info->number = compatr->num_entries; in translate_compat_table() 1424 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table() 1438 if (j != compatr->num_entries) in translate_compat_table() 1448 newinfo->number = compatr->num_entries; in translate_compat_table()
|
/net/sched/ |
D | act_ct.c | 62 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next() 242 int num_entries = action->num_entries; in tcf_ct_flow_table_fill_actions() local 267 for (i = num_entries; i < action->num_entries; i++) in tcf_ct_flow_table_fill_actions() 269 action->num_entries = num_entries; in tcf_ct_flow_table_fill_actions()
|
D | sch_taprio.c | 56 size_t num_entries; member 889 sched->num_entries = i; in parse_sched_list() 1149 static struct tc_taprio_qopt_offload *taprio_offload_alloc(int num_entries) in taprio_offload_alloc() argument 1153 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc() 1259 offload->num_entries = i; in taprio_sched_to_offload() 1277 offload = taprio_offload_alloc(sched->num_entries); in taprio_enable_offload() 1524 if (new_admin->num_entries == 0) { in taprio_change()
|
D | act_gate.c | 265 sched->num_entries = i; in parse_gate_list()
|
D | cls_api.c | 3717 entry->gate.num_entries = tcf_gate_num_entries(act); in tc_setup_flow_action()
|
/net/netfilter/ |
D | xt_repldata.h | 35 tbl->repl.num_entries = nhooks + 1; \
|
D | nf_flow_table_offload.c | 207 int i = flow_rule->rule->action.num_entries++; in flow_action_entry_next() 753 flow_rule->rule->action.num_entries = 0; in nf_flow_offload_rule_alloc() 772 for (i = 0; i < flow_rule->rule->action.num_entries; i++) { in __nf_flow_offload_destroy()
|
/net/core/ |
D | drop_monitor.c | 71 u32 num_entries; member 365 for (i = 0; i < hw_entries->num_entries; i++) { in net_dm_hw_entries_put() 464 for (i = 0; i < hw_entries->num_entries; i++) { in net_dm_hw_trap_summary_probe() 472 if (WARN_ON_ONCE(hw_entries->num_entries == dm_hit_limit)) in net_dm_hw_trap_summary_probe() 475 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe() 479 hw_entries->num_entries++; in net_dm_hw_trap_summary_probe()
|
D | flow_offload.c | 19 rule->action.num_entries = num_actions; in flow_rule_alloc()
|
/net/bridge/ |
D | br_private_mcast_eht.h | 22 unsigned int num_entries; member
|
D | br_multicast_eht.c | 171 eht_host->num_entries--; in __eht_del_set_entry() 310 if (!allow_zero_src && eht_host->num_entries >= PG_SRC_ENT_LIMIT) in __eht_lookup_create_set_entry() 332 eht_host->num_entries++; in __eht_lookup_create_set_entry()
|
/net/bluetooth/ |
D | hci_request.c | 779 struct hci_conn_params *params, u8 *num_entries, in add_to_accept_list() argument 791 if (*num_entries >= hdev->le_accept_list_size) in add_to_accept_list() 806 *num_entries += 1; in add_to_accept_list() 845 u8 num_entries = 0; in update_accept_list() local 887 num_entries++; in update_accept_list() 901 if (add_to_accept_list(req, params, &num_entries, allow_rpa)) in update_accept_list() 910 if (add_to_accept_list(req, params, &num_entries, allow_rpa)) in update_accept_list()
|
/net/sctp/ |
D | protocol.c | 1480 int num_entries; in sctp_init() local 1589 num_entries = (1UL << order) * PAGE_SIZE / in sctp_init() 1597 sctp_port_hashsize = rounddown_pow_of_two(num_entries); in sctp_init() 1609 num_entries); in sctp_init()
|
/net/smc/ |
D | smc_llc.c | 1461 int num_entries; in smc_llc_rmt_conf_rkey() local 1469 num_entries = llc->rtoken[0].num_rkeys; in smc_llc_rmt_conf_rkey() 1477 for (i = 1; i <= min_t(u8, num_entries, SMC_LLC_RKEYS_PER_MSG - 1); i++) in smc_llc_rmt_conf_rkey()
|