Searched refs:n_ids (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/net/openvswitch/
H A Dvport.h58 * @rn_ids: The reciprocal value of @n_ids.
60 * @n_ids: Size of @ids array.
67 u32 n_ids; member in struct:vport_portids
H A Dvport.c363 vport_portids->n_ids = nla_len(ids) / sizeof(u32); ovs_vport_set_upcall_portids()
364 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); ovs_vport_set_upcall_portids()
397 ids->n_ids * sizeof(u32), (void *)ids->ids); ovs_vport_get_upcall_portids()
421 if (ids->n_ids == 1 && ids->ids[0] == 0) ovs_vport_find_upcall_portid()
425 ids_index = hash - ids->n_ids * reciprocal_divide(hash, ids->rn_ids); ovs_vport_find_upcall_portid()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c1685 lnet_ping(lnet_process_id_t id, int timeout_ms, lnet_process_id_t *ids, int n_ids) lnet_ping() argument
1695 int infosz = offsetof(lnet_ping_info_t, pi_ni[n_ids]); lnet_ping()
1704 if (n_ids <= 0 || lnet_ping()
1707 n_ids > 20) /* arbitrary limit! */ lnet_ping()
1836 if (info->pi_nnis < n_ids) lnet_ping()
1837 n_ids = info->pi_nnis; lnet_ping()
1839 if (nob < offsetof(lnet_ping_info_t, pi_ni[n_ids])) { lnet_ping()
1841 nob, (int)offsetof(lnet_ping_info_t, pi_ni[n_ids])); lnet_ping()
1848 for (i = 0; i < n_ids; i++) { lnet_ping()
/linux-4.4.14/net/wireless/
H A Dutil.c1294 static bool ieee80211_id_in_list(const u8 *ids, int n_ids, u8 id) ieee80211_id_in_list() argument
1298 for (i = 0; i < n_ids; i++) ieee80211_id_in_list()
1305 const u8 *ids, int n_ids, ieee80211_ie_split_ric()
1311 while (pos < ielen && ieee80211_id_in_list(ids, n_ids, ies[pos])) { ieee80211_ie_split_ric()
1329 const u8 *ids, int n_ids, size_t offset) ieee80211_ie_split()
1331 return ieee80211_ie_split_ric(ies, ielen, ids, n_ids, NULL, 0, offset); ieee80211_ie_split()
1304 ieee80211_ie_split_ric(const u8 *ies, size_t ielen, const u8 *ids, int n_ids, const u8 *after_ric, int n_after_ric, size_t offset) ieee80211_ie_split_ric() argument
1328 ieee80211_ie_split(const u8 *ies, size_t ielen, const u8 *ids, int n_ids, size_t offset) ieee80211_ie_split() argument
/linux-4.4.14/tools/perf/util/
H A Dheader.c2712 u32 i, ids, n_ids; perf_event__process_attr() local
2730 n_ids = ids / sizeof(u64); perf_event__process_attr()
2736 if (perf_evsel__alloc_id(evsel, 1, n_ids)) perf_event__process_attr()
2739 for (i = 0; i < n_ids; i++) { perf_event__process_attr()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
H A Dlib-lnet.h666 lnet_process_id_t *ids, int n_ids);
/linux-4.4.14/include/net/
H A Dcfg80211.h5127 * @n_ids: the size of the element ID array
5148 const u8 *ids, int n_ids,
5158 * @n_ids: the size of the element ID array
5177 const u8 *ids, int n_ids, size_t offset);

Completed in 288 milliseconds