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

123

/freebsd-current/contrib/llvm-project/llvm/include/llvm-c/
H A Dlto.h210 * Loads an object file into the same context as \c cg. The module is safe to
219 const char *path, lto_code_gen_t cg);
397 * \c cg and \c mod must both be in the same context. See \a
404 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
410 * \c cg and \c mod must both be in the same context.
415 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod);
424 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
433 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model);
441 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
450 lto_codegen_set_assembler_path(lto_code_gen_t cg, cons
[all...]
/freebsd-current/sbin/fsck_ffs/
H A Dpass4.c50 int i, n, cg; local
54 for (cg = 0; cg < sblock.fs_ncg; cg++) {
57 cdevname, cg, sblock.fs_ncg,
58 cg * 100 / sblock.fs_ncg);
63 cg * 100 / sblock.fs_ncg);
66 inumber = cg * sblock.fs_ipg;
67 for (i = 0; i < inostathead[cg].il_numalloced; i++, inumber++) {
H A Dgjournal.c69 struct cg *cgp;
73 int cg; local
83 for (cg = 0; cg < fs->fs_ncg; cg++) {
87 cdevname, cg, fs->fs_ncg, cg * 100 / fs->fs_ncg);
92 cg * 100 / fs->fs_ncg);
95 cgbp = cglookup(cg);
97 if (!check_cgmagic(cg, cgb
[all...]
H A Dpass5.c62 struct cg *cg, *newcg = (struct cg *)buf; local
163 cg = cgbp->b_un.b_cg;
164 if (!cg_chkmagic(cg))
174 ckhash = cg->cg_ckhash;
175 cg->cg_ckhash = 0;
176 thishash = calculate_crc32c(~0L, cg, fs->fs_cgsize);
178 cg->cg_ckhash = ckhash;
182 cg
[all...]
H A Dfsutil.c229 cglookup(int cg) argument
232 struct cg *cgp;
234 if ((unsigned) cg >= sblock.fs_ncg)
235 errx(EEXIT, "cglookup: out of range cylinder group %d", cg);
241 cgbp = &cgbufs[cg];
251 getblk(&cgblk, cgtod(&sblock, cg), sblock.fs_cgsize);
256 getblk(cgbp, cgtod(&sblock, cg), sblock.fs_cgsize);
267 struct cg *cg; local
269 cg
609 int ofsmodified, cnt, cg; local
994 check_cgmagic(int cg, struct bufarea *cgbp) argument
1071 rebuild_cg(int cg, struct bufarea *cgbp) argument
1163 long cg; local
[all...]
H A Dsetup.c279 int cg, loc, len, status; local
322 for (cg = 0; cg < fs->fs_ncg; cg++) {
323 if (fragstoblks(fs, cgtod(fs, cg)) > csblkno)
325 CHKBLKINLIST(fragstoblks(fs, cgtod(fs, cg)));
337 for (; cg < fs->fs_ncg; cg++) {
338 CHKBLKINLIST(fragstoblks(fs, cgtod(fs, cg)));
H A Dfsck.h129 long il_numalloced; /* number of inodes allocated in this cg */
167 struct cg *b_cg; /* cylinder group */
461 ufs2_daddr_t allocblk(long cg, long frags, ufs2_daddr_t (*checkblkavail)
478 struct bufarea *cglookup(int cg);
481 int check_cgmagic(int cg, struct bufarea *cgbp);
482 void rebuild_cg(int cg, struct bufarea *cgbp);
553 void update_maps(struct cg *, struct cg*, int);
/freebsd-current/sys/fs/ext2fs/
H A Dext2_alloc.c106 int cg; local
129 cg = ino_to_cg(fs, ip->i_number);
131 cg = dtog(fs, bpref);
132 bno = (daddr_t)ext2_hashalloc(ip, cg, bpref, fs->e2fs_bsize,
389 int error, cg; local
405 cg = ext2_dirpref(pip);
406 if (fs->e2fs_contigdirs[cg] < 255)
407 fs->e2fs_contigdirs[cg]++;
409 cg = ino_to_cg(fs, pip->i_number);
410 if (fs->e2fs_contigdirs[cg] >
599 int cg, prefcg, cgsize; local
749 ext2_hashalloc(struct inode *ip, int cg, long pref, int size, daddr_t (*allocator) (struct inode *, int, daddr_t, int)) argument
793 ext2_cg_number_gdb_nometa(struct m_ext2fs *fs, int cg) argument
807 ext2_cg_number_gdb_meta(struct m_ext2fs *fs, int cg) argument
823 ext2_cg_number_gdb(struct m_ext2fs *fs, int cg) argument
838 ext2_number_base_meta_blocks(struct m_ext2fs *fs, int cg) argument
881 ext2_block_in_group(struct m_ext2fs *fs, e4fs_daddr_t block, int cg) argument
888 ext2_cg_block_bitmap_init(struct m_ext2fs *fs, int cg, struct buf *bp) argument
945 ext2_b_bitmap_validate(struct m_ext2fs *fs, struct buf *bp, int cg) argument
1000 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument
1150 ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) argument
1257 ext2_zero_inode_table(struct inode *ip, int cg) argument
1308 ext2_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) argument
1424 int cg, error; local
1470 int error, cg; local
1548 ext2_cg_has_sb(struct m_ext2fs *fs, int cg) argument
[all...]
H A Dext2_subr.c100 ext2_clusteracct(struct m_ext2fs *fs, char *bbp, int cg, e4fs_daddr_t bno, int cnt) argument
102 int32_t *sump = fs->e2fs_clustersum[cg].cs_sum;
108 if (fs->e2fs_clustersum[cg].cs_init == 0) {
135 fs->e2fs_clustersum[cg].cs_init = 1;
197 fs->e2fs_maxcluster[cg] = i;
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_alloc.c66 static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int);
93 int cg; local
105 cg = ino_to_cg(fs, ip->i_number);
107 cg = dtog(fs, bpref);
108 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg);
152 u_int cg, startcg; local
158 cg = ino_to_cg(fs, ip->i_number);
159 return (fs->fs_fpg * cg + fs->fs_frag);
173 for (cg = startcg; cg < f
191 u_int cg, startcg; local
240 ffs_hashalloc(struct inode *ip, u_int cg, daddr_t pref, int size, daddr_t (*allocator)(struct inode *, int, daddr_t, int)) argument
289 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument
428 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 *);
/freebsd-current/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c95 struct pmcstat_cgnode *cg; local
97 if ((cg = malloc(sizeof(*cg))) == NULL)
100 cg->pcg_image = image;
101 cg->pcg_func = pc;
103 cg->pcg_count = 0;
104 cg->pcg_nchildren = 0;
105 LIST_INIT(&cg->pcg_children);
107 return (cg);
114 pmcstat_cgnode_free(struct pmcstat_cgnode *cg) argument
135 struct pmcstat_cgnode *cg; local
255 pmcstat_cgnode_print(struct pmcstat_cgnode *cg, int depth, uint32_t total) argument
475 pmcstat_cgnode_topprint(struct pmcstat_cgnode *cg, int depth __unused, uint32_t nsamples) argument
[all...]
/freebsd-current/lib/libufs/
H A Dcgroup.c54 struct cg *cgp;
80 struct cg *cgp;
82 int i, cg, blk, frags, bbase; local
85 cg = dtog(fs, bno);
86 if (cgread1(disk, cg) != 1)
97 fs->fs_cs(fs, cg).cs_nbfree++;
113 fs->fs_cs(fs, cg).cs_nffree += i;
126 fs->fs_cs(fs, cg).cs_nffree -= fs->fs_frag;
130 fs->fs_cs(fs, cg).cs_nbfree++;
141 struct cg *cg
221 cgget(int devfd, struct fs *fs, int cg, struct cg *cgp) argument
263 cgwrite1(struct uufsd *disk, int cg) argument
[all...]
H A Dlibufs.h57 struct cg d_cg; /* cylinder group */
127 void ffs_clusteracct(struct fs *, struct cg *, ufs1_daddr_t, int);
154 int cgget(int, struct fs *, int, struct cg *);
155 int cgput(int, struct fs *, struct cg *);
/freebsd-current/sys/ufs/ffs/
H A Dffs_alloc.c102 typedef ufs2_daddr_t allocfcn_t(struct inode *ip, uint64_t cg,
125 static ufs1_daddr_t ffs_mapsearch(struct fs *, struct cg *, ufs2_daddr_t, int);
161 uint64_t cg, reclaimed; local
198 cg = ino_to_cg(fs, ip->i_number);
200 cg = dtog(fs, bpref);
201 bno = ffs_hashalloc(ip, cg, bpref, size, size, ffs_alloccg);
265 uint64_t cg, request, reclaimed; local
332 cg = dtog(fs, bprev);
334 bno = ffs_fragextend(ip, cg, bprev, osize, nsize);
400 bno = ffs_hashalloc(ip, cg, bpre
580 int i, cg, len, start_lvl, end_lvl, ssize; local
846 int i, cg, len, start_lvl, end_lvl, ssize; local
1121 uint64_t cg; local
1244 int cg, prefcg, curcg, dirsize, cgsize; local
1410 uint64_t cg, inocg; local
1522 uint64_t cg, inocg; local
1637 ffs_hashalloc(struct inode *ip, uint64_t cg, ufs2_daddr_t pref, int size, int rsize, allocfcn_t *allocator) argument
1695 ffs_fragextend(struct inode *ip, uint64_t cg, ufs2_daddr_t bprev, int osize, int nsize) argument
1774 ffs_alloccg(struct inode *ip, uint64_t cg, ufs2_daddr_t bpref, int size, int rsize) argument
1954 ffs_clusteralloc(struct inode *ip, uint64_t cg, ufs2_daddr_t bpref, int len) argument
2065 getinobuf(struct inode *ip, uint64_t cg, uint32_t cginoblk, int gbflags) argument
2098 ffs_nodealloccg(struct inode *ip, uint64_t cg, ufs2_daddr_t ipref, int mode, int unused) argument
2269 uint64_t cg; local
2832 uint64_t cg; local
2915 uint64_t cg; local
3002 ffs_getcg(struct fs *fs, struct vnode *devvp, uint64_t cg, int flags, struct buf **bpp, struct cg **cgpp) argument
3115 ffs_checkcgintegrity(struct fs *fs, uint64_t cg, int error) argument
[all...]
H A Dfs.h56 * The beginning of cylinder group cg in fs, is given by
57 * the ``cgbase(fs, cg)'' macro.
146 * thus changes to (struct cg) must keep its size within MINBSIZE.
328 struct csum *si_csp; /* (u) cg summary info buffer */
346 int32_t fs_dblkno; /* offset of first data after cg */
406 int32_t fs_cgrotor; /* last cg searched */
427 int32_t fs_save_cgsize; /* save real cg size to use fs_bsize */
556 #define ACTIVECGNUM(fs, cg) ((fs)->fs_active[(cg) / (NBBY * sizeof(uint64_t))])
557 #define ACTIVECGOFF(cg) (
597 struct cg { struct
[all...]
H A Dffs_snapshot.c195 int error, cg, snaploc; local
354 for (cg = 0; cg < fs->fs_ncg; cg++) {
355 error = UFS_BALLOC(vp, lfragtosize(fs, cgtod(fs, cg)),
360 if (cg % 10 == 0) {
389 for (cg = 0; cg < fs->fs_ncg; cg++) {
390 error = UFS_BALLOC(vp, lfragtosize(fs, cgtod(fs, cg)),
908 cgaccount(int cg, struct vnode *vp, struct buf *nbp, int passno) argument
[all...]
/freebsd-current/sys/ufs/ufs/
H A Dufs_gjournal.c56 struct cg *cgp;
58 int error, cg; local
72 cg = ino_to_cg(fs, ino);
86 if ((error = ffs_getcg(fs, devvp, cg, 0, &bp, &cgp)) != 0)
92 ACTIVECLEAR(fs, cg);
/freebsd-current/sbin/growfs/
H A Ddebug.h56 void dbg_dump_cg(const char *, struct cg *);
62 void dbg_dump_inmap(struct fs *, const char *, struct cg *);
63 void dbg_dump_frmap(struct fs *, const char *, struct cg *);
64 void dbg_dump_clmap(struct fs *, const char *, struct cg *);
65 void dbg_dump_clsum(struct fs *, const char *, struct cg *);
66 void dbg_dump_sptbl(struct fs *, const char *, struct cg *);
/freebsd-current/sbin/fsirand/
H A Dfsirand.c110 int devfd, n, cg; local
177 for (cg = 0, inumber = UFS_ROOTINO; cg < (int)sblock->fs_ncg; cg++) {
191 for (n = cg > 0 ? 0 : UFS_ROOTINO;
/freebsd-current/sys/kern/
H A Dsched_ule.c355 struct cpu_group *cg, int indent);
673 cpu_search_lowest(const struct cpu_group *cg, const struct cpu_search *s, argument
685 if (cg->cg_children > 0) {
686 for (c = cg->cg_children - 1; c >= 0; c--) {
687 load = cpu_search_lowest(&cg->cg_child[c], s, &lr);
696 (cg->cg_child[c].cg_flags & CG_FLAG_THREAD) &&
711 for (c = cg->cg_last; c >= cg->cg_first; c--) {
712 if (!CPU_ISSET(c, &cg->cg_mask))
755 cpu_search_highest(const struct cpu_group *cg, cons argument
813 sched_lowest(const struct cpu_group *cg, cpuset_t *mask, int pri, int maxload, int prefer, int running) argument
832 sched_highest(const struct cpu_group *cg, cpuset_t *mask, int minload, int mintrans) argument
846 sched_balance_group(struct cpu_group *cg) argument
1025 struct cpu_group *cg, *parent; local
1321 struct cpu_group *cg, *ccg; local
2026 struct cpu_group *cg, *parent; local
3211 sysctl_kern_sched_topology_spec_internal(struct sbuf *sb, struct cpu_group *cg, int indent) argument
[all...]
H A Dsubr_smp.c630 smp_topo_fill(struct cpu_group *cg) argument
634 for (c = 0; c < cg->cg_children; c++)
635 smp_topo_fill(&cg->cg_child[c]);
636 cg->cg_first = CPU_FFS(&cg->cg_mask) - 1;
637 cg->cg_last = CPU_FLS(&cg->cg_mask) - 1;
831 struct cpu_group *cg; local
837 cg = top;
839 if (!CPU_OVERLAP(&cg
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraphSCCPass.h93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} argument
/freebsd-current/usr.bin/xinstall/tests/
H A Dinstall_test.sh419 local cu=65532 cg=65532
433 atf_check install -g "$cg" testf testc
434 atf_check_equal "$u:$cg:10$m" "$(stat -f"%u:%g:%p" testc)"
436 atf_check install -o "$cu" -g "$cg" testf testc
437 atf_check_equal "$cu:$cg:10$m" "$(stat -f"%u:%g:%p" testc)"
445 atf_check install -g "$cg" -m "$cm" testf testc
446 atf_check_equal "$u:$cg:10$cm" "$(stat -f"%u:%g:%p" testc)"
448 atf_check install -o "$cu" -g "$cg" -m "$cm" testf testc
449 atf_check_equal "$cu:$cg:10$cm" "$(stat -f"%u:%g:%p" testc)"
458 local cu=65532 cg
[all...]
/freebsd-current/cddl/usr.sbin/dtrace/tests/common/
H A DMakefile14 cg \

Completed in 321 milliseconds

123