Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/mount.h
Context not available. | |||||
/* | /* | ||||
* Definitions for MNT_VNODE_FOREACH_ALL. | * Definitions for MNT_VNODE_FOREACH_ALL. | ||||
*/ | */ | ||||
struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp); | struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp, | ||||
struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp); | bool (*cb)(struct vnode *, void *), void *); | ||||
struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp, | |||||
bool (*cb)(struct vnode *, void *), void *); | |||||
void __mnt_vnode_markerfree_all(struct vnode **mvp, struct mount *mp); | void __mnt_vnode_markerfree_all(struct vnode **mvp, struct mount *mp); | ||||
#define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \ | #define MNT_VNODE_FOREACH_ALL_FILTER(vp, mp, mvp, cb, cbarg) \ | ||||
for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \ | for (vp = __mnt_vnode_first_all(&(mvp), (mp), (cb), (cbarg)); \ | ||||
(vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp))) | (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp), (cb),\ | ||||
(cbarg))) | |||||
#define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \ | |||||
MNT_VNODE_FOREACH_ALL_FILTER(vp, mp, mvp, NULL, NULL) | |||||
#define MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp) \ | #define MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp) \ | ||||
do { \ | do { \ | ||||
Context not available. |