vm_pager.c (45567) | vm_pager.c (46349) |
---|---|
1/* 2 * Copyright (c) 1991, 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 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * | 1/* 2 * Copyright (c) 1991, 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 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $Id: vm_pager.c,v 1.44 1999/03/14 09:20:00 julian Exp $ | 64 * $Id: vm_pager.c,v 1.45 1999/04/11 02:16:27 eivind Exp $ |
65 */ 66 67/* 68 * Paging space routine stubs. Emulates a matchmaker-like interface 69 * for builtin pagers. 70 */ 71 72#include <sys/param.h> --- 445 unchanged lines hidden (view full) --- 518} 519 520/* 521 * getchainbuf: 522 * 523 * Obtain a physical buffer and chain it to its parent buffer. When 524 * I/O completes, the parent buffer will be B_SIGNAL'd. Errors are 525 * automatically propogated to the parent | 65 */ 66 67/* 68 * Paging space routine stubs. Emulates a matchmaker-like interface 69 * for builtin pagers. 70 */ 71 72#include <sys/param.h> --- 445 unchanged lines hidden (view full) --- 518} 519 520/* 521 * getchainbuf: 522 * 523 * Obtain a physical buffer and chain it to its parent buffer. When 524 * I/O completes, the parent buffer will be B_SIGNAL'd. Errors are 525 * automatically propogated to the parent |
526 * 527 * Since these are brand new buffers, we do not have to clear B_INVAL 528 * and B_ERROR because they are already clear. |
|
526 */ 527 528struct buf * 529getchainbuf(struct buf *bp, struct vnode *vp, int flags) 530{ 531 struct buf *nbp = getpbuf(NULL); 532 533 nbp->b_chain.parent = bp; --- 65 unchanged lines hidden --- | 529 */ 530 531struct buf * 532getchainbuf(struct buf *bp, struct vnode *vp, int flags) 533{ 534 struct buf *nbp = getpbuf(NULL); 535 536 nbp->b_chain.parent = bp; --- 65 unchanged lines hidden --- |