Lines Matching refs:pn
93 puffs_path_prefixadj(struct puffs_usermount *pu, struct puffs_node *pn, in puffs_path_prefixadj() argument
102 if (pn->pn_po.po_len < pi->pi_old->po_len) in puffs_path_prefixadj()
105 if (pu->pu_pathcmp(pu, &pn->pn_po, pi->pi_old, pi->pi_old->po_len, 1)) in puffs_path_prefixadj()
109 assert(pn->pn_po.po_len > pi->pi_old->po_len); in puffs_path_prefixadj()
112 rv = pu->pu_pathbuild(pu, pi->pi_new, &pn->pn_po, in puffs_path_prefixadj()
128 oldpo = pn->pn_po; in puffs_path_prefixadj()
129 pn->pn_po = localpo; in puffs_path_prefixadj()
140 puffs_path_walkcmp(struct puffs_usermount *pu, struct puffs_node *pn, void *arg) in puffs_path_walkcmp() argument
145 if (po->po_len != PNPLEN(pn)) in puffs_path_walkcmp()
153 if (pn->pn_po.po_hash != po->po_hash) in puffs_path_walkcmp()
156 po2.po_path = PNPATH(pn); in puffs_path_walkcmp()
157 po2.po_len = PNPLEN(pn); in puffs_path_walkcmp()
159 if (pu->pu_pathcmp(pu, po, &po2, PNPLEN(pn), 0) == 0) in puffs_path_walkcmp()
160 return pn; in puffs_path_walkcmp()