Home
last modified time | relevance | path

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

/net/batman-adv/
A Dtranslation-table.c302 atomic_add(v, &vlan->tt.num_entries); in batadv_tt_local_size_mod()
800 u16 num_entries = 0; in batadv_tt_prepare_tvlv_global_data() local
810 num_entries += atomic_read(&vlan->tt.num_entries); in batadv_tt_prepare_tvlv_global_data()
817 *tt_len = batadv_tt_len(num_entries); in batadv_tt_prepare_tvlv_global_data()
3241 u16 num_entries) in batadv_tt_fill_gtable() argument
3319 u8 *resp_src, u16 num_entries) in batadv_handle_tt_response() argument
3329 resp_src, tt_data->ttvn, num_entries, in batadv_handle_tt_response()
3343 resp_src, num_entries); in batadv_handle_tt_response()
3939 u16 num_entries, num_vlan; in batadv_tt_tvlv_ogm_handler_v1() local
3956 num_entries = batadv_tt_entries(tvlv_value_len); in batadv_tt_tvlv_ogm_handler_v1()
[all …]
A Dtypes.h331 atomic_t num_entries; member
/net/ipv4/netfilter/
A Darp_tables.c531 newinfo->number = repl->num_entries; in translate_table()
553 if (i < repl->num_entries) in translate_table()
562 if (i != repl->num_entries) in translate_table()
827 info.num_entries = private->number; in get_info()
1056 u32 num_entries; member
1175 info->number = compatr->num_entries; in translate_compat_table()
1179 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1193 if (j != compatr->num_entries) in translate_compat_table()
1203 newinfo->number = compatr->num_entries; in translate_compat_table()
A Dip_tables.c670 newinfo->number = repl->num_entries; in translate_table()
691 if (i < repl->num_entries) in translate_table()
700 if (i != repl->num_entries) in translate_table()
982 info.num_entries = private->number; in get_info()
1208 u32 num_entries; member
1407 info->number = compatr->num_entries; in translate_compat_table()
1411 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1425 if (j != compatr->num_entries) in translate_compat_table()
1435 newinfo->number = compatr->num_entries; in translate_compat_table()
/net/ipv6/netfilter/
A Dip6_tables.c687 newinfo->number = repl->num_entries; in translate_table()
708 if (i < repl->num_entries) in translate_table()
717 if (i != repl->num_entries) in translate_table()
998 info.num_entries = private->number; in get_info()
1224 u32 num_entries; member
1422 info->number = compatr->num_entries; in translate_compat_table()
1426 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1440 if (j != compatr->num_entries) in translate_compat_table()
1450 newinfo->number = compatr->num_entries; in translate_compat_table()
/net/nfc/nci/
A Dntf.c54 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/core/
A Ddrop_monitor.c72 u32 num_entries; member
360 for (i = 0; i < hw_entries->num_entries; i++) { in net_dm_hw_entries_put()
459 for (i = 0; i < hw_entries->num_entries; i++) { in net_dm_hw_trap_summary_probe()
467 if (WARN_ON_ONCE(hw_entries->num_entries == dm_hit_limit)) in net_dm_hw_trap_summary_probe()
470 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe()
474 hw_entries->num_entries++; in net_dm_hw_trap_summary_probe()
A Dflow_offload.c20 rule->action.num_entries = num_actions; in flow_rule_alloc()
41 fl_action->action.num_entries = num_actions; in offload_action_alloc()
/net/netfilter/
A Dxt_repldata.h35 tbl->repl.num_entries = nhooks + 1; \
A Dnf_flow_table_offload.c218 int i = flow_rule->rule->action.num_entries++; in flow_action_entry_next()
764 flow_rule->rule->action.num_entries = 0; in nf_flow_offload_rule_alloc()
783 for (i = 0; i < flow_rule->rule->action.num_entries; i++) { in __nf_flow_offload_destroy()
/net/sched/
A Dact_ct.c70 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next()
248 int num_entries = action->num_entries; in tcf_ct_flow_table_fill_actions() local
279 for (i = num_entries; i < action->num_entries; i++) in tcf_ct_flow_table_fill_actions()
281 action->num_entries = num_entries; in tcf_ct_flow_table_fill_actions()
A Dsch_taprio.c81 size_t num_entries; member
1121 sched->num_entries = i; in parse_sched_list()
1167 if (new->cycle_time < new->num_entries * length_to_duration(q, ETH_ZLEN)) { in parse_taprio_schedule()
1374 static struct tc_taprio_qopt_offload *taprio_offload_alloc(int num_entries) in taprio_offload_alloc() argument
1378 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1483 offload->num_entries = i; in taprio_sched_to_offload()
1543 offload = taprio_offload_alloc(sched->num_entries); in taprio_enable_offload()
1913 if (new_admin->num_entries == 0) { in taprio_change()
A Dact_gate.c263 sched->num_entries = i; in parse_gate_list()
615 entry->gate.num_entries = tcf_gate_num_entries(act); in tcf_gate_offload_act_setup()
/net/bridge/
A Dbr_private_mcast_eht.h22 unsigned int num_entries; member
A Dbr_multicast_eht.c171 eht_host->num_entries--; in __eht_del_set_entry()
313 if (!allow_zero_src && eht_host->num_entries >= PG_SRC_ENT_LIMIT) in __eht_lookup_create_set_entry()
335 eht_host->num_entries++; in __eht_lookup_create_set_entry()
/net/sctp/
A Dprotocol.c1505 int num_entries; in sctp_init() local
1608 num_entries = (1UL << order) * PAGE_SIZE / in sctp_init()
1616 sctp_port_hashsize = rounddown_pow_of_two(num_entries); in sctp_init()
1628 num_entries); in sctp_init()
/net/bluetooth/
A Dhci_sync.c2460 u8 *num_entries) in hci_le_add_accept_list_sync() argument
2474 if (*num_entries >= hdev->le_accept_list_size) in hci_le_add_accept_list_sync()
2499 *num_entries += 1; in hci_le_add_accept_list_sync()
2736 u8 num_entries = 0; in hci_update_accept_list_sync() local
2781 num_entries = 1; in hci_update_accept_list_sync()
2783 &num_entries); in hci_update_accept_list_sync()
2815 num_entries++; in hci_update_accept_list_sync()
2840 &num_entries); in hci_update_accept_list_sync()
2862 &num_entries); in hci_update_accept_list_sync()
/net/smc/
A Dsmc_llc.c1765 int num_entries; in smc_llc_rmt_conf_rkey() local
1773 num_entries = llc->rtoken[0].num_rkeys; in smc_llc_rmt_conf_rkey()
1774 if (num_entries > SMC_LLC_RKEYS_PER_MSG) in smc_llc_rmt_conf_rkey()
1783 for (i = 1; i <= min_t(u8, num_entries, SMC_LLC_RKEYS_PER_MSG - 1); i++) in smc_llc_rmt_conf_rkey()

Completed in 71 milliseconds