Searched refs:slot (Results 26 - 50 of 331) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_disk_set_standard_lookup.c146 int slot; local
151 slot = id % cache->size;
152 if (cache->cache[slot].name != NULL) {
153 if (cache->cache[slot].id == id) {
155 if (cache->cache[slot].name == NO_NAME)
157 return (cache->cache[slot].name);
159 if (cache->cache[slot].name != NO_NAME)
160 free((void *)(uintptr_t)cache->cache[slot].name);
161 cache->cache[slot].name = NULL;
167 cache->cache[slot]
[all...]
/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_offloadings.c138 struct netmap_slot *slot = NULL; local
161 slot = &ring->slot[*j];
162 dst = BDG_NMB(&dst_na->up, slot);
165 /* We are processing the first input slot and there is a mismatch
297 slot->len = gso_bytes;
298 slot->flags = 0;
303 /* Next destination slot. */
305 slot = &ring->slot[*
[all...]
H A Dixgbe_netmap.h200 * the corresponding slot in the NIC ring. Some drivers also
201 * need to update the buffer's physical address in the NIC slot
212 * to prefetch the next slot and txr entry.
219 __builtin_prefetch(&ring->slot[nm_i]);
223 struct netmap_slot *slot = &ring->slot[nm_i]; local
224 u_int len = slot->len;
226 void *addr = PNMB(slot, &paddr);
231 int flags = (slot->flags & NS_REPORT ||
236 __builtin_prefetch(&ring->slot[nm_
426 struct netmap_slot *slot = &ring->slot[nm_i]; local
[all...]
H A Dif_re_netmap.h96 struct netmap_slot *slot = &ring->slot[nm_i]; local
97 u_int len = slot->len;
99 void *addr = PNMB(slot, &paddr);
103 int cmd = slot->len | RL_TDESC_CMD_EOF |
111 if (slot->flags & NS_BUF_CHANGED) {
118 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED);
120 /* Fill the slot in the NIC ring. */
220 ring->slot[nm_i].len = total_len;
221 ring->slot[nm_
241 struct netmap_slot *slot = &ring->slot[nm_i]; local
297 struct netmap_slot *slot; local
329 struct netmap_slot *slot = netmap_reset(na, NR_RX, 0, 0); local
[all...]
H A Dif_em_netmap.h144 struct netmap_slot *slot = &ring->slot[nm_i]; local
145 u_int len = slot->len;
147 void *addr = PNMB(slot, &paddr);
152 int flags = (slot->flags & NS_REPORT ||
158 if (slot->flags & NS_BUF_CHANGED) {
163 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED);
165 /* Fill the slot in the NIC ring. */
181 /* (re)start the tx unit up to slot nic_i (excluded) */
249 ring->slot[nm_
272 struct netmap_slot *slot = &ring->slot[nm_i]; local
[all...]
H A Dif_igb_netmap.h115 struct netmap_slot *slot = &ring->slot[nm_i]; local
116 u_int len = slot->len;
118 void *addr = PNMB(slot, &paddr);
124 int flags = (slot->flags & NS_REPORT ||
130 if (slot->flags & NS_BUF_CHANGED) {
134 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED);
136 /* Fill the slot in the NIC ring. */
165 /* (re)start the tx unit up to slot nic_i (excluded) */
231 ring->slot[nm_
252 struct netmap_slot *slot = &ring->slot[nm_i]; local
[all...]
H A Dif_lem_netmap.h113 struct netmap_slot *slot = &ring->slot[nm_i]; local
114 u_int len = slot->len;
116 void *addr = PNMB(slot, &paddr);
121 int flags = (slot->flags & NS_REPORT ||
127 if (slot->flags & NS_BUF_CHANGED) {
132 slot->flags &= ~(NS_REPORT | NS_BUF_CHANGED);
134 /* Fill the slot in the NIC ring. */
150 /* (re)start the tx unit up to slot nic_i (excluded) */
222 ring->slot[nm_
250 struct netmap_slot *slot = &ring->slot[nm_i]; local
[all...]
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dmmu_ps3.c156 mps3_pte_synch(mmu_t mmu, uintptr_t slot, struct lpte *pvo_pt) argument
161 lv1_read_htab_entries(mps3_vas_id, slot & ~0x3UL, &halfbucket[0],
169 KASSERT((halfbucket[slot & 0x3] & LPTE_AVPN_MASK) ==
172 halfbucket[slot & 0x3], pvo_pt->pte_hi));
174 pvo_pt->pte_lo |= (rcbits >> ((3 - (slot & 0x3))*16)) &
179 mps3_pte_clear(mmu_t mmu, uintptr_t slot, struct lpte *pvo_pt, uint64_t vpn, argument
183 lv1_write_htab_entry(mps3_vas_id, slot, pvo_pt->pte_hi,
188 mps3_pte_unset(mmu_t mmu, uintptr_t slot, struct lpte *pvo_pt, uint64_t vpn) argument
191 mps3_pte_synch(mmu, slot, pvo_pt);
193 lv1_write_htab_entry(mps3_vas_id, slot,
198 mps3_pte_change(mmu_t mmu, uintptr_t slot, struct lpte *pvo_pt, uint64_t vpn) argument
[all...]
/freebsd-9.3-release/contrib/xz/src/xz/
H A Dutil.h55 /// is stored into an internal static buffer indicated by the slot argument.
61 extern const char *uint64_to_str(uint64_t value, uint32_t slot);
87 /// \param slot Which static buffer to use to hold the string.
97 bool always_also_bytes, uint32_t slot);
/freebsd-9.3-release/sys/ia64/ia64/
H A Ddb_machdep.c309 int slot; local
311 slot = addr & 0xfUL;
312 if (slot >= SLOT_COUNT)
314 loc = (addr & ~0xfUL) + (slot << 2);
317 tmp &= ~(SLOT_MASK << SLOT_SHIFT(slot));
318 tmp |= *storage << SLOT_SHIFT(slot);
341 int slot; local
343 slot = addr & 0xfUL;
344 if (slot >= SLOT_COUNT)
346 loc = (addr & ~0xfUL) + (slot <<
363 int n, slot; local
461 u_long iip, slot; local
[all...]
/freebsd-9.3-release/sys/x86/include/
H A Dpci_cfgreg.h52 u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
53 void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
/freebsd-9.3-release/contrib/xz/src/liblzma/simple/
H A Dia64.c35 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) {
36 if (((mask >> slot) & 1) == 0)
/freebsd-9.3-release/sys/dev/acpica/
H A Dacpi_pcibvar.h36 int slot, int pin);
/freebsd-9.3-release/sys/dev/mpr/
H A Dmpr_mapping.h39 * @slot: slot ID
46 uint16_t slot; member in struct:_map_phy_change
/freebsd-9.3-release/sys/dev/mps/
H A Dmps_mapping.h39 * @slot: slot ID
46 uint16_t slot; member in struct:_map_phy_change
/freebsd-9.3-release/sys/powerpc/powermac/
H A Ddbdma.c118 dbdma_get_cmd_status(dbdma_channel_t *chan, int slot) argument
127 return (le16toh(chan->sc_slots[slot].resCount));
131 dbdma_clear_cmd_status(dbdma_channel_t *chan, int slot) argument
134 chan->sc_slots[slot].resCount = 0;
138 dbdma_get_residuals(dbdma_channel_t *chan, int slot) argument
143 return (le16toh(chan->sc_slots[slot].xferStatus));
208 dbdma_set_current_cmd(dbdma_channel_t *chan, int slot) argument
212 cmd = chan->sc_slots_pa + slot * sizeof(struct dbdma_command);
279 dbdma_insert_command(dbdma_channel_t *chan, int slot, int command, int stream, argument
312 chan->sc_slots[slot]
316 dbdma_insert_stop(dbdma_channel_t *chan, int slot) argument
324 dbdma_insert_nop(dbdma_channel_t *chan, int slot) argument
332 dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot) argument
[all...]
/freebsd-9.3-release/sys/security/mac/
H A Dmac_label.c52 * slot on first use, even if the policy is loaded after the label is
136 mac_label_get(struct label *l, int slot) argument
141 return (l->l_perpolicy[slot]);
145 mac_label_set(struct label *l, int slot, intptr_t v) argument
150 l->l_perpolicy[slot] = v;
/freebsd-9.3-release/sys/sparc64/pci/
H A Dofw_pcibus.c65 u_int busno, u_int slot, u_int func);
126 u_int slot, u_int func)
129 PCIB_READ_CONFIG(bridge, busno, slot, func, (n), (w))
131 PCIB_WRITE_CONFIG(bridge, busno, slot, func, (n), (v), (w))
155 busno, slot, func, CS_READ(PCIR_BRIDGECTL_1, 1), reg);
163 busno, slot, func, CS_READ(PCIR_SECLAT_1, 1), reg);
183 busno, slot, func, CS_READ(PCIR_LATTIMER, 1), reg);
232 u_int busno, domain, func, slot; local
265 slot = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi);
268 if (pci_find_dbsf(domain, busno, slot, fun
125 ofw_pcibus_setup_device(device_t bridge, uint32_t clock, u_int busno, u_int slot, u_int func) argument
[all...]
/freebsd-9.3-release/sys/ufs/ufs/
H A Ddirhash.h39 * 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])
/freebsd-9.3-release/sys/dev/siis/
H A Dsiis.c72 static void siis_execute_transaction(struct siis_slot *slot);
73 static void siis_timeout(struct siis_slot *slot);
74 static void siis_end_transaction(struct siis_slot *slot, enum siis_err_type et);
738 bzero(ch->slot, sizeof(ch->slot));
740 struct siis_slot *slot = &ch->slot[i]; local
742 slot->dev = dev;
743 slot->slot
761 struct siis_slot *slot = &ch->slot[i]; local
981 struct siis_slot *slot; local
1018 struct siis_slot *slot = arg; local
1058 siis_execute_transaction(struct siis_slot *slot) argument
1159 struct siis_slot *slot = &ch->slot[i]; local
1174 siis_timeout(struct siis_slot *slot) argument
1213 siis_end_transaction(struct siis_slot *slot, enum siis_err_type et) argument
[all...]
/freebsd-9.3-release/sys/arm/mv/
H A Dmv_pci.c337 mv_pcib_init_bar(struct mv_pcib_softc *sc, int bus, int slot, int func, argument
345 bar = mv_pcib_read_config(sc->sc_dev, bus, slot, func, reg, 4);
352 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, ~0, 4);
353 size = mv_pcib_read_config(sc->sc_dev, bus, slot, func, reg, 4);
382 bus, slot, func, reg, size, addr);
384 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4);
386 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg + 4,
393 mv_pcib_init_bridge(struct mv_pcib_softc *sc, int bus, int slot, int func) argument
405 mv_pcib_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEL_1,
407 mv_pcib_write_config(sc->sc_dev, bus, slot, fun
440 int slot, func, maxfunc, error; local
493 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument
618 mv_pcib_hw_cfgread(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
653 mv_pcib_hw_cfgwrite(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
694 mv_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
707 mv_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int bytes) argument
[all...]
/freebsd-9.3-release/sys/dev/mca/
H A Dmca_bus.c64 u_int8_t slot; member in struct:mca_device
74 u_int8_t slot = mca_get_slot(dev); local
76 if ((slot > MCA_MAX_ADAPTERS) || (reg > MCA_POS7))
83 outb(MCA_ADAP_SETUP_REG, ((slot & 0x0f) | MCA_ADAP_SET));
100 u_int8_t slot = mca_get_slot(dev); local
103 if ((slot > MCA_MAX_ADAPTERS) || (reg > MCA_POS7))
109 switch (slot) {
142 ((slot & 0x0f) | MCA_ADAP_SET));
244 u_int8_t slot; local
259 for (slot
423 u_int8_t slot = mca_get_slot(child); local
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dggc-common.c85 /* Process a slot of an htab by deleting it if it has not been marked. */
88 ggc_htab_delete (void **slot, void *info) argument
92 if (! (*r->marked_p) (*slot))
93 htab_clear_slot (*r->base, slot);
95 (*r->cb) (*slot);
260 struct ptr_data **slot;
265 slot = (struct ptr_data **)
268 if (*slot != NULL)
270 gcc_assert ((*slot)->note_ptr_fn == note_ptr_fn
271 && (*slot)
259 struct ptr_data **slot; local
331 call_count(void **slot, void *state_p) argument
344 call_alloc(void **slot, void *state_p) argument
844 struct loc_descriptor **slot; local
869 PTR *slot; local
888 ggc_prune_ptr(void **slot, void *b ATTRIBUTE_UNUSED) argument
912 PTR *slot = htab_find_slot_with_hash (ptr_hash, ptr, htab_hash_pointer (ptr), local
933 add_statistics(void **slot, void *b) argument
[all...]
H A Dalloc-pool.c99 struct alloc_pool_descriptor **slot; local
104 slot = (struct alloc_pool_descriptor **)
108 if (*slot)
109 return *slot;
110 *slot = xcalloc (sizeof (**slot), 1);
111 (*slot)->name = name;
112 return *slot;
325 print_statistics (void **slot, void *b) argument
327 struct alloc_pool_descriptor *d = (struct alloc_pool_descriptor *) *slot;
[all...]
/freebsd-9.3-release/contrib/libreadline/
H A Dkill.c87 /* Add TEXT to the kill ring, allocating a new kill ring slot as necessary.
90 current kill ring slot, otherwise prepended. */
97 int slot; local
99 /* First, find the slot to work with. */
102 /* Get a new slot. */
108 rl_kill_ring[slot = 0] = (char *)NULL;
112 /* We have to add a new slot on the end, unless we have
114 slot = rl_kill_ring_length;
115 if (slot == rl_max_kills)
119 for (i = 0; i < slot;
[all...]

Completed in 226 milliseconds

1234567891011>>