Home
last modified time | relevance | path

Searched refs:tk_proj (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/uts/common/os/
H A Dproject.c431 return (p->p_task->tk_proj->kpj_shares); in project_cpu_shares_usage()
465 return (cpucaps_project_get(p->p_task->tk_proj)); in project_cpu_cap_get()
501 pj = p->p_task->tk_proj; in project_lwps_usage()
558 pj = p->p_task->tk_proj; in project_procs_usage()
615 pj = p->p_task->tk_proj; in project_ntasks_usage()
768 q = p->p_task->tk_proj->kpj_data.kpd_locked_mem; in project_locked_mem_usage()
781 q = p->p_task->tk_proj->kpj_data.kpd_locked_mem; in project_locked_mem_test()
824 if ((p->p_task != NULL) && (p->p_task->tk_proj) != NULL && in project_contract_test()
843 return (p->p_task->tk_proj->kpj_data.kpd_crypto_mem); in project_crypto_usage()
H A Dtask.c439 tk->tk_proj->kpj_ntasks--; in task_rele()
508 tk->tk_proj = project_hold_by_id(projid, zone, PROJECT_HOLD_INSERT); in task_create()
693 rctl_set_tearoff(p->p_task->tk_proj->kpj_rctls, p); in task_detach()
759 project_rele(tk->tk_proj); in task_end()
839 projid_t projid = tk->tk_proj->kpj_id; in task_join()
896 changeproj(p, tk->tk_proj, zone, projbuf, zonebuf); in task_join()
992 task0p->tk_proj = project_hold_by_id(0, &zone0, in task_init()
H A Dprocset.c349 if (pp->p_task->tk_proj->kpj_id == psp->p_lid) in procinset()
439 if (pp->p_task->tk_proj->kpj_id == psp->p_rid) in procinset()
589 if (pp->p_task->tk_proj->kpj_id == psp->p_lid) in lwpinset()
675 if (pp->p_task->tk_proj->kpj_id == psp->p_rid) in lwpinset()
827 return (pp->p_task->tk_proj->kpj_id); in getmyid()
H A Dlwp.c135 if (p->p_task->tk_proj->kpj_nlwps >= in lwp_create()
136 p->p_task->tk_proj->kpj_nlwps_ctl) in lwp_create()
138 p->p_task->tk_proj->kpj_rctls, p, 1, 0) in lwp_create()
153 p->p_task->tk_proj->kpj_nlwps++; in lwp_create()
204 p->p_task->tk_proj->kpj_nlwps--; in lwp_create()
218 p->p_task->tk_proj->kpj_nlwps--; in lwp_create()
559 newkpj = p->p_task->tk_proj; in lwp_create()
750 p->p_task->tk_proj->kpj_nlwps--; in lwp_create()
969 p->p_task->tk_proj->kpj_nlwps--; in lwp_exit()
H A Drctl.c532 p->p_task->tk_proj != NULL) in rctl_entity_obtain_rset()
533 rset = p->p_task->tk_proj->kpj_rctls; in rctl_entity_obtain_rset()
567 p->p_task->tk_proj != NULL) in rctl_entity_obtain_entity_p()
568 e->rcep_p.proj = p->p_task->tk_proj; in rctl_entity_obtain_entity_p()
2494 id = p->p_task->tk_proj->kpj_id; in rctl_global_action()
2902 projp = p->p_task->tk_proj; in rctl_incr_locked_mem()
2977 projp = p->p_task->tk_proj; in rctl_decr_locked_mem()
3180 ks_type, ks_ndata, ks_flags, tk->tk_proj->kpj_zoneid)); in rctl_kstat_create_task()
H A Dfork.c735 tk->tk_proj->kpj_nlwps--; in forklwp_fail()
855 tk->tk_proj->kpj_ntasks++; in newproc()
948 proj = task->tk_proj; in getproc()
H A Dipc.c954 if ((rctl_test(service->ipcs_proj_rctl, pp->p_task->tk_proj->kpj_rctls, in ipc_alloc_test()
1070 newperm->ipc_proj = pp->p_task->tk_proj; in ipc_commit_begin()
H A Dzone.c3466 t->t_proj = project_hold(pp->p_task->tk_proj); in zthread_create()
3744 pj = pp->p_task->tk_proj; in zsched()
3772 pj = pp->p_task->tk_proj; in zsched()
5860 zone_proj0 = zone->zone_zsched->p_task->tk_proj; in zone_enter()
5886 pp->p_task->tk_proj->kpj_nlwps -= pp->p_lwpcnt; in zone_enter()
5887 pp->p_task->tk_proj->kpj_nprocs--; in zone_enter()
5893 pp->p_task->tk_proj->kpj_data.kpd_locked_mem -= pp->p_locked_mem; in zone_enter()
5897 mutex_enter(&(pp->p_task->tk_proj->kpj_data.kpd_crypto_lock)); in zone_enter()
5898 pp->p_task->tk_proj->kpj_data.kpd_crypto_mem -= pp->p_crypto_mem; in zone_enter()
5899 mutex_exit(&(pp->p_task->tk_proj->kpj_data.kpd_crypto_lock)); in zone_enter()
H A Dpid.c316 tk->tk_proj->kpj_nprocs--; in pid_exit()
H A Dexacct.c510 (void) ea_attach_item(record, &tk->tk_proj->kpj_id, in exacct_attach_task_item()
967 pu->pu_projid = p->p_task->tk_proj->kpj_id; in exacct_calculate_proc_usage()
H A Dcontract.c327 author->p_task->tk_proj->kpj_rctls, author, 1, in contract_ctor()
336 ct->ct_proj = author->p_task->tk_proj; in contract_ctor()
H A Dexit.c783 tk->tk_proj->kpj_nlwps--; in proc_exit()
H A Dshm.c863 pp->p_task->tk_proj->kpj_rctls, pp, rsize, in shmget()
/titanic_41/usr/src/uts/common/syscall/
H A Dtasksys.c111 oldpj = p->p_task->tk_proj; in tasksys_settaskid()
227 ret = p->p_task->tk_proj->kpj_id; in tasksys_getprojid()
H A Dprocessor_bind.c124 if (p->p_task->tk_proj == kpj && !(p->p_flag & SSYS)) { in cpu_bind_project()
H A Drctlsys.c525 ASSERT(pp->p_task->tk_proj == in rctlsys_set()
526 curproc->p_task->tk_proj); in rctlsys_set()
H A Dpset.c367 if (pp->p_task->tk_proj == kpj && !(pp->p_flag & SSYS)) { in pset_bind_project()
/titanic_41/usr/src/uts/common/sys/
H A Dtask.h55 struct kproject *tk_proj; /* project membership */ member
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h158 uintptr_t tk_proj; member
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c252 (uintptr_t)task.tk_proj) == -1) { in rctl_list()
253 mdb_warn("failed to read proj at %p", task.tk_proj); in rctl_list()
/titanic_41/usr/src/uts/common/vm/
H A Dvm_usage.c1486 p->p_task->tk_proj->kpj_id, VMUSAGE_PROJECTS, in vmu_calculate_proc()
1516 p->p_task->tk_proj->kpj_id, VMUSAGE_PROJECTS, ALL_ZONES); in vmu_calculate_proc()
/titanic_41/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in247 pr_projid = T->p_task->tk_proj->kpj_id;
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprsubr.c894 sp->pr_projid = p->p_task->tk_proj->kpj_id; in prgetstatus()
1117 sp->pr_projid = p->p_task->tk_proj->kpj_id; in prgetstatus32()
2263 psp->pr_projid = p->p_task->tk_proj->kpj_id; in prgetpsinfo()
2396 psp->pr_projid = p->p_task->tk_proj->kpj_id; in prgetpsinfo32()
/titanic_41/usr/src/uts/common/fs/portfs/
H A Dport.c745 if (rctl_test(rc_project_portids, p->p_task->tk_proj->kpj_rctls, p, in port_create()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c229 projp = curproc->p_task->tk_proj; \
805 curproc->p_task->tk_proj->kpj_data.kpd_crypto_mem_ctl)); in crypto_build_function_list()
812 curproc->p_task->tk_proj->kpj_data.kpd_crypto_mem_ctl)); in crypto_build_function_list()
6747 kpj = curproc->p_task->tk_proj; in crypto_buffer_check()

12