buf.h (119603) | buf.h (121188) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)buf.h 8.9 (Berkeley) 3/30/95 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)buf.h 8.9 (Berkeley) 3/30/95 |
39 * $FreeBSD: head/sys/sys/buf.h 119603 2003-08-31 08:50:11Z jeff $ | 39 * $FreeBSD: head/sys/sys/buf.h 121188 2003-10-18 09:03:15Z phk $ |
40 */ 41 42#ifndef _SYS_BUF_H_ 43#define _SYS_BUF_H_ 44 45#include <sys/queue.h> 46#include <sys/lock.h> 47#include <sys/lockmgr.h> --- 448 unchanged lines hidden (view full) --- 496struct buf * getpbuf(int *); 497struct buf *incore(struct vnode *, daddr_t); 498struct buf *gbincore(struct vnode *, daddr_t); 499int inmem(struct vnode *, daddr_t); 500struct buf *getblk(struct vnode *, daddr_t, int, int, int, int); 501struct buf *geteblk(int); 502int bufwait(struct buf *); 503void bufdone(struct buf *); | 40 */ 41 42#ifndef _SYS_BUF_H_ 43#define _SYS_BUF_H_ 44 45#include <sys/queue.h> 46#include <sys/lock.h> 47#include <sys/lockmgr.h> --- 448 unchanged lines hidden (view full) --- 496struct buf * getpbuf(int *); 497struct buf *incore(struct vnode *, daddr_t); 498struct buf *gbincore(struct vnode *, daddr_t); 499int inmem(struct vnode *, daddr_t); 500struct buf *getblk(struct vnode *, daddr_t, int, int, int, int); 501struct buf *geteblk(int); 502int bufwait(struct buf *); 503void bufdone(struct buf *); |
504void bufdonebio(struct bio *); | |
505 506void cluster_callback(struct buf *); 507int cluster_read(struct vnode *, u_quad_t, daddr_t, long, 508 struct ucred *, long, int, struct buf **); 509int cluster_wbuild(struct vnode *, long, daddr_t, int); 510void cluster_write(struct buf *, u_quad_t, int); 511void vfs_bio_set_validclean(struct buf *, int base, int size); 512void vfs_bio_clrbuf(struct buf *); --- 19 unchanged lines hidden --- | 504 505void cluster_callback(struct buf *); 506int cluster_read(struct vnode *, u_quad_t, daddr_t, long, 507 struct ucred *, long, int, struct buf **); 508int cluster_wbuild(struct vnode *, long, daddr_t, int); 509void cluster_write(struct buf *, u_quad_t, int); 510void vfs_bio_set_validclean(struct buf *, int base, int size); 511void vfs_bio_clrbuf(struct buf *); --- 19 unchanged lines hidden --- |