vfs_default.c (44272) | vfs_default.c (46349) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed 6 * to Berkeley by John Heidemann of the UCLA Ficus project. 7 * 8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project --- 124 unchanged lines hidden (view full) --- 133 134int 135vop_panic(struct vop_generic_args *ap) 136{ 137 138 panic("illegal vnode op called"); 139} 140 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed 6 * to Berkeley by John Heidemann of the UCLA Ficus project. 7 * 8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project --- 124 unchanged lines hidden (view full) --- 133 134int 135vop_panic(struct vop_generic_args *ap) 136{ 137 138 panic("illegal vnode op called"); 139} 140 |
141/* 142 * vop_nostrategy: 143 * 144 * Strategy routine for VFS devices that have none. 145 * 146 * B_ERROR and B_INVAL must be cleared prior to calling any strategy 147 * routine. Typically this is done for a B_READ strategy call. Typically 148 * B_INVAL is assumed to already be clear prior to a write and should not 149 * be cleared manually unless you just made the buffer invalid. B_ERROR 150 * should be cleared either way. 151 */ 152 |
|
141static int 142vop_nostrategy (struct vop_strategy_args *ap) 143{ 144 printf("No strategy for buffer at %p\n", ap->a_bp); 145 vprint("", ap->a_vp); 146 vprint("", ap->a_bp->b_vp); 147 ap->a_bp->b_flags |= B_ERROR; 148 ap->a_bp->b_error = EOPNOTSUPP; --- 330 unchanged lines hidden --- | 153static int 154vop_nostrategy (struct vop_strategy_args *ap) 155{ 156 printf("No strategy for buffer at %p\n", ap->a_bp); 157 vprint("", ap->a_vp); 158 vprint("", ap->a_bp->b_vp); 159 ap->a_bp->b_flags |= B_ERROR; 160 ap->a_bp->b_error = EOPNOTSUPP; --- 330 unchanged lines hidden --- |