Searched refs:n_ids (Results 1 – 3 of 3) sorted by relevance
/net/openvswitch/ |
D | vport.c | 416 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids() 417 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); in ovs_vport_set_upcall_portids() 450 ids->n_ids * sizeof(u32), (void *)ids->ids); in ovs_vport_get_upcall_portids() 476 if (ids->n_ids == 1) in ovs_vport_find_upcall_portid() 480 ids_index = hash - ids->n_ids * reciprocal_divide(hash, ids->rn_ids); in ovs_vport_find_upcall_portid()
|
D | vport.h | 56 u32 n_ids; member
|
/net/wireless/ |
D | util.c | 1884 static bool ieee80211_id_in_list(const u8 *ids, int n_ids, u8 id, bool id_ext) in ieee80211_id_in_list() argument 1889 if (WARN_ON(ids[n_ids - 1] == WLAN_EID_EXTENSION)) in ieee80211_id_in_list() 1893 while (i < n_ids) { in ieee80211_id_in_list() 1930 const u8 *ids, int n_ids, in ieee80211_ie_split_ric() argument 1944 if (!ieee80211_id_in_list(ids, n_ids, ies[pos + ext], in ieee80211_ie_split_ric()
|