Searched refs:n_ids (Results 1 – 3 of 3) sorted by relevance
/net/openvswitch/ |
D | vport.c | 350 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids() 351 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); in ovs_vport_set_upcall_portids() 384 ids->n_ids * sizeof(u32), (void *)ids->ids); in ovs_vport_get_upcall_portids() 410 if (ids->n_ids == 1) in ovs_vport_find_upcall_portid() 414 ids_index = hash - ids->n_ids * reciprocal_divide(hash, ids->rn_ids); in ovs_vport_find_upcall_portid()
|
D | vport.h | 54 u32 n_ids; member
|
/net/wireless/ |
D | util.c | 1519 static bool ieee80211_id_in_list(const u8 *ids, int n_ids, u8 id, bool id_ext) in ieee80211_id_in_list() argument 1524 if (WARN_ON(ids[n_ids - 1] == WLAN_EID_EXTENSION)) in ieee80211_id_in_list() 1528 while (i < n_ids) { in ieee80211_id_in_list() 1565 const u8 *ids, int n_ids, in ieee80211_ie_split_ric() argument 1579 if (!ieee80211_id_in_list(ids, n_ids, ies[pos + ext], in ieee80211_ie_split_ric()
|