Searched defs:smp (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_shmem.c44 static boolean_t getspin(volatile shmem_msg_t *smp);
53 volatile shmem_msg_t *smp; local
63 smp = (shmem_msg_t *) mmap(0, sizeof (struct shmem_msg),
66 if (smp == (struct shmem_msg *) - 1) {
73 smp->spin = B_TRUE;
75 *ret_val = smp;
84 getspin(volatile shmem_msg_t *smp) argument
86 return (smp->spin);
90 prb_shmem_wait(volatile shmem_msg_t *smp) argument
95 while (getspin(smp));
110 prb_shmem_clear(volatile shmem_msg_t *smp) argument
123 prb_shmem_free(volatile shmem_msg_t *smp) argument
[all...]
H A Dprb_child.c55 static prb_status_t sync_child(int pid, volatile shmem_msg_t *smp,
74 volatile shmem_msg_t *smp; local
77 prbstat = prb_shmem_init(&smp);
166 (void) prb_shmem_wait(smp);
197 prbstat = sync_child(childpid, smp, ret_val);
222 sync_child(int childpid, volatile shmem_msg_t *smp, prb_proc_ctl_t **proc_pp) argument
260 prbstat = prb_shmem_clear(smp);
294 prbstat = prb_shmem_free(smp);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_srcid.c162 srcid_map_t *smp; local
172 smp = *smpp;
173 if (smp == NULL) {
180 ASSERT(smp->sm_refcnt != 0);
181 smp->sm_refcnt--;
182 if (smp->sm_refcnt != 0) {
187 *smpp = smp->sm_next;
189 smp->sm_next = NULL;
190 kmem_free(smp, sizeof (srcid_map_t));
203 srcid_map_t *smp; local
241 srcid_map_t *smp; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sp-monitor/
H A Dsp_monitor.c67 sp_monitor_t *smp = fmd_hdl_getspecific(hdl); local
80 smp->sm_seconds = -1U;
81 smp->sm_generation = -1U;
89 sp_monitor_t *smp = fmd_hdl_getspecific(hdl); local
92 if (ipmi_sunoem_uptime(smp->sm_hdl, &seconds, &generation) != 0) {
98 ipmi_errmsg(smp->sm_hdl));
107 if (seconds < smp->sm_seconds ||
108 generation != smp->sm_generation ||
109 smp->sm_seconds == 0)
112 smp
139 sp_monitor_t *smp; local
199 sp_monitor_t *smp = fmd_hdl_getspecific(hdl); local
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c44 mblk_t *smp; local
88 smp = sctp_make_mp(sctp, fp, len);
89 if (smp == NULL) {
94 cp = (sctp_chunk_hdr_t *)smp->b_wptr;
102 smp->b_wptr += len;
106 sctp_set_iplen(sctp, smp, fp->sf_ixa);
107 (void) conn_ip_output(smp, fp->sf_ixa);
H A Dsctp_shutdown.c51 mblk_t *smp; local
100 smp = allocb(sizeof (*sch) + sizeof (*ctsn), BPRI_MED);
101 if (smp == NULL) {
105 linkb(sendmp, smp);
107 sch = (sctp_chunk_hdr_t *)smp->b_rptr;
108 smp->b_wptr = smp->b_rptr + sizeof (*sch) + sizeof (*ctsn);
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_mon.c68 sfxge_mon_t *smp = &(sp->s_mon); local
69 efsys_mem_t *esmp = &(smp->sm_mem);
80 ASSERT(mutex_owned(&(smp->sm_lock)));
82 if (smp->sm_state != SFXGE_MON_STARTED)
85 if (smp->sm_polling) {
86 rc = efx_mon_stats_update(enp, esmp, smp->sm_statbuf);
91 knp = smp->sm_stat;
95 knp->value.ui64 = smp->sm_statbuf[sn].emsv_value;
104 knp->value.ui32 = smp->sm_polling;
121 sfxge_mon_t *smp local
197 sfxge_mon_t *smp = &(sp->s_mon); local
210 sfxge_mon_t *smp = &(sp->s_mon); local
270 sfxge_mon_t *smp = &(sp->s_mon); local
297 sfxge_mon_t *smp = &(sp->s_mon); local
313 sfxge_mon_t *smp = &(sp->s_mon); local
[all...]
H A Dsfxge_phy.c77 sfxge_mac_t *smp = &(sp->s_mac); local
78 sfxge_phy_t *spp = &(smp->sm_phy);
89 ASSERT(mutex_owned(&(smp->sm_lock)));
91 if (smp->sm_state != SFXGE_MAC_STARTED)
230 sfxge_mac_t *smp = &(sp->s_mac); local
233 mutex_enter(&(smp->sm_lock));
235 if (smp->sm_state != SFXGE_MAC_STARTED)
241 mutex_exit(&(smp->sm_lock));
254 sfxge_mac_t *smp = &(sp->s_mac); local
260 ASSERT(mutex_owned(&(smp
313 sfxge_mac_t *smp = &(sp->s_mac); local
340 sfxge_mac_t *smp = &(sp->s_mac); local
[all...]
H A Dsfxge_mcdi.c89 sfxge_mcdi_acquire(sfxge_mcdi_t *smp) argument
91 mutex_enter(&(smp->sm_lock));
92 ASSERT3U(smp->sm_state, !=, SFXGE_MCDI_UNINITIALIZED);
94 while (smp->sm_state != SFXGE_MCDI_INITIALIZED) {
95 (void) cv_wait(&(smp->sm_kv), &(smp->sm_lock));
97 smp->sm_state = SFXGE_MCDI_BUSY;
99 mutex_exit(&(smp->sm_lock));
105 sfxge_mcdi_release(sfxge_mcdi_t *smp) argument
107 mutex_enter(&(smp
168 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
184 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
274 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
342 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
371 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
435 sfxge_mcdi_t *smp = &(sp->s_mcdi); local
[all...]
H A Dsfxge_gld_v3.c50 sfxge_mac_t *smp = &(sp->s_mac); local
53 switch (smp->sm_link_mode) {
H A Dsfxge_mac.c75 _sfxge_mac_stat_update(sfxge_mac_t *smp, int tries, int delay_usec) argument
77 sfxge_t *sp = smp->sm_sp;
78 efsys_mem_t *esmp = &(smp->sm_mem);
81 ASSERT(mutex_owned(&(smp->sm_lock)));
82 ASSERT3U(smp->sm_state, !=, SFXGE_MAC_UNINITIALIZED);
85 if (smp->sm_mac_stats_timer_reqd && !smp->sm_mac_stats_pend)
90 if (efx_mac_stats_update(sp->s_enp, esmp, smp->sm_stat,
102 smp->sm_mac_stats_pend = B_FALSE;
103 smp
107 sfxge_mac_stat_update_quick(sfxge_mac_t *smp) argument
118 sfxge_mac_stat_update_wait(sfxge_mac_t *smp) argument
127 sfxge_mac_t *smp = ksp->ks_private; local
188 sfxge_mac_t *smp = &(sp->s_mac); local
242 sfxge_mac_t *smp = &(sp->s_mac); local
253 sfxge_mac_t *smp = &(sp->s_mac); local
274 sfxge_mac_t *smp = &(sp->s_mac); local
322 sfxge_mac_t *smp = &(sp->s_mac); local
334 sfxge_mac_t *smp = &(sp->s_mac); local
353 sfxge_mac_t *smp = &(sp->s_mac); local
478 sfxge_mac_t *smp = &(sp->s_mac); local
516 sfxge_mac_t *smp = &(sp->s_mac); local
600 sfxge_mac_t *smp = &(sp->s_mac); local
674 sfxge_mac_t *smp = &(sp->s_mac); local
684 sfxge_mac_t *smp = &(sp->s_mac); local
694 sfxge_mac_t *smp = &(sp->s_mac); local
704 sfxge_mac_t *smp = &(sp->s_mac); local
714 sfxge_mac_t *smp = &(sp->s_mac); local
724 sfxge_mac_t *smp = &(sp->s_mac); local
756 sfxge_mac_t *smp = &(sp->s_mac); local
812 sfxge_mac_t *smp = &(sp->s_mac); local
873 sfxge_mac_t *smp = &(sp->s_mac); local
900 sfxge_mac_t *smp = &(sp->s_mac); local
950 sfxge_mac_t *smp = &(sp->s_mac); local
984 sfxge_mac_t *smp = &(sp->s_mac); local
1019 sfxge_mac_t *smp = &(sp->s_mac); local
[all...]
H A Dsfxge_rx.c2603 sfxge_mac_t *smp = &(sp->s_mac); local
2610 mutex_enter(&(smp->sm_lock));
2665 mutex_exit(&(smp->sm_lock));
2702 mutex_enter(&(smp->sm_lock));
2710 mutex_exit(&(smp->sm_lock));
2750 sfxge_mac_t *smp = &(sp->s_mac); local
2768 mutex_enter(&(smp->sm_lock));
2777 mutex_exit(&(smp->sm_lock));
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c69 "smp-wwn", &wwn) != 1)
88 di_node_t root, smp; local
118 for (smp = di_drv_first_node("smp", root); smp != DI_NODE_NIL;
119 smp = di_drv_next_node(smp)) {
122 (void) di_walk_minor(smp, NULL, 0, &walk, di_walk);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c184 di_node_t cn, smp, sd; local
209 if (strcmp(di_node_name(sd), "smp") != 0)
215 "smp") != 0)
221 if (strcmp(di_node_name(sd), "smp") != 0)
228 "smp") != 0)
233 * Now create any smp-device nodes.
235 for (j = 0, smp = di_child_node(cn); smp != DI_NODE_NIL;
236 smp = di_sibling_node(smp))
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c153 * Optionally send data (if smp set) and optionally receive data (if rmp is
158 kstr_msg(vnode_t *vp, mblk_t *smp, mblk_t **rmp, timestruc_t *timeo) argument
170 if (smp == NULL && rmp == NULL)
173 if (smp != NULL) {
175 (void) kstrputmsg(vp, smp, NULL, 0, 0,
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack_subr.c301 stacks_module_cb(uintptr_t addr, const modctl_t *mp, stacks_module_t *smp) argument
314 if (strcmp(smp->sm_name, mod_modname))
317 smp->sm_text = (uintptr_t)mp->mod_text;
318 smp->sm_size = mp->mod_text_size;
324 stacks_module(stacks_module_t *smp) argument
326 if (mdb_walk("modctl", (mdb_walk_cb_t)stacks_module_cb, smp) != 0) {
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dfindstack_subr.c114 stacks_module_t *smp = arg; local
115 boolean_t match = (strcmp(obj->obj_name, smp->sm_name) == 0);
120 if (smp->sm_size != 0)
138 match = (strncmp(smp->sm_name, obj->obj_name, len) == 0 &&
139 smp->sm_name[len] == '\0');
158 smp->sm_text = obj->obj_base;
159 smp->sm_size = obj->obj_size;
166 stacks_module(stacks_module_t *smp) argument
168 if (mdb_object_iter(stacks_module_callback, smp) != 0)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c353 space_map_open(space_map_t **smp, objset_t *os, uint64_t object, argument
359 ASSERT(*smp == NULL);
378 *smp = sm;
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_alloc.c1060 struct simple_malloc_record_s *smp = dbg->de_simple_malloc_base; local
1062 while (smp) {
1066 for (i = 0; i < smp->sr_used; ++i) {
1069 cur = &smp->sr_entry[i];
1075 prev_smp = smp;
1076 smp = smp->sr_next;
1233 struct simple_malloc_record_s *smp = dbg->de_simple_malloc_base; local
1235 while (smp) {
1238 for (i = 0; i < smp
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c266 mem_seg_map_t *smp; local
402 smp = topo_mod_zalloc(mod, sizeof (mem_seg_map_t));
403 smp->sm_next = mem->mem_seg;
404 mem->mem_seg = smp;
405 smp->sm_base = base;
406 smp->sm_size = size;
409 smp->sm_grp = create_grp(mod, bl, bc,
412 smp->sm_grp = gmp;
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dmach_cpu_module.c285 prefetch_smap_w(void *smp) argument
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c668 struct msg *smp; /* ptr to best msg on q */ local
697 smp = msgrcv_lookup(qp, msgtyp);
699 if (smp) {
703 if ((smp->msg_flags & MSG_RCVCOPY) == 0) {
705 long copy_type = smp->msg_type;
711 smp, msgp, msgflg);
805 size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg)
813 if (msgsz < smp->msg_size) {
820 xtsz = smp->msg_size;
829 ASSERT((smp
804 msg_copyout(kmsqid_t *qp, long msgtyp, kmutex_t **lock, size_t *xtsz_ret, size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg) argument
882 struct msg *smp = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c1362 smp_hba_tran_t *tran, smp_device_t *smp)
1364 _NOTE(ARGUNUSED(tran, smp));
1361 pmcs_smp_free(dev_info_t *self, dev_info_t *child, smp_hba_tran_t *tran, smp_device_t *smp) argument
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dmach_cpu_module.c115 prefetch_smap_w(void *smp) argument
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_map.c134 size_t len, enum seg_rw rw, struct smap *smp);
135 static void segmap_smapadd(struct smap *smp);
136 static struct smap *segmap_hashin(struct smap *smp, struct vnode *vp,
138 static void segmap_hashout(struct smap *smp);
253 #define SMP2SMF(smp) (&smd_free[(smp - smd_smap) & smd_freemsk])
254 #define SMP2SMF_NDX(smp) (ushort_t)((smp - smd_smap) & smd_freemsk)
256 #define SMAPMTX(smp) (&smp
303 struct smap *smp; local
491 segmap_unlock( struct hat *hat, struct seg *seg, caddr_t addr, size_t len, enum seg_rw rw, struct smap *smp) argument
591 struct smap *smp; local
777 struct smap *smp; local
927 segmap_smapadd(struct smap *smp) argument
989 segmap_hashin(struct smap *smp, struct vnode *vp, u_offset_t off, int hashid) argument
1048 segmap_hashout(struct smap *smp) argument
1124 grab_smp(struct smap *smp, page_t *pp) argument
1189 struct smap *smp, *first; local
1384 struct smap *smp; local
1495 struct smap *smp; local
1607 struct smap *smp, *nsmp; local
1981 struct smap *smp; local
2134 struct smap *smp, *smp_end; local
2216 segmap_pagecreate_kpm(struct seg *seg, vnode_t *vp, u_offset_t off, struct smap *smp, enum seg_rw rw) argument
2282 struct smap *smp; local
2342 segmap_pagecreate_kpm(struct seg *seg, vnode_t *vp, u_offset_t off, struct smap *smp, enum seg_rw rw) argument
[all...]

Completed in 200 milliseconds

12