/titanic_41/usr/src/uts/common/contract/ |
H A D | process.c | 124 #define EVSENDP(ctp, flag) \ argument 125 ((ctp->conp_contract.ct_ev_info | ctp->conp_contract.ct_ev_crit) & flag) 127 #define EVINFOP(ctp, flag) \ argument 128 ((ctp->conp_contract.ct_ev_crit & flag) == 0) 130 #define EVFATALP(ctp, flag) \ argument 131 (ctp->conp_ev_fatal & flag) 182 ctmpl_process_t *ctp = template->ctmpl_data; in ctmpl_process_free() local 184 if (ctp->ctp_subsume) in ctmpl_process_free() 185 contract_rele(ctp->ctp_subsume); in ctmpl_process_free() 186 if (ctp->ctp_svc_fmri != NULL) { in ctmpl_process_free() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | clock_tick.c | 170 clock_tick_cpu_t *ctp; in clock_tick_init_pre() local 190 ctp = (clock_tick_cpu_t *)buf; in clock_tick_init_pre() 191 clock_tick_cpu[i] = ctp; in clock_tick_init_pre() 192 mutex_init(&ctp->ct_lock, NULL, MUTEX_DEFAULT, NULL); in clock_tick_init_pre() 194 ctp->ct_intr = clock_tick_intr; in clock_tick_init_pre() 196 ctp->ct_pending = 0; in clock_tick_init_pre() 267 clock_tick_cpu_t *ctp; in clock_tick_schedule_one() local 276 ctp = clock_tick_cpu[cid]; in clock_tick_schedule_one() 277 mutex_enter(&ctp->ct_lock); in clock_tick_schedule_one() 278 ctp->ct_lbolt = LBOLT_NO_ACCOUNT; in clock_tick_schedule_one() [all …]
|
H A D | fork.c | 793 cont_process_t *ctp = NULL; in newproc() local 905 ctp = contract_process_fork(sys_process_tmpl, p, curproc, in newproc() 907 ASSERT(ctp != NULL); in newproc() 909 *ct = &ctp->conp_contract; in newproc()
|
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_talk2ctlr.c | 438 volatile CfgTable_t *ctp; in cpqary3_init_ctlr() local 458 ctp = (CfgTable_t *)cpqary3p->ct; in cpqary3_init_ctlr() 469 DTRACE_PROBE1(ctlr_init_start, CfgTable_t *, ctp); in cpqary3_init_ctlr() 478 if (DDI_GET8(cpqary3p, &ctp->Signature[cntr]) != in cpqary3_init_ctlr() 489 CmdsOutMax = DDI_GET32(cpqary3p, &ctp->CmdsOutMax); in cpqary3_init_ctlr() 526 if (!(DDI_GET32(cpqary3p, &ctp->TransportSupport) & in cpqary3_init_ctlr() 542 DDI_PUT32(cpqary3p, &ctp->HostWrite.TransportRequest, in cpqary3_init_ctlr() 579 if (!(DDI_GET32(cpqary3p, &ctp->TransportActive) & in cpqary3_init_ctlr() 594 if (!(DDI_GET32(cpqary3p, &ctp->TransportActive) & in cpqary3_init_ctlr() 608 CmdsOutMax = DDI_GET32(cpqary3p, &ctp->CmdsOutMax); in cpqary3_init_ctlr() [all …]
|
H A D | cpqary3_isr.c | 39 volatile CfgTable_t *ctp; in cpqary3_hw_isr() local 45 ctp = (CfgTable_t *)cpqary3p->ct; in cpqary3_hw_isr() 50 DDI_GET32(cpqary3p, &ctp->HeartBeat)) { in cpqary3_hw_isr()
|
H A D | cpqary3_util.c | 107 volatile CfgTable_t *ctp; in cpqary3_tick_hdlr() local 121 ctp = (CfgTable_t *)ctlr->ct; in cpqary3_tick_hdlr() 124 if (ctlr->heartbeat == DDI_GET32(ctlr, &ctp->HeartBeat)) { in cpqary3_tick_hdlr() 185 ctlr->heartbeat = DDI_GET32(ctlr, &ctp->HeartBeat); in cpqary3_tick_hdlr()
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | color_cont.c | 50 _Color *ctp; in color_content() local 53 (ctp = cur_term->_color_tbl) == (_Color *) NULL) in color_content() 56 ctp += color; in color_content() 57 *r = ctp->r; in color_content() 58 *g = ctp->g; in color_content() 59 *b = ctp->b; in color_content()
|
H A D | init_pair.c | 135 _Color *ctp = cur_term->_color_tbl; /* color table pointer */ in _init_HP_pair() local 139 (long) ctp[f].r, (long) ctp[f].g, (long) ctp[f].b, in _init_HP_pair() 140 (long) ctp[b].r, (long) ctp[b].g, (long) ctp[b].b), in _init_HP_pair()
|
H A D | init_color.c | 55 _Color *ctp = cur_term->_color_tbl; /* color table pointer */ in init_color() local 78 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) in init_color() 83 ctp[color].r = r; ctp[color].g = g; ctp[color].b = b; in init_color()
|
H A D | scr_reset.c | 218 _Color *ctp, *save_ctp; in scr_reset() local 220 if ((save_ctp = (ctp = (_Color *) in scr_reset() 225 if (fread(ctp, sizeof (_Color), in scr_reset() 229 for (i = 0; i < colors; i++, ctp++) { in scr_reset() 232 ctp->r, ctp->g, ctp->b); in scr_reset()
|
/titanic_41/usr/src/uts/common/cpr/ |
H A D | cpr_main.c | 846 cpr_time_t pwron_tv, *ctp; in cpr_resume() local 1034 ctp = &cpr_term.tm_shutdown; in cpr_resume() 1036 CPR_STAT_EVENT_END_TMZ(" write statefile", ctp); in cpr_resume() 1037 CPR_STAT_EVENT_END_TMZ("Suspend Total", ctp); in cpr_resume() 1043 ctp = &cpr_term.tm_cprboot_start; in cpr_resume() 1044 CPR_STAT_EVENT_END_TMZ(str, ctp); in cpr_resume() 1047 CPR_STAT_EVENT_START_TMZ(str, ctp); in cpr_resume() 1048 ctp = &cpr_term.tm_cprboot_end; in cpr_resume() 1049 CPR_STAT_EVENT_END_TMZ(str, ctp); in cpr_resume() 1256 ctp = &cpr_term.tm_shutdown; in cpr_resume() [all …]
|
H A D | cpr_stat.c | 49 cpr_stat_event_start(char *name, cpr_time_t *ctp) in cpr_stat_event_start() argument 54 if (ctp) in cpr_stat_event_start() 55 tv = *ctp; in cpr_stat_event_start() 79 cpr_stat_event_end(char *name, cpr_time_t *ctp) in cpr_stat_event_end() argument 85 if (ctp) in cpr_stat_event_end() 86 tv = *ctp; in cpr_stat_event_end()
|
H A D | cpr_misc.c | 840 cpr_tod_get(cpr_time_t *ctp) in cpr_tod_get() argument 847 ctp->tv_sec = (time32_t)ts.tv_sec; in cpr_tod_get() 848 ctp->tv_nsec = (int32_t)ts.tv_nsec; in cpr_tod_get()
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | clnt.h | 294 call_table_t *ctp = (e)->call_bucket; \ 295 mutex_enter(&ctp->ct_lock); \ 296 ctp->ct_len++; \ 297 (e)->call_next = ctp->ct_call_next; \ 298 (e)->call_prev = (calllist_t *)ctp; \ 299 ctp->ct_call_next->call_prev = (e); \ 300 ctp->ct_call_next = (e); \ 301 mutex_exit(&ctp->ct_lock); \ 306 call_table_t *ctp = (e)->call_bucket; \ 307 mutex_enter(&ctp->ct_lock); \ [all …]
|
H A D | clnt_gen.c | 379 call_table_t *ctp; in call_table_init() local 382 ctp = kmem_alloc(sizeof (call_table_t) * size, KM_SLEEP); in call_table_init() 385 ctp[i].ct_call_next = (calllist_t *)&ctp[i]; in call_table_init() 386 ctp[i].ct_call_prev = (calllist_t *)&ctp[i]; in call_table_init() 387 mutex_init(&ctp[i].ct_lock, NULL, MUTEX_DEFAULT, NULL); in call_table_init() 388 ctp[i].ct_len = 0; in call_table_init() 391 return (ctp); in call_table_init()
|
/titanic_41/usr/src/uts/common/fs/dcfs/ |
H A D | dc_vnops.c | 246 dc_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ctp) in dc_open() argument 254 struct cred *cr, caller_context_t *ctp) in dc_close() argument 309 cred_t *cred, caller_context_t *ctp) in dc_getattr() argument 315 error = VOP_GETATTR(subvp, vap, flags, cred, ctp); in dc_getattr() 324 caller_context_t *ctp) in dc_setattr() argument 329 return (VOP_SETATTR(subvp, vap, flags, cred, ctp)); in dc_setattr() 334 cred_t *cred, caller_context_t *ctp) in dc_access() argument 339 return (VOP_ACCESS(subvp, mode, flags, cred, ctp)); in dc_access() 344 dc_fsync(vnode_t *vp, int syncflag, cred_t *cred, caller_context_t *ctp) in dc_fsync() argument 351 dc_inactive(struct vnode *vp, cred_t *cr, caller_context_t *ctp) in dc_inactive() argument [all …]
|
/titanic_41/usr/src/uts/intel/io/pci/ |
H A D | pci_resource.c | 393 struct mps_ct_hdr *ctp; in mps_probe() local 430 ctp = (struct mps_ct_hdr *)(uintptr_t)fpp->fps_mpct_paddr; in mps_probe() 431 if (ctp->ct_sig != 0x504d4350) { /* check "PCMP" signature */ in mps_probe() 436 base_len = ctp->ct_len; in mps_probe() 437 if (checksum((uchar_t *)ctp, base_len) != 0) { in mps_probe() 441 if (ctp->ct_spec_rev != 4) { /* not MPSpec rev 1.4 */ in mps_probe() 445 if ((ext_len = ctp->ct_ext_tbl_len) == 0) { in mps_probe() 449 extp = (uchar_t *)ctp + base_len; in mps_probe() 450 if (((checksum(extp, ext_len) + ctp->ct_ext_cksum) & 0xFF) != 0) { in mps_probe()
|
/titanic_41/usr/src/uts/common/fs/namefs/ |
H A D | namevno.c | 268 caller_context_t *ctp) in nm_setattr() argument 281 (void) VOP_RWLOCK(nodep->nm_filevp, V_WRITELOCK_TRUE, ctp); in nm_setattr() 325 VOP_RWUNLOCK(nodep->nm_filevp, V_WRITELOCK_TRUE, ctp); in nm_setattr() 425 nm_rwlock(vnode_t *vp, int write, caller_context_t *ctp) in nm_rwlock() argument 427 return (VOP_RWLOCK(VTONM(vp)->nm_filevp, write, ctp)); in nm_rwlock() 431 nm_rwunlock(vnode_t *vp, int write, caller_context_t *ctp) in nm_rwunlock() argument 433 VOP_RWUNLOCK(VTONM(vp)->nm_filevp, write, ctp); in nm_rwunlock()
|
/titanic_41/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 1609 char ctp[128]; in ck_p_sz() local 1615 sprintf(ctp, "%d", pwp->pw_uid) + in ck_p_sz() 1616 sprintf(ctp, "%d", pwp->pw_gid) + in ck_p_sz() 1629 char ctp[128]; in ck_s_sz() local 1636 sprintf(ctp, "%d", ssp->sp_lstchg) + in ck_s_sz() 1637 sprintf(ctp, "%d", ssp->sp_min) + in ck_s_sz() 1638 sprintf(ctp, "%d", ssp->sp_max) + in ck_s_sz() 1639 sprintf(ctp, "%d", ssp->sp_warn) + in ck_s_sz() 1640 sprintf(ctp, "%d", ssp->sp_inact) + in ck_s_sz() 1641 sprintf(ctp, "%d", ssp->sp_expire) + 7) > (ENTRY_LENGTH - 1)) { in ck_s_sz()
|
/titanic_41/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 390 caller_context_t *ctp) in pc_dirremove() argument 470 vnevent_rmdir(PCTOV(pcp), vp, namep, ctp); in pc_dirremove() 472 vnevent_remove(PCTOV(pcp), vp, namep, ctp); in pc_dirremove() 560 caller_context_t *ctp) in pc_rename() argument 644 vnevent_rename_dest(PCTOV(tpcp), PCTOV(tdp), tnm, ctp); in pc_rename() 659 (struct vnode *)NULL, VREG, ctp); in pc_rename() 668 (struct vnode *)NULL, VDIR, ctp); in pc_rename() 826 vnevent_rename_src(PCTOV(pcp), PCTOV(dp), snm, ctp); in pc_rename() 828 vnevent_rename_dest_dir(PCTOV(tdp), ctp); in pc_rename()
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 3522 struct constraintlist *ctp; in checkconstraints() local 3529 for (ctp = arrowp->constraints; ctp != NULL; ctp = ctp->next) { in checkconstraints() 3531 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3540 for (ctp = arrowp->constraints; ctp != NULL; ctp = ctp->next) { in checkconstraints() 3542 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3549 for (ctp = arrowp->constraints; ctp != NULL; ctp = ctp->next) { in checkconstraints() 3550 if (eval_expr(ctp->cnode, NULL, NULL, in checkconstraints() 3560 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3569 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3578 for (ctp = arrowp->constraints; ctp != NULL; ctp = ctp->next) { in checkconstraints() [all …]
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | processor_bind.c | 162 cpu_bind_contract(cont_process_t *ctp, processorid_t bind, processorid_t *obind, in cpu_bind_contract() argument 174 if (p->p_ct_process == ctp) { in cpu_bind_contract()
|
/titanic_41/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 167 caller_context_t *ctp) in fs_putpage() argument 188 fs_rwlock(vnode_t *vp, int write_lock, caller_context_t *ctp) in fs_rwlock() argument 195 fs_rwunlock(vnode_t *vp, int write_lock, caller_context_t *ctp) in fs_rwunlock() argument
|
/titanic_41/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 335 caller_context_t *ctp) in ud_direnter() argument 562 namep, ctp); in ud_direnter() 566 vnevent_rename_dest_dir(ITOV(tdp), ctp); in ud_direnter() 607 caller_context_t *ctp) in ud_dirremove() argument 863 vnevent_remove(ITOV(ip), ITOV(dp), namep, ctp); in ud_dirremove() 865 vnevent_rmdir(ITOV(ip), ITOV(dp), namep, ctp); in ud_dirremove()
|
/titanic_41/usr/src/common/ctf/ |
H A D | ctf_open.c | 802 ctf_sect_t *ctp, *symp, *strp; in ctf_dup() local 823 ctp = &ctfsect; in ctf_dup() 857 fp = ctf_bufopen(ctp, symp, strp, &err); in ctf_dup()
|