Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/
H A Dtst.general.d.out4 sel |0|
9 sel |0|
11 sel |1|
13 sel |100|
15 sel |-1|
20 sel |0|
25 sel |0|
30 sel |0|
35 sel |0|
40 sel |0|
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_proxy.c755 sel, !sel, seq1,
757 sel = aps->aps_sel[out] = !sel;
775 sel, aps->aps_seqmin[sel],
789 sel, !sel, seq1,
791 sel = aps->aps_sel[1 - out] = !sel;
808 sel, !sel, seq1, aps->aps_ackmin[!sel]);
809 sel = aps->aps_sel[out] = !sel;
828 !sel, aps->aps_seqmin[!sel],
842 sel, !sel, seq1, aps->aps_seqmin[!sel]);
843 sel = aps->aps_sel[1 - out] = !sel;
[all …]
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h564 u_short sel; in rfs() local
566 return (sel); in rfs()
572 u_short sel; in rgs() local
574 return (sel); in rgs()
580 u_short sel; in rss() local
582 return (sel); in rss()
586 load_ds(u_short sel) in load_ds() argument
685 lldt(u_short sel) in lldt() argument
691 ltr(u_short sel) in ltr() argument
699 u_short sel; in read_tr() local
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dtask_switch.c109 #define SEL_START(sel) (((sel) & ~0x7)) argument
110 #define SEL_LIMIT(sel) (((sel) | 0x7)) argument
176 sel &= ~0x3; in sel_exception()
178 sel |= 0x1; in sel_exception()
202 if (limit < SEL_LIMIT(sel)) in desc_table_limit_check()
272 assert(!ISLDT(sel)); in read_tss_descriptor()
273 assert(IDXSEL(sel) != 0); in read_tss_descriptor()
329 uint16_t sel, cs; in validate_seg_desc() local
357 if (ldtseg && ISLDT(sel)) { in validate_seg_desc()
369 if (IDXSEL(sel) == 0) { in validate_seg_desc()
[all …]
H A Dpci_lpc.c504 pci_lpc_get_sel(struct pcisel *const sel) in pci_lpc_get_sel() argument
506 assert(sel != NULL); in pci_lpc_get_sel()
508 memset(sel, 0, sizeof(*sel)); in pci_lpc_get_sel()
513 sel->pc_dev = slot; in pci_lpc_get_sel()
514 sel->pc_func = 0; in pci_lpc_get_sel()
520 sel->pc_func = func; in pci_lpc_get_sel()
523 (read_config(sel, PCIR_SUBCLASS, 1) == in pci_lpc_get_sel()
543 pci_lpc_get_sel(struct pcisel *const sel __unused) in pci_lpc_get_sel()
552 struct pcisel sel = { 0 }; in pci_lpc_init() local
578 if (pci_lpc_get_sel(&sel) == 0) in pci_lpc_init()
[all …]
H A Dpci_passthru.h22 uint32_t read_config(const struct pcisel *sel, long reg, int width);
23 void write_config(const struct pcisel *sel, long reg, int width, uint32_t data);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c2185 sel.ips_local_port, sel.ips_protocol, 0); in ipsec_check_global_policy()
2778 sel->ips_remote_port = sel->ips_local_port = 0; in ipsec_init_inbound_sel()
2801 sel->ips_remote_port = sel->ips_local_port = 0; in ipsec_init_inbound_sel()
2874 sel->ips_local_port = sel->ips_remote_port = 0; in ipsec_init_outbound_ports()
3888 bzero(&sel, sizeof (sel)); in ipsec_polhead_insert()
4031 bzero((void*)&sel, sizeof (sel)); in ipsec_in_to_out()
4226 bzero((void*)&sel, sizeof (sel)); in ip_output_attach_policy()
4338 bzero((void*)&sel, sizeof (sel)); in ipsec_conn_cache_policy()
4452 bzero((void*)&sel, sizeof (sel)); in ipsec_cache_outbound_policy()
5218 bzero(&sel, sizeof (sel)); in ipsec_tun_outbound()
[all …]
H A Dsadb.c5725 bzero(&sel, sizeof (sel));
6548 if (sel->ips_isv4) {
6552 sel->ips_local_addr_v4, sel->ips_remote_port,
6561 sel = &portonly;
6569 sel->ips_local_addr_v6, sel->ips_remote_port,
6602 if (sel->ips_isv4) {
6672 sel->ips_remote_addr_v4, sel->ips_local_addr_v4,
6680 sel->ips_remote_addr_v6, sel->ips_local_addr_v6,
6773 bzero(sel, sizeof (*sel));
7051 sel.ips_protocol != IPPROTO_ENCAP && sel.ips_protocol != 0) ||
[all …]
H A Dspdsock.c657 bzero(sel, sizeof (*sel)); in spdsock_ext_to_sel()
663 sel->ipsl_valid |= IPSL_PROTOCOL; in spdsock_ext_to_sel()
669 sel->ipsl_valid |= IPSL_LOCAL_PORT; in spdsock_ext_to_sel()
682 sel->ipsl_valid |= IPSL_ICMP_TYPE; in spdsock_ext_to_sel()
695 sel->ipsl_icmp_code_end = in spdsock_ext_to_sel()
713 (sel)->ipsl_valid |= (bit); \ in spdsock_ext_to_sel()
992 sel->ipsl_valid |= af; in mkrule()
1037 ipsec_selkey_t sel; in spdsock_addrule() local
1104 if (sel.ipsl_valid & in spdsock_addrule()
1201 ipsec_selkey_t sel; in spdsock_deleterule() local
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h491 u_short sel; in rfs() local
493 return (sel); in rfs()
507 u_short sel; in rgs() local
509 return (sel); in rgs()
531 u_short sel; in rss() local
533 return (sel); in rss()
545 load_fs(u_short sel) in load_fs() argument
551 load_gs(u_short sel) in load_gs() argument
563 lldt(u_short sel) in lldt() argument
569 ltr(u_short sel) in ltr() argument
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dsysi86.c260 ssd->sel = sel; in usd_to_ssd()
487 if (!SELISLDT(ssd->sel) || !SELISUPL(ssd->sel)) in setdscr()
493 seli = SELTOIDX(ssd->sel); in setdscr()
591 if (ssd->sel == rp->r_cs || ssd->sel == rp->r_ss) { in setdscr()
597 if (ssd->sel == pcb->pcb_ds || in setdscr()
598 ssd->sel == pcb->pcb_es || in setdscr()
599 ssd->sel == pcb->pcb_fs || in setdscr()
605 if (ssd->sel == rp->r_ds || in setdscr()
606 ssd->sel == rp->r_es || in setdscr()
607 ssd->sel == rp->r_fs || in setdscr()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/i386/
H A Dldt.c45 int sel = SEL_LDT(7); in main() local
47 struct ssd ssd = { sel, (unsigned long)&foo, 4096, in main()
53 __asm__ __volatile__("mov %0, %%fs" : : "r" (sel)); in main()
66 ssd.sel = SEL_LDT(i); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c240 int sel, proto; in wpa_supplicant_set_suites() local
270 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
272 } else if (sel & WPA_CIPHER_TKIP) { in wpa_supplicant_set_suites()
274 } else if (sel & WPA_CIPHER_WEP104) { in wpa_supplicant_set_suites()
276 } else if (sel & WPA_CIPHER_WEP40) { in wpa_supplicant_set_suites()
284 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
286 } else if (sel & WPA_CIPHER_TKIP) { in wpa_supplicant_set_suites()
288 } else if (sel & WPA_CIPHER_NONE) { in wpa_supplicant_set_suites()
296 sel = ie.key_mgmt & ssid->key_mgmt; in wpa_supplicant_set_suites()
297 if (sel & WPA_KEY_MGMT_IEEE8021X) { in wpa_supplicant_set_suites()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Despi.c342 u32 sel; in t1_espi_get_mon() local
345 sel = V_MONITORED_PORT_NUM((addr & 0x3c) >> 2); in t1_espi_get_mon()
352 if ((sel != (espi->misc_ctrl & MON_MASK))) { in t1_espi_get_mon()
354 ((espi->misc_ctrl & ~MON_MASK) | sel)); in t1_espi_get_mon()
355 sel = t1_read_reg_4(adapter, A_ESPI_SCH_TOKEN3); in t1_espi_get_mon()
360 sel = t1_read_reg_4(adapter, A_ESPI_SCH_TOKEN3); in t1_espi_get_mon()
362 return sel; in t1_espi_get_mon()
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_idt.c174 kdi_idt_init(selector_t sel) in kdi_idt_init() argument
184 if (kpti_enable && sel == KCS_SEL && id->id_low == T_DBLFLT) in kdi_idt_init()
191 set_gatesegd(&kdi_idt[i], (void (*)())hdlr, sel, in kdi_idt_init()
198 kdi_idt_gates_install(selector_t sel, int saveold) in kdi_idt_gates_install() argument
208 set_gatesegd(&gates[i], (void (*)())func, sel, SDT_SYSIGT, in kdi_idt_gates_install()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_ftp_pxy.c1075 sel = aps->aps_sel[1 - rv];
1078 seqoff = aps->aps_seqoff[sel];
1079 if (aps->aps_seqmin[sel] > seqoff + thseq)
1080 seqoff = aps->aps_seqoff[!sel];
1085 seqoff = aps->aps_ackoff[sel];
1088 aps->aps_ackmin[sel]);
1089 if (aps->aps_ackmin[sel] > seqoff + thseq)
1090 seqoff = aps->aps_ackoff[!sel];
1203 printf("inc %d sel %d rv %d\n", inc, sel, rv);
1207 aps->aps_ackoff[sel]);
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c746 uint16_t sel, ndx, type; in fasttrap_do_seg() local
751 sel = rp->r_cs; in fasttrap_do_seg()
754 sel = rp->r_ds; in fasttrap_do_seg()
757 sel = rp->r_es; in fasttrap_do_seg()
760 sel = rp->r_fs; in fasttrap_do_seg()
763 sel = rp->r_gs; in fasttrap_do_seg()
766 sel = rp->r_ss; in fasttrap_do_seg()
774 if (!SELISUPL(sel)) in fasttrap_do_seg()
777 ndx = SELTOIDX(sel); in fasttrap_do_seg()
783 if (SELISLDT(sel)) { in fasttrap_do_seg()
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_reset.c1888 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1891 ENABLE | fid == 1 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1894 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1897 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1900 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1903 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1906 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1909 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1912 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
1915 ENABLE | fid == 7 | param-sel = 0 | haddr_sel = 0 | in init_hc_for_57728()
[all …]
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme_feature.c542 nvme_get_feat_req_set_sel(nvme_get_feat_req_t *req, uint32_t sel) in nvme_get_feat_req_set_sel() argument
544 if (!nvme_field_check_one(req->gfr_ctrl, sel, "get feature", in nvme_get_feat_req_set_sel()
549 if (sel == NVME_FEATURE_SEL_SUPPORTED) { in nvme_get_feat_req_set_sel()
555 req->gfr_sel = sel; in nvme_get_feat_req_set_sel()
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_fflp.c969 flow_prt_sel_t sel; in npi_fflp_cfg_fcram_partition() local
982 sel.value = 0; in npi_fflp_cfg_fcram_partition()
983 sel.bits.ldw.mask = base_mask; in npi_fflp_cfg_fcram_partition()
984 sel.bits.ldw.base = base_reloc; in npi_fflp_cfg_fcram_partition()
985 sel.bits.ldw.ext = BIT_DISABLE; /* disable */ in npi_fflp_cfg_fcram_partition()
986 REG_PIO_WRITE64(handle, offset, sel.value); in npi_fflp_cfg_fcram_partition()
1008 flow_prt_sel_t sel; in npi_fflp_cfg_fcram_partition_enable() local
1046 flow_prt_sel_t sel; in npi_fflp_cfg_fcram_partition_disable() local
1058 REG_PIO_READ64(handle, offset, &sel.value); in npi_fflp_cfg_fcram_partition_disable()
1059 sel.bits.ldw.ext = BIT_DISABLE; /* disable */ in npi_fflp_cfg_fcram_partition_disable()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dcpufunc.h293 lldt(u_short sel) in lldt() argument
295 wr_ldtr(sel); in lldt()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvatpit.c319 int sel, rw; in vatpit_update_mode() local
322 sel = val & TIMER_SEL_MASK; in vatpit_update_mode()
331 if (sel == TIMER_SEL_READBACK) in vatpit_update_mode()
349 c = &vatpit->channel[sel >> 6]; in vatpit_update_mode()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c1054 const smb_sel_t *sel; in smbios_info_eventlog() local
1067 if (len < sel->smbsel_typec * sel->smbsel_typesz) in smbios_info_eventlog()
1070 evp->smbev_size = sel->smbsel_len; in smbios_info_eventlog()
1071 evp->smbev_hdr = sel->smbsel_hdroff; in smbios_info_eventlog()
1072 evp->smbev_data = sel->smbsel_dataoff; in smbios_info_eventlog()
1073 evp->smbev_method = sel->smbsel_method; in smbios_info_eventlog()
1074 evp->smbev_flags = sel->smbsel_status; in smbios_info_eventlog()
1075 evp->smbev_format = sel->smbsel_format; in smbios_info_eventlog()
1076 evp->smbev_token = sel->smbsel_token; in smbios_info_eventlog()
1077 evp->smbev_addr.eva_addr = sel->smbsel_addr; in smbios_info_eventlog()
[all …]
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.c1547 uint16_t sel; in vcpu_reset() local
1590 sel = 0xf000; in vcpu_reset()
1591 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, sel)) != 0) in vcpu_reset()
1625 sel = 0; in vcpu_reset()
1626 if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, sel)) != 0) in vcpu_reset()
1628 if ((error = vm_set_register(vcpu, VM_REG_GUEST_DS, sel)) != 0) in vcpu_reset()
1630 if ((error = vm_set_register(vcpu, VM_REG_GUEST_ES, sel)) != 0) in vcpu_reset()
1632 if ((error = vm_set_register(vcpu, VM_REG_GUEST_FS, sel)) != 0) in vcpu_reset()
1634 if ((error = vm_set_register(vcpu, VM_REG_GUEST_GS, sel)) != 0) in vcpu_reset()
1697 sel = 0; in vcpu_reset()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math.c466 uint32_t sel; member
506 impl = math_impl_opts[i].sel; in vdev_raidz_impl_set()
553 fmt = (impl == math_impl_opts[i].sel) ? "[%s] " : "%s "; in zfs_vdev_raidz_impl_get()

12