| 4045 | } |
| 4046 | |
| 4047 | static int |
| 4048 | cache_fplookup_dirfd(struct cache_fpl *fpl, struct vnode **vpp) |
| 4049 | { |
| 4050 | struct nameidata *ndp; |
| 4051 | int error; |
| 4052 | bool fsearch; |
| 4053 | |
| 4054 | ndp = fpl->ndp; |
| 4055 | error = fgetvp_lookup_smr(ndp->ni_dirfd, ndp, vpp, &fsearch); |
| 4056 | if (__predict_false(error != 0)) { |
| 4057 | return (cache_fpl_aborted(fpl)); |
| 4058 | } |
| 4059 | fpl->fsearch = fsearch; |
| 4060 | return (0); |
| 4061 | } |
| 4062 | |
| 4063 | static int __noinline |
| 4064 | cache_fplookup_negative_promote(struct cache_fpl *fpl, struct namecache *oncp, |
no test coverage detected