Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 260) sorted by relevance

1234567891011

/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daeskey.c264 { ss[0] = ss[0] ^ ss[2] ^ ss[1] ^ ss[3]; \
265 ss[1] = ss[1] ^ ss[3]; \
266 ss[2] = ss[2] ^ ss[3]; \
277 ss[i % 4] ^= ss[4]; ss[4] = ff(ss[4]); \
287 k[v(40, (4 * (i)) + 4)] = (ss[0] ^= ss[1]) ^ ss[2] ^ ss[3]; \
305 ss[0] ^= ss[4]; \
308 ss[1] ^= ss[0]; \
310 ss[2] ^= ss[1]; \
312 ss[3] ^= ss[2]; \
384 ss[0] ^= ss[6]; ss[6] = ff(ss[6]); \
[all …]
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/
H A Dsdhost.c215 #define CLR8(ss, reg, mask) PUT8(ss, reg, GET8(ss, reg) & ~(mask)) argument
216 #define SET8(ss, reg, mask) PUT8(ss, reg, GET8(ss, reg) | (mask)) argument
233 #define GETDATA8(ss) GET8(ss, REG_DATA) argument
562 sda_host_log(ss->ss_host, ss->ss_num, in sdhost_set_clock()
910 bcopy(ss->ss_bounce, ss->ss_kvaddr, ss->ss_blksz); in sdhost_slot_intr()
911 ss->ss_kvaddr += ss->ss_blksz; in sdhost_slot_intr()
951 ss->ss_kvaddr += ss->ss_blksz; in sdhost_slot_intr()
961 bcopy(ss->ss_bounce, ss->ss_kvaddr, ss->ss_rcnt); in sdhost_slot_intr()
1084 ss->ss_ksp->ks_private = ss; in sdhost_init_slot()
1085 ss->ss_ksp->ks_lock = &ss->ss_lock; in sdhost_init_slot()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c199 eib_t *ss; in eib_attach() local
217 ss->ei_dip = dip; in eib_attach()
244 if ((ret = ibt_attach(&eib_clnt_modinfo, ss->ei_dip, ss, in eib_attach()
282 eib_t *ss; in eib_detach() local
299 if (ss->ei_tx || ss->ei_rx || ss->ei_lso) { in eib_detach()
303 "not detach", ss->ei_tx, ss->ei_rx, ss->ei_lso); in eib_detach()
320 eib_t *ss = arg; in eib_m_stat() local
390 eib_t *ss = arg; in eib_m_start() local
409 eib_t *ss = arg; in eib_m_stop() local
422 eib_t *ss = arg; in eib_m_promisc() local
[all …]
H A Deib_svc.c58 cv_wait(&ss->ei_ev_cv, &ss->ei_ev_lock); in eib_events_handler()
74 ss->ei_event = NULL; in eib_events_handler()
117 eib_ibt_link_mod(ss); in eib_events_handler()
127 eib_ibt_link_mod(ss); in eib_events_handler()
137 eib_ibt_link_mod(ss); in eib_events_handler()
147 eib_ibt_link_mod(ss); in eib_events_handler()
285 ss->ei_event = evi; in eib_svc_enqueue_event()
316 while ((ss->ei_rxpost == NULL) && (ss->ei_rxpost_die == 0)) { in eib_refill_rwqes()
321 cv_wait(&ss->ei_rxpost_cv, &ss->ei_rxpost_lock); in eib_refill_rwqes()
403 cv_wait(&ss->ei_vnic_req_cv, &ss->ei_vnic_req_lock); in eib_vnic_creator()
[all …]
H A Deib_ibt.c88 ret = ibt_open_hca(ss->ei_ibt_hdl, ss->ei_props->ep_hca_guid, in eib_ibt_hca_init()
104 ret = ibt_query_hca(ss->ei_hca_hdl, ss->ei_hca_attrs); in eib_ibt_hca_init()
109 ss->ei_hca_hdl, ss->ei_props->ep_hca_guid, ret); in eib_ibt_hca_init()
149 ss->ei_hca_hdl, ss->ei_props->ep_hca_guid, ret); in eib_ibt_hca_init()
158 eib_ibt_record_capab(ss, ss->ei_hca_attrs, ss->ei_caps); in eib_ibt_hca_init()
268 ss->ei_zombie_vnics = ss->ei_active_vnics; in eib_ibt_link_mod()
271 ss->ei_rejoin_vnics = ss->ei_active_vnics; in eib_ibt_link_mod()
295 ss->ei_props->ep_hca_guid, ss->ei_props->ep_port_num, in eib_ibt_link_mod()
308 ss->ei_props->ep_hca_guid, ss->ei_props->ep_port_num, in eib_ibt_link_mod()
561 if (ss->ei_tx || ss->ei_rx || ss->ei_lso) { in eib_ibt_async_handler()
[all …]
H A Deib_mac.c173 if (eib_mac_hca_portstate(ss, &ss->ei_props->ep_blid, in eib_mac_start()
220 eib_mac_stop(eib_t *ss) in eib_mac_stop() argument
279 if (ss->ei_vnic[0]) { in eib_mac_multicast()
281 ret = eib_vnic_join_data_mcg(ss, ss->ei_vnic[0], in eib_mac_multicast()
284 eib_vnic_leave_data_mcg(ss, ss->ei_vnic[0], mcast_mac); in eib_mac_multicast()
301 if (ss->ei_vnic[0]) { in eib_mac_promisc()
303 ret = eib_vnic_join_data_mcg(ss, ss->ei_vnic[0], in eib_mac_promisc()
306 eib_vnic_leave_data_mcg(ss, ss->ei_vnic[0], in eib_mac_promisc()
435 ret = ibt_query_hca_ports(ss->ei_hca_hdl, ss->ei_props->ep_port_num, in eib_mac_hca_portstate()
510 if ((ss->ei_tx == NULL) && (ss->ei_rx == NULL) && in eib_rb_mac_start()
[all …]
H A Deib_cmn.c194 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
198 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
206 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
213 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
217 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
221 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
225 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
229 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
233 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
237 eib_prop_get_and_test(ss->ei_instance, ss->ei_dip, in eib_get_props()
[all …]
H A Deib_adm.c57 ret = ibt_pkey2index(ss->ei_hca_hdl, ss->ei_props->ep_port_num, in eib_adm_setup_qp()
74 chan = ss->ei_admin_chan; in eib_adm_setup_qp()
112 eib_rb_adm_setup_qp(ss); in eib_adm_setup_qp()
164 eib_rb_adm_setup_cq(ss); in eib_rb_adm_setup_qp()
167 ss->ei_admin_chan = NULL; in eib_rb_adm_setup_qp()
208 if ((rv = ddi_intr_add_softint(ss->ei_dip, &ss->ei_admin_si_hdl, in eib_adm_setup_cq()
230 eib_rb_adm_setup_cq(ss); in eib_adm_setup_cq()
295 eib_t *ss = arg; in eib_adm_comp_intr() local
347 eib_rsrc_return_swqe(ss, wqe, ss->ei_admin_chan); in eib_adm_tx_comp()
379 eib_rsrc_return_rwqe(ss, wqe, ss->ei_admin_chan); in eib_adm_err_comp()
[all …]
H A Deib_vnic.c132 vnic->vn_ss = ss; in eib_vnic_create()
587 eib_t *ss = vnic->vn_ss; in eib_vnic_setup_dest() local
866 if (ss->ei_vnic_req) { in eib_vnic_enqueue_req()
876 ss->ei_vnic_req = vrq; in eib_vnic_enqueue_req()
958 ss->ei_vnic_req = vrq; in eib_vnic_enqueue_req()
1231 cv_wait(&ss->ei_vnic_cv, &ss->ei_vnic_lock); in eib_vnic_modify_enter()
1233 ss->ei_vnic_state |= op; in eib_vnic_modify_enter()
1241 ss->ei_vnic_state &= (~op); in eib_vnic_modify_exit()
1260 ss->ei_vnic_pending = vnic; in eib_vnic_create_common()
1758 ss->ei_ka_vnics = kav; in eib_vnic_start_keepalives()
[all …]
H A Deib_rsrc.c65 if (ss->ei_caps->cp_lso_maxlen && ss->ei_caps->cp_cksum_flags && in eib_rsrc_setup_bufs()
208 (void) eib_rsrc_grab_wqes(ss, ss->ei_tx, &wqe, 1, NULL, pri); in eib_rsrc_grab_swqe()
247 (void) eib_rsrc_grab_wqes(ss, ss->ei_rx, &wqe, 1, NULL, pri); in eib_rsrc_grab_rwqe()
257 eib_rsrc_return_wqes(ss, ss->ei_tx, &wqe, 1); in eib_rsrc_return_swqe()
269 eib_rsrc_return_wqes(ss, ss->ei_rx, &wqe, 1); in eib_rsrc_return_rwqe()
515 ret = ibt_register_mr(ss->ei_hca_hdl, ss->ei_pd_hdl, &attr, in eib_rsrc_setup_txbufs()
672 eib_rsrc_init_wqe_pool(ss, &ss->ei_rx, in eib_rsrc_setup_rxbufs()
684 ret = ibt_register_mr(ss->ei_hca_hdl, ss->ei_pd_hdl, &attr, in eib_rsrc_setup_rxbufs()
781 ret = ibt_register_mr(ss->ei_hca_hdl, ss->ei_pd_hdl, &attr, in eib_rsrc_setup_lsobufs()
1145 eib_rsrc_fini_wqe_pool(ss, &ss->ei_tx); in eib_rb_rsrc_setup_txbufs()
[all …]
H A Deib_ctl.c88 eib_rb_ctl_create_qp(ss, vnic); in eib_ctl_create_qp()
98 eib_t *ss = vnic->vn_ss; in eib_ctl_comp_handler() local
141 eib_rb_ctl_setup_cq(ss, vnic); in eib_rb_ctl_create_qp()
209 eib_rb_ctl_setup_cq(ss, vnic); in eib_ctl_setup_cq()
236 alloc_attr.ud_pd = ss->ei_pd_hdl; in eib_ctl_setup_ud_channel()
275 eib_t *ss = vnic->vn_ss; in eib_ctl_comp_intr() local
293 eib_t *ss = vnic->vn_ss; in eib_ctl_rx_comp() local
332 eib_t *ss = vnic->vn_ss; in eib_ctl_err_comp() local
403 EIB_DPRINTF_WARN(ss->ei_instance, in eib_rb_ctl_setup_cq()
428 EIB_DPRINTF_WARN(ss->ei_instance, in eib_rb_ctl_setup_ud_channel()
[all …]
H A Deib_fip.c399 eib_t *ss = vnic->vn_ss; in eib_fip_parse_ctl_pkt() local
472 mutex_enter(&ss->ei_vnic_lock); in eib_fip_parse_ctl_pkt()
476 ss->ei_gw_eport_state = in eib_fip_parse_ctl_pkt()
479 mutex_exit(&ss->ei_vnic_lock); in eib_fip_parse_ctl_pkt()
742 if ((av = eib_ibt_hold_avect(ss, ss->ei_gw_props->pp_gw_lid, in eib_fip_send_login()
747 ss->ei_gw_props->pp_gw_lid, ss->ei_gw_props->pp_gw_sl); in eib_fip_send_login()
757 eib_ibt_release_avect(ss, av); in eib_fip_send_login()
821 eib_ibt_release_avect(ss, av); in eib_fip_send_update()
881 eib_t *ss = vnic->vn_ss; in eib_fip_parse_vhub_table() local
1104 eib_t *ss = vnic->vn_ss; in eib_fip_parse_vhub_update() local
[all …]
H A Deib_data.c102 eib_rb_data_create_qp(ss, vnic); in eib_data_create_qp()
111 eib_t *ss = vnic->vn_ss; in eib_data_rx_comp_handler() local
231 eib_t *ss = vnic->vn_ss; in eib_data_tx_comp_handler() local
346 eib_t *ss = vnic->vn_ss; in eib_data_post_tx() local
504 av = ss->ei_active_vnics; in eib_data_lookup_vnic()
851 eib_t *ss = vnic->vn_ss; in eib_data_prepare_sgl() local
1081 eib_t *ss = vnic->vn_ss; in eib_data_rx_comp_intr() local
1100 eib_t *ss = vnic->vn_ss; in eib_data_tx_comp_intr() local
1117 eib_t *ss = vnic->vn_ss; in eib_data_rx_comp() local
1301 eib_t *ss = vnic->vn_ss; in eib_data_tx_comp() local
[all …]
H A Denx_main.c222 eibnx_t *ss; in eibnx_attach() local
240 ss->nx_dip = dip; in eibnx_attach()
242 enx_global_ss = ss; in eibnx_attach()
311 if (ss == NULL) in eibnx_detach()
353 *resultp = (ss) ? ss->nx_dip : NULL; in eibnx_getinfo()
556 mutex_enter(&ss->nx_lock); in eibnx_config_all_children()
557 if (!ss->nx_monitors_up) { in eibnx_config_all_children()
565 ss->nx_thr_info = ti; in eibnx_config_all_children()
572 mutex_exit(&ss->nx_lock); in eibnx_config_all_children()
576 mutex_exit(&ss->nx_lock); in eibnx_config_all_children()
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet.c258 ss->ss_dip = dip; in fcoet_attach()
291 if (ss == NULL) { in fcoet_detach()
340 if (ss == NULL) { in fcoet_open()
384 if (ss == NULL) { in fcoet_close()
418 if (ss == NULL) { in fcoet_ioctl()
499 (void) snprintf(ss->ss_alias, sizeof (ss->ss_alias), "fcoet%d", in fcoet_attach_init()
509 ss->ss_flags = 0; in fcoet_attach_init()
638 ss->ss_eport->eport_deregister_client(ss->ss_eport); in fcoet_attach_init()
715 ss->ss_eport->eport_deregister_client(ss->ss_eport); in fcoet_detach_uninit()
761 (void) cv_reltimedwait(&ss->ss_watch_cv, &ss->ss_watch_mutex, in fcoet_watchdog()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei.c371 if (!ss) { in fcoei_ioctl()
510 ss->ss_taskq = ddi_taskq_create(ss->ss_dip, in fcoei_attach_init()
522 ss->ss_sol_cnt = &ss->ss_sol_cnt1; in fcoei_attach_init()
525 ss->ss_unsol_cnt = &ss->ss_unsol_cnt1; in fcoei_attach_init()
619 ss->ss_eport->eport_deregister_client(ss->ss_eport); in fcoei_detach_uninit()
684 if (ss->ss_sol_cnt == (&ss->ss_sol_cnt1)) { in fcoei_watchdog()
686 ss->ss_sol_cnt = &ss->ss_sol_cnt2; in fcoei_watchdog()
693 ss->ss_sol_cnt = &ss->ss_sol_cnt1; in fcoei_watchdog()
703 if (ss->ss_unsol_cnt == (&ss->ss_unsol_cnt1)) { in fcoei_watchdog()
705 ss->ss_unsol_cnt = &ss->ss_unsol_cnt2; in fcoei_watchdog()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_softc.c54 if (item < ss->n_items && ss->array != NULL) in ddi_get_soft_state()
71 ss = kmem_zalloc(sizeof (*ss), KM_SLEEP); in ddi_soft_state_init()
73 ss->size = size; in ddi_soft_state_init()
83 ss->array = kmem_zalloc(ss->n_items * sizeof (void *), KM_SLEEP); in ddi_soft_state_init()
85 *state_p = ss; in ddi_soft_state_init()
107 if (ss->size == 0) { in ddi_soft_state_zalloc()
171 kmem_free(ss->array, ss->n_items * sizeof (void *)); in ddi_soft_state_zalloc()
193 if (ss == NULL) { in ddi_soft_state_free()
203 if ((array = ss->array) == NULL || ss->size == 0) { in ddi_soft_state_free()
256 kmem_free(ss->array, ss->n_items * sizeof (void *)); in ddi_soft_state_fini()
[all …]
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c75 ss->s_cpus = calloc(ss->s_nr_cpus, sizeof (struct cpu_snapshot)); in acquire_cpus()
192 ss->s_nr_intrs = 1; in acquire_intrs()
199 ss->s_intrs = calloc(ss->s_nr_intrs, sizeof (struct intr_snapshot)); in acquire_intrs()
289 if (kstat_add(&ss->s_cpus[i].cs_sys, &ss->s_sys.ss_agg_sys)) in acquire_sys()
291 if (kstat_add(&ss->s_cpus[i].cs_vm, &ss->s_sys.ss_agg_vm)) in acquire_sys()
308 free_snapshot(ss); in acquire_snapshot()
354 return (ss); in acquire_snapshot()
362 if (ss == NULL) in free_snapshot()
367 ss->s_iodevs = ss->s_iodevs->is_next; in free_snapshot()
371 if (ss->s_cpus) { in free_snapshot()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.h68 #define SOCK_FAMILY(ss) ((ss).ss_family) argument
70 #define SOCK_PORT(ss) ((ss).ss_family == AF_INET6 ? \ argument
71 ((struct sockaddr_in6 *)&(ss))->sin6_port : \
72 ((struct sockaddr_in *)&(ss))->sin_port)
74 #define SOCK_ADDR(ss) ((ss).ss_family == AF_INET6 ? \ argument
78 #define SET_SOCK_FAMILY(ss, family) (SOCK_FAMILY(ss) = (family)) argument
80 #define SET_SOCK_PORT(ss, port) \ argument
81 ((ss).ss_family == AF_INET6 ? \
85 #define SET_SOCK_ADDR4(ss, addr) ((void)(sock_set_inaddr(&(ss), (addr)))) argument
87 #define SET_SOCK_ADDR_ANY(ss) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dsad_conf.c219 mutex_enter(&ss->ss_sad_lock); in sad_ap_rele()
222 mutex_exit(&ss->ss_sad_lock); in sad_ap_rele()
287 mutex_exit(&ss->ss_sad_lock); in sad_ap_find_by_dev()
292 sad_initspace(str_stack_t *ss) in sad_initspace() argument
296 ss->ss_sadcnt = 16; in sad_initspace()
298 ss->ss_saddev = kmem_zalloc(ss->ss_sadcnt * sizeof (struct saddev), in sad_initspace()
307 sad_freespace(str_stack_t *ss) in sad_freespace() argument
309 kmem_free(ss->ss_saddev, ss->ss_sadcnt * sizeof (struct saddev)); in sad_freespace()
310 ss->ss_saddev = NULL; in sad_freespace()
315 ss->ss_sad_hash = NULL; in sad_freespace()
[all …]
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c47 static struct snapshot *ss; variable
150 dointr(ss); in main()
151 free_snapshot(ss); in main()
155 dosum(&ss->s_sys); in main()
156 free_snapshot(ss); in main()
186 dovmstats(old, ss); in main()
194 old = ss; in main()
206 dovmstats(old, ss); in main()
210 free_snapshot(ss); in main()
483 dointr(struct snapshot *ss) in dointr() argument
[all …]
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.c305 fcoe_soft_state_t *ss; in fcoe_attach() local
317 ss->ss_dip = dip; in fcoe_attach()
320 fcoe_global_ss = ss; in fcoe_attach()
347 fcoe_soft_state_t *ss; in fcoe_detach() local
351 if (ss == NULL) { in fcoe_detach()
448 fcoe_soft_state_t *ss; in fcoe_open() local
463 if (ss == NULL) { in fcoe_open()
500 fcoe_soft_state_t *ss; in fcoe_close() local
508 if (ss == NULL) { in fcoe_close()
537 if (ss == NULL) { in fcoe_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c607 j->ss = ss; in myri10ge_add_jbuf()
1581 ss = &mgp->ss[i]; in myri10ge_reset()
1591 ss = &mgp->ss[i]; in myri10ge_reset()
1618 ss = &mgp->ss[i]; in myri10ge_reset()
1833 slice = ss - mgp->ss; in myri10ge_setup_slice()
2674 ss->mgp->ss), ss->rx_token, ss->rx_polling); in myri10ge_poll_rx()
4971 ss = &mgp->ss[i]; in myri10ge_watchdog()
5282 ss = &mgp->ss[i]; in myri10ge_m_stat()
5299 ss = &mgp->ss[i]; in myri10ge_m_stat()
5566 ss = &mgp->ss[i]; in myri10ge_free_slices()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigaltstack.c47 struct sigaltstack ss; in sigaltstack() local
56 if (copyin(ssp, &ss, sizeof (ss))) in sigaltstack()
58 if (ss.ss_flags & ~SS_DISABLE) in sigaltstack()
60 if (!(ss.ss_flags & SS_DISABLE) && ss.ss_size < MINSIGSTKSZ) in sigaltstack()
71 lwp->lwp_sigaltstack = ss; in sigaltstack()
81 struct sigaltstack *ss; in sigaltstack32() local
103 ss = &lwp->lwp_sigaltstack; in sigaltstack32()
106 oss32.ss_flags = ss->ss_flags; in sigaltstack32()
113 ss = &lwp->lwp_sigaltstack; in sigaltstack32()
115 ss->ss_size = (size_t)ss32.ss_size; in sigaltstack32()
[all …]
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c61 symtab_sym_t ss; in walk_symtab() local
97 (ss.ss_sym.st_shndx == SHN_UNDEF)) in walk_symtab()
101 ss.ss_sym.st_name); in walk_symtab()
102 ss.ss_data = ((uint8_t *)(textdata->d_buf)) + in walk_symtab()
103 (ss.ss_sym.st_value - textshdr.sh_addr); in walk_symtab()
107 ss.ss_name); in walk_symtab()
111 (void) callback(fp, &ss); in walk_symtab()
116 check_sym(ctf_file_t *ctfp, symtab_sym_t *ss) in check_sym() argument
128 if (saveargs_has_args(ss->ss_data, ss->ss_sym.st_size, in check_sym()
130 printf("%s has %d saved args\n", ss->ss_name, in check_sym()
[all …]

1234567891011