zfs_context.h (240415) | zfs_context.h (241896) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 416 unchanged lines hidden (view full) --- 425 426#define VOP_FSYNC(vp, f, cr, ct) fsync((vp)->v_fd) 427 428#define VN_RELE(vp) vn_close(vp, 0, NULL, NULL) 429#define VN_RELE_ASYNC(vp, taskq) vn_close(vp, 0, NULL, NULL) 430 431#define vn_lock(vp, type) 432#define VOP_UNLOCK(vp, type) | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 416 unchanged lines hidden (view full) --- 425 426#define VOP_FSYNC(vp, f, cr, ct) fsync((vp)->v_fd) 427 428#define VN_RELE(vp) vn_close(vp, 0, NULL, NULL) 429#define VN_RELE_ASYNC(vp, taskq) vn_close(vp, 0, NULL, NULL) 430 431#define vn_lock(vp, type) 432#define VOP_UNLOCK(vp, type) |
433#ifdef VFS_LOCK_GIANT 434#undef VFS_LOCK_GIANT 435#endif 436#define VFS_LOCK_GIANT(mp) 0 437#ifdef VFS_UNLOCK_GIANT 438#undef VFS_UNLOCK_GIANT 439#endif 440#define VFS_UNLOCK_GIANT(vfslocked) | |
441 442extern int vn_open(char *path, int x1, int oflags, int mode, vnode_t **vpp, 443 int x2, int x3); 444extern int vn_openat(char *path, int x1, int oflags, int mode, vnode_t **vpp, 445 int x2, int x3, vnode_t *vp, int fd); 446extern int vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, 447 offset_t offset, int x1, int x2, rlim64_t x3, void *x4, ssize_t *residp); 448extern void vn_close(vnode_t *vp, int openflag, cred_t *cr, kthread_t *td); --- 191 unchanged lines hidden --- | 433 434extern int vn_open(char *path, int x1, int oflags, int mode, vnode_t **vpp, 435 int x2, int x3); 436extern int vn_openat(char *path, int x1, int oflags, int mode, vnode_t **vpp, 437 int x2, int x3, vnode_t *vp, int fd); 438extern int vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, 439 offset_t offset, int x1, int x2, rlim64_t x3, void *x4, ssize_t *residp); 440extern void vn_close(vnode_t *vp, int openflag, cred_t *cr, kthread_t *td); --- 191 unchanged lines hidden --- |