Home
last modified time | relevance | path

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

/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dhash.c29 unsigned num_slots; member
108 hc->num_slots = new_size; in dm_hash_create()
128 for (i = 0; i < t->num_slots; i++) in _free_nodes()
145 unsigned h = _hash(key, len) & (t->num_slots - 1); in _find()
227 for (i = 0; i < t->num_slots; i++) in dm_hash_iter()
237 memset(t->slots, 0, sizeof(struct dm_hash_node *) * t->num_slots); in dm_hash_wipe()
258 for (i = s; i < t->num_slots && !c; i++) in _next_slot()
271 unsigned h = _hash(n->key, n->keylen) & (t->num_slots - 1); in dm_hash_get_next()
/dragonfly/sys/dev/disk/sdhci/
H A Dsdhci_pci.c144 int num_slots; /* Number of slots on this controller */ member
377 struct sdhci_slot *slot = &sc->slots[sc->num_slots]; in sdhci_pci_attach()
395 sc->num_slots++; in sdhci_pci_attach()
397 device_printf(dev, "%d slot(s) allocated\n", sc->num_slots); in sdhci_pci_attach()
405 for (i = 0; i < sc->num_slots; i++) { in sdhci_pci_attach()
425 for (i = 0; i < sc->num_slots; i++) { in sdhci_pci_detach()
456 for (i = 0; i < sc->num_slots; i++) in sdhci_pci_suspend()
467 for (i = 0; i < sc->num_slots; i++) in sdhci_pci_resume()
478 for (i = 0; i < sc->num_slots; i++) { in sdhci_pci_intr()
/dragonfly/sys/dev/raid/mpr/
H A Dmpr_mapping.c92 enc_entry->num_slots = 0; in _mapping_clear_enc_entry()
962 if (num_found == et_entry->num_slots) { in _mapping_find_enc_map_space()
1078 enc_entry->num_slots)) in _mapping_find_enc_map_space()
1092 enc_entry->num_slots - 1)) in _mapping_find_enc_map_space()
1117 enc_entry->num_slots); map_idx++, in _mapping_find_enc_map_space()
1672 et_entry->num_slots; in _mapping_add_new_device()
1929 et_entry->num_slots; in _mapping_add_new_pcie_device()
2210 u16 slot_id, entry_num, num_slots; in _mapping_process_dpm_pg0() local
2290 num_slots = max_num_phy_ids; in _mapping_process_dpm_pg0()
2312 et_entry->num_slots = num_slots; in _mapping_process_dpm_pg0()
[all …]
H A Dmprvar.h147 u16 num_slots; member
/dragonfly/sys/dev/raid/mps/
H A Dmps_mapping.c91 enc_entry->num_slots = 0; in _mapping_clear_enc_entry()
776 if (num_found == et_entry->num_slots) { in _mapping_find_enc_map_space()
788 if (num_found == et_entry->num_slots) { in _mapping_find_enc_map_space()
831 enc_entry->num_slots)) in _mapping_find_enc_map_space()
846 enc_entry->num_slots - 1)) in _mapping_find_enc_map_space()
858 enc_entry->num_slots); map_idx++, in _mapping_find_enc_map_space()
1201 et_entry->num_slots; in _mapping_add_new_device()
1464 u16 slot_id, entry_num, num_slots; in _mapping_process_dpm_pg0() local
1518 num_slots = max_num_phy_ids; in _mapping_process_dpm_pg0()
1539 et_entry->num_slots = num_slots; in _mapping_process_dpm_pg0()
[all …]
H A Dmpsvar.h170 u16 num_slots; member
/dragonfly/sys/net/netmap/
H A Dnetmap_generic.c350 u_int num_slots = kring->nkr_num_slots; in generic_netmap_tx_clean() local
372 if (unlikely(++ntc == num_slots)) { in generic_netmap_tx_clean()
461 u_int j, k, num_slots = kring->nkr_num_slots; in generic_netmap_txsync() local
472 if (unlikely(k >= num_slots)) { in generic_netmap_txsync()
486 new_slots += num_slots; in generic_netmap_txsync()
546 if (unlikely(++j == num_slots)) in generic_netmap_txsync()
562 kring->nr_hwreserved += num_slots; in generic_netmap_txsync()
H A Dnetmap_user.h89 ((i)+1 == (r)->num_slots ? 0 : (i) + 1 )
93 (r)->cur + (r)->num_slots - (r)->reserved : \
99 #define NETMAP_TX_RING_EMPTY(r) ((r)->avail >= (r)->num_slots - 1)
H A Dnetmap.h220 const uint32_t num_slots; /* number of slots in the ring. */ member
H A Dnetmap_mem2.c937 *(uint32_t *)(uintptr_t)&ring->num_slots = ndesc; in netmap_mem_rings_create()
966 *(uint32_t *)(uintptr_t)&ring->num_slots = ndesc; in netmap_mem_rings_create()
/dragonfly/sys/dev/drm/
H A Ddrm_dp_mst_topology.c942 port->vcpi.num_slots = 0; in drm_dp_destroy_port()
1885 req_payload.num_slots = mgr->proposed_vcpis[i]->num_slots; in drm_dp_update_payload_part1()
1896 if (mgr->payloads[i].num_slots != req_payload.num_slots) { in drm_dp_update_payload_part1()
1901 mgr->payloads[i].num_slots = req_payload.num_slots; in drm_dp_update_payload_part1()
2573 int num_slots; in drm_dp_find_vcpi_slots() local
2578 if (num_slots > 63) in drm_dp_find_vcpi_slots()
2580 return num_slots; in drm_dp_find_vcpi_slots()
2595 vcpi->num_slots = slots; in drm_dp_init_vcpi()
2746 port->vcpi.num_slots = 0; in drm_dp_mst_reset_vcpi_slots()
2763 port->vcpi.num_slots = 0; in drm_dp_mst_deallocate_vcpi()
[all …]
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_dp_mst_helper.h42 int num_slots; member
403 int num_slots; member
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c151 if (mst_mgr->payloads[i].num_slots == 0) in get_payload_table()
165 sa->slot_count = mst_mgr->payloads[i].num_slots; in get_payload_table()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dreorg.c1268 int num_slots = XVECLEN (PATTERN (insn), 0); in try_merge_delay_insns() local
1286 for (int i = 1; i < num_slots; i++) in try_merge_delay_insns()
1332 if (++slot_number == num_slots) in try_merge_delay_insns()
1344 if (slot_number != num_slots in try_merge_delay_insns()
1364 for (int j = 1; slot_number + j < num_slots; j++) in try_merge_delay_insns()
1398 if (++slot_number == num_slots) in try_merge_delay_insns()
1418 if (slot_number == num_slots && annul_p) in try_merge_delay_insns()
H A Dfunction.c1028 int num_slots; in combine_temp_slots() local
1038 for (p = avail_temp_slots, num_slots = 0; p; p = p->next, num_slots++) in combine_temp_slots()
1039 if (num_slots > 100 || (num_slots > 10 && optimize == 0)) in combine_temp_slots()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dreorg.c1455 int num_slots = XVECLEN (PATTERN (insn), 0); in try_merge_delay_insns() local
1474 for (i = 1 ; i < num_slots; i++) in try_merge_delay_insns()
1522 if (++slot_number == num_slots) in try_merge_delay_insns()
1534 if (slot_number != num_slots in try_merge_delay_insns()
1574 if (++slot_number == num_slots) in try_merge_delay_insns()
1594 if (slot_number == num_slots && annul_p) in try_merge_delay_insns()
H A Dfunction.c1036 int num_slots; in combine_temp_slots() local
1046 for (p = avail_temp_slots, num_slots = 0; p; p = p->next, num_slots++) in combine_temp_slots()
1047 if (num_slots > 100 || (num_slots > 10 && optimize == 0)) in combine_temp_slots()
/dragonfly/sys/dev/netif/iwn/
H A Dif_iwnvar.h40 uint8_t num_slots; member