/src/sys/coda/ |
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);
|
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) [all...] |
coda_subr.c | 54 * 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address 68 #include <coda/cnode.h> 80 #define IS_DIR(cnode) (cnode.Vnode & 0x1) 84 #define IS_DIR(cnode) (cnode.opaque[2] & 0x1) 90 * Lookup a cnode by fid. If the cnode is dying, it is bogus so skip it. 91 * The cnode is returned locked with the vnode referenced. 93 struct cnode * [all...] |
cnode.h | 1 /* $NetBSD: cnode.h,v 1.21 2024/05/17 23:56:24 thorpej Exp $ */ 31 * @(#) coda/cnode.h,v 1.1.1.1 1998/08/29 21:26:46 rvb Exp $ 58 * Cnode lookup stuff. 97 struct cnode { struct 111 #define VTOC(vp) ((struct cnode *)(vp)->v_data) 116 #define C_VATTR 0x01 /* Validity of vattr in the cnode */ 180 * to a cnode was a downcall or not 194 extern int coda_vmflush(struct cnode *); 197 extern struct cnode *make_coda_node(CodaFid *, struct mount *, short);
|
coda_namecache.c | 71 * 2. coda_nc_name(cp) was added to get a name for a cnode pointer for debugging. 88 #include <coda/cnode.h> 116 coda_nc_find(struct cnode *dcp, const char *name, int namelen, 166 coda_nc_find(struct cnode *dcp, const char *name, int namelen, 212 * Enter a new (dir cnode, name) pair into the cache, updating the 216 coda_nc_enter(struct cnode *dcp, const char *name, int namelen, 217 kauth_cred_t cred, struct cnode *cp) 284 * Find the (dir cnode, name) pair in the cache, if its cred 287 struct cnode * 288 coda_nc_lookup(struct cnode *dcp, const char *name, int namelen [all...] |
coda_vnops.c | 71 #include <coda/cnode.h> 227 struct cnode *cp = VTOC(vp); 314 struct cnode *cp = VTOC(vp); 399 struct cnode *cp = VTOC(vp); 541 * Make sure this is a coda style cnode, but it may be a 571 * the kernel. Each cnode has storage allocated for an attribute. If 573 * attributes from venus and store them in the cnode. There is some 584 struct cnode *cp = VTOC(vp); 619 /* If not open for write, store attributes in cnode */ 635 struct cnode *cp = VTOC(vp) [all...] |
/src/sys/kern/ |
subr_syscall_stats.c | 53 const struct sysctlnode *cnode; variable in typeref:typename:const struct sysctlnode * 56 sysctl_createv(clog, 0, NULL, &cnode, 62 kern_syscalls = cnode->sysctl_num;
|
kern_uidinfo.c | 94 const struct sysctlnode *rnode, *cnode; local in function:sysctl_kern_uidinfo_setup 103 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, 109 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, 115 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, 121 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode, 127 sysctl_createv(&kern_uidinfo_sysctllog, 0, &rnode, &cnode,
|
/src/sys/external/bsd/drm2/drm/ |
drm_sysctl.c | 130 const struct sysctlnode *rnode = NULL, *cnode; 147 cnode = rnode; 150 if ((error = drm_sysctl_node(n, &cnode, &def->log)) 157 if ((error = sysctl_createv(&def->log, 0, &cnode, 158 &cnode, p->mode == 0600 ? CTLFLAG_READWRITE : 0,
|
/src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
vchiq_kmod_netbsd.c | 114 const struct sysctlnode *cnode = NULL; variable in typeref:typename:const struct sysctlnode * 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,
|
/src/sys/arch/alpha/alpha/ |
cpu.c | 497 const struct sysctlnode *rnode, *cnode; local in function:cpuattach 508 error = sysctl_createv(log, 0, &rnode, &cnode, 516 error = sysctl_createv(log, 0, &rnode, &cnode, 524 error = sysctl_createv(log, 0, &rnode, &cnode, 532 error = sysctl_createv(log, 0, &rnode, &cnode, 540 error = sysctl_createv(log, 0, &rnode, &cnode, 548 error = sysctl_createv(log, 0, &rnode, &cnode, 556 error = sysctl_createv(log, 0, &rnode, &cnode, 564 error = sysctl_createv(log, 0, &rnode, &cnode, 572 error = sysctl_createv(log, 0, &rnode, &cnode, [all...] |
/src/sys/dev/ic/ |
ath_netbsd.h | 70 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_PERMANENT|(__rw), \ 77 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_PERMANENT|(__rw),\ 85 sysctl_createv(clog, 0, &rnode, &cnode, \
|
bmx280.c | 295 const struct sysctlnode *cnode; local in function:bmx280_sysctl_init 298 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 304 sysctlroot_num = cnode->sysctl_num; 307 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 316 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 324 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 331 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 338 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 346 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, 354 if ((error = sysctl_createv(&sc->sc_bmx280log, 0, NULL, &cnode, [all...] |
/src/sys/arch/arm/acpi/ |
acpi_cpu_md.c | 241 const struct sysctlnode *mnode, *cnode, *fnode, *node; local in function:acpicpu_md_pstate_start 251 error = sysctl_createv(&acpicpu_log, 0, &mnode, &cnode, 258 error = sysctl_createv(&acpicpu_log, 0, &cnode, &fnode,
|
/src/sys/dev/i2c/ |
sht4x.c | 423 const struct sysctlnode *cnode; local in function:sht4x_sysctl_init 426 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 432 sysctlroot_num = cnode->sysctl_num; 435 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 444 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 451 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 459 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 466 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 472 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, 478 if ((error = sysctl_createv(&sc->sc_sht4xlog, 0, NULL, &cnode, [all...] |
sgp40.c | 478 const struct sysctlnode *cnode; local in function:sgp40_sysctl_init 481 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 487 sysctlroot_num = cnode->sysctl_num; 490 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 499 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 506 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 512 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 517 int compensation_num = cnode->sysctl_num; 519 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, 526 if ((error = sysctl_createv(&sc->sc_sgp40log, 0, NULL, &cnode, [all...] |
/src/sys/rump/kern/lib/libsimplehook_tester/ |
simplehook_tester.c | 520 const struct sysctlnode *rnode, *cnode; local in function:simplehook_tester_create_sysctl 536 error = sysctl_createv(log, 0, &rnode, &cnode, 541 error = sysctl_createv(log, 0, &cnode, NULL, 549 error = sysctl_createv(log, 0, &cnode, NULL, 557 error = sysctl_createv(log, 0, &rnode, &cnode, 564 error = sysctl_createv(log, 0, &cnode, NULL, 577 error = sysctl_createv(log, 0, &rnode, &cnode, 584 error = sysctl_createv(log, 0, &cnode, NULL, 593 error = sysctl_createv(log, 0, &cnode, NULL, 602 error = sysctl_createv(log, 0, &cnode, NULL [all...] |
/src/sys/crypto/chacha/ |
chacha_impl.c | 57 const struct sysctlnode *cnode; variable in typeref:typename:const struct sysctlnode * 60 sysctl_createv(clog, 0, NULL, &cnode, 0, CTLTYPE_NODE, "crypto", 64 sysctl_createv(clog, 0, &cnode, &chacha_node, 0, CTLTYPE_NODE, "chacha",
|
/src/sys/external/isc/atheros_hal/ic/ |
ah_osdep.c | 83 const struct sysctlnode *cnode, *rnode; variable in typeref:typename:const struct sysctlnode * 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,
|
/src/tests/kernel/threadpool_tester/ |
threadpool_tester.c | 374 const struct sysctlnode *rnode, *cnode; local in function:threadpool_tester_init 387 error = sysctl_createv(log, 0, &rnode, &cnode, 394 error = sysctl_createv(log, 0, &rnode, &cnode, 401 error = sysctl_createv(log, 0, &rnode, &cnode, 408 error = sysctl_createv(log, 0, &rnode, &cnode, 415 error = sysctl_createv(log, 0, &rnode, &cnode, 422 error = sysctl_createv(log, 0, &rnode, &cnode, 429 error = sysctl_createv(log, 0, &rnode, &cnode,
|
/src/tests/modules/threadpool_tester/ |
threadpool_tester.c | 374 const struct sysctlnode *rnode, *cnode; local in function:threadpool_tester_init 387 error = sysctl_createv(log, 0, &rnode, &cnode, 394 error = sysctl_createv(log, 0, &rnode, &cnode, 401 error = sysctl_createv(log, 0, &rnode, &cnode, 408 error = sysctl_createv(log, 0, &rnode, &cnode, 415 error = sysctl_createv(log, 0, &rnode, &cnode, 422 error = sysctl_createv(log, 0, &rnode, &cnode, 429 error = sysctl_createv(log, 0, &rnode, &cnode,
|
/src/sys/dev/pci/ixgbe/ |
if_bypass.c | 743 const struct sysctlnode *rnode, *cnode; local in function:ixgbe_bypass_init 776 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 785 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READONLY, 789 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 793 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 797 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 801 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 805 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 809 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE, 813 sysctl_createv(log, 0, &rnode, &cnode, CTLFLAG_READWRITE [all...] |
/src/sys/dev/usb/ |
umcpmio.c | 1897 const struct sysctlnode *cnode; local in function:umcpmio_sysctl_init 1900 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1907 sysctlroot_num = cnode->sysctl_num; 1910 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1917 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1925 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1933 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1940 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, 1947 i2c_num = cnode->sysctl_num; 1949 if ((error = sysctl_createv(&sc->sc_umcpmiolog, 0, NULL, &cnode, [all...] |
/src/sys/dev/ebus/ |
ebusreg.h | 105 int32_t cnode; /* child node */ member in struct:ebus_interrupt_map
|
/src/sys/net80211/ |
ieee80211_netbsd.c | 182 const struct sysctlnode *cnode, *rnode; local in function:ieee80211_sysctl_attach 196 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 205 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 213 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 219 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 226 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 233 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 240 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode, 245 if ((rc = sysctl_createv(&ic->ic_sysctllog, 0, &rnode, &cnode,
|