/illumos-gate/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 332 char projbuf[PROJECT_BUFSZ]; local 334 if (getprojbyid(projid, &proj, projbuf,
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prutil.c | 59 static char projbuf[PROJECT_BUFSZ]; variable 289 if (noresolve || getprojbyid(projid, &proj, projbuf, PROJECT_BUFSZ) ==
|
/illumos-gate/usr/src/cmd/id/ |
H A D | id.c | 257 void *projbuf; local 260 if ((projbuf = malloc(PROJECT_BUFSZ)) == NULL) { 267 if (getdefaultproj(user, &proj, projbuf, 280 if (getprojbyid(curprojid, &proj, projbuf, 288 free(projbuf);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 698 void *projbuf, void *zonebuf) 776 fss_changepset(tp, newpp, projbuf, zonebuf); 790 cpupart_bind_thread(kthread_id_t tp, psetid_t psid, int ignore, void *projbuf, argument 808 return (cpupart_move_thread(tp, newpp, ignore, projbuf, zonebuf)); 886 void *projbuf, *zonebuf; local 904 projbuf = fss_allocbuf(FSS_NPROJ_BUF, FSS_ALLOC_PROJ); 928 projbuf, zonebuf); 932 fss_freebuf(projbuf, FSS_ALLOC_PROJ); 944 fss_freebuf(projbuf, FSS_ALLOC_PROJ); 697 cpupart_move_thread(kthread_id_t tp, cpupart_t *newpp, int ignore, void *projbuf, void *zonebuf) argument
|
H A D | fss.c | 2802 fss_changeproj(kthread_t *t, void *kp, void *zp, fssbuf_t *projbuf, argument 2867 for (id = 0; id < projbuf->fssb_size; id++) { 2868 if ((fssproj_new = projbuf->fssb_list[id]) != NULL) { 2871 projbuf->fssb_list[id] = NULL; 2905 fss_changepset(kthread_t *t, void *newcp, fssbuf_t *projbuf, argument 2957 for (id = 0; id < projbuf->fssb_size; id++) { 2958 if ((fssproj_new = projbuf->fssb_list[id]) != NULL) { 2961 projbuf->fssb_list[id] = NULL;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pset.c | 241 pset_bind_thread(kthread_t *tp, psetid_t pset, psetid_t *oldpset, void *projbuf, argument 288 projbuf, zonebuf)) == 0) 298 pset_bind_process(proc_t *pp, psetid_t pset, psetid_t *oldpset, void *projbuf, argument 316 rval = pset_bind_thread(tp, pset, oldpset, projbuf, 329 pset_bind_task(task_t *tk, psetid_t pset, psetid_t *oldpset, void *projbuf, argument 345 rval = pset_bind_process(pp, pset, oldpset, projbuf, 357 void *projbuf, void *zonebuf) 370 rval = pset_bind_process(pp, pset, oldpset, projbuf, 381 pset_bind_zone(zone_t *zptr, psetid_t pset, psetid_t *oldpset, void *projbuf, argument 393 rval = pset_bind_process(pp, pset, oldpset, projbuf, 356 pset_bind_project(kproject_t *kpj, psetid_t pset, psetid_t *oldpset, void *projbuf, void *zonebuf) argument 408 pset_unbind(psetid_t pset, void *projbuf, void *zonebuf, idtype_t idtype) argument 450 pset_bind_contract(cont_process_t *ctp, psetid_t pset, psetid_t *oldpset, void *projbuf, void *zonebuf) argument 481 void *projbuf, *zonebuf; local 543 void *projbuf, *zonebuf; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool_pset.c | 572 pool_pset_bind(proc_t *p, psetid_t psetid, void *projbuf, void *zonebuf) argument 585 ret = cpupart_bind_thread(t, psetid, 0, projbuf, zonebuf);
|
H A D | task.c | 773 changeproj(proc_t *p, kproject_t *kpj, zone_t *zone, void *projbuf, argument 806 fss_changeproj(t, kpj, zone, projbuf, zonebuf); 837 void *projbuf, *zonebuf; local 884 projbuf = fss_allocbuf(FSS_NPSET_BUF, FSS_ALLOC_PROJ); 896 changeproj(p, tk->tk_proj, zone, projbuf, zonebuf); 903 fss_freebuf(projbuf, FSS_ALLOC_PROJ);
|
H A D | pool.c | 1648 void *projbuf; local 1656 projbuf = fss_allocbuf(FSS_ONE_BUF, FSS_ALLOC_PROJ); 1661 pool_pset_bind(p, psetid, projbuf, zonebuf); 1668 fss_freebuf(projbuf, FSS_ALLOC_PROJ);
|