Searched refs:kpj_data (Results 1 – 10 of 10) sorted by relevance
132 if (kpj->kpj_data.kpd_locked_mem + p->p_locked_mem > in tasksys_settaskid()133 kpj->kpj_data.kpd_locked_mem_ctl) in tasksys_settaskid()138 mutex_enter(&(kpj->kpj_data.kpd_crypto_lock)); in tasksys_settaskid()139 if (kpj->kpj_data.kpd_crypto_mem + p->p_crypto_mem > in tasksys_settaskid()140 kpj->kpj_data.kpd_crypto_mem_ctl) in tasksys_settaskid()146 mutex_exit(&(kpj->kpj_data.kpd_crypto_lock)); in tasksys_settaskid()155 kpj->kpj_data.kpd_crypto_mem += p->p_crypto_mem; in tasksys_settaskid()156 mutex_exit(&(kpj->kpj_data.kpd_crypto_lock)); in tasksys_settaskid()157 kpj->kpj_data.kpd_locked_mem += p->p_locked_mem; in tasksys_settaskid()162 oldpj->kpj_data.kpd_locked_mem -= p->p_locked_mem; in tasksys_settaskid()[all …]
266 project_data_init(&p->kpj_data); in project_hold_by_id()669 v = e->rcep_p.proj->kpj_data.kpd_shmmax + inc; in project_shmmax_test()695 v = e->rcep_p.proj->kpj_data.kpd_ipc.ipcq_shmmni + inc; in project_shmmni_test()721 v = e->rcep_p.proj->kpj_data.kpd_ipc.ipcq_semmni + inc; in project_semmni_test()747 v = e->rcep_p.proj->kpj_data.kpd_ipc.ipcq_msgmni + inc; in project_msgmni_test()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()797 e->rcep_p.proj->kpj_data.kpd_locked_mem_ctl = nv; in project_locked_mem_set()822 v = e->rcep_p.proj->kpj_data.kpd_contract + inc; in project_contract_test()843 return (p->p_task->tk_proj->kpj_data.kpd_crypto_mem); in project_crypto_usage()[all …]
2912 if ((projp->kpj_data.kpd_locked_mem + inc) < in rctl_incr_locked_mem()2913 projp->kpj_data.kpd_locked_mem) { in rctl_incr_locked_mem()2917 if (projp->kpj_data.kpd_locked_mem + inc > in rctl_incr_locked_mem()2918 projp->kpj_data.kpd_locked_mem_ctl) { in rctl_incr_locked_mem()2942 projp->kpj_data.kpd_locked_mem += inc; in rctl_incr_locked_mem()2983 projp->kpj_data.kpd_locked_mem -= inc; in rctl_decr_locked_mem()
3757 pj->kpj_data.kpd_locked_mem -= pp->p_locked_mem; in zsched()3776 pj->kpj_data.kpd_locked_mem += pp->p_locked_mem; in zsched()5871 zone_proj0->kpj_data.kpd_locked_mem += pp->p_locked_mem; in zone_enter()5875 mutex_enter(&(zone_proj0->kpj_data.kpd_crypto_lock)); in zone_enter()5876 zone_proj0->kpj_data.kpd_crypto_mem += pp->p_crypto_mem; in zone_enter()5877 mutex_exit(&(zone_proj0->kpj_data.kpd_crypto_lock)); in zone_enter()5889 pp->p_task->tk_proj->kpj_data.kpd_locked_mem -= pp->p_locked_mem; in zone_enter()5893 mutex_enter(&(pp->p_task->tk_proj->kpj_data.kpd_crypto_lock)); in zone_enter()5894 pp->p_task->tk_proj->kpj_data.kpd_crypto_mem -= pp->p_crypto_mem; in zone_enter()5895 mutex_exit(&(pp->p_task->tk_proj->kpj_data.kpd_crypto_lock)); in zone_enter()
606 sp->shm_perm.ipc_proj->kpj_data.kpd_shmmax -= rsize; in shm_dtor()931 sp->shm_perm.ipc_proj->kpj_data.kpd_shmmax += rsize; in shmget()
337 ct->ct_proj->kpj_data.kpd_contract++; in contract_ctor()425 ct->ct_proj->kpj_data.kpd_contract--; in contract_rele()
8169 projp->kpj_data.kpd_locked_mem_ctl == UINT64_MAX) in init_lockedmem_rctl_flag()
73 kproject_data_t kpj_data; /* subsystem-specfic data */ member
148 (*(rctl_qty_t *)(((char *)&p->ipc_proj->kpj_data.kpd_ipc) + \
231 mutex_enter(&(projp->kpj_data.kpd_crypto_lock)); \232 projp->kpj_data.kpd_crypto_mem -= (val); \233 mutex_exit(&(projp->kpj_data.kpd_crypto_lock)); \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()6748 mutex_enter(&(kpj->kpj_data.kpd_crypto_lock)); in crypto_buffer_check()6750 if (kpj->kpj_data.kpd_crypto_mem + need > in crypto_buffer_check()6751 kpj->kpj_data.kpd_crypto_mem_ctl) { in crypto_buffer_check()6754 mutex_exit(&(kpj->kpj_data.kpd_crypto_lock)); in crypto_buffer_check()6760 kpj->kpj_data.kpd_crypto_mem += need; in crypto_buffer_check()[all …]