Searched refs:acg (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/uts/common/syscall/ |
H A D | acctctl.c | 103 struct exacct_globals *acg; in ac_file_in_use() local 111 for (acg = list_head(&exacct_globals_list); acg != NULL; in ac_file_in_use() 112 acg = list_next(&exacct_globals_list, acg)) { in ac_file_in_use() 113 mutex_enter(&acg->ac_proc.ac_lock); in ac_file_in_use() 114 mutex_enter(&acg->ac_task.ac_lock); in ac_file_in_use() 115 mutex_enter(&acg->ac_flow.ac_lock); in ac_file_in_use() 116 mutex_enter(&acg->ac_net.ac_lock); in ac_file_in_use() 119 for (acg = list_head(&exacct_globals_list); !in_use && acg != NULL; in ac_file_in_use() 120 acg = list_next(&exacct_globals_list, acg)) { in ac_file_in_use() 125 if (vn_compare(acg->ac_proc.ac_vnode, vp) || in ac_file_in_use() [all …]
|
H A D | exacctsys.c | 150 struct exacct_globals *acg; in getacct() local 155 acg = zone_getspecific(exacct_zone_key, curproc->p_zone); in getacct() 158 error = getacct_proc(&acg->ac_proc, id, buf, bufsize, &size); in getacct() 161 error = getacct_task(&acg->ac_task, id, buf, bufsize, &size); in getacct() 178 struct exacct_globals *acg; in putacct() local 189 acg = zone_getspecific(exacct_zone_key, curproc->p_zone); in putacct() 203 error = exacct_tag_proc(&acg->ac_proc, id, tkid, kbuf, in putacct() 210 error = exacct_tag_task(&acg->ac_task, tk, kbuf, in putacct() 294 struct exacct_globals *acg; in wracct() local 307 acg = zone_getspecific(exacct_zone_key, curproc->p_zone); in wracct() [all …]
|
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 452 #define acg cgun.cg macro 2849 (char *)&acg); in alloc() 2850 if (acg.cg_magic != CG_MAGIC) { in alloc() 2854 if (acg.cg_cs.cs_nbfree == 0) { in alloc() 2859 for (d = 0; d < acg.cg_ndblk; d += sblock.fs_frag) in alloc() 2860 if (isblock(&sblock, cg_blksfree(&acg), d / sblock.fs_frag)) in alloc() 2866 clrblock(&sblock, cg_blksfree(&acg), d / sblock.fs_frag); in alloc() 2867 acg.cg_cs.cs_nbfree--; in alloc() 2871 acg.cg_cs.cs_ndir++; in alloc() 2875 cg_blktot(&acg)[cbtocylno(&sblock, d)]--; in alloc() local [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | exacct.c | 716 struct exacct_globals *acg; in exacct_commit_task() local 727 acg = zone_getspecific(exacct_zone_key, zone); in exacct_commit_task() 728 if (acg == NULL) in exacct_commit_task() 730 (void) exacct_assemble_task_usage(&acg->ac_task, tk, in exacct_commit_task() 733 acg = zone_getspecific(exacct_zone_key, global_zone); in exacct_commit_task() 734 (void) exacct_assemble_task_usage(&acg->ac_task, tk, in exacct_commit_task() 1151 struct exacct_globals *acg, *gacg = NULL; in exacct_commit_proc() local 1164 acg = zone_getspecific(exacct_zone_key, zone); in exacct_commit_proc() 1165 if (acg == NULL) in exacct_commit_proc() 1167 exacct_do_commit_proc(&acg->ac_proc, p, wstat); in exacct_commit_proc() [all …]
|
/titanic_44/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 84 #define acg cgun.cg macro 544 if (read(h->fd, (char *)&h->acg, fsp->fs_bsize) != fsp->fs_bsize) { in dumpcg() 548 cgp = (struct cg *)&h->acg; in dumpcg() 549 ocgp = (struct ocg *)&h->acg; in dumpcg()
|