Lines 105-112
Link Here
|
105 |
|
105 |
|
106 |
#define ZFS_LOG(...) do { } while (0) |
106 |
#define ZFS_LOG(...) do { } while (0) |
107 |
|
107 |
|
108 |
typedef u_longlong_t rlim64_t; |
108 |
typedef u_longlong_t solaris_rlim64_t; |
109 |
#define RLIM64_INFINITY ((rlim64_t)-3) |
109 |
#define RLIM64_INFINITY ((solaris_rlim64_t)-3) |
110 |
|
110 |
|
111 |
#ifdef ZFS_DEBUG |
111 |
#ifdef ZFS_DEBUG |
112 |
extern void dprintf_setup(int *argc, char **argv); |
112 |
extern void dprintf_setup(int *argc, char **argv); |
Lines 438-444
Link Here
|
438 |
extern int vn_openat(char *path, int x1, int oflags, int mode, vnode_t **vpp, |
438 |
extern int vn_openat(char *path, int x1, int oflags, int mode, vnode_t **vpp, |
439 |
int x2, int x3, vnode_t *vp, int fd); |
439 |
int x2, int x3, vnode_t *vp, int fd); |
440 |
extern int vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, |
440 |
extern int vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, |
441 |
offset_t offset, int x1, int x2, rlim64_t x3, void *x4, ssize_t *residp); |
441 |
offset_t offset, int x1, int x2, solaris_rlim64_t x3, void *x4, ssize_t *residp); |
442 |
extern void vn_close(vnode_t *vp, int openflag, cred_t *cr, kthread_t *td); |
442 |
extern void vn_close(vnode_t *vp, int openflag, cred_t *cr, kthread_t *td); |
443 |
|
443 |
|
444 |
#define vn_remove(path, x1, x2) remove(path) |
444 |
#define vn_remove(path, x1, x2) remove(path) |