Home
last modified time | relevance | path

Searched refs:nentries (Results 1 – 21 of 21) sorted by relevance

/f-stack/freebsd/arm64/acpica/
H A Dacpi_iort.c90 u_int nentries; /* items in array below */ member
129 if (node->data.smmu_v3.IdMappingIndex >= node->nentries) in iort_entry_get_id_mapping_index()
154 for (i = 0; i < node->nentries; i++, entry++) { in iort_entry_lookup()
160 if (i == node->nentries) in iort_entry_lookup()
230 node->nentries = node_entry->MappingCount; in iort_copy_data()
261 node->nentries = itsg_entry->ItsCount; in iort_copy_its()
266 for (i = 0; i < node->nentries; i++, its++, id++) { in iort_copy_its()
366 for (i = 0; i < node->nentries; i++) in iort_post_process_mappings()
369 for (i = 0; i < node->nentries; i++) in iort_post_process_mappings()
394 for (i = 0; i < its_node->nentries; i++, its_entry++) { in madt_resolve_its_xref()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_acl.c104 acl_from_aces(struct acl *aclp, const ace_t *aces, int nentries) in acl_from_aces() argument
110 if (nentries < 1) { in acl_from_aces()
115 if (nentries > ACL_MAX_ENTRIES) { in acl_from_aces()
127 aclp->acl_cnt = nentries; in acl_from_aces()
129 for (i = 0; i < nentries; i++) { in acl_from_aces()
174 aces_from_acl(ace_t *aces, int *nentries, const struct acl *aclp) in aces_from_acl() argument
182 *nentries = aclp->acl_cnt; in aces_from_acl()
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dql.c47 init_entries(list_t *entries, unsigned nentries) { in init_entries() argument
50 for (i = 0; i < nentries; i++) { in init_entries()
57 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) { in test_entries_list() argument
62 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list()
73 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list()
78 for (i = 0; i < nentries-1; i++) { in test_entries_list()
82 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list()
86 for (i = 1; i < nentries; i++) { in test_entries_list()
/f-stack/freebsd/kern/
H A Dsubr_hash.c114 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags) in phashinit_flags() argument
139 *nentries = hashsize; in phashinit_flags()
148 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit() argument
151 return (phashinit_flags(elements, type, nentries, HASH_WAITOK)); in phashinit()
/f-stack/lib/
H A Dff_kern_subr.c116 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags) in phashinit_flags() argument
141 *nentries = hashsize; in phashinit_flags()
150 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit() argument
153 return (phashinit_flags(elements, type, nentries, HASH_WAITOK)); in phashinit()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_filter.c262 for (i = fidx; i < fidx + nentries; i++) { in cxgbe_is_filter_set()
275 int cxgbe_alloc_ftid(struct adapter *adap, u8 nentries) in cxgbe_alloc_ftid() argument
282 if (nentries > 1) in cxgbe_alloc_ftid()
284 nentries); in cxgbe_alloc_ftid()
902 for (i = fidx; i < fidx + nentries; i++) in cxgbe_set_ftid()
916 for (i = fidx; i < fidx + nentries; i++) in cxgbe_clear_ftid()
935 u8 nentries; in cxgbe_del_filter() local
957 nentries = cxgbe_filter_slots(adapter, fs->type); in cxgbe_del_filter()
974 nentries); in cxgbe_del_filter()
1004 u8 nentries, bitoff[16] = {0}; in cxgbe_set_filter() local
[all …]
H A Dcxgbe_filter.h258 bool cxgbe_is_filter_set(struct tid_info *t, u32 fidx, u8 nentries);
266 int cxgbe_alloc_ftid(struct adapter *adap, u8 nentries);
H A Dcxgbe_flow.c535 u8 nentries; in cxgbe_validate_fidxondel() local
542 nentries = cxgbe_filter_slots(adap, fs.type); in cxgbe_validate_fidxondel()
543 if (!cxgbe_is_filter_set(&adap->tids, fidx, nentries)) { in cxgbe_validate_fidxondel()
555 u8 nentries; in cxgbe_validate_fidxonadd() local
557 nentries = cxgbe_filter_slots(adap, fs->type); in cxgbe_validate_fidxonadd()
558 if (cxgbe_is_filter_set(&adap->tids, fidx, nentries)) { in cxgbe_validate_fidxonadd()
589 u8 nentries; in cxgbe_get_fidx() local
592 nentries = cxgbe_filter_slots(adap, fs->type); in cxgbe_get_fidx()
593 idx = cxgbe_alloc_ftid(adap, nentries); in cxgbe_get_fidx()
H A Dsge.c2048 int ret, nentries; in t4_sge_alloc_eth_txq() local
2055 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2086 V_FW_EQ_ETH_CMD_EQSIZE(nentries)); in t4_sge_alloc_eth_txq()
2121 int ret, nentries; in t4_sge_alloc_ctrl_txq() local
2127 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2151 V_FW_EQ_CTRL_CMD_EQSIZE(nentries)); in t4_sge_alloc_ctrl_txq()
/f-stack/freebsd/mips/nlm/
H A Dboard.c106 int i, nentries; in nlm_get_vfbid_mapping() local
110 nentries = nitems(nlm3xx_vfbid); in nlm_get_vfbid_mapping()
113 nentries = nitems(nlm_vfbid); in nlm_get_vfbid_mapping()
117 for (i = 0; i < nentries; i++) { in nlm_get_vfbid_mapping()
/f-stack/freebsd/arm64/broadcom/genet/
H A Dif_genet.c140 int nentries; member
151 int nentries; member
656 int nentries) in gen_init_txring() argument
664 q->nentries = nentries; in gen_init_txring()
705 int nentries) in gen_init_rxring() argument
714 q->nentries = nentries; in gen_init_rxring()
1093 if (q->queued + nsegs > q->nentries) { in gen_encap()
1100 index = q->prod_idx & (q->nentries - 1); in gen_encap()
1123 cur = TX_NEXT(cur, q->nentries); in gen_encap()
1124 index = TX_NEXT(index, q->nentries); in gen_encap()
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dacl.h204 extern void aces_from_acl(ace_t *aces, int *nentries, const struct acl *aclp);
205 extern int acl_from_aces(struct acl *aclp, const ace_t *aces, int nentries);
/f-stack/freebsd/arm64/rockchip/
H A Drk_tsadc.c108 int nentries; member
195 .nentries = nitems(rk3288_calib_data),
249 .nentries = nitems(rk3328_calib_data),
305 .nentries = nitems(rk3399_calib_data),
323 ntbl = sc->conf->calib_info.nentries; in tsadc_temp_to_raw()
358 ntbl = sc->conf->calib_info.nentries; in tsadc_raw_to_temp()
/f-stack/freebsd/netgraph/netflow/
H A Dnetflow.c943 resp->nentries = 0; in ng_netflow_flow_show()
981 bcopy(&fle6->f, data6 + resp->nentries, in ng_netflow_flow_show()
985 bcopy(&fle->f, data + resp->nentries, in ng_netflow_flow_show()
987 resp->nentries++; in ng_netflow_flow_show()
988 if (resp->nentries == max) { in ng_netflow_flow_show()
H A Dng_netflow.h174 uint32_t nentries; /* number of records in response */ member
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzap_leaf.c828 int nentries = 0; in zap_leaf_stats() local
842 nentries++; in zap_leaf_stats()
845 n = nentries; in zap_leaf_stats()
/f-stack/freebsd/sys/
H A Dsystm.h257 void *phashinit(int count, struct malloc_type *type, u_long *nentries);
258 void *phashinit_flags(int count, struct malloc_type *type, u_long *nentries,
/f-stack/tools/compat/include/netgraph/netflow/
H A Dng_netflow.h174 uint32_t nentries; /* number of records in response */ member
/f-stack/freebsd/vm/
H A Dvm_map.h207 int nentries; /* Number of entries */ member
H A Dvm_map.c313 KASSERT(vm->vm_map.nentries == 0, in vmspace_zdtor()
314 ("vmspace %p nentries == %d on free", vm, vm->vm_map.nentries)); in vmspace_zdtor()
677 if (map->nupdates > map->nentries) { \
1425 map->nentries, entry); in vm_map_entry_link()
1427 map->nentries++; in vm_map_entry_link()
1517 map->nentries--; in vm_map_entry_unlink()
1519 map->nentries, entry); in vm_map_entry_unlink()
1547 __func__, map, map->nentries, entry); in vm_map_entry_resize()
5308 (void *)map->pmap, map->nentries, map->timestamp); in vm_map_print()
/f-stack/freebsd/contrib/openzfs/module/nvpair/
H A Dnvpair.c382 uint32_t nentries = 0; in nvt_resize() local
394 nentries++; in nvt_resize()
400 ASSERT3U(nentries, ==, priv->nvp_nentries); in nvt_resize()
406 priv->nvp_nentries = nentries; in nvt_resize()