null.h (f36cfd49adb62472fd7009ecd4f0927c126ff785) null.h (aec0fb7b40e4cf877bea663f2d86dd07c3524fe8)
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 54 unchanged lines hidden (view full) ---

63
64#ifdef DIAGNOSTIC
65struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
66#define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__)
67#else
68#define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp)
69#endif
70
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 54 unchanged lines hidden (view full) ---

63
64#ifdef DIAGNOSTIC
65struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
66#define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__)
67#else
68#define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp)
69#endif
70
71extern vop_t **null_vnodeop_p;
71extern struct vop_vector null_vnodeops;
72
73#ifdef MALLOC_DECLARE
74MALLOC_DECLARE(M_NULLFSNODE);
75#endif
76
77#ifdef NULLFS_DEBUG
78#define NULLFSDEBUG(format, args...) printf(format ,## args)
79#else
80#define NULLFSDEBUG(format, args...)
81#endif /* NULLFS_DEBUG */
82
83#endif /* _KERNEL */
72
73#ifdef MALLOC_DECLARE
74MALLOC_DECLARE(M_NULLFSNODE);
75#endif
76
77#ifdef NULLFS_DEBUG
78#define NULLFSDEBUG(format, args...) printf(format ,## args)
79#else
80#define NULLFSDEBUG(format, args...)
81#endif /* NULLFS_DEBUG */
82
83#endif /* _KERNEL */