Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/fuse/fuse_io.h
| Show All 26 Lines | |||||
| * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
| * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
| * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||||
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
| * | * | ||||
| * Copyright (C) 2005 Csaba Henk. | * Copyright (C) 2005 Csaba Henk. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * Copyright (c) 2019 The FreeBSD Foundation | |||||
| * | |||||
| * Portions of this software were developed by BFF Storage Systems, LLC under | |||||
| * sponsorship from the FreeBSD Foundation. | |||||
| * | |||||
| * Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
| * modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
| * are met: | * are met: | ||||
| * 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
| * notice, this list of conditions and the following disclaimer. | * notice, this list of conditions and the following disclaimer. | ||||
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright | ||||
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the | ||||
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. | ||||
| Show All 12 Lines | |||||
| * | * | ||||
| * $FreeBSD$ | * $FreeBSD$ | ||||
| */ | */ | ||||
| #ifndef _FUSE_IO_H_ | #ifndef _FUSE_IO_H_ | ||||
| #define _FUSE_IO_H_ | #define _FUSE_IO_H_ | ||||
| int fuse_io_dispatch(struct vnode *vp, struct uio *uio, int ioflag, | int fuse_io_dispatch(struct vnode *vp, struct uio *uio, int ioflag, | ||||
| struct ucred *cred); | struct ucred *cred, pid_t pid); | ||||
| int fuse_io_strategy(struct vnode *vp, struct buf *bp); | int fuse_io_strategy(struct vnode *vp, struct buf *bp); | ||||
| int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td); | int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td); | ||||
| int fuse_io_invalbuf(struct vnode *vp, struct thread *td); | int fuse_io_invalbuf(struct vnode *vp, struct thread *td); | ||||
| #endif /* _FUSE_IO_H_ */ | #endif /* _FUSE_IO_H_ */ | ||||