lockf.h (140808) | lockf.h (151695) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Scooter Morris at Genentech Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)lockf.h 8.1 (Berkeley) 6/11/93 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Scooter Morris at Genentech Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)lockf.h 8.1 (Berkeley) 6/11/93 |
33 * $FreeBSD: head/sys/sys/lockf.h 140808 2005-01-25 10:15:26Z jeff $ | 33 * $FreeBSD: head/sys/sys/lockf.h 151695 2005-10-26 07:18:37Z glebius $ |
34 */ 35 36#ifndef _SYS_LOCKF_H_ 37#define _SYS_LOCKF_H_ 38 39#include <sys/queue.h> 40 41struct vop_advlock_args; 42 | 34 */ 35 36#ifndef _SYS_LOCKF_H_ 37#define _SYS_LOCKF_H_ 38 39#include <sys/queue.h> 40 41struct vop_advlock_args; 42 |
43#ifdef MALLOC_DECLARE 44MALLOC_DECLARE(M_LOCKF); 45#endif 46 | |
47/* 48 * The lockf structure is a kernel structure which contains the information 49 * associated with a byte range lock. The lockf structures are linked into 50 * the inode structure. Locks are sorted by the starting byte of the lock for 51 * efficiency. 52 */ 53TAILQ_HEAD(locklist, lockf); 54 --- 19 unchanged lines hidden --- | 43/* 44 * The lockf structure is a kernel structure which contains the information 45 * associated with a byte range lock. The lockf structures are linked into 46 * the inode structure. Locks are sorted by the starting byte of the lock for 47 * efficiency. 48 */ 49TAILQ_HEAD(locklist, lockf); 50 --- 19 unchanged lines hidden --- |