1/*-
2 * Copyright (c) 1989, 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 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 15 unchanged lines hidden (view full) ---
24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 * $FreeBSD: head/sys/fs/nfs/nfsport.h 207170 2010-04-24 22:52:14Z rmacklem $
33 */
34
35#ifndef _NFS_NFSPORT_H_
36#define _NFSPORT_NFS_H_
37
38/*
39 * In general, I'm not fond of #includes in .h files, but this seems
40 * to be the cleanest way to handle #include files for the ports.
41 */
42#ifdef _KERNEL
43#include <sys/unistd.h>
44#include <sys/param.h>
--- 868 unchanged lines hidden (view full) ---
913 * Define this as the flags argument for msleep() when catching signals
914 * while holding a resource that other threads would block for, such as
915 * a vnode lock.
916 */
917#define NFS_PCATCH (PCATCH | PBDRY)
918
919#endif /* _KERNEL */
920
921#endif /* _NFSPORT_NFS_H */
2 * Copyright (c) 1989, 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 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 15 unchanged lines hidden (view full) ---
24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 * $FreeBSD: head/sys/fs/nfs/nfsport.h 207170 2010-04-24 22:52:14Z rmacklem $
33 */
34
35#ifndef _NFS_NFSPORT_H_
36#define _NFSPORT_NFS_H_
37
38/*
39 * In general, I'm not fond of #includes in .h files, but this seems
40 * to be the cleanest way to handle #include files for the ports.
41 */
42#ifdef _KERNEL
43#include <sys/unistd.h>
44#include <sys/param.h>
--- 868 unchanged lines hidden (view full) ---
913 * Define this as the flags argument for msleep() when catching signals
914 * while holding a resource that other threads would block for, such as
915 * a vnode lock.
916 */
917#define NFS_PCATCH (PCATCH | PBDRY)
918
919#endif /* _KERNEL */
920
921#endif /* _NFSPORT_NFS_H */