| 343 | struct pwd *pwd_hold(struct thread *td); |
| 344 | void pwd_drop(struct pwd *pwd); |
| 345 | static inline void |
| 346 | pwd_set(struct pwddesc *pdp, struct pwd *newpwd) |
| 347 | { |
| 348 | smr_serialized_store(&pdp->pd_pwd, newpwd, |
| 349 | (PWDDESC_ASSERT_XLOCKED(pdp), true)); |
| 350 | } |
| 351 | #define pwd_get_smr() vfs_smr_entered_load(&curproc->p_pd->pd_pwd) |
| 352 | |
| 353 | #endif /* _KERNEL */ |
no outgoing calls
no test coverage detected