/netbsd-src/external/gpl3/gcc/dist/gcc/lto/ |
H A D | lto-dump.cc | 122 cgraph_node *cnode = dyn_cast<cgraph_node *> (node); in get_size() local 123 gcc_assert (cnode); in get_size() 125 return (cnode->definition && !cnode->thunk && !cnode->alias) in get_size() 126 ? n_basic_blocks_for_fn (DECL_STRUCT_FUNCTION (cnode->decl)) in get_size() 157 cgraph_node *cnode; in dump_list_functions() local 158 FOR_EACH_FUNCTION (cnode) in dump_list_functions() 160 if (cnode->definition && !cnode->alias) in dump_list_functions() 161 cnode->get_untransformed_body (); in dump_list_functions() 162 symbol_entry *e = new function_entry (cnode); in dump_list_functions() 163 if (!flag_lto_dump_defined || (cnode->definition && !cnode->alias)) in dump_list_functions() [all …]
|
H A D | lto-partition.cc | 169 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in add_symbol_to_partition_1() local 173 part->insns += ipa_size_summaries->get (cnode)->size; in add_symbol_to_partition_1() 176 for (e = cnode->callees; e; e = e->next_callee) in add_symbol_to_partition_1() 183 for (e = cnode->callers; e; e = e->next_caller) in add_symbol_to_partition_1() 232 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in contained_in_symbol() local 234 cnode = cnode->function_symbol (); in contained_in_symbol() 235 if (cnode->inlined_to) in contained_in_symbol() 236 cnode = cnode->inlined_to; in contained_in_symbol() 237 return cnode; in contained_in_symbol() 284 cgraph_node *cnode; in undo_partition() local [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/ |
H A D | lto-dump.c | 122 cgraph_node *cnode = dyn_cast<cgraph_node *> (node); in get_size() local 123 gcc_assert (cnode); in get_size() 125 return (cnode->definition && !cnode->alias) in get_size() 126 ? n_basic_blocks_for_fn (DECL_STRUCT_FUNCTION (cnode->decl)) in get_size() 157 cgraph_node *cnode; in dump_list_functions() local 158 FOR_EACH_FUNCTION (cnode) in dump_list_functions() 160 if (cnode->definition && !cnode->alias) in dump_list_functions() 161 cnode->get_untransformed_body (); in dump_list_functions() 162 symbol_entry *e = new function_entry (cnode); in dump_list_functions() 163 if (!flag_lto_dump_defined || (cnode->definition && !cnode->alias)) in dump_list_functions() [all …]
|
H A D | lto-partition.c | 169 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in add_symbol_to_partition_1() local 173 part->insns += ipa_size_summaries->get (cnode)->size; in add_symbol_to_partition_1() 176 for (e = cnode->callees; e; e = e->next_callee) in add_symbol_to_partition_1() 183 for (e = cnode->callers; e; e = e->next_caller) in add_symbol_to_partition_1() 232 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in contained_in_symbol() local 234 cnode = cnode->function_symbol (); in contained_in_symbol() 235 if (cnode->inlined_to) in contained_in_symbol() 236 cnode = cnode->inlined_to; in contained_in_symbol() 237 return cnode; in contained_in_symbol() 284 cgraph_node *cnode; in undo_partition() local [all …]
|
/netbsd-src/sys/coda/ |
H A D | coda_namecache.h | 80 #define CODA_NC_VALID(cncp) (cncp->dcp != (struct cnode *)0) 92 struct cnode *cp; /* vnode of the file */ 93 struct cnode *dcp; /* parent's cnode */ 118 extern void coda_nc_enter(struct cnode *, const char *, int, 119 kauth_cred_t, struct cnode *); 120 extern struct cnode *coda_nc_lookup(struct cnode *, const char *, int, 126 extern void coda_nc_zapfile(struct cnode *, const char *, int); 133 extern void coda_nc_name(struct cnode *cp);
|
H A D | coda_subr.c | 80 #define IS_DIR(cnode) (cnode.Vnode & 0x1) argument 84 #define IS_DIR(cnode) (cnode.opaque[2] & 0x1) argument 93 struct cnode * 98 struct cnode *cp; in coda_find() 192 struct cnode *cp = VTOC(vp); in coda_flush_selector() 218 struct cnode *cp = VTOC(vp); in coda_testflush_selector() 242 struct cnode *cp = VTOC(vp); in coda_unmounting_selector() 263 struct cnode *cp = VTOC(vp); in coda_checkunmounting_selector() 359 struct cnode *cp; in handleDownCall() 384 struct cnode *cp; in handleDownCall() [all …]
|
H A D | coda_subr.h | 34 struct cnode *coda_alloc(void); 35 void coda_free(struct cnode *cp); 36 struct cnode *coda_find(CodaFid *fid); 44 void coda_save(struct cnode *cp); 45 void coda_unsave(struct cnode *cp);
|
H A D | coda_vnops.c | 227 struct cnode *cp = VTOC(vp); in coda_open() 314 struct cnode *cp = VTOC(vp); in coda_close() 399 struct cnode *cp = VTOC(vp); in coda_rdwr() 584 struct cnode *cp = VTOC(vp); in coda_getattr() 635 struct cnode *cp = VTOC(vp); in coda_setattr() 667 struct cnode *cp = VTOC(vp); in coda_access() 732 struct cnode *cp = VTOC(vp); in coda_readlink() 783 struct cnode *cp = VTOC(vp); in coda_fsync() 836 struct cnode *cp = VTOC(vp); in coda_inactive() 881 struct cnode *dcp = VTOC(dvp); in coda_lookup() [all …]
|
H A D | coda_namecache.c | 116 coda_nc_find(struct cnode *dcp, const char *name, int namelen, 166 coda_nc_find(struct cnode *dcp, const char *name, int namelen, in coda_nc_find() 216 coda_nc_enter(struct cnode *dcp, const char *name, int namelen, in coda_nc_enter() 217 kauth_cred_t cred, struct cnode *cp) in coda_nc_enter() 287 struct cnode * 288 coda_nc_lookup(struct cnode *dcp, const char *name, int namelen, in coda_nc_lookup() 295 return((struct cnode *) 0); in coda_nc_lookup() 301 return((struct cnode *) 0); in coda_nc_lookup() 313 return((struct cnode *) 0); in coda_nc_lookup() 466 coda_nc_zapfile(struct cnode *dcp, const char *name, int namelen) in coda_nc_zapfile() [all …]
|
H A D | cnode.h | 97 struct cnode { struct 111 #define VTOC(vp) ((struct cnode *)(vp)->v_data) argument 194 extern int coda_vmflush(struct cnode *); 197 extern struct cnode *make_coda_node(CodaFid *, struct mount *, short);
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | symtab.cc | 172 cgraph_node *cnode; in insert_to_assembler_name_hash() local 191 cnode = dyn_cast <cgraph_node *> (node); in insert_to_assembler_name_hash() 192 if (cnode && cnode->clones && with_clones) in insert_to_assembler_name_hash() 193 for (cnode = cnode->clones; cnode; cnode = cnode->next_sibling_clone) in insert_to_assembler_name_hash() 194 if (cnode->decl == decl) in insert_to_assembler_name_hash() 195 insert_to_assembler_name_hash (cnode, true); in insert_to_assembler_name_hash() 208 cgraph_node *cnode; in unlink_from_assembler_name_hash() local 240 cnode = dyn_cast <cgraph_node *> (node); in unlink_from_assembler_name_hash() 241 if (cnode && cnode->clones && with_clones) in unlink_from_assembler_name_hash() 242 for (cnode = cnode->clones; cnode; cnode = cnode->next_sibling_clone) in unlink_from_assembler_name_hash() [all …]
|
H A D | ipa.cc | 113 cgraph_node *cnode = dyn_cast <cgraph_node *> (node); in possible_inline_candidate_p() local 114 if (!cnode) in possible_inline_candidate_p() 116 if (DECL_UNINLINABLE (cnode->decl)) in possible_inline_candidate_p() 118 if (opt_for_fn (cnode->decl, optimize)) in possible_inline_candidate_p() 415 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in remove_unreachable_nodes() local 423 if (opt_for_fn (cnode->decl, optimize) in remove_unreachable_nodes() 424 && opt_for_fn (cnode->decl, flag_devirtualize)) in remove_unreachable_nodes() 427 for (e = cnode->indirect_calls; e; e = next) in remove_unreachable_nodes() 435 for (e = cnode->callees; e; e = e->next_callee) in remove_unreachable_nodes() 461 if (cnode->inlined_to) in remove_unreachable_nodes() [all …]
|
H A D | cgraphunit.cc | 1222 cgraph_node *cnode = dyn_cast <cgraph_node *> (node); in analyze_functions() local 1223 if (cnode && cnode->definition) in analyze_functions() 1226 tree decl = cnode->decl; in analyze_functions() 1232 && !cnode->alias in analyze_functions() 1233 && !cnode->thunk in analyze_functions() 1234 && !cnode->dispatcher_function) in analyze_functions() 1236 cnode->reset (); in analyze_functions() 1237 cnode->redefined_extern_inline = true; in analyze_functions() 1241 if (!cnode->analyzed) in analyze_functions() 1242 cnode->analyze (); in analyze_functions() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | symtab.c | 171 cgraph_node *cnode; in insert_to_assembler_name_hash() local 190 cnode = dyn_cast <cgraph_node *> (node); in insert_to_assembler_name_hash() 191 if (cnode && cnode->clones && with_clones) in insert_to_assembler_name_hash() 192 for (cnode = cnode->clones; cnode; cnode = cnode->next_sibling_clone) in insert_to_assembler_name_hash() 193 if (cnode->decl == decl) in insert_to_assembler_name_hash() 194 insert_to_assembler_name_hash (cnode, true); in insert_to_assembler_name_hash() 207 cgraph_node *cnode; in unlink_from_assembler_name_hash() local 239 cnode = dyn_cast <cgraph_node *> (node); in unlink_from_assembler_name_hash() 240 if (cnode && cnode->clones && with_clones) in unlink_from_assembler_name_hash() 241 for (cnode = cnode->clones; cnode; cnode = cnode->next_sibling_clone) in unlink_from_assembler_name_hash() [all …]
|
H A D | ipa.c | 113 cgraph_node *cnode = dyn_cast <cgraph_node *> (node); in possible_inline_candidate_p() local 114 if (!cnode) in possible_inline_candidate_p() 116 if (DECL_UNINLINABLE (cnode->decl)) in possible_inline_candidate_p() 118 if (opt_for_fn (cnode->decl, optimize)) in possible_inline_candidate_p() 415 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node)) in remove_unreachable_nodes() local 423 if (opt_for_fn (cnode->decl, optimize) in remove_unreachable_nodes() 424 && opt_for_fn (cnode->decl, flag_devirtualize)) in remove_unreachable_nodes() 427 for (e = cnode->indirect_calls; e; e = next) in remove_unreachable_nodes() 435 for (e = cnode->callees; e; e = e->next_callee) in remove_unreachable_nodes() 458 if (cnode->inlined_to) in remove_unreachable_nodes() [all …]
|
H A D | cgraphunit.c | 1210 cgraph_node *cnode = dyn_cast <cgraph_node *> (node); in analyze_functions() local 1211 if (cnode && cnode->definition) in analyze_functions() 1214 tree decl = cnode->decl; in analyze_functions() 1220 && !cnode->alias in analyze_functions() 1221 && !cnode->thunk.thunk_p in analyze_functions() 1222 && !cnode->dispatcher_function) in analyze_functions() 1224 cnode->reset (); in analyze_functions() 1225 cnode->redefined_extern_inline = true; in analyze_functions() 1229 if (!cnode->analyzed) in analyze_functions() 1230 cnode->analyze (); in analyze_functions() [all …]
|
/netbsd-src/sys/arch/alpha/alpha/ |
H A D | cpu.c | 497 const struct sysctlnode *rnode, *cnode; in cpuattach() local 508 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 516 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 524 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 532 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 540 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 548 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 556 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 564 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() 572 error = sysctl_createv(log, 0, &rnode, &cnode, in cpuattach() [all …]
|
/netbsd-src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
H A D | vchiq_kmod_netbsd.c | 114 const struct sysctlnode *cnode = NULL; variable 121 sysctl_createv(clog, 0, &rnode, &cnode, 126 sysctl_createv(clog, 0, &cnode, NULL, 131 sysctl_createv(clog, 0, &cnode, NULL, 136 sysctl_createv(clog, 0, &cnode, NULL,
|
/netbsd-src/sys/external/bsd/drm2/drm/ |
H A D | drm_sysctl.c | 130 const struct sysctlnode *rnode = NULL, *cnode; in drm_sysctl_init() local 147 cnode = rnode; in drm_sysctl_init() 150 if ((error = drm_sysctl_node(n, &cnode, &def->log)) in drm_sysctl_init() 157 if ((error = sysctl_createv(&def->log, 0, &cnode, in drm_sysctl_init() 158 &cnode, p->mode == 0600 ? CTLFLAG_READWRITE : 0, in drm_sysctl_init()
|
/netbsd-src/sys/kern/ |
H A D | kern_uidinfo.c | 94 const struct sysctlnode *rnode, *cnode; in sysctl_kern_uidinfo_setup() local 103 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, in sysctl_kern_uidinfo_setup() 109 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, in sysctl_kern_uidinfo_setup() 115 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, in sysctl_kern_uidinfo_setup() 121 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, in sysctl_kern_uidinfo_setup() 127 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, in sysctl_kern_uidinfo_setup()
|
H A D | subr_syscall_stats.c | 53 const struct sysctlnode *cnode; variable 56 sysctl_createv(clog, 0, NULL, &cnode, 62 kern_syscalls = cnode->sysctl_num;
|
/netbsd-src/sys/rump/kern/lib/libsimplehook_tester/ |
H A D | simplehook_tester.c | 520 const struct sysctlnode *rnode, *cnode; in simplehook_tester_create_sysctl() local 536 error = sysctl_createv(log, 0, &rnode, &cnode, in simplehook_tester_create_sysctl() 541 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() 549 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() 557 error = sysctl_createv(log, 0, &rnode, &cnode, in simplehook_tester_create_sysctl() 564 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() 577 error = sysctl_createv(log, 0, &rnode, &cnode, in simplehook_tester_create_sysctl() 584 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() 593 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() 602 error = sysctl_createv(log, 0, &cnode, NULL, in simplehook_tester_create_sysctl() [all …]
|
/netbsd-src/sys/dev/pci/ixgbe/ |
H A D | if_bypass.c | 743 const struct sysctlnode *rnode, *cnode; in ixgbe_bypass_init() local 776 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 785 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READONLY, in ixgbe_bypass_init() 789 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 793 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 797 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 801 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 805 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 809 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() 813 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, in ixgbe_bypass_init() [all …]
|
/netbsd-src/sys/dev/i2c/ |
H A D | sht4x.c | 423 const struct sysctlnode *cnode; in sht4x_sysctl_init() local 426 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 432 sysctlroot_num = cnode->sysctl_num; in sht4x_sysctl_init() 435 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 444 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 451 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 459 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 466 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 472 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() 478 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, in sht4x_sysctl_init() [all …]
|
/netbsd-src/tests/kernel/threadpool_tester/ |
H A D | threadpool_tester.c | 374 const struct sysctlnode *rnode, *cnode; in threadpool_tester_init() local 387 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 394 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 401 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 408 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 415 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 422 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init() 429 error = sysctl_createv(log, 0, &rnode, &cnode, in threadpool_tester_init()
|