VOP_ADVISE.9 (416ba5c74546f32a993436a99516d35008e9f384) VOP_ADVISE.9 (e19a95e53b07e8570108e3effe9c37e99d0ae094)
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 2013 Hudson River Trading LLC
4.\" Written by: John H. Baldwin <jhb@FreeBSD.org>
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 2013 Hudson River Trading LLC
4.\" Written by: John H. Baldwin <jhb@FreeBSD.org>
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
30.Dd October 3, 2013
30.Dd September 26, 2015
31.Dt VOP_ADVISE 9
32.Os
33.Sh NAME
34.Nm VOP_ADVISE
35.Nd apply advice about use of file data
36.Sh SYNOPSIS
37.In sys/param.h
38.In sys/vnode.h

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

47Its arguments are:
48.Bl -tag -width offset
49.It Fa vp
50The vnode of the file.
51.It Fa start
52The start of the range of file data.
53.It Fa end
54The end of the range of file data.
31.Dt VOP_ADVISE 9
32.Os
33.Sh NAME
34.Nm VOP_ADVISE
35.Nd apply advice about use of file data
36.Sh SYNOPSIS
37.In sys/param.h
38.In sys/vnode.h

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

47Its arguments are:
48.Bl -tag -width offset
49.It Fa vp
50The vnode of the file.
51.It Fa start
52The start of the range of file data.
53.It Fa end
54The end of the range of file data.
55A value of
56.Dv OFF_MAX
57indicates that the advice is to be applied up to the end of the file.
55.It Fa advice
56The type of operation to apply to the file data.
57Possible values are:
58.Bl -tag -width POSIX_FADV_WILLNEED
59.It Dv POSIX_FADV_WILLNEED
60Initiate an asynchronous read of the file data if it is not already resident.
61.It Dv POSIX_FADV_DONTNEED
62Decrease the in-memory priority of clean file data or discard clean file data.

--- 26 unchanged lines hidden ---
58.It Fa advice
59The type of operation to apply to the file data.
60Possible values are:
61.Bl -tag -width POSIX_FADV_WILLNEED
62.It Dv POSIX_FADV_WILLNEED
63Initiate an asynchronous read of the file data if it is not already resident.
64.It Dv POSIX_FADV_DONTNEED
65Decrease the in-memory priority of clean file data or discard clean file data.

--- 26 unchanged lines hidden ---