Searched refs:cg (Results 1 - 25 of 60) sorted by relevance

123

/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gprof/
H A Dcg_arcs.c70 for (arc = parent->cg.children; arc; arc = arc->next_child)
144 arc->next_child = parent->cg.children;
145 parent->cg.children = arc;
148 arc->next_parent = child->cg.parents;
149 child->cg.parents = arc;
159 return left->cg.top_order - right->cg.top_order;
170 if (parent->cg.prop.fract == 0.0)
177 for (arc = parent->cg.children; arc; arc = arc->next_child)
180 if (arc->count == 0 || child == parent || child->cg
[all...]
H A Dcg_dfn.c65 return child->cg.top_order != DFN_NAN && child->cg.top_order != DFN_BUSY;
75 if (child->cg.top_order == DFN_NAN)
104 if (child->cg.cyc.head != child && child->cg.cyc.head == head)
152 for (tail = head; tail->cg.cyc.next; tail = tail->cg.cyc.next)
165 if (head->cg.cyc.head != head)
167 head = head->cg.cyc.head;
175 if (child->cg
[all...]
H A Dutils.c85 DBG (DFNDEBUG, printf ("{%d} ", self->cg.top_order));
86 DBG (PROPDEBUG, printf ("%4.0f%% ", 100.0 * self->cg.prop.fract));
97 if (self->cg.cyc.num != 0)
99 printf (_(" <cycle %d>"), self->cg.cyc.num);
101 if (self->cg.index != 0)
103 if (self->cg.print_flag)
105 printf (" [%d]", self->cg.index);
109 printf (" (%d)", self->cg.index);
H A Dcg_print.c118 sprintf (buf, "[%d]", cyc->cg.index);
122 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time,
123 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls);
125 if (cyc->cg.self_calls != 0)
126 printf ("+%-7lu", cyc->cg.self_calls);
130 printf (_(" <cycle %d as a whole> [%d]\n"), cyc->cg.cyc.num, cyc->cg.index);
139 double left_time = left->cg
[all...]
H A Dalpha.c103 indirect_child.cg.prop.fract = 1.0;
104 indirect_child.cg.cyc.head = &indirect_child;
H A Dmips.c55 indirect_child.cg.prop.fract = 1.0;
56 indirect_child.cg.cyc.head = &indirect_child;
H A Dsymtab.h100 cg;
99 cg; member in struct:sym
H A Dgprof.c186 Sym **cg = 0; local
583 cg = cg_assemble ();
602 if (cg && (output_style & STYLE_CALL_GRAPH) && bsd_style_output)
605 cg_print (cg);
614 if (cg && (output_style & STYLE_CALL_GRAPH))
619 cg_print (cg);
H A Dsymtab.c46 sym->cg.child_time = 0.0;
47 sym->cg.prop.fract = 0.0;
48 sym->cg.prop.self = 0.0;
49 sym->cg.prop.child = 0.0;
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/
H A Dffs_alloc.c75 static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int);
106 int cg; local
118 cg = ino_to_cg(fs, ip->i_number);
120 cg = dtog(fs, bpref);
121 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg);
162 int cg; local
168 cg = ino_to_cg(fs, ip->i_number);
169 return (fs->fs_fpg * cg + fs->fs_frag);
183 for (cg = startcg; cg < f
205 int cg; local
254 ffs_hashalloc(struct inode *ip, int cg, daddr_t pref, int size, daddr_t (*allocator)(struct inode *, int, daddr_t, int)) argument
303 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument
443 int i, error, cg, blk, frags, bbase; local
[all...]
H A Dffs_extern.h56 void ffs_clusteracct(struct fs *, struct cg *, int32_t, int);
66 void ffs_cg_swap(struct cg *, struct cg *, struct fs *);
/netbsd-6-1-5-RELEASE/sbin/resize_ffs/
H A Dresize_ffs.c71 /* size of a cg, in bytes, rounded up to a frag boundary */
102 /* a cg's worth of brand new squeaky-clean inodes */
106 static struct cg **cgs;
111 /* per-cg flags, indexed by cg number */
316 * them into and initializes the per-cg flags.
321 int cg; local
325 cgs = nfmalloc(oldsb->fs_ncg * sizeof(*cgs), "cg pointers");
327 cgflags = nfmalloc(oldsb->fs_ncg, "cg flags");
328 csums = nfmalloc(oldsb->fs_cssize, "cg summar
456 struct cg *cg; /* The in-core cg, of course */ local
995 struct cg *cg; local
1268 fragmove(struct cg * cg, int base, unsigned int start, unsigned int n) argument
1305 evict_data(struct cg * cg, unsigned int minfrag, int nfrag) argument
1573 evict_inodes(struct cg * cg) argument
1751 struct cg *cg; local
1808 struct cg *cg; local
1926 struct cg *cg; local
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/
H A Dext2fs_alloc.c115 int cg; local
132 cg = ino_to_cg(fs, ip->i_number);
134 cg = dtog(fs, bpref);
135 bno = (daddr_t)ext2fs_hashalloc(ip, cg, bpref, fs->e2fs_bsize,
172 int cg, error; local
181 cg = ext2fs_dirpref(fs);
183 cg = ino_to_cg(fs, pip->i_number);
184 ipref = cg * fs->e2fs.e2fs_ipg + 1;
185 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg);
226 int cg, maxspac local
257 int cg, i; local
297 ext2fs_hashalloc(struct inode *ip, int cg, long pref, int size, daddr_t (*allocator)(struct inode *, int, daddr_t, int)) argument
347 ext2fs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument
432 ext2fs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) argument
503 int error, cg; local
548 int error, cg; local
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/
H A Dffs_alloc.c117 static int32_t ffs_mapsearch(struct fs *, struct cg *,
182 int cg; local
256 cg = ino_to_cg(fs, ip->i_number);
258 cg = dtog(fs, bpref);
259 bno = ffs_hashalloc(ip, cg, bpref, size, flags, ffs_alloccg);
311 int cg, request, error; local
399 cg = dtog(fs, bprev);
401 if ((bno = ffs_fragextend(ip, cg, bprev, osize, nsize)) != 0) {
479 bno = ffs_hashalloc(ip, cg, bpref, request, 0, ffs_alloccg);
567 int cg, erro local
682 int cg, prefcg; local
812 int cg; local
876 int cg; local
950 ffs_hashalloc(struct inode *ip, int cg, daddr_t pref, int size , int flags, daddr_t (*allocator)(struct inode *, int, daddr_t, int, int)) argument
1006 ffs_fragextend(struct inode *ip, int cg, daddr_t bprev, int osize, int nsize) argument
1085 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size, int flags) argument
1207 int cg; local
1281 ffs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode, int flags) argument
1457 int i, error, cg, blk, frags, bbase; local
1563 int error, cg; local
1618 int error, cg; local
1659 int i, cg, blk, frags, bbase; local
1782 int error, cg; local
1822 int error, cg; local
1861 int cg; local
1912 int ret, cg; local
[all...]
H A Dffs_extern.h64 struct cg;
190 void ffs_cg_swap(struct cg *, struct cg *, struct fs *);
204 void ffs_clusteracct(struct fs *, struct cg *, int32_t, int);
H A Dffs_wapbl.c727 struct cg *cgp;
733 int bpcg, cg, error, fixedsize, indir_blks, n, s; local
818 for (cg = fs->fs_ncg / 2, s = 0, n = 1;
819 best_blks < desired_blks && cg >= 0 && cg < fs->fs_ncg;
820 s++, n = -n, cg += n * s) {
821 DPRINTF("check cg %d of %d\n", cg, fs->fs_ncg);
822 error = bread(devvp, fsbtodb(fs, cgtod(fs, cg)),
824 cgp = (struct cg *)b
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A Dpr27373.c3 float bg[1], cg[1]; member in struct:atype
28 ty *tt = &(*rng_stream)->cg;
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass4.c65 int n, i, cg; local
71 for (cg = 0; cg < sblock->fs_ncg; cg++) {
75 cdevname(), cg, sblock->fs_ncg,
76 cg * 100 / sblock->fs_ncg);
81 cg, sblock->fs_ncg);
83 inumber = cg * sblock->fs_ipg;
84 for (i = 0; i < inostathead[cg].il_numalloced; i++, inumber++) {
161 int cg, nfrag local
[all...]
H A Dpass5.c72 struct cg *newcg = (struct cg *)buf;
74 struct cg *cg = cgrp, *ncg; local
116 "cannot reallocate cg space");
117 cg = cgrp = ncg;
214 memcpy(cg, cgblk.b_un.b_cg, fs->fs_cgsize);
216 ffs_cg_swap(cgblk.b_un.b_cg, cg, sblock);
217 if (!doinglevel1 && !cg_chkmagic(cg, 0))
261 newcg->cg_time = cg
[all...]
H A Dinode.c706 struct cg *cgp = cgrp;
707 int cg; local
722 cg = ino_to_cg(sblock, ino);
724 if ((ino % sblock->fs_ipg) >= (uint64_t)inostathead[cg].il_numalloced) {
727 MAX(2 * inostathead[cg].il_numalloced, 10));
734 memmove(info, inostathead[cg].il_stat,
735 inostathead[cg].il_numalloced * sizeof(*info));
736 for (i = inostathead[cg].il_numalloced; i < newalloced; i++) {
739 if (inostathead[cg].il_numalloced)
740 free(inostathead[cg]
822 int cg; local
[all...]
H A Dextern.h104 void swap_cg(struct cg *, struct cg *);
/netbsd-6-1-5-RELEASE/sbin/badsect/
H A Dbadsect.c79 struct cg cg; member in union:__anon5412
82 #define acg ucg.cg
206 int cg; local
217 cg = (int)dtog(fs, fsbn);
218 if (fsbn < cgdmin(fs, cg)) {
219 if (cg == 0 || fsbe > cgsblock(fs, cg)) {
225 if (fsbe > cgbase(fs, cg + 1)) {
232 rdfs(fsbtodb(fs, cgtod(fs, cg)), (in
[all...]
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Dffs_inode.c167 int i, cg, inosused; local
168 struct cg *cgp;
175 for (cg = 0; cg < sblock->fs_ncg; cg++) {
176 ino = cg * sblock->fs_ipg;
177 bread(fsbtodb(sblock, cgtod(sblock, cg)), (char *)cgp,
194 quit("mapfiles: cg %d: bad magic number\n", cg);
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dsetup.c94 long cg, asked, i; local
149 for (cg = 1; cg < proto.e2fs_ncg; cg++) {
151 cg * proto.e2fs.e2fs_bpg +
156 if (cg >= proto.e2fs_ncg) {
260 for (numdirs = 0, cg = 0; cg < sblock.e2fs_ncg; cg++) {
261 numdirs += fs2h16(sblock.e2fs_gd[cg]
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dresrc.c846 rc_group_cursor *cg;
848 cg = (rc_group_cursor *) res_alloc (sizeof (rc_group_cursor));
849 cg->next = NULL;
850 cg->width = icondirs[i].width;
851 cg->height = 2 * icondirs[i].height;
854 cg->planes = 1;
855 cg->bits = 1;
857 cg->bytes = icondirs[i].bytes + 4;
858 cg->index = first_cursor + i + 1;
860 *pp = cg;
844 rc_group_cursor *cg; local
1239 rc_group_icon *cg; local
1287 rc_group_icon *cg, *first, *cur; local
1341 rc_group_cursor *cg, *first, *cur; local
[all...]

Completed in 321 milliseconds

123