Lines Matching full:pi
69 pfs_alloc_node_flags(struct pfs_info *pi, const char *name, pfs_type_t type, int flags) in pfs_alloc_node_flags() argument
88 pn->pn_info = pi; in pfs_alloc_node_flags()
93 pfs_alloc_node(struct pfs_info *pi, const char *name, pfs_type_t type) in pfs_alloc_node() argument
95 return (pfs_alloc_node_flags(pi, name, type, 0)); in pfs_alloc_node()
362 pfs_mount(struct pfs_info *pi, struct mount *mp) in pfs_mount() argument
373 mp->mnt_data = pi; in pfs_mount()
377 vfs_mountedfrom(mp, pi->pi_name); in pfs_mount()
420 struct pfs_info *pi; in pfs_root() local
422 pi = (struct pfs_info *)mp->mnt_data; in pfs_root()
423 return (pfs_vncache_alloc(mp, vpp, pi->pi_root, NO_PID)); in pfs_root()
440 pfs_init(struct pfs_info *pi, struct vfsconf *vfc) in pfs_init() argument
445 pfs_fileno_init(pi); in pfs_init()
448 root = pfs_alloc_node(pi, "/", pfstype_root); in pfs_init()
449 pi->pi_root = root; in pfs_init()
454 error = (pi->pi_init)(pi, vfc); in pfs_init()
457 pi->pi_root = NULL; in pfs_init()
462 printf("%s registered\n", pi->pi_name); in pfs_init()
470 pfs_uninit(struct pfs_info *pi, struct vfsconf *vfc) in pfs_uninit() argument
474 pfs_destroy(pi->pi_root); in pfs_uninit()
475 pi->pi_root = NULL; in pfs_uninit()
476 pfs_fileno_uninit(pi); in pfs_uninit()
478 printf("%s unregistered\n", pi->pi_name); in pfs_uninit()
479 error = (pi->pi_uninit)(pi, vfc); in pfs_uninit()