Home
last modified time | relevance | path

Searched refs:clwp (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/uts/common/c2/
H A Daudit_event.c751 klwp_t *clwp = ttolwp(curthread); in aus_acct() local
756 } *uap = (struct a *)clwp->lwp_ap; in aus_acct()
769 klwp_t *clwp = ttolwp(curthread); in aus_chown() local
776 } *uap = (struct a *)clwp->lwp_ap; in aus_chown()
790 klwp_t *clwp = ttolwp(curthread); in aus_fchown() local
800 } *uap = (struct a *)clwp->lwp_ap; in aus_fchown()
835 klwp_t *clwp = ttolwp(curthread); in aus_lchown() local
843 } *uap = (struct a *)clwp->lwp_ap; in aus_lchown()
855 klwp_t *clwp = ttolwp(curthread); in aui_fchownat() local
863 } *uap = (struct a *)clwp->lwp_ap; in aui_fchownat()
[all …]
H A Daudit.c1006 klwp_id_t clwp = ttolwp(curthread); in audit_setfsat_path() local
1021 if (clwp == NULL) in audit_setfsat_path()
1023 uap = (struct a *)clwp->lwp_ap; in audit_setfsat_path()
/titanic_50/usr/src/uts/common/os/
H A Dlwp.c1800 klwp_t *clwp; in forklwp() local
1822 clwp = lwp_create(cp->p_lwpcnt == 0 ? lwp_rtt_initial : lwp_rtt, in forklwp()
1824 if (clwp == NULL) in forklwp()
1832 ct = clwp->lwp_thread; in forklwp()
1833 tregs = clwp->lwp_regs; in forklwp()
1834 tfpu = clwp->lwp_fpu; in forklwp()
1835 brand_data = clwp->lwp_brand; in forklwp()
1843 *clwp = *lwp; in forklwp()
1847 bzero(&clwp->lwp_ru, sizeof (clwp->lwp_ru)); in forklwp()
1852 clwp->lwp_pcb.pcb_flags = 0; in forklwp()
[all …]
H A Dfork.c389 klwp_t *clwp; in cfork() local
396 clwp = forklwp(ttolwp(t), cp, t->t_tid); in cfork()
397 if (clwp == NULL) in cfork()
399 ct = lwptot(clwp); in cfork()
412 clone = clwp; in cfork()
/titanic_50/usr/src/uts/sun4/os/
H A Dmachdep.c181 lwp_forkregs(klwp_t *lwp, klwp_t *clwp) in lwp_forkregs() argument
184 struct machpcb *mpcb = lwptompcb(clwp); in lwp_forkregs()
202 bcopy(lwp->lwp_regs, clwp->lwp_regs, sizeof (struct machpcb) - REGOFF); in lwp_forkregs()
241 save_gsr(clwp->lwp_fpu); in lwp_forkregs()
245 set_gsr(gsr, clwp->lwp_fpu); in lwp_forkregs()
247 fp_fork(lwp, clwp); in lwp_forkregs()
/titanic_50/usr/src/uts/intel/ia32/os/
H A Dsundep.c389 lwp_forkregs(klwp_t *lwp, klwp_t *clwp) in lwp_forkregs() argument
392 struct pcb *pcb = &clwp->lwp_pcb; in lwp_forkregs()
401 lwptot(clwp)->t_post_sys = 1; in lwp_forkregs()
403 ASSERT(lwptot(clwp)->t_post_sys); in lwp_forkregs()
406 bcopy(lwp->lwp_regs, clwp->lwp_regs, sizeof (struct regs)); in lwp_forkregs()
/titanic_50/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1977 klwp_t *clwp; in pr_agent() local
2008 clwp = lwp_create(lwp_rtt, NULL, 0, p, TS_STOPPED, in pr_agent()
2010 if (clwp == NULL) { in pr_agent()
2014 prsetprregs(clwp, prgregset, 1); in pr_agent()
2021 clwp->lwp_spymaster = kmem_zalloc(sizeof (psinfo_t), KM_SLEEP); in pr_agent()
2023 prgetpsinfo(curproc, clwp->lwp_spymaster); in pr_agent()
2030 gethrestime(&clwp->lwp_spymaster->pr_time); in pr_agent()
2047 clwp->lwp_ap = clwp->lwp_arg; in pr_agent()
2048 clwp->lwp_eosys = NORMALRETURN; in pr_agent()
2049 ct = lwptot(clwp); in pr_agent()
/titanic_50/usr/src/uts/sparc/v9/fpu/
H A Dfpu.c86 fp_fork(klwp_t *lwp, klwp_t *clwp) in fp_fork() argument
91 cfp = lwptofpu(clwp); in fp_fork()