Home
last modified time | relevance | path

Searched refs:cg (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/uts/common/syscall/
H A Dcorectl.c174 struct core_globals *cg; in core_init_zone() local
176 cg = kmem_alloc(sizeof (*cg), KM_SLEEP); in core_init_zone()
177 mutex_init(&cg->core_lock, NULL, MUTEX_DEFAULT, NULL); in core_init_zone()
178 cg->core_file = NULL; in core_init_zone()
179 cg->core_options = CC_PROCESS_PATH; in core_init_zone()
180 cg->core_content = CC_CONTENT_DEFAULT; in core_init_zone()
181 cg->core_rlimit = RLIM64_INFINITY; in core_init_zone()
182 cg->core_default_path = corectl_path_alloc("core"); in core_init_zone()
183 cg->core_default_content = corectl_content_alloc(CC_CONTENT_DEFAULT); in core_init_zone()
185 return (cg); in core_init_zone()
[all …]
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass5.c51 struct cg *cg = &cgrp; in pass5() local
61 struct cg cg; /* the rest of buf has the bitmaps */ in pass5() member
65 struct cg *newcg = &u.cg; in pass5()
143 err = cg_sanity(cg, c); in pass5()
149 fix_cg(cg, c); in pass5()
157 if (now > cg->cg_time) in pass5()
158 newcg->cg_time = cg->cg_time; in pass5()
176 if ((cg->cg_rotor >= 0) && (cg->cg_rotor < newcg->cg_ndblk)) in pass5()
177 newcg->cg_rotor = cg->cg_rotor; in pass5()
180 if ((cg->cg_frotor >= 0) && (cg->cg_frotor < newcg->cg_ndblk)) in pass5()
[all …]
H A Dsetup.c66 /* base cg */ (sizeof (struct cg) + \
533 int cg = 0; in find_superblock() local
560 cg = proto.fs_ncg; in find_superblock()
572 for (cg = 0; cg < proto.fs_ncg; cg++) { in find_superblock()
573 bflag = fsbtodb(&proto, cgsblock(&proto, cg)); in find_superblock()
588 if (first && (cg >= 9)) { in find_superblock()
591 cg = proto.fs_ncg; in find_superblock()
593 cg = 9; in find_superblock()
595 cg = proto.fs_ncg - 10; in find_superblock()
658 if (cg >= 0) { in find_superblock()
H A Dinode.c1130 struct cg *cgp = &cgrp; in allocino()
1131 int cg; in allocino() local
1174 cg = itog(&sblock, ino); in allocino()
1175 (void) getblk(&cgblk, cgtod(&sblock, cg), (size_t)sblock.fs_cgsize); in allocino()
1176 err = cg_sanity(cgp, cg); in allocino()
1178 pfatal("CG %d: %s\n", cg, err); in allocino()
1182 fix_cg(cgp, cg); in allocino()
1381 int cg; in freeino() local
1383 struct cg *cgp; in freeino()
1416 cg = itog(&sblock, ino); in freeino()
[all …]
H A Dfsck.h115 struct cg *b_cg; /* cylinder group */
533 caddr_t cg_sanity(struct cg *, int);
559 void fix_cg(struct cg *, int);
H A Dpass4.c164 struct cg *cgp = &cgrp; in pass4check()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c110 int cg; in alloc() local
141 cg = (int)itog(fs, ip->i_number); in alloc()
143 cg = dtog(fs, bpref); in alloc()
145 bno = (daddr_t)hashalloc(ip, cg, (long)bpref, size, in alloc()
188 int cg, request; in realloccg() local
223 cg = dtog(fs, bprev); in realloccg()
224 bno = fragextend(ip, cg, (long)bprev, osize, nsize); in realloccg()
246 bno = (daddr_t)hashalloc(ip, cg, (long)bpref, request, in realloccg()
299 int cg; in ufs_ialloc() local
337 cg = (int)itog(fs, ipref); in ufs_ialloc()
[all …]
H A Dufs_snap.c285 struct cg *cgp; /* cylinder group data */ in ufs_snap_find_candidates()
286 ulong_t cg; in ufs_snap_find_candidates() local
300 for (cg = 0; cg < fs->fs_ncg; cg++) { in ufs_snap_find_candidates()
303 (daddr_t)fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize); in ufs_snap_find_candidates()
314 "magic number (0x%x)", cg, cgp->cg_magic, CG_MAGIC); in ufs_snap_find_candidates()
H A Dufs_subr.c1232 #define SI_BUFSZ roundup(sizeof (struct cg), DEV_BSIZE)
1245 struct cg *cgp; in ufs_construct_si()
1247 int error = 0, cg = 0; in ufs_construct_si() local
1271 ncg = MIN(NSIBUF, (fs->fs_ncg - cg)); in ufs_construct_si()
1273 bp->b_blkno = (daddr_t)fsbtodb(fs, cgtod(fs, cg + i)); in ufs_construct_si()
1289 sip[cg + i] = cgp->cg_cs; in ufs_construct_si()
1296 cg += ncg; in ufs_construct_si()
1297 } while (cg < fs->fs_ncg); in ufs_construct_si()
/titanic_44/usr/src/uts/common/os/
H A Dcore.c85 core_log(struct core_globals *cg, int error, const char *why, const char *path, in core_log() argument
92 if (!(cg->core_options & CC_GLOBAL_LOG)) in core_log()
326 do_core(char *fp, int sig, enum core_types core_type, struct core_globals *cg) in do_core() argument
341 mutex_enter(&cg->core_lock); in do_core()
342 content = cg->core_content; in do_core()
343 mutex_exit(&cg->core_lock); in do_core()
344 rlimit = cg->core_rlimit; in do_core()
372 !(cg->core_options & CC_GLOBAL_SETID)) || in do_core()
374 !(cg->core_options & CC_PROCESS_SETID))) in do_core()
570 struct core_globals *cg, char **name) in dump_one_core() argument
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs.c463 struct cg cg; in cg_walk_step() local
465 if (mdb_vread(&cg, sizeof (cg), addr) == -1) { in cg_walk_step()
470 if (cg.cg_magic != CG_MAGIC) in cg_walk_step()
473 return (wsp->walk_callback(addr, &cg, wsp->walk_cbdata)); in cg_walk_step()
513 cg(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cg() function
516 struct cg cg; in cg() local
517 struct cg *cgp = &cg; in cg()
535 if (mdb_vread(cgp, sizeof (cg), addr) == -1) { in cg()
648 { "cg", "?[-v]", "display a summarized cylinder group structure", cg },
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c2139 CacheGroup *cg; in CacheGroupForName() local
2140 for (cg = m->rrcache_hash[slot]; cg; cg=cg->next) in CacheGroupForName()
2141 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
2143 return(cg); in CacheGroupForName()
3431 CacheGroup *cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); in BuildQuestion() local
3435 …for (rr = cg ? cg->members : mDNSNULL; rr; rr=rr->next) // If we have a resource record in our … in BuildQuestion()
3485 …for (rr = cg ? cg->members : mDNSNULL; rr; rr=rr->next) // For every resource record in our cac… in BuildQuestion()
3502 CacheGroup *cg; in ReconfirmAntecedents() local
3505 FORALL_CACHERECORDS(slot, cg, rr) in ReconfirmAntecedents()
3574 CacheGroup *cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); in AccelerateThisQuery() local
[all …]
H A Duds_daemon.c1175 CacheGroup *cg; in udsserver_info() local
1183 for(cg = m->rrcache_hash[slot]; cg; cg=cg->next) in udsserver_info()
1186 for (rr = cg->members; rr; rr=rr->next) in udsserver_info()
/titanic_44/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c139 #define CGRP (sizeof (struct cg))
328 static void printcg(struct cg *);
3612 struct cg *cg; in fprnt() local
3833 cg = (struct cg *)cptr; in fprnt()
3835 cur_cgrp = cg->cg_cgx + 1; in fprnt()
3843 if (! override && !cg_chkmagic(cg)) { in fprnt()
3851 printcg(cg); in fprnt()
4683 printcg(struct cg *cg) in printcg() argument
4688 printf("\ncg %ld:\n", cg->cg_cgx); in printcg()
4689 t = cg->cg_time; in printcg()
[all …]
/titanic_44/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c430 int cg, i; in chkquota() local
507 for (cg = 0; cg < sblock.fs_ncg; cg++) { in chkquota()
/titanic_44/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c76 struct cg cg; member
84 #define acg cgun.cg
536 struct cg *cgp; in dumpcg()
548 cgp = (struct cg *)&h->acg; in dumpcg()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dufs_trans.h303 #define TRANS_SI(ufsvfsp, fs, cg) \ argument
310 ((caddr_t)&fs->fs_cs(fs, cg) - \
313 ufs_trans_push_si, cg)
/titanic_44/usr/src/uts/common/io/audio/drv/audiosolo/
H A DTHIRDPARTYLICENSE2 Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
/titanic_44/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h93 struct cg *b_cg; /* cylinder group */
/titanic_44/usr/src/uts/common/sys/
H A Dbuf.h91 struct cg *b_cg; /* UFS cylinder group block */
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfs.h274 struct cg struct
/titanic_44/usr/src/tools/onbld/Scm/
H A DBackup.py239 cg = self.ws.repo.changegroup(out, 'bundle')
240 changegroup.writebundle(cg, self.bu.backupfile('bundle'), 'HG10BZ')
/titanic_44/usr/src/psm/stand/bootblks/ufs/common/
H A Dufs.fth78 : cgstart ( cg -- block# )
81 : cgimin ( cg -- block# ) cgstart iblkno + ;
/titanic_44/usr/src/cmd/backup/dump/
H A Ddumpmain.c841 struct cg *cgp = in main()
842 (struct cg *)xcalloc((uint_t)sblock->fs_cgsize, 1); in main()
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c272 /* base cg */ (sizeof (struct cg) + \
448 struct cg cg; member
452 #define acg cgun.cg
1344 maxcpg = (bsize - sizeof (struct cg) - in main()
2512 #define icg (icgun->cg) in initcg()
5618 (bsize - (sizeof (struct cg)) - (bsize / inode_divisor)) / in compute_maxcpg()

12