/titanic_50/usr/src/uts/common/vm/ |
H A D | seg_map.c | 134 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]) argument 254 #define SMP2SMF_NDX(smp) (ushort_t)((smp - smd_smap) & smd_freemsk) argument 256 #define SMAPMTX(smp) (&smp->sm_mtx) argument 303 struct smap *smp; in segmap_create() local 406 for (smp = &smd->smd_sm[MAP_PAGES(seg) - 1]; in segmap_create() 407 smp >= smd->smd_sm; smp--) { in segmap_create() [all …]
|
H A D | seg_map.h | 92 #define GET_KPME(smp) (&(smp)->sm_kpme) argument 97 #define GET_KPME(smp) ((struct kpme *)NULL) argument
|
/titanic_50/usr/src/cmd/fm/modules/common/sp-monitor/ |
H A D | sp_monitor.c | 67 sp_monitor_t *smp = fmd_hdl_getspecific(hdl); in sp_post_sysevent() local 80 smp->sm_seconds = -1U; in sp_post_sysevent() 81 smp->sm_generation = -1U; in sp_post_sysevent() 89 sp_monitor_t *smp = fmd_hdl_getspecific(hdl); in sp_timeout() local 92 if (ipmi_sunoem_uptime(smp->sm_hdl, &seconds, &generation) != 0) { in sp_timeout() 98 ipmi_errmsg(smp->sm_hdl)); in sp_timeout() 107 if (seconds < smp->sm_seconds || in sp_timeout() 108 generation != smp->sm_generation || in sp_timeout() 109 smp->sm_seconds == 0) in sp_timeout() 112 smp->sm_seconds = seconds; in sp_timeout() [all …]
|
/titanic_50/usr/src/lib/scsi/ |
H A D | Makefile.rootdirs | 57 $(ROOTPLUGINLIBDIR)/smp: $(ROOTPLUGINLIBDIR) 60 $(ROOTPLUGINLIBDIR)/smp/engine: $(ROOTPLUGINLIBDIR)/smp 63 $(ROOTPLUGINLIBDIR)/smp/engine/$(MACH64): $(ROOTPLUGINLIBDIR)/smp/engine 66 $(ROOTPLUGINLIBDIR)/smp/framework: $(ROOTPLUGINLIBDIR)/smp 69 $(ROOTPLUGINLIBDIR)/smp/framework/$(MACH64): $(ROOTPLUGINLIBDIR)/smp/framework 72 $(ROOTPLUGINLIBDIR)/smp/vendor: $(ROOTPLUGINLIBDIR)/smp 75 $(ROOTPLUGINLIBDIR)/smp/vendor/$(MACH64): $(ROOTPLUGINLIBDIR)/smp/vendor 90 $(ROOTPLUGINHDRDIR)/smp: $(ROOTPLUGINHDRDIR) 93 $(ROOTPLUGINHDRDIR)/smp/engine: $(ROOTPLUGINHDRDIR)/smp 96 $(ROOTPLUGINHDRDIR)/smp/framework: $(ROOTPLUGINHDRDIR)/smp [all …]
|
/titanic_50/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 44 static boolean_t getspin(volatile shmem_msg_t *smp); 53 volatile shmem_msg_t *smp; in prb_shmem_init() local 63 smp = (shmem_msg_t *) mmap(0, sizeof (struct shmem_msg), in prb_shmem_init() 66 if (smp == (struct shmem_msg *) - 1) { in prb_shmem_init() 73 smp->spin = B_TRUE; in prb_shmem_init() 75 *ret_val = smp; in prb_shmem_init() 84 getspin(volatile shmem_msg_t *smp) in getspin() argument 86 return (smp->spin); in getspin() 90 prb_shmem_wait(volatile shmem_msg_t *smp) in prb_shmem_wait() argument 95 while (getspin(smp)); in prb_shmem_wait() [all …]
|
H A D | prb_child.c | 55 static prb_status_t sync_child(int pid, volatile shmem_msg_t *smp, 74 volatile shmem_msg_t *smp; in prb_child_create() local 77 prbstat = prb_shmem_init(&smp); in prb_child_create() 166 (void) prb_shmem_wait(smp); in prb_child_create() 197 prbstat = sync_child(childpid, smp, ret_val); in prb_child_create() 222 sync_child(int childpid, volatile shmem_msg_t *smp, prb_proc_ctl_t **proc_pp) in sync_child() argument 260 prbstat = prb_shmem_clear(smp); in sync_child() 294 prbstat = prb_shmem_free(smp); in sync_child()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip_srcid.c | 162 srcid_map_t *smp; in ip_srcid_remove() local 172 smp = *smpp; in ip_srcid_remove() 173 if (smp == NULL) { in ip_srcid_remove() 180 ASSERT(smp->sm_refcnt != 0); in ip_srcid_remove() 181 smp->sm_refcnt--; in ip_srcid_remove() 182 if (smp->sm_refcnt != 0) { in ip_srcid_remove() 187 *smpp = smp->sm_next; in ip_srcid_remove() 189 smp->sm_next = NULL; in ip_srcid_remove() 190 kmem_free(smp, sizeof (srcid_map_t)); in ip_srcid_remove() 203 srcid_map_t *smp; in ip_srcid_find_addr() local [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/libc/ |
H A D | findstack_subr.c | 114 stacks_module_t *smp = arg; in stacks_module_callback() local 115 boolean_t match = (strcmp(obj->obj_name, smp->sm_name) == 0); in stacks_module_callback() 120 if (smp->sm_size != 0) in stacks_module_callback() 138 match = (strncmp(smp->sm_name, obj->obj_name, len) == 0 && in stacks_module_callback() 139 smp->sm_name[len] == '\0'); in stacks_module_callback() 158 smp->sm_text = obj->obj_base; in stacks_module_callback() 159 smp->sm_size = obj->obj_size; in stacks_module_callback() 166 stacks_module(stacks_module_t *smp) in stacks_module() argument 168 if (mdb_object_iter(stacks_module_callback, smp) != 0) in stacks_module()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 184 di_node_t cn, smp, sd; in pci_iports_instantiate() local 235 for (j = 0, smp = di_child_node(cn); smp != DI_NODE_NIL; in pci_iports_instantiate() 236 smp = di_sibling_node(smp)) in pci_iports_instantiate() 237 if (strcmp(di_node_name(smp), "smp") == 0) in pci_iports_instantiate() 241 for (j = 0, smp = di_child_node(cn); smp != DI_NODE_NIL; in pci_iports_instantiate() 242 smp = di_sibling_node(smp)) in pci_iports_instantiate() 243 if (strcmp(di_node_name(smp), "smp") == 0) in pci_iports_instantiate() 244 pci_smp_device_create(mod, auth, iport, smp, in pci_iports_instantiate()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | msg.c | 668 struct msg *smp; /* ptr to best msg on q */ in msgrcv() local 697 smp = msgrcv_lookup(qp, msgtyp); in msgrcv() 699 if (smp) { in msgrcv() 703 if ((smp->msg_flags & MSG_RCVCOPY) == 0) { in msgrcv() 705 long copy_type = smp->msg_type; in msgrcv() 711 smp, msgp, msgflg); in msgrcv() 805 size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg) in msg_copyout() argument 813 if (msgsz < smp->msg_size) { in msg_copyout() 820 xtsz = smp->msg_size; in msg_copyout() 829 ASSERT((smp->msg_flags & MSG_RCVCOPY) == 0); in msg_copyout() [all …]
|
/titanic_50/usr/src/lib/scsi/plugins/smp/usmp/common/ |
H A D | usmp.c | 88 di_node_t root, smp; in usmp_open() local 118 for (smp = di_drv_first_node("smp", root); smp != DI_NODE_NIL; in usmp_open() 119 smp = di_drv_next_node(smp)) { in usmp_open() 122 (void) di_walk_minor(smp, NULL, 0, &walk, di_walk); in usmp_open()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_heartbeat.c | 44 mblk_t *smp; in sctp_return_heartbeat() local 88 smp = sctp_make_mp(sctp, fp, len); in sctp_return_heartbeat() 89 if (smp == NULL) { in sctp_return_heartbeat() 94 cp = (sctp_chunk_hdr_t *)smp->b_wptr; in sctp_return_heartbeat() 102 smp->b_wptr += len; in sctp_return_heartbeat() 106 sctp_set_iplen(sctp, smp, fp->sf_ixa); in sctp_return_heartbeat() 107 (void) conn_ip_output(smp, fp->sf_ixa); in sctp_return_heartbeat()
|
H A D | sctp_shutdown.c | 51 mblk_t *smp; in sctp_send_shutdown() local 100 smp = allocb(sizeof (*sch) + sizeof (*ctsn), BPRI_MED); in sctp_send_shutdown() 101 if (smp == NULL) { in sctp_send_shutdown() 105 linkb(sendmp, smp); in sctp_send_shutdown() 107 sch = (sctp_chunk_hdr_t *)smp->b_rptr; in sctp_send_shutdown() 108 smp->b_wptr = smp->b_rptr + sizeof (*sch) + sizeof (*ctsn); in sctp_send_shutdown()
|
/titanic_50/usr/src/uts/common/sys/scsi/impl/ |
H A D | smp_transport.h | 78 smp_device_t *smp); 84 smp_device_t *smp); 94 smp_hba_tran_t *smp); 96 extern void smp_hba_tran_free(smp_hba_tran_t *smp);
|
/titanic_50/usr/src/lib/libdwarf/common/ |
H A D | dwarf_alloc.c | 1060 struct simple_malloc_record_s *smp = dbg->de_simple_malloc_base; in _dwarf_free_all_of_one_debug() local 1062 while (smp) { in _dwarf_free_all_of_one_debug() 1066 for (i = 0; i < smp->sr_used; ++i) { in _dwarf_free_all_of_one_debug() 1069 cur = &smp->sr_entry[i]; in _dwarf_free_all_of_one_debug() 1075 prev_smp = smp; in _dwarf_free_all_of_one_debug() 1076 smp = smp->sr_next; in _dwarf_free_all_of_one_debug() 1233 struct simple_malloc_record_s *smp = dbg->de_simple_malloc_base; in _dwarf_simple_malloc_delete_from_list() local 1235 while (smp) { in _dwarf_simple_malloc_delete_from_list() 1238 for (i = 0; i < smp->sr_used; ++i) { in _dwarf_simple_malloc_delete_from_list() 1241 cur = &smp->sr_entry[i]; in _dwarf_simple_malloc_delete_from_list() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack_subr.c | 301 stacks_module_cb(uintptr_t addr, const modctl_t *mp, stacks_module_t *smp) in stacks_module_cb() argument 314 if (strcmp(smp->sm_name, mod_modname)) in stacks_module_cb() 317 smp->sm_text = (uintptr_t)mp->mod_text; in stacks_module_cb() 318 smp->sm_size = mp->mod_text_size; in stacks_module_cb() 324 stacks_module(stacks_module_t *smp) in stacks_module() argument 326 if (mdb_walk("modctl", (mdb_walk_cb_t)stacks_module_cb, smp) != 0) { in stacks_module()
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | driver-storage-smp.mf | 32 set name=pkg.fmri value=pkg:/driver/storage/smp@$(PKGVERS) 43 driver name=smp perms="* 0644 root sys" 44 file path=kernel/drv/$(ARCH64)/smp group=sys 45 file path=kernel/drv/smp.conf group=sys
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 266 mem_seg_map_t *smp; in mdesc_init_n2() local 402 smp = topo_mod_zalloc(mod, sizeof (mem_seg_map_t)); in mdesc_init_n2() 403 smp->sm_next = mem->mem_seg; in mdesc_init_n2() 404 mem->mem_seg = smp; in mdesc_init_n2() 405 smp->sm_base = base; in mdesc_init_n2() 406 smp->sm_size = size; in mdesc_init_n2() 409 smp->sm_grp = create_grp(mod, bl, bc, in mdesc_init_n2() 412 smp->sm_grp = gmp; in mdesc_init_n2()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | l_strplumb.c | 158 kstr_msg(vnode_t *vp, mblk_t *smp, mblk_t **rmp, timestruc_t *timeo) in kstr_msg() argument 170 if (smp == NULL && rmp == NULL) in kstr_msg() 173 if (smp != NULL) { in kstr_msg() 175 (void) kstrputmsg(vp, smp, NULL, 0, 0, in kstr_msg()
|
/titanic_50/usr/src/lib/scsi/plugins/smp/ |
H A D | Makefile.lib | 50 ROOTPLUGINDIR = $(ROOTPLUGINLIBDIR)/smp/$(PLUGINTYPE) 51 ROOTPLUGINDIR64 = $(ROOTPLUGINLIBDIR)/smp/$(PLUGINTYPE)/$(MACH64)
|
H A D | Makefile.plugin | 33 ROOTHDRDIR = $(ROOTPLUGINHDRDIR)/smp/$(PLUGINTYPE)
|
/titanic_50/usr/src/cmd/scsi/ |
H A D | Makefile | 27 smp
|
/titanic_50/usr/src/lib/scsi/plugins/ |
H A D | Makefile | 29 smp
|
/titanic_50/usr/src/uts/sparc/smp/ |
H A D | Makefile | 42 MODULE = smp
|
/titanic_50/usr/src/uts/intel/smp/ |
H A D | Makefile | 42 MODULE = smp
|