Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 339) sorted by path

12345678910>>...14

/illumos-gate/usr/src/boot/i386/libi386/
H A Dvbe.c364 vbe_set_palette(const struct paletteentry *entry, size_t slot) in vbe_set_palette() argument
390 ret = biosvbe_palette_data(mode, slot, &pe); in vbe_set_palette()
391 if (cmap != NULL && slot < CMAP_SIZE) { in vbe_set_palette()
392 cmap[slot].mb_red = entry->Red; in vbe_set_palette()
393 cmap[slot].mb_green = entry->Green; in vbe_set_palette()
394 cmap[slot].mb_blue = entry->Blue; in vbe_set_palette()
/illumos-gate/usr/src/boot/include/dev/pci/
H A Dpcireg.h59 #define PCI_RID(bus, slot, func) \ argument
61 (((slot) & PCI_SLOTMAX) << PCI_RID_SLOT_SHIFT) | \
/illumos-gate/usr/src/boot/include/netinet/
H A Dip_var.h269 uint32_t slot; /* slot for matching rule */ member
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c580 uint_t slot = badsec / 8; in altsmap_getbit() local
586 if ((ap->ap_mapp)[slot] & mask) in altsmap_getbit()
/illumos-gate/usr/src/cmd/bhyve/
H A Dmptbl.c213 mpt_generate_pci_int(int bus, int slot, int pin, int pirq_pin __unused, in mpt_generate_pci_int() argument
229 mpie->src_bus_irq = slot << 2 | (pin - 1); in mpt_generate_pci_int()
H A Dnet_backends.c792 ring->slot[head].len = nm_buf_len; in netmap_send()
793 ring->slot[head].flags = NS_MOREFRAG; in netmap_send()
811 ring->slot[head].len = nm_buf_len; in netmap_send()
812 ring->slot[head].flags = 0; in netmap_send()
832 struct netmap_slot *slot = ring->slot + head; in netmap_peek_recvlen() local
834 totlen += slot->len; in netmap_peek_recvlen()
835 if ((slot->flags & NS_MOREFRAG) == 0) in netmap_peek_recvlen()
847 struct netmap_slot *slot = NULL; in netmap_recv() local
869 slot = ring->slot + head; in netmap_recv()
871 nm_buf_len = slot->len; in netmap_recv()
[all …]
H A Dpci_ahci.c131 int slot; member
485 int slot; in ahci_port_stop() local
498 slot = aior->slot; in ahci_port_stop()
725 aior->slot = slot; in ahci_handle_rw()
762 aior->slot = slot; in ahci_handle_flush()
871 aior->slot = slot; in ahci_handle_dsm_trim()
1429 aior->slot = slot; in atapi_read()
1899 int slot, ncq, dsm; in ata_ioreq_cb() local
1907 slot = aior->slot; in ata_ioreq_cb()
1973 int slot; in atapi_ioreq_cb() local
[all …]
H A Dpci_emul.c1079 pdi->pi_slot = slot; in pci_emul_init()
1088 slot, func); in pci_emul_init()
1457 int bus, slot, func; in init_pci() local
1489 for (slot = 0; slot < MAXSLOTS; slot++) { in init_pci()
1567 for (slot = 0; slot < MAXSLOTS; slot++) { in init_pci()
1664 int count, func, slot; in pci_bus_write_dsdt() local
1793 for (slot = 0; slot < MAXSLOTS; slot++) { in pci_bus_write_dsdt()
2014 int count, slot, pin; in pci_count_lintr() local
2019 for (slot = 0; slot < MAXSLOTS; slot++) { in pci_count_lintr()
2036 int slot, pin; in pci_walk_lintr() local
[all …]
H A Dpci_lpc.c510 for (uint8_t slot = 0; slot <= PCI_SLOTMAX; ++slot) { in pci_lpc_get_sel() local
513 sel->pc_dev = slot; in pci_lpc_get_sel()
H A Dpci_xhci.c584 assert(slot > 0 && slot <= XHCI_MAX_DEVS); in pci_xhci_get_dev_ctx()
831 *slot = i; in pci_xhci_cmd_enable_slot()
1028 slot)); in pci_xhci_cmd_config_ep()
1377 uint32_t slot; in pci_xhci_complete_commands() local
1406 slot = 0; in pci_xhci_complete_commands()
1928 if (slot == 0 || slot > XHCI_MAX_SLOTS) { in pci_xhci_device_doorbell()
2706 int slot; in pci_xhci_legacy_config() local
2712 slot = 1; in pci_xhci_legacy_config()
2723 slot++; in pci_xhci_legacy_config()
2747 long slot; in pci_xhci_parse_devices() local
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dpk1.c334 goto slot;
341 slot:
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c153 static int slot; /* slot in knowncmds found by binsrch */ variable
570 printf("binsrch(%s) -> %d\n", mac, slot); in addmac()
572 loc = &knowncmds[slot]; in addmac()
582 knowncmds[slot-2], knowncmds[slot-1], knowncmds[slot], in addmac()
583 knowncmds[slot+1], knowncmds[slot+2], ncmds); in addmac()
614 slot = bot; /* place it would have gone */ in binsrch()
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c591 int slot; in parse_acl_args() local
601 slot = strtol(&arg[1], &end, 10); in parse_acl_args()
628 slot = -1; in parse_acl_args()
650 new_acl_args->acl_slot = slot; in parse_acl_args()
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c448 enable_metaslot(char *token, char *slot, boolean_t use_default, in enable_metaslot() argument
506 if (!use_default && !token && !slot) { in enable_metaslot()
526 if (slot) { in enable_metaslot()
527 (void) strlcpy((char *)puent->metaslot_ks_slot, slot, in enable_metaslot()
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c430 int i, slot, mek; /* index variables */ in execute_cmd() local
542 for (slot = 0; slot < slotcount; slot++) { in execute_cmd()
546 rv = C_GetMechanismInfo(pSlotList[slot], in execute_cmd()
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c381 int slot, mek; /* index variables */ in execute_cmd() local
490 for (slot = 0; slot < slotcount; slot++) { in execute_cmd()
494 rv = C_GetMechanismInfo(pSlotList[slot], in execute_cmd()
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c1317 CK_SLOT_ID slot; in token_auth_needed() local
1322 rv = kmf_pk11_token_lookup(handle, tokenlabel, &slot); in token_auth_needed()
1326 ckrv = C_GetTokenInfo(slot, &info); in token_auth_needed()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c768 int slot = -1; in rdisc_sort() local
791 if (slot < 0) in rdisc_sort()
792 slot = i; in rdisc_sort()
826 if (slot < 0 && !dr_done) { in rdisc_sort()
834 slot = rt->rt_num_spares; in rdisc_sort()
846 if (slot >= 0 && (dr_done != _B_TRUE)) { in rdisc_sort()
854 rt->rt_spares[slot] = new; in rdisc_sort()
/illumos-gate/usr/src/cmd/fm/dicts/
H A DNIC.po28 …fic will pass through the data link or network interfaces associated with this transceiver slot.\n"
45 …ic will pass through the data link or network\ninterfaces associated with this transceiver slot.\n"
62 …fic will pass through the data link or network interfaces associated with this transceiver slot.\n"
79 …ic will pass through the data link or network\ninterfaces associated with this transceiver slot.\n"
92 msgstr "The slot for NIC transceiver module %<fault-list[0].resource.hc-specific.txr_index> (SFP/SF…
94 msgstr "The transceiver module slot has been disabled, and the network data link associated with it…
96 …ic will pass through the data link or network\ninterfaces associated with this transceiver slot.\n"
98 … may be faulty,\ninserted incorrectly, or not of the correct type for the slot.\nIf problems persi…
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dneptune_xaui.esc28 * Eversholt rules for a XAUI card inserted in a PCI-Express slot.
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c879 struct fmdump_srlzer_slot *slot, *oldest; in srlzer_choose() local
887 i++, slot++) { in srlzer_choose()
892 oldest = slot; in srlzer_choose()
898 if (slot->ss_sec < oldest->ss_sec || in srlzer_choose()
899 slot->ss_sec == oldest->ss_sec && in srlzer_choose()
900 slot->ss_nsec < oldest->ss_nsec) { in srlzer_choose()
901 oldest = slot; in srlzer_choose()
939 struct fmdump_srlzer_slot *slot; in pipeline_output() local
945 slot = &srlzer->ds_slot[thisidx]; in pipeline_output()
947 slot->ss_sec = rp->rec_sec; in pipeline_output()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw_main_cmn.c122 int slot, chosen = -1; in sw_timer_install() local
141 for (slot = 0; slot < SW_TIMER_MAX; slot++) { in sw_timer_install()
143 chosen = slot; in sw_timer_install()
167 int slot; in subtimer_find() local
169 for (slot = 0; slot < SW_TIMER_MAX; slot++) { in subtimer_find()
172 msinfo->swms_timers[slot].swt_ownerid == who) && in subtimer_find()
174 return (slot); in subtimer_find()
186 int slot; in sw_timer_remove() local
200 msinfo->swms_timers[slot].swt_state = SW_TMR_RMVD; in sw_timer_remove()
214 int slot; in sw_timeout() local
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c604 uint_t slot = badsec / 8; in altsmap_getbit() local
610 if ((ap->ap_mapp)[slot] & mask) in altsmap_getbit()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c812 insertDirEnt(struct pcdir *slot, struct pcdir *entry, int32_t clusterWithSlot) in insertDirEnt() argument
814 (void) memcpy(slot, entry, sizeof (struct pcdir)); in insertDirEnt()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c2974 getdirslot(long slot) in getdirslot() argument
2982 if (slot < 0) { in getdirslot()
2983 slot = 0; in getdirslot()
2998 for (dirslot = 0; dirslot < slot; dirslot++) { in getdirslot()
3046 temp = slot; in getdirslot()
3064 dirslot = slot - temp - 1; in getdirslot()
3076 dirslot = slot; in getdirslot()

12345678910>>...14