Home
last modified time | relevance | path

Searched refs:pn_type (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/sys/fs/pseudofs/
H A Dpseudofs.c87 pn->pn_type = type; in pfs_alloc_node_flags()
114 KASSERT(parent->pn_type == pfstype_dir || in pfs_add_node()
115 parent->pn_type == pfstype_procdir || in pfs_add_node()
116 parent->pn_type == pfstype_root, in pfs_add_node()
121 if (pn->pn_type == pfstype_procdir) in pfs_add_node()
123 KASSERT(iter->pn_type != pfstype_procdir, in pfs_add_node()
128 if (pn->pn_type == pfstype_procdir) in pfs_add_node()
129 KASSERT(iter->pn_type != pfstype_procdir, in pfs_add_node()
328 if (pn->pn_type == pfstype_dir || in pfs_destroy()
329 pn->pn_type == pfstype_procdir || in pfs_destroy()
[all …]
H A Dpseudofs_fileno.c86 switch (pn->pn_type) { in pfs_fileno_alloc()
105 if (pn->pn_parent->pn_type == pfstype_root) { in pfs_fileno_alloc()
140 switch (pn->pn_type) { in pfs_fileno_free()
H A Dpseudofs_vnops.c58 KASSERT((pn)->pn_type == pfstype_root || \
59 (pn)->pn_type == pfstype_dir || \
60 (pn)->pn_type == pfstype_procdir, \
64 KASSERT((pn)->pn_type == pfstype_file, \
68 KASSERT((pn)->pn_type == pfstype_symlink, \
243 switch (pn->pn_type) { in pfs_getattr()
502 if (pd->pn_type == pfstype_root) in pfs_lookup()
530 if (pd->pn_type == pfstype_procdir) in pfs_lookup()
542 if (pn->pn_type == pfstype_procdir) in pfs_lookup()
803 } else if ((*pn)->pn_type != pfstype_procdir) { in pfs_iterate()
[all …]
H A Dpseudofs_vncache.c170 switch (pn->pn_type) { in pfs_vncache_alloc()
192 panic("%s has unexpected type: %d", pn->pn_name, pn->pn_type); in pfs_vncache_alloc()
H A Dpseudofs.h223 pfs_type_t pn_type; member
/freebsd-13.1/sys/x86/cpufreq/
H A Dpowernow.c218 int pn_type; member
464 switch (sc->pn_type) { in pn_set()
492 switch (sc->pn_type) { in pn_get()
573 switch (sc->pn_type) { in decode_pst()
658 switch (sc->pn_type) { in pn_decode_pst()
699 if (sc->pn_type != PN8_TYPE) in pn_decode_pst()
738 switch (sc->pn_type) { in pn_decode_pst()
796 switch (sc->pn_type) { in pn_decode_acpi()
828 switch (sc->pn_type) { in pn_decode_acpi()
908 sc->pn_type = PN7_TYPE; in pn_probe()
[all …]
/freebsd-13.1/sys/fs/procfs/
H A Dprocfs.c102 if ((p->p_flag & P_SUGID) && pn->pn_type != pfstype_procdir) in procfs_attr()