/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_stat.c | 50 struct statcache *scp; local 60 for (scp = statcache_head[hash]; scp != NULL; scp = scp->sc_next) 61 if (strcmp(filename, scp->sc_filename) == 0) 63 if (scp) { 64 (void) memcpy((caddr_t)sbp, (caddr_t)&scp->sc_stat, 74 scp = (struct statcache *)malloc(sizeof (*scp)); [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | wnoutref.c | 54 chtype **wcp, **scp, *wc, *sc; local 116 scp = _virtscr->_y + yorg; 126 ++sech, ++wcp, ++scp) { 134 sc = *scp; 190 sc = *scp + lo + xorg;
|
H A D | mvcur.c | 320 chtype *scp; local 327 scp = curscr->_y[Newy]; 339 if (iscont == 0 && !ISCBIT(scp[x])) 342 _ATTR(scp[x]) == curscr->_attrs) || 344 if (!ISMBIT(scp[x])) 347 curscr->_maxx && ISCBIT(scp[nx]))) 371 if (iscont == 0 && !ISCBIT(scp[x])) 374 _ATTR(scp[x]) == curscr->_attrs) || 376 if (!ISMBIT(scp[x])) 377 (void) _outwch(_CHAR(scp[ [all...] |
H A D | wrefresh.c | 372 chtype *wcp, *scp, *wp, *sp, wc, sc; local 387 scp = curscr->_y[wy]; 403 sp = scp + wx; 411 for (sp = scp+wx, wp = wcp+wx; wp > wcp; --wp, --sp, --wx) 417 sp = scp + lastx - 1; 441 for (sp = scp + blnkx + 1; blnkx < scrco - 1; 524 scp += wx; 533 for (; wx < lastx; ++wx, ++wcp, ++scp) 534 if (*wcp != *scp) 538 for (; wx > wx_sav; --wx, --wcp, --scp) { 801 _useidch(chtype *wcp, chtype *scp, int length, int maxi, int *id) argument [all...] |
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | cancel.c | 314 volatile sc_shared_t *scp; local 319 if ((scp = self->ul_schedctl) != NULL || 320 (scp = setup_schedctl()) != NULL) { 322 scp->sc_flgs &= ~(SC_CANCEL_FLG | SC_EINTR_FLG); 324 scp->sc_flgs |= SC_CANCEL_FLG; 326 scp->sc_flgs &= ~SC_CANCEL_FLG; 340 volatile sc_shared_t *scp; local 345 if ((scp = self->ul_schedctl) != NULL || 346 (scp = setup_schedctl()) != NULL) 347 scp 362 volatile sc_shared_t *scp; local 397 volatile sc_shared_t *scp; local [all...] |
H A D | sigaction.c | 488 * scp->sc_sigblock = 0. That would be a way to lose signals. 494 volatile sc_shared_t *scp; local 497 if ((scp = self->ul_schedctl) != NULL || 498 (scp = setup_schedctl()) != NULL) 499 scp->sc_sigblock = 1;
|
H A D | synch.c | 1105 volatile sc_shared_t *scp; local 1108 if ((scp = self->ul_schedctl) == NULL && /* no shared state yet */ 1114 self->ul_schedctl = scp = tmp; 1123 return (scp); 1134 volatile sc_shared_t *scp = setup_schedctl(); local 1135 return ((scp == NULL)? NULL : (schedctl_t *)&scp->sc_preemptctl); 1168 volatile sc_shared_t *scp; local 1172 if ((scp = self->ul_schedctl) != NULL || 1173 (scp 1189 volatile sc_shared_t *scp; local 1227 volatile sc_shared_t *scp = self->ul_schedctl; local 1251 volatile sc_shared_t *scp; local 1280 volatile sc_shared_t *scp; local 1432 volatile sc_shared_t *scp; local [all...] |
/osnet-11/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 564 volatile sc_shared_t *scp; local 575 if ((scp = self->ul_schedctl) == NULL && 576 (scp = setup_schedctl()) == NULL) { /* can't happen? */ 588 self->ul_cid == scp->sc_cid && 589 (self->ul_pri == scp->sc_cpri || 590 (self->ul_epri > 0 && self->ul_epri == scp->sc_cpri))) { 597 self->ul_cid = scp->sc_cid; 598 self->ul_pri = scp->sc_cpri;
|
/osnet-11/usr/src/lib/scsi/libses/common/ |
H A D | ses_plugin.c | 204 ses_plugin_register(ses_plugin_t *sp, int version, ses_plugin_config_t *scp) argument 209 sp->sp_pages = scp->spc_pages; 210 sp->sp_node_parse = scp->spc_node_parse; 211 sp->sp_node_ctl = scp->spc_node_ctl; 212 if (scp->spc_node_type_known != NULL) { 213 sp->sp_node_type_known = scp->spc_node_type_known;
|
/osnet-11/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 76 will_deadlock(evchan_t *scp) argument 79 evchan_impl_hdl_t *hdl = EVCHAN_IMPL_HNDL(scp); 119 evchan_t *scp; local 144 scp = calloc(1, sizeof (evchan_impl_hdl_t)); 145 if (scp == NULL) { 154 EV_FD(scp) = open(DEVSYSEVENT, O_RDWR); 155 if (EV_FD(scp) == -1) { 158 free(scp); 162 EV_FD(scp) = open(DEVICESYSEVENT, O_RDWR); 163 if (EV_FD(scp) 202 sysevent_evc_unbind(evchan_t *scp) argument 264 sysevent_evc_publish(evchan_t *scp, const char *class, const char *subclass, const char *vendor, const char *pub_name, nvlist_t *attr_list, uint32_t flags) argument 446 sysevent_evc_subscribe_cmn(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags, struct sysevent_subattr_impl *xsa) argument 571 sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags) argument 600 sysevent_evc_xsubscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags, sysevent_subattr_t *attr) argument 686 sysevent_evc_unsubscribe(evchan_t *scp, const char *sid) argument 776 sysevent_evc_control(evchan_t *scp, int cmd, ...) argument 832 sysevent_evc_setpropnvl(evchan_t *scp, nvlist_t *nvl) argument 858 sysevent_evc_getpropnvl(evchan_t *scp, nvlist_t **nvlp) argument [all...] |
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_conspiracy.c | 94 static void shadcons_stop_all(shadow_conspiracy_t *scp); 102 shadcons_dprintf(shadow_conspiracy_t *scp, const char *fmt, ...) argument 106 if ((scp)->sc_debugfd < 0) 109 _shadow_dprintf(scp->sc_debugfd, __FILE__, fmt, ap); 114 shadcons_warn(shadow_conspiracy_t *scp, const char *fmt, ...) argument 118 if ((scp)->sc_warnfd < 0) 121 _shadow_dprintf(scp->sc_warnfd, __FILE__, fmt, ap); 133 shadcons_panic(shadow_conspiracy_t *scp) argument 139 shadcons_entry_remove(shadow_conspiracy_t *scp, shadow_conspiracy_entry_t *nsp) argument 141 shadow_hash_remove(scp 175 shadow_conspiracy_t *scp = data; local 400 shadcons_start_workers(shadow_conspiracy_t *scp) argument 471 shadcons_stop_common(shadow_conspiracy_t *scp, boolean_t full_stop) argument 528 shadcons_stop_all(shadow_conspiracy_t *scp) argument 550 shadcons_stop_other_workers(shadow_conspiracy_t *scp) argument 590 shadcons_suspend(shadow_conspiracy_t *scp, shadow_conspiracy_entry_t *nsp) argument 606 shadcons_resume(shadow_conspiracy_t *scp, shadow_conspiracy_entry_t *nsp) argument 637 shadcons_scf_get_int(shadow_conspiracy_t *scp, const char *pgname, const char *propname, uint64_t *retval) argument 668 shadcons_scf_get_string(shadow_conspiracy_t *scp, const char *pgname, const char *propname, char *buf, size_t len) argument 700 shadcons_enable_output(shadow_conspiracy_t *scp, const char *path, boolean_t fordebug) argument 717 shadcons_disable_output(shadow_conspiracy_t *scp, boolean_t fordebug) argument 733 shadcons_set_config(shadow_conspiracy_t *scp) argument 779 shadcons_scf_fini(shadow_conspiracy_t *scp) argument 787 shadcons_scf_init(shadow_conspiracy_t *scp) argument 801 shadcons_cancel_common(shadow_conspiracy_t *scp, const char *dataset, boolean_t docancel) argument 836 shadcons_cancel(shadow_conspiracy_t *scp, const char *dataset) argument 842 shadcons_stop(shadow_conspiracy_t *scp, const char *dataset) argument 848 shadcons_start(shadow_conspiracy_t *scp, const char *dataset, const char *mountpoint, const char *source, boolean_t *is_new) argument 902 shadcons_svc_refresh(shadow_conspiracy_t *scp) argument 937 shadcons_svc_start(shadow_conspiracy_t *scp) argument 945 shadcons_svc_stop(shadow_conspiracy_t *scp) argument 953 shadcons_status(shadow_conspiracy_t *scp, const char *dataset, shadow_conspiracy_status_t *statp) argument 995 shadcons_status_all(shadow_conspiracy_t *scp, shadow_conspiracy_status_t **statp, size_t *nstats) argument 1062 shadcons_hash_count(shadow_conspiracy_t *scp) argument 1068 shadcons_hash_first(shadow_conspiracy_t *scp) argument 1074 shadcons_hash_next(shadow_conspiracy_t *scp, void *elem) argument 1080 shadcons_hash_remove(shadow_conspiracy_t *scp, void *elem) argument 1086 shadcons_hashentry_dataset(shadow_conspiracy_t *scp, void *entry) argument 1092 shadcons_lock(shadow_conspiracy_t *scp) argument 1098 shadcons_unlock(shadow_conspiracy_t *scp) argument 1105 shadcons_fini(shadow_conspiracy_t *scp) argument 1133 shadow_conspiracy_t *scp; local [all...] |
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.c | 804 * EBADF - scp is invalid (sysevent_evc_publish() returned EINVAL) 808 restarter_event_publish_retry(evchan_t *scp, const char *class, argument 816 ret = sysevent_evc_publish(scp, class, subclass, vendor,
|
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
H A D | ses.c | 2550 ses_enum_chassis_t *scp) 2556 uint64_t instance = scp->sec_instance; 2591 props = ses_node_props(scp->sec_enclosure); 2617 ses_node_id(scp->sec_enclosure), scp->sec_target->set_devpath) != 0) 2620 if (ses_check_facility_mgmt(mod, scp, tn, props) != 0) 2641 for (i = 0, stp = topo_list_next(&scp->sec_targets); stp != NULL; 2648 for (i = 0, stp = topo_list_next(&scp->sec_targets); stp != NULL; 2670 CONTROLLER, "CONTROLLER", scp, B_TRUE) != 0 || 2672 BAY, "BAY", scp, B_TRU 2549 ses_create_subchassis(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *scp) argument 3302 ses_enum_chassis_t *scp; local 3760 ses_enum_chassis_t *cp, *scp; local [all...] |