/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | ps.c | 68 get_ldbase(struct ps_prochandle *procp) in get_ldbase() argument 78 EC_SWORD(procp->pp_pid)); in get_ldbase() 91 procp->pp_auxvp = auxvptr; in get_ldbase() 95 if (procp->pp_dmodel == PR_MODEL_ILP32) in get_ldbase() 105 if (procp->pp_dmodel == PR_MODEL_ILP32) in get_ldbase() 106 procp->pp_ldsobase = in get_ldbase() 111 procp->pp_ldsobase = auxvp->a_un.a_val; in get_ldbase() 114 if (procp->pp_dmodel == PR_MODEL_ILP32) in get_ldbase() 115 procp->pp_execphdr = in get_ldbase() 120 procp->pp_execphdr = auxvp->a_un.a_val; in get_ldbase() [all …]
|
H A D | maps.c | 203 load_map(struct ps_prochandle *procp, caddr_t baddr, map_info_t *mp) in load_map() argument 215 if (fstat(procp->pp_mapfd, &stbuf) == -1) in load_map() 219 if (pread(procp->pp_mapfd, ptr, stbuf.st_size, 0) == -1) in load_map() 233 "/proc/%d/object/%s", procp->pp_pid, in load_map()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 49 md_proc_t *procp; in cpu_find_proc() local 52 for (i = 0, procp = chip->procs; i < chip->nprocs; i++, procp++) { in cpu_find_proc() 53 if (procp->serialno != 0 && procid == procp->id) { in cpu_find_proc() 54 return (procp); in cpu_find_proc() 162 md_proc_t *procp; in cpu_n2_mdesc_init() local 214 procp = chip->procs; in cpu_n2_mdesc_init() 238 procp->serialno = sn; in cpu_n2_mdesc_init() 241 procp->id = -1; in cpu_n2_mdesc_init() 245 procp->id = x; in cpu_n2_mdesc_init() 248 procp->id = nproc; in cpu_n2_mdesc_init() [all …]
|
/titanic_41/usr/src/uts/common/tnf/ |
H A D | tnf.c | 563 proc_t *procp; in tnf_getstate() local 588 for (procp = practive; procp != NULL; procp = procp->p_next) in tnf_getstate() 589 if (PROC_IS_FILTER(procp)) in tnf_getstate() 742 proc_t *procp; in tnf_getpidstate() local 749 if ((procp = prfind(pid)) != NULL) in tnf_getpidstate() 750 result = PROC_IS_FILTER(procp); in tnf_getpidstate() 767 proc_t *procp; in tnf_setpidstate() local 770 if ((procp = prfind(pid)) != NULL) in tnf_setpidstate() 772 PROC_FILTER_SET(procp); in tnf_setpidstate() 774 PROC_FILTER_CLR(procp); in tnf_setpidstate() [all …]
|
/titanic_41/usr/src/uts/sun4/io/efcode/ |
H A D | fc_physio.c | 63 struct proc *procp; in fc_physio_setup() local 75 procp = ttoproc(curthread); in fc_physio_setup() 76 asp = procp->p_as; in fc_physio_setup() 81 bp->b_proc = procp; in fc_physio_setup()
|
/titanic_41/usr/src/cmd/rpcbind/ |
H A D | rpcb_check.c | 127 const struct proc_map *procp; in find_procname() local 130 procp = pmapmap; in find_procname() 133 procp = rpcbmap; in find_procname() 138 if (procp[i].code == procnum) in find_procname() 139 return (procp[i].proc); in find_procname()
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 265 offset_t offset, char *addr, enum seg_rw rw, struct proc *procp, in directio_start() argument 292 bp->b_proc = procp; in directio_start() 359 struct proc *procp; in ufs_directio_write() local 626 procp = ttoproc(curthread); in ufs_directio_write() 627 as = procp->p_as; in ufs_directio_write() 629 procp = NULL; in ufs_directio_write() 705 iov->iov_base, S_READ, procp, &tail, spplist); in ufs_directio_write() 827 struct proc *procp; in ufs_directio_read() local 930 procp = ttoproc(curthread); in ufs_directio_read() 931 as = procp->p_as; in ufs_directio_read() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | vm_subr.c | 135 struct proc *procp; in default_physio() local 170 procp = ttoproc(curthread); in default_physio() 171 asp = procp->p_as; in default_physio() 173 procp = NULL; in default_physio() 197 bp->b_proc = procp; in default_physio()
|
H A D | sunddi.c | 8109 i_ddi_incr_locked_memory(proc_t *procp, rctl_qty_t inc) in i_ddi_incr_locked_memory() argument 8111 ASSERT(procp != NULL); in i_ddi_incr_locked_memory() 8112 mutex_enter(&procp->p_lock); in i_ddi_incr_locked_memory() 8113 if (rctl_incr_locked_mem(procp, NULL, inc, 1)) { in i_ddi_incr_locked_memory() 8114 mutex_exit(&procp->p_lock); in i_ddi_incr_locked_memory() 8117 mutex_exit(&procp->p_lock); in i_ddi_incr_locked_memory() 8127 i_ddi_decr_locked_memory(proc_t *procp, rctl_qty_t dec) in i_ddi_decr_locked_memory() argument 8129 ASSERT(procp != NULL); in i_ddi_decr_locked_memory() 8130 mutex_enter(&procp->p_lock); in i_ddi_decr_locked_memory() 8131 rctl_decr_locked_mem(procp, NULL, dec, 1); in i_ddi_decr_locked_memory() [all …]
|
H A D | mem_config.c | 1667 proc_t *procp; in dr_aio_cleanup_thread() local 1693 for (procp = practive; (*pcancel == 0) && (procp != NULL); in dr_aio_cleanup_thread() 1694 procp = procp->p_next) { in dr_aio_cleanup_thread() 1695 mutex_enter(&procp->p_lock); in dr_aio_cleanup_thread() 1696 if (procp->p_aio != NULL) { in dr_aio_cleanup_thread() 1699 (*aio_cleanup_dr_delete_memory)(procp); in dr_aio_cleanup_thread() 1701 mutex_exit(&procp->p_lock); in dr_aio_cleanup_thread()
|
H A D | aio_subr.c | 1290 aio_cleanup_dr_delete_memory(proc_t *procp) in aio_cleanup_dr_delete_memory() argument 1292 struct aio *aiop = procp->p_aio; in aio_cleanup_dr_delete_memory() 1293 struct as *as = procp->p_as; in aio_cleanup_dr_delete_memory() 1296 ASSERT(MUTEX_HELD(&procp->p_lock)); in aio_cleanup_dr_delete_memory()
|
H A D | move.c | 583 proc_t *procp = ttoproc(curthread); in uioainit() local 584 struct as *as = procp->p_as; in uioainit()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 353 md_proc_t *procp; in chip_create() local 371 if ((procp = cpu_find_proc(chip, i)) == NULL) { in chip_create() 374 if (procp->serialno == 0) { in chip_create() 378 (void) snprintf(sbuf, sizeof (sbuf), "%llx", procp->serialno); in chip_create() 392 procp->serialno); in chip_create()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | physmem.c | 87 #define PHYSMEM_HASH(procp) ((int)((((uintptr_t)procp) >> 8) & (PPH_SIZE - 1))) argument 223 physmem_get_hash(uint64_t req_paddr, size_t len, proc_t *procp) in physmem_get_hash() argument 231 index = PHYSMEM_HASH(procp); in physmem_get_hash() 234 if (proc_hp->pph_proc == procp) { in physmem_get_hash() 531 proc_t *procp = (proc_t *)arg; in map_page_proc() local 555 if ((flags & CAPTURE_ASYNC) && (curproc == procp)) { in map_page_proc() 564 php = physmem_get_hash(paddr, PAGESIZE, procp); in map_page_proc()
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 579 uintptr_t procp; in mdb_pid2proc() local 581 if (mdb_vread(&procp, sizeof (procp), procdir + in mdb_pid2proc() 582 (pidp.pid_prslot * sizeof (procp))) == -1) in mdb_pid2proc() 586 (void) mdb_vread(proc, sizeof (proc_t), procp); in mdb_pid2proc() 588 return (procp); in mdb_pid2proc() 1413 uintptr_t procp; in mdb_dump_print_content() local 1436 if (mdb_vread(&procp, sizeof (procp), pt + OFFSETOF(kthread_t, in mdb_dump_print_content() 1437 t_procp)) == -1 || procp == NULL) in mdb_dump_print_content() 1443 if (procp == (uintptr_t)sym.st_value) { in mdb_dump_print_content()
|
/titanic_41/usr/src/uts/i86pc/io/ |
H A D | mp_platform_common.c | 1073 struct apic_procent *procp; in apic_parse_mpct() local 1084 procp = (struct apic_procent *)(mpct + sizeof (struct apic_mp_cnf_hdr)); in apic_parse_mpct() 1092 while (procp->proc_entry == APIC_CPU_ENTRY) { in apic_parse_mpct() 1093 if (procp->proc_cpuflags & CPUFLAGS_EN) { in apic_parse_mpct() 1110 procp++; in apic_parse_mpct() 1119 procp = (struct apic_procent *)(mpct + sizeof (struct apic_mp_cnf_hdr)); in apic_parse_mpct() 1129 while (procp->proc_entry == APIC_CPU_ENTRY) { in apic_parse_mpct() 1132 procp->proc_cpuflags & CPUFLAGS_EN) { in apic_parse_mpct() 1133 if (procp->proc_cpuflags & CPUFLAGS_BP) { /* Boot CPU */ in apic_parse_mpct() 1135 apic_cpus[0].aci_local_id = procp->proc_apicid; in apic_parse_mpct() [all …]
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | generic.c | 135 proc_t *procp = ttoproc(curthread); in dtrace_flush_sec() local 139 pfn = hat_getpfnum(procp->p_as->a_hat, (void *)addr); in dtrace_flush_sec()
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | xdr.h | 301 #define xdr_rpcproc(xdrs, procp) xdr_u_int(xdrs, procp) argument 307 #define xdr_rpcproc(xdrs, procp) xdr_u_long(xdrs, procp) argument
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | fdbuffer.h | 142 page_t **pplist, struct proc *procp);
|
H A D | ddidevmap.h | 78 void *procp; /* user process owning backing store */ member
|
H A D | esunddi.h | 163 proc_t *procp);
|
/titanic_41/usr/src/uts/common/fs/ |
H A D | fdbuffer.c | 122 struct proc *procp) in fdb_addr_create() argument 141 fdb->fd_procp = procp; in fdb_addr_create()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | mp_startup.c | 278 proc_t *procp; in mp_cpu_configure_common() local 303 procp = &p0; in mp_cpu_configure_common() 317 tp = thread_create(NULL, 0, NULL, NULL, 0, procp, in mp_cpu_configure_common() 373 tp = thread_create(NULL, PAGESIZE, idle, NULL, 0, procp, TS_ONPROC, -1); in mp_cpu_configure_common()
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | rt.c | 438 rt_exitclass(void *procp) in rt_exitclass() argument 440 rtproc_t *rtprocp = (rtproc_t *)procp; in rt_exitclass()
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_page.c | 7260 proc_t *procp; in do_aio_cleanup() local 7281 for (procp = practive; (procp != NULL); procp = procp->p_next) { in do_aio_cleanup() 7282 mutex_enter(&procp->p_lock); in do_aio_cleanup() 7283 if (procp->p_aio != NULL) { in do_aio_cleanup() 7285 cleaned += (*aio_cleanup_dr_delete_memory)(procp); in do_aio_cleanup() 7287 mutex_exit(&procp->p_lock); in do_aio_cleanup()
|