Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/vn_deallocate.9
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||||||
The starting offset of the operation range. | The starting offset of the operation range. | ||||||||
.It Fa length | .It Fa length | ||||||||
The length of the operation range. | The length of the operation range. | ||||||||
This must be greater than 0. | This must be greater than 0. | ||||||||
.It Fa flags | .It Fa flags | ||||||||
The control flags of the operation. | The control flags of the operation. | ||||||||
This should be set to 0 for now. | This should be set to 0 for now. | ||||||||
.It Fa ioflag | .It Fa ioflag | ||||||||
The control flags of vnode locking. | Various flag. | ||||||||
markj: Just copy the definition from VOP_DEALLOCATE? | |||||||||
.It Fa active_cred | .It Fa active_cred | ||||||||
The user credentials of the calling thread. | The user credentials of the calling thread. | ||||||||
.It Fa file_cred | .It Fa file_cred | ||||||||
The credentials installed on the file description pointing to the vnode or NOCRED. | The credentials installed on the file description pointing to the vnode or NOCRED. | ||||||||
.El | .El | ||||||||
.Pp | .Pp | ||||||||
The | The | ||||||||
.Fn ioflag | .Fn ioflag | ||||||||
argument may be one or more of the following flags: | argument give directives and hints to the file system. | ||||||||
markjUnsubmitted Done Inline Actions
markj: | |||||||||
It may include one or more of the following flags: | |||||||||
.Bl -tag -width IO_RANGELOCKED | .Bl -tag -width IO_RANGELOCKED | ||||||||
.It Dv IO_NODELOCKED | .It Dv IO_NODELOCKED | ||||||||
The vnode was locked before the call. | The vnode was locked before the call. | ||||||||
.It Dv IO_RANGELOCKED | .It Dv IO_RANGELOCKED | ||||||||
Rangelock was owned around the call. | Rangelock was owned around the call. | ||||||||
.It Dv IO_NOMACCHECK | .It Dv IO_NOMACCHECK | ||||||||
Skip MAC checking in the call. | Skip MAC checking in the call. | ||||||||
.It Dv IO_SYNC | |||||||||
Do I/O synchronously. | |||||||||
.It Dv IO_DIRECT | |||||||||
Attempt to bypass buffer cache. | |||||||||
.El | .El | ||||||||
.Pp | .Pp | ||||||||
.Fa *offset | .Fa *offset | ||||||||
and | and | ||||||||
.Fa *length | .Fa *length | ||||||||
are updated to reflect the unprocessed operation range of the call. | are updated to reflect the unprocessed operation range of the call. | ||||||||
.Sh RETURN VALUES | .Sh RETURN VALUES | ||||||||
Upon successful completion, the value 0 is returned; otherwise the | Upon successful completion, the value 0 is returned; otherwise the | ||||||||
Show All 9 Lines |
Just copy the definition from VOP_DEALLOCATE?