/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 64 * the number of files merged into a given array slot equals the batch size, 65 * the merged CTF graph in that array is added to the done slot in order by 66 * array slot. 104 * when the thread restarts the loop. If the array slot was full, the 105 * array lock will be held while the slot contents are added to the done 106 * queue. The done queue lock is used to protect the wip slot cv's. 295 * order, starting with the slot containing the next batch that would 316 debug(2, "clearing slot %d (%d) (saving %d)\n", 319 debug(2, "clearing slot %d (%d)\n", slotnum, i); 362 wip_save_work(workqueue_t *wq, wip_t *slot, in argument 383 wip_add_work(wip_t *slot, tdata_t *pow) argument [all...] |
/freebsd-11-stable/sys/sparc64/sbus/ |
H A D | dma_sbus.c | 287 int i, nreg, nintr, slot, rslot; local 295 slot = -1; 309 if (slot != -1 && slot != rslot) { 315 slot = rslot; 321 if (slot != dsc->sc_slot) { 322 device_printf(dev, "<%s>: parent and child slot do not match\n", 336 * SBus card devices need the slot number encoded into 340 iv |= slot << 3;
|
H A D | sbusreg.h | 33 * Relative addresses do *not* include the slot number. 36 #define SBUS_ADDR(slot, off) (SBUS_BASE + ((slot) << 25) + (off)) 81 #define SBR_SLOT0_INT_MAP 0x2c00 /* SBUS slot 0 interrupt map reg */ 82 #define SBR_SLOT1_INT_MAP 0x2c08 /* SBUS slot 1 interrupt map reg */ 83 #define SBR_SLOT2_INT_MAP 0x2c10 /* SBUS slot 2 interrupt map reg */ 84 #define SBR_SLOT3_INT_MAP 0x2c18 /* SBUS slot 3 interrupt map reg */ 108 #define SBR_SLOT0_INT_CLR 0x3400 /* SBUS slot 0 clear int regs 0..7 */ 109 #define SBR_SLOT1_INT_CLR 0x3440 /* SBUS slot 1 clear int regs 0..7 */ 110 #define SBR_SLOT2_INT_CLR 0x3480 /* SBUS slot [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | sqlite.c | 461 int slot, 464 SQLITE_ERR(sqlite3_bind_int(stmt->s3stmt, slot, val), stmt->db); 470 int slot, 473 SQLITE_ERR(sqlite3_bind_int64(stmt->s3stmt, slot, val), stmt->db); 479 int slot, 482 SQLITE_ERR(sqlite3_bind_text(stmt->s3stmt, slot, val, -1, SQLITE_TRANSIENT), 489 int slot, 493 SQLITE_ERR(sqlite3_bind_blob(stmt->s3stmt, slot, val, (int) len, 501 int slot, 507 SQLITE_ERR(sqlite3_bind_text(stmt->s3stmt, slot, wor 460 svn_sqlite__bind_int(svn_sqlite__stmt_t *stmt, int slot, int val) argument 469 svn_sqlite__bind_int64(svn_sqlite__stmt_t *stmt, int slot, apr_int64_t val) argument 478 svn_sqlite__bind_text(svn_sqlite__stmt_t *stmt, int slot, const char *val) argument 488 svn_sqlite__bind_blob(svn_sqlite__stmt_t *stmt, int slot, const void *val, apr_size_t len) argument 500 svn_sqlite__bind_token(svn_sqlite__stmt_t *stmt, int slot, const svn_token_map_t *map, int value) argument 513 svn_sqlite__bind_revnum(svn_sqlite__stmt_t *stmt, int slot, svn_revnum_t value) argument 527 svn_sqlite__bind_properties(svn_sqlite__stmt_t *stmt, int slot, const apr_hash_t *props, apr_pool_t *scratch_pool) argument 547 svn_sqlite__bind_iprops(svn_sqlite__stmt_t *stmt, int slot, const apr_array_header_t *inherited_props, apr_pool_t *scratch_pool) argument 568 svn_sqlite__bind_checksum(svn_sqlite__stmt_t *stmt, int slot, const svn_checksum_t *checksum, apr_pool_t *scratch_pool) argument [all...] |
/freebsd-11-stable/contrib/flex/ |
H A D | tblcmp.c | 556 * address below; find the next free slot. 608 /* Find next free slot in tables. */ 648 int i, slot, tblbase; local 654 slot = lastprot; 660 slot = numprots; 662 protnext[slot] = firstprot; 665 protprev[firstprot] = slot; 667 firstprot = slot; 668 prottbl[slot] = statenum; 669 protcomst[slot] [all...] |
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci.c | 365 ixppcib_conf_setup(struct ixppcib_softc *sc, int bus, int slot, int func, argument 371 (1U << (32 - (slot & 0x1f))) | 376 (bus << 16) | (slot << 11) | 390 ixppcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 396 ixppcib_conf_setup(sc, bus, slot, func, reg & ~3); 404 __func__, bus, slot, func, reg, bytes, ret); 418 ixppcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 426 __func__, bus, slot, func, reg, bytes, val); 428 ixppcib_conf_setup(sc, bus, slot, func, reg & ~3);
|
/freebsd-11-stable/sys/mips/adm5120/ |
H A D | admpci.c | 195 admpci_make_addr(int bus, int slot, int func, int reg) argument 198 return (0x80000000 | (bus << 16) | (slot << 11) | (func << 8) | reg); 202 admpci_read_config(device_t dev, int bus, int slot, int func, int reg, argument 211 (void *)sc, bus, slot, func, reg); 213 addr = admpci_make_addr(bus, slot, func, reg); 260 admpci_write_config(device_t dev, int bus, int slot, int func, int reg, argument 269 (void *)sc, bus, slot, func, reg); 272 reg_data = admpci_read_config(dev, bus, slot, func, reg, 4); 310 addr = admpci_make_addr(bus, slot, func, reg);
|
/freebsd-11-stable/sys/mips/idt/ |
H A D | idtpci.c | 130 idtpci_make_addr(int bus, int slot, int func, int reg) argument 133 return 0x80000000 | (bus << 16) | (slot << 11) | (func << 8) | reg; 289 idtpci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 297 bus, slot, func, reg, bytes); 299 addr = idtpci_make_addr(bus, slot, func, reg); 345 idtpci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 353 bus, slot, func, reg, bytes, data); 356 reg_data = idtpci_read_config(dev, bus, slot, func, reg, 4); 394 addr = idtpci_make_addr(bus, slot, func, reg);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | evmap.c | 113 #define GET_IO_SLOT(x, map, slot, type) \ 116 key_.fd = slot; \ 121 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ 124 key_.fd = slot; \ 134 ent_->fd = slot; \ 159 'struct type *' corresponding to the fd or signal 'slot'. Set 'x' to NULL 160 if there are no entries for 'slot'. Does no bounds-checking. */ 161 #define GET_SIGNAL_SLOT(x, map, slot, type) \ 162 (x) = (struct type *)((map)->entries[slot]) 163 /* As GET_SLOT, but construct the entry for 'slot' i 204 evmap_make_space(struct event_signal_map *map, int slot, int msize) argument [all...] |
/freebsd-11-stable/sys/mips/cavium/ |
H A D | octopci.c | 335 octopci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 345 if (bus == 0 && slot == 0 && func == 0) 350 return (cvmx_pcie_config_read32(sc->sc_domain, bus, slot, func, reg)); 352 return (cvmx_pcie_config_read16(sc->sc_domain, bus, slot, func, reg)); 354 return (cvmx_pcie_config_read8(sc->sc_domain, bus, slot, func, reg)); 360 addr = octopci_cs_addr(bus, slot, func, reg); 378 octopci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 389 cvmx_pcie_config_write32(sc->sc_domain, bus, slot, func, reg, data); 392 cvmx_pcie_config_write16(sc->sc_domain, bus, slot, func, reg, data); 395 cvmx_pcie_config_write8(sc->sc_domain, bus, slot, fun 423 unsigned bus, slot, func; local 738 octopci_cs_addr(unsigned bus, unsigned slot, unsigned func, unsigned reg) argument [all...] |
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | iommu.c | 175 int error, bus, slot, func; local 220 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { 222 dev = pci_find_dbsf(0, bus, slot, func);
|
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.h | 153 int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); 154 int vm_unassign_pptdev(struct vmctx *ctx, int bus, int slot, int func); 155 int vm_map_pptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, 157 int vm_setup_pptdev_msi(struct vmctx *ctx, int vcpu, int bus, int slot, 159 int vm_setup_pptdev_msix(struct vmctx *ctx, int vcpu, int bus, int slot,
|
/freebsd-11-stable/sys/mips/malta/ |
H A D | gt_pci.c | 428 gt_pci_conf_setup(struct gt_pci_softc *sc, int bus, int slot, int func, argument 431 *addr = (bus << 16) | (slot << 11) | (func << 8) | reg; 437 gt_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 445 if (gt_pci_conf_setup(sc, bus, slot, func, reg & ~3, &addr)) 454 if ((bus == 0) && (slot == 0)) 500 bus, slot, func, reg, data, bytes); 507 gt_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 517 reg_data = gt_pci_read_config(dev, bus, slot, func, reg, 4); 543 if (gt_pci_conf_setup(sc, bus, slot, func, reg & ~3, &addr)) 547 if (bus == 0 && slot [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ether.c | 109 u_int32_t slot; /* ifindex << 24 | unit */ member in struct:etherdevice 190 return dev->slot; 226 u_long slot; local 284 slot = strtoul(sessionid, &end, 16); 286 dev->slot = slot; 680 dev->slot = GetIfIndex(path); 719 * set in the environment. If so, use it as the slot 723 u_long slot; local 725 slot [all...] |
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_subr.c | 51 host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, argument 56 id = read_config(bus, slot, func, PCIR_DEVVENDOR, 4); 64 /* *busnum = read_config(bus, slot, func, 0x41, 1); */ 69 *busnum = read_config(bus, slot, func, 0x4a, 1); 85 switch (slot) { 119 *busnum = read_config(bus, slot, func, 0x44, 1); 124 *busnum = read_config(bus, slot, func, 0xc8, 1);
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_framework.c | 379 int error, slot, static_entry; local 414 slot = ffs(mac_slot_offsets_free); 415 if (slot == 0) { 419 slot--; 420 mac_slot_offsets_free &= ~(1 << slot); 421 *mpc->mpc_field_off = slot;
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 316 struct netmap_slot *slot; local 346 slot = netmap_reset(na, NR_RX, i, 0); 347 MPASS(slot != NULL); /* XXXNM: error check, not assert */ 355 PNMB(na, &slot[j], &ba); 371 slot = netmap_reset(na, NR_TX, i, 0); 372 MPASS(slot != NULL); /* XXXNM: error check, not assert */ 552 struct netmap_slot *slot; local 574 slot = &ring->slot[kring->nr_hwcur]; 575 PNMB(kring->na, slot, 785 struct netmap_slot *slot = &ring->slot[fl_pidx]; local [all...] |
/freebsd-11-stable/sys/arm/mv/orion/ |
H A D | db88f5xxx.c | 73 int platform_pci_get_irq(u_int bus, u_int slot, u_int func, u_int pin); 116 * - PCI slot number (less than zero means ANY).
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_phy.h | 63 #define IEEE80211_DUR_DIFS(sifs, slot) ((sifs) + 2 * (slot))
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | tlb.h | 48 #define TLB_DAR_SLOT(tlb, slot) \ 49 ((tlb) << TLB_DAR_TLB_SHIFT | (slot) << TLB_DAR_SLOT_SHIFT)
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | ofw_pci.h | 154 u_int bus, u_int slot, u_int func, u_int reg, int width); 156 u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int width);
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | iommu.c | 257 u_int maxtsbsize, obptsbentries, obptsbsize, slot, tsbentries; local 348 slot = tsbentries - obptsbentries + i; 350 printf("%s: adding PROM IOTSB slot %d " 351 "(kernel slot %d) TTE: %#lx\n", name, 352 i, slot, tte); 353 obpmap = (is->is_dvmabase + slot * IO_PAGE_SIZE) >> 358 panic("%s: could not reserve PROM IOTSB slot " 359 "%d (kernel slot %d)", __func__, i, slot); 360 is->is_tsb[slot] 456 int slot, streamed = 0; local 862 u_int slot; local 978 u_int slot; local [all...] |
/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | rtas_pci.c | 148 rtaspci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 158 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) | 188 rtaspci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 197 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) |
|
/freebsd-11-stable/sys/mips/nlm/dev/net/ucore/ |
H A D | crt0_basic.S | 51 addiu v0,v0,4 # executed in delay slot
|
/freebsd-11-stable/sys/dev/eisa/ |
H A D | eisaconf.h | 66 EISA_ACCESSOR(slot, SLOT, int)
|