Searched refs:fnp (Results 1 - 6 of 6) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Ddevfs_vnops.c818 devdirent_t *fnp,*tnp; local
841 fnp = dev_findname(fdp, fcnp->cn_nameptr);
843 if (fnp == NULL) {
917 dev_free_name(fnp);
946 fnp->de_dnp = NULL;
949 dev_free_name(fnp);
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_node.c646 * - fdnp/fnp and tdnp/tnp locks taken in order given
653 nfs_lock4(nfsnode_t fdnp, nfsnode_t fnp, nfsnode_t tdnp, nfsnode_t tnp, int locktype) argument
674 if (!tnp || (fnp == tnp) || (tnp == fdnp)) {
675 list[lcnt++] = fnp;
676 } else if (fnp < tnp) {
677 list[lcnt++] = fnp;
681 list[lcnt++] = fnp;
H A Dnfs_vnops.c3237 nfsnode_t fdnp, fnp, tdnp, tnp; local
3247 fnp = VTONFS(fvp);
3256 error = nfs_lock4(fdnp, fnp, tdnp, tnp, NFS_NODE_LOCK_EXCLUSIVE);
3353 if (fnp->n_parent && !vnode_get(fnp->n_parent)) {
3355 vnode_rele(fnp->n_parent);
3356 vnode_put(fnp->n_parent);
3358 fnp->n_parent = tdvp;
3364 fnp->n_parent = NULL;
3395 nfs_unlock4(fdnp, fnp, tdn
[all...]
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_vfs.c297 struct fdescnode *fnp; local
310 fnp = VTOFDESC(vp);
311 error = mac_vnode_label_associate_fdesc(mp, fnp, vp, ctx);
1335 mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp, argument
1350 if (fnp->fd_fd == -1) {
1357 error = fp_lookup(p, fnp->fd_fd, &fp, 0);
1409 fp_drop(p, fnp->fd_fd, fp, 0);
H A Dmac_framework.h499 int mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp,
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_sysctl.c234 sysctlfn *fnp = NULL; local
280 fnp = kern_sysctl;
286 fnp = vfs_sysctl;
290 fnp = debug_sysctl;
294 fnp = NULL;
342 fnp == kern_sysctl ? 1 : 0,
349 if (fnp) {
350 error = (*fnp)(name + 1, uap->namelen - 1, uap->old,

Completed in 119 milliseconds