| /netbsd/src/external/gpl3/gcc/dist/gcc/lto/ |
| 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 …]
|
| 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 …]
|
| D | lto-symtab.cc | 999 cgraph_node *cnode, *cnode2; in lto_symtab_merge_symbols() local 1037 if ((cnode = dyn_cast <cgraph_node *> (node)) != NULL) in lto_symtab_merge_symbols() 1038 cnode->reset (); in lto_symtab_merge_symbols() 1047 if (!(cnode = dyn_cast <cgraph_node *> (node)) in lto_symtab_merge_symbols() 1048 || !cnode->clone_of in lto_symtab_merge_symbols() 1049 || cnode->clone_of->decl != cnode->decl) in lto_symtab_merge_symbols() 1054 if (cnode && fndecl_built_in_p (node->decl) in lto_symtab_merge_symbols() 1056 && cnode2 != cnode) in lto_symtab_merge_symbols() 1057 lto_cgraph_replace_node (cnode2, cnode); in lto_symtab_merge_symbols() 1072 else if (cnode && DECL_ABSTRACT_P (cnode->decl) in lto_symtab_merge_symbols() [all …]
|
| /netbsd/src/sys/coda/ |
| 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);
|
| 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 …]
|
| 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);
|
| 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 …]
|
| 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 …]
|
| 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/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| D | ipa-comdats.cc | 120 cgraph_node *cnode = dyn_cast <cgraph_node *> (symbol); in propagate_comdat_group() local 122 if (cnode) in propagate_comdat_group() 123 for (struct cgraph_edge * edge = cnode->callers; in propagate_comdat_group() 181 if (cgraph_node *cnode = dyn_cast <cgraph_node *> (symbol)) in enqueue_references() local 185 for (edge = cnode->callees; edge; edge = edge->next_callee) in enqueue_references()
|
| /netbsd/src/sys/arch/alpha/alpha/ |
| 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/ |
| 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/ |
| 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/ |
| 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()
|
| 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/dev/usb/ |
| D | umcpmio.c | 1897 const struct sysctlnode *cnode; in umcpmio_sysctl_init() local 1900 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1907 sysctlroot_num = cnode->sysctl_num; in umcpmio_sysctl_init() 1910 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1917 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1925 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1933 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1940 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() 1947 i2c_num = cnode->sysctl_num; in umcpmio_sysctl_init() 1949 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, in umcpmio_sysctl_init() [all …]
|
| /netbsd/src/sys/dev/pci/ixgbe/ |
| 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/ |
| 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 …]
|
| D | sgp40.c | 478 const struct sysctlnode *cnode; in sgp40_sysctl_init() local 481 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 487 sysctlroot_num = cnode->sysctl_num; in sgp40_sysctl_init() 490 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 499 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 506 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 512 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 517 int compensation_num = cnode->sysctl_num; in sgp40_sysctl_init() 519 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init() 526 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, in sgp40_sysctl_init()
|
| /netbsd/src/sys/external/isc/atheros_hal/ic/ |
| D | ah_osdep.c | 83 const struct sysctlnode *cnode, *rnode; variable 100 if ((rc = sysctl_createv(clog, 0, &rnode, &cnode, 107 if ((rc = sysctl_createv(clog, 0, &rnode, &cnode, 113 if ((rc = sysctl_createv(clog, 0, &rnode, &cnode, 119 if ((rc = sysctl_createv(clog, 0, &rnode, &cnode, 126 if ((rc = sysctl_createv(clog, 0, &rnode, &cnode,
|
| /netbsd/src/sys/dev/ic/ |
| D | bmx280.c | 282 const struct sysctlnode *cnode; in bmx280_sysctl_init() local 287 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 293 sysctlroot_num = cnode->sysctl_num; in bmx280_sysctl_init() 296 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 305 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 313 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 320 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 327 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 335 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() 343 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, in bmx280_sysctl_init() [all …]
|
| /netbsd/src/sys/dev/onewire/ |
| D | ds28e17iic.c | 544 const struct sysctlnode *cnode; in ds28e17iic_sysctl_init() local 547 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init() 553 sysctlroot_num = cnode->sysctl_num; in ds28e17iic_sysctl_init() 556 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init() 564 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init() 571 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init() 578 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init() 585 if ((error = sysctl_createv(&sc->sc_ds28e17iiclog, 0, NULL, &cnode, in ds28e17iic_sysctl_init()
|