/freebsd-current/sys/contrib/openzfs/cmd/zpool/zpool.d/ |
H A D | enc | 8 slot: Show disk slot number as reported by the enclosure. 9 encdev: Show /dev/sg* device associated with the enclosure disk slot. 10 fault_led: Show value of the disk enclosure slot fault LED. 11 locate_led: Show value of the disk enclosure slot locate LED. 12 ses: Show disk's enc, enc device, slot, and fault/locate LED values." 21 scripts='enc encdev slot fault_led locate_led' 42 slot) 46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | net_backend_netmap.c | 190 nm_buf = NETMAP_BUF(ring, ring->slot[head].buf_idx); 220 ring->slot[head].len = nm_buf_len; 221 ring->slot[head].flags = NS_MOREFRAG; 232 nm_buf = NETMAP_BUF(ring, ring->slot[head].buf_idx); 238 /* Complete the last slot, which must not have NS_MOREFRAG set. */ 239 ring->slot[head].len = nm_buf_len; 240 ring->slot[head].flags = 0; 260 struct netmap_slot *slot = ring->slot + head; local 262 totlen += slot 275 struct netmap_slot *slot = NULL; local [all...] |
/freebsd-current/sys/powerpc/powermac/ |
H A D | dbdma.c | 117 dbdma_get_cmd_status(dbdma_channel_t *chan, int slot) argument 126 return (le16toh(chan->sc_slots[slot].resCount)); 130 dbdma_clear_cmd_status(dbdma_channel_t *chan, int slot) argument 133 chan->sc_slots[slot].resCount = 0; 137 dbdma_get_residuals(dbdma_channel_t *chan, int slot) argument 142 return (le16toh(chan->sc_slots[slot].xferStatus)); 207 dbdma_set_current_cmd(dbdma_channel_t *chan, int slot) argument 211 cmd = chan->sc_slots_pa + slot * sizeof(struct dbdma_command); 278 dbdma_insert_command(dbdma_channel_t *chan, int slot, int command, int stream, argument 311 chan->sc_slots[slot] 315 dbdma_insert_stop(dbdma_channel_t *chan, int slot) argument 323 dbdma_insert_nop(dbdma_channel_t *chan, int slot) argument 331 dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot) argument [all...] |
/freebsd-current/contrib/xz/src/liblzma/simple/ |
H A D | ia64.c | 34 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) { 35 if (((mask >> slot) & 1) == 0)
|
/freebsd-current/sys/ufs/ufs/ |
H A D | dirhash.h | 39 * The hashing uses a dumb spillover to the next free slot on 82 #define DH_ENTRY(dh, slot) \ 83 ((dh)->dh_hash[(slot) >> DH_BLKOFFSHIFT][(slot) & DH_BLKOFFMASK])
|
H A D | ufs_dirhash.c | 96 static void ufsdirhash_delslot(struct dirhash *dh, int slot); 350 int j, memreqd, slot; local 453 slot = ufsdirhash_hash(dh, ep->d_name, ep->d_namlen); 454 while (DH_ENTRY(dh, slot) != DIRHASH_EMPTY) 455 slot = WRAPINCR(slot, dh->dh_hlen); 457 DH_ENTRY(dh, slot) = pos; 557 int i, slot; local 598 slot = ufsdirhash_hash(dh, name, namelen); 607 for (i = slot; (offse 808 int slot; local 849 int slot; local 876 int slot; local 1095 int slot; local 1117 ufsdirhash_delslot(struct dirhash *dh, int slot) argument [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | if_re_netmap.h | 97 struct netmap_slot *slot = &ring->slot[nm_i]; local 98 u_int len = slot->len; 100 void *addr = PNMB(na, slot, &paddr); 104 int cmd = slot->len | RL_TDESC_CMD_EOF | 112 if (slot->flags & NS_BUF_CHANGED) { 119 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED); 121 /* Fill the slot in the NIC ring. */ 217 ring->slot[nm_i].len = total_len; 218 ring->slot[nm_ 238 struct netmap_slot *slot = &ring->slot[nm_i]; local 291 struct netmap_slot *slot; local 319 struct netmap_slot *slot = netmap_reset(na, NR_RX, 0, 0); local [all...] |
H A D | if_vtnet_netmap.h | 85 struct netmap_slot *slot = &ring->slot[nm_i]; local 86 uint64_t offset = nm_get_offset(kring, slot); 87 u_int len = slot->len; 91 (void)PNMB(na, slot, &paddr); 94 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED); 173 struct netmap_slot *slot = &ring->slot[nm_i]; local 174 uint64_t offset = nm_get_offset(kring, slot); 176 void *addr = PNMB(na, slot, 216 struct netmap_slot *slot; local [all...] |
/freebsd-current/crypto/heimdal/kcm/ |
H A D | cache.c | 158 kcm_log(7, "cache %08x: empty slot"); 267 kcm_ccache slot = NULL, p; local 282 } else if (slot == NULL) 283 slot = p; 290 * Create an enpty slot for us. 292 if (slot == NULL) { 293 slot = (kcm_ccache_data *)malloc(sizeof(*slot)); 294 if (slot == NULL) { 298 slot [all...] |
/freebsd-current/sys/contrib/ck/include/spinlock/ |
H A D | anderson.h | 78 * appropriate wrap-around value in the case of next slot counter 104 struct ck_spinlock_anderson_thread **slot) 135 * Spin until slot is marked as unlocked. First slot is initialized to 141 /* Prepare slot for potential re-use by another thread. */ 145 *slot = lock->slots + position; 151 struct ck_spinlock_anderson_thread *slot) 157 /* Mark next slot as available. */ 159 position = (slot->position + 1) & lock->mask; 161 position = (slot 103 ck_spinlock_anderson_lock(struct ck_spinlock_anderson *lock, struct ck_spinlock_anderson_thread **slot) argument 150 ck_spinlock_anderson_unlock(struct ck_spinlock_anderson *lock, struct ck_spinlock_anderson_thread *slot) argument [all...] |
/freebsd-current/sys/arm/nvidia/ |
H A D | tegra_sdhci.c | 114 struct sdhci_slot slot; member in struct:tegra_sdhci_softc 126 tegra_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 135 tegra_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 144 tegra_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 158 tegra_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 168 tegra_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 178 tegra_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 188 tegra_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 198 tegra_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 212 sdhci_generic_intr(&sc->slot); 225 tegra_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) argument 419 struct sdhci_slot *slot = &sc->slot; local [all...] |
/freebsd-current/sys/powerpc/ps3/ |
H A D | mmu_ps3.c | 163 lv1_read_htab_entries(mps3_vas_id, pvo->pvo_pte.slot & ~0x3UL, 168 if ((halfbucket[pvo->pvo_pte.slot & 0x3] & LPTE_AVPN_MASK) != 172 if (!(halfbucket[pvo->pvo_pte.slot & 0x3] & LPTE_VALID)) 180 return ((rcbits >> ((3 - (pvo->pvo_pte.slot & 0x3))*16)) & 215 lv1_write_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, pte.pte_hi, 235 lv1_write_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, 0, 0); 252 pvo->pvo_pte.slot ^= (moea64_pteg_mask << 3); 255 pvo->pvo_pte.slot &= ~7UL; 260 result = lv1_insert_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, 274 if ((index & ~7UL) != pvo->pvo_pte.slot) [all...] |
/freebsd-current/sys/dev/siis/ |
H A D | siis.c | 72 static void siis_execute_transaction(struct siis_slot *slot); 74 static void siis_end_transaction(struct siis_slot *slot, enum siis_err_type et); 736 bzero(ch->slot, sizeof(ch->slot)); 738 struct siis_slot *slot = &ch->slot[i]; local 740 slot->dev = dev; 741 slot->slot = i; 742 slot 760 struct siis_slot *slot = &ch->slot[i]; local 977 struct siis_slot *slot; local 1014 struct siis_slot *slot = arg; local 1053 siis_execute_transaction(struct siis_slot *slot) argument 1152 struct siis_slot *slot = &ch->slot[i]; local 1169 struct siis_slot *slot = arg; local 1207 siis_end_transaction(struct siis_slot *slot, enum siis_err_type et) argument [all...] |
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_uapi.c | 363 void __rcu **slot; local 366 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 369 rcu_dereference_protected(*slot, true); 424 void __rcu **slot; local 428 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { 430 rcu_dereference_protected(*slot, true); 458 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { 462 rcu_dereference_protected(*slot, true); 466 rcu_dereference_protected(*slot, true); 475 void __rcu **slot; local 531 void __rcu **slot; local 685 void __rcu **slot; local 710 void __rcu **slot; local [all...] |
/freebsd-current/sys/dev/sdhci/ |
H A D | sdhci_pci.c | 174 sdhci_pci_read_1(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) 178 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, 180 return bus_read_1(sc->mem_res[slot->num], off); 184 sdhci_pci_write_1(device_t dev, struct sdhci_slot *slot __unused, 189 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, 191 bus_write_1(sc->mem_res[slot->num], off, val); 195 sdhci_pci_read_2(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) 199 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, 201 return bus_read_2(sc->mem_res[slot->num], off); 205 sdhci_pci_write_2(device_t dev, struct sdhci_slot *slot __unuse 333 struct sdhci_slot *slot; local [all...] |
H A D | fsl_sdhci.c | 83 struct sdhci_slot slot; member in struct:fsl_sdhci_softc 204 fsl_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 258 fsl_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 293 * This hardware only manages one slot. Synthesize a slot interrupt 295 * must be coming from our one and only slot. 315 fsl_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument 324 * register, but we filled it in by setting slot->max_clk at attach time 368 fsl_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument 377 fsl_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_ argument 420 fsl_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument 499 fsl_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument 512 fsl_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument 761 fsl_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) argument [all...] |
/freebsd-current/contrib/lib9p/ |
H A D | hashtable.c | 142 ssize_t slot = hash % h->ht_nentries; local 144 entry = &h->ht_entries[slot]; 163 * slot (well, the next slot with an item); in any case, we 164 * record the new slot and return the next item. 167 * searching at slot 0. 176 ssize_t slot; local 186 slot = iter->htit_slot; 187 while (++slot < h->ht_nentries) { 188 next = TAILQ_FIRST(&h->ht_entries[slot] 207 ssize_t slot; local [all...] |
/freebsd-current/sys/dev/ena/ |
H A D | ena_netmap.c | 111 struct netmap_slot *slot; local 141 slot = &ring->slot[nm_i]; 143 addr = PNMB(na, slot, &paddr); 145 ena_log_nm(adapter->pdev, ERR, "Bad buff in slot\n"); 159 rx_info->netmap_buf_idx = slot->buf_idx; 161 slot->buf_idx = 0; 175 struct netmap_slot *slot; local 209 slot = &kring->ring->slot[nm_ 523 ena_netmap_map_single_slot(struct netmap_adapter *na, struct netmap_slot *slot, bus_dma_tag_t dmatag, bus_dmamap_t dmamap, void **vaddr, uint64_t *paddr) argument 552 struct netmap_slot *slot; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 177 unsigned slot = 0; local 184 slot = R_PPC_JMP_SLOT; 187 slot = R_PPC64_JMP_SLOT; 191 slot = R_386_JUMP_SLOT; 194 slot = R_X86_64_JUMP_SLOT; 197 slot = R_ARM_JUMP_SLOT; 200 slot = R_HEX_JMP_SLOT; 203 slot = R_AARCH64_JUMP_SLOT; 206 slot = R_MIPS_JUMP_SLOT; 209 slot [all...] |
/freebsd-current/sys/contrib/ck/src/ |
H A D | ck_rhs.c | 81 CK_RHS_PROBE_RH, /* Short-circuit if RH slot found. */ 84 CK_RHS_PROBE_ROBIN_HOOD,/* Look for the first slot available for the entry we are about to replace, only used to internally implement Robin Hood */ 627 * If no eligible slot has been found yet, continue probe 742 * If no eligible slot has been found yet, continue probe 909 long slot, first; local 933 slot = map->probe_func(hs, map, &n_probes, &first, h, key, &object, 937 if (slot == -1 && first == -1) { 962 /* An empty slot was found. */ 963 h = ck_rhs_get_first_offset(map, slot, n_probes); 965 ck_pr_store_ptr(ck_rhs_entry_addr(map, slot), inser 989 ck_rhs_do_backward_shift_delete(struct ck_rhs *hs, long slot) argument 1074 long slot, first; local 1140 long slot, first; local 1240 long slot, first; local 1320 long slot, first; local 1422 long slot, first; local [all...] |
/freebsd-current/sys/dev/mvs/ |
H A D | mvs.c | 81 static void mvs_legacy_execute_transaction(struct mvs_slot *slot); 86 static void mvs_execute_transaction(struct mvs_slot *slot); 87 static void mvs_end_transaction(struct mvs_slot *slot, enum mvs_err_type et); 430 bzero(ch->slot, sizeof(ch->slot)); 432 struct mvs_slot *slot = &ch->slot[i]; local 434 slot->dev = dev; 435 slot->slot 454 struct mvs_slot *slot = &ch->slot[i]; local 839 struct mvs_slot *slot = &ch->slot[0]; /* PIO is always in slot 0. */ local 1019 int in_idx, fin_idx, cin_idx, slot; local 1181 struct mvs_slot *slot; local 1264 struct mvs_slot *slot = arg; local 1301 mvs_legacy_execute_transaction(struct mvs_slot *slot) argument 1415 mvs_execute_transaction(struct mvs_slot *slot) argument 1555 struct mvs_slot *slot = &ch->slot[i]; local 1572 struct mvs_slot *slot = arg; local 1602 mvs_end_transaction(struct mvs_slot *slot, enum mvs_err_type et) argument [all...] |
/freebsd-current/sys/dev/pci/controller/ |
H A D | pci_n1sdp.c | 142 u_int bus, u_int slot, u_int func) 148 bdf = PCIE_ADDR_OFFSET(bus, slot, func, 0); 230 n1sdp_get_bus_space(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 237 if (n1sdp_check_bdf(sc, bus, slot, func) == 0) 241 if (slot != 0 || func != 0) 249 *offset = PCIE_ADDR_OFFSET(bus - sc->acpi.base.bus_start, slot, func, 256 n1sdp_pcie_read_config(device_t dev, u_int bus, u_int slot, argument 273 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || 277 if (n1sdp_get_bus_space(dev, bus, slot, func, reg, &t, &h, &offset) !=0) 302 n1sdp_pcie_write_config(device_t dev, u_int bus, u_int slot, argument 141 n1sdp_check_bdf(struct generic_pcie_n1sdp_softc *sc, u_int bus, u_int slot, u_int func) argument [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | ntp_worker.c | 132 u_int slot; local 138 for (slot = 0; slot < blocking_children_alloc; slot++) { 139 if (NULL == blocking_children[slot]) 140 return slot; 141 if (blocking_children[slot]->reusable) { 142 blocking_children[slot]->reusable = FALSE; 143 return slot;
|
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_pcibvar.h | 34 int slot, int pin);
|
/freebsd-current/sys/dev/mps/ |
H A D | mps_mapping.h | 40 * @slot: slot ID 48 uint16_t slot; member in struct:_map_phy_change
|