|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * @APPLE_LICENSE_HEADER_START@ ! 5: * ! 6: * The contents of this file constitute Original Code as defined in and ! 7: * are subject to the Apple Public Source License Version 1.1 (the ! 8: * "License"). You may not use this file except in compliance with the ! 9: * License. Please obtain a copy of the License at ! 10: * http://www.apple.com/publicsource and read it before using this file. ! 11: * ! 12: * This Original Code and all software distributed under the License are ! 13: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER ! 14: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ! 15: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ! 16: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the ! 17: * License for the specific language governing rights and limitations ! 18: * under the License. ! 19: * ! 20: * @APPLE_LICENSE_HEADER_END@ ! 21: */ ! 22: /* ! 23: * Copyright (c) 1998 Apple Computer, Inc. All rights reserved. ! 24: * ! 25: * File: vfs/vfs_support.h ! 26: * ! 27: * Prototypes for the default vfs routines. A VFS plugin can use these ! 28: * functions in case it does not want to implement all. These functions ! 29: * take care of releasing locks and free up memory that they are ! 30: * supposed to. ! 31: * ! 32: * HISTORY ! 33: * 18-Aug-1998 Umesh Vaishampayan ([email protected]) ! 34: * Created. ! 35: */ ! 36: ! 37: #ifndef _VFS_VFS_SUPPORT_H_ ! 38: #define _VFS_VFS_SUPPORT_H_ ! 39: ! 40: #include <sys/param.h> ! 41: #include <sys/systm.h> ! 42: #include <sys/namei.h> ! 43: #include <sys/resourcevar.h> ! 44: #include <sys/kernel.h> ! 45: #include <sys/file.h> ! 46: #include <sys/stat.h> ! 47: #include <sys/buf.h> ! 48: #include <sys/proc.h> ! 49: #include <sys/conf.h> ! 50: #include <sys/mount.h> ! 51: #include <sys/vnode.h> ! 52: #include <sys/malloc.h> ! 53: #include <sys/dirent.h> ! 54: ! 55: extern int nop_create(struct vop_create_args *ap); ! 56: extern int err_create(struct vop_create_args *ap); ! 57: ! 58: extern int nop_whiteout(struct vop_whiteout_args *ap); ! 59: extern int err_whiteout(struct vop_whiteout_args *ap); ! 60: ! 61: extern int nop_mknod(struct vop_mknod_args *ap); ! 62: extern int err_mknod(struct vop_mknod_args *ap); ! 63: ! 64: extern int nop_mkcomplex(struct vop_mkcomplex_args *ap); ! 65: extern int err_mkcomplex(struct vop_mkcomplex_args *ap); ! 66: ! 67: extern int nop_open(struct vop_open_args *ap); ! 68: extern int err_open(struct vop_open_args *ap); ! 69: ! 70: extern int nop_close(struct vop_close_args *ap); ! 71: extern int err_close(struct vop_close_args *ap); ! 72: ! 73: extern int nop_access(struct vop_access_args *ap); ! 74: extern int err_access(struct vop_access_args *ap); ! 75: ! 76: extern int nop_getattr(struct vop_getattr_args *ap); ! 77: extern int err_getattr(struct vop_getattr_args *ap); ! 78: ! 79: extern int nop_setattr(struct vop_setattr_args *ap); ! 80: extern int err_setattr(struct vop_setattr_args *ap); ! 81: ! 82: extern int nop_getattrlist(struct vop_getattrlist_args *ap); ! 83: extern int err_getattrlist(struct vop_getattrlist_args *ap); ! 84: ! 85: extern int nop_setattrlist(struct vop_setattrlist_args *ap); ! 86: extern int err_setattrlist(struct vop_setattrlist_args *ap); ! 87: ! 88: extern int nop_read(struct vop_read_args *ap); ! 89: extern int err_read(struct vop_read_args *ap); ! 90: ! 91: extern int nop_write(struct vop_write_args *ap); ! 92: extern int err_write(struct vop_write_args *ap); ! 93: ! 94: extern int nop_lease(struct vop_lease_args *ap); ! 95: extern int err_lease(struct vop_lease_args *ap); ! 96: ! 97: extern int nop_ioctl(struct vop_ioctl_args *ap); ! 98: extern int err_ioctl(struct vop_ioctl_args *ap); ! 99: ! 100: extern int nop_select(struct vop_select_args *ap); ! 101: extern int err_select(struct vop_select_args *ap); ! 102: ! 103: extern int nop_exchange(struct vop_exchange_args *ap); ! 104: extern int err_exchange(struct vop_exchange_args *ap); ! 105: ! 106: extern int nop_revoke(struct vop_revoke_args *ap); ! 107: extern int err_revoke(struct vop_revoke_args *ap); ! 108: ! 109: extern int nop_mmap(struct vop_mmap_args *ap); ! 110: extern int err_mmap(struct vop_mmap_args *ap); ! 111: ! 112: extern int nop_fsync(struct vop_fsync_args *ap); ! 113: extern int err_fsync(struct vop_fsync_args *ap); ! 114: ! 115: extern int nop_seek(struct vop_seek_args *ap); ! 116: extern int err_seek(struct vop_seek_args *ap); ! 117: ! 118: extern int nop_remove(struct vop_remove_args *ap); ! 119: extern int err_remove(struct vop_remove_args *ap); ! 120: ! 121: extern int nop_link(struct vop_link_args *ap); ! 122: extern int err_link(struct vop_link_args *ap); ! 123: ! 124: extern int nop_rename(struct vop_rename_args *ap); ! 125: extern int err_rename(struct vop_rename_args *ap); ! 126: ! 127: extern int nop_mkdir(struct vop_mkdir_args *ap); ! 128: extern int err_mkdir(struct vop_mkdir_args *ap); ! 129: ! 130: extern int nop_rmdir(struct vop_rmdir_args *ap); ! 131: extern int err_rmdir(struct vop_rmdir_args *ap); ! 132: ! 133: extern int nop_symlink(struct vop_symlink_args *ap); ! 134: extern int err_symlink(struct vop_symlink_args *ap); ! 135: ! 136: extern int nop_readdir(struct vop_readdir_args *ap); ! 137: extern int err_readdir(struct vop_readdir_args *ap); ! 138: ! 139: extern int nop_readdirattr(struct vop_readdirattr_args *ap); ! 140: extern int err_readdirattr(struct vop_readdirattr_args *ap); ! 141: ! 142: extern int nop_readlink(struct vop_readlink_args *ap); ! 143: extern int err_readlink(struct vop_readlink_args *ap); ! 144: ! 145: extern int nop_abortop(struct vop_abortop_args *ap); ! 146: extern int err_abortop(struct vop_abortop_args *ap); ! 147: ! 148: extern int nop_inactive(struct vop_inactive_args *ap); ! 149: extern int err_inactive(struct vop_inactive_args *ap); ! 150: ! 151: extern int nop_reclaim(struct vop_reclaim_args *ap); ! 152: extern int err_reclaim(struct vop_reclaim_args *ap); ! 153: ! 154: extern int nop_lock(struct vop_lock_args *ap); ! 155: extern int err_lock(struct vop_lock_args *ap); ! 156: ! 157: extern int nop_unlock(struct vop_unlock_args *ap); ! 158: extern int err_unlock(struct vop_unlock_args *ap); ! 159: ! 160: extern int nop_bmap(struct vop_bmap_args *ap); ! 161: extern int err_bmap(struct vop_bmap_args *ap); ! 162: ! 163: extern int nop_strategy(struct vop_strategy_args *ap); ! 164: extern int err_strategy(struct vop_strategy_args *ap); ! 165: ! 166: extern int nop_print(struct vop_print_args *ap); ! 167: extern int err_print(struct vop_print_args *ap); ! 168: ! 169: extern int nop_islocked(struct vop_islocked_args *ap); ! 170: extern int err_islocked(struct vop_islocked_args *ap); ! 171: ! 172: extern int nop_pathconf(struct vop_pathconf_args *ap); ! 173: extern int err_pathconf(struct vop_pathconf_args *ap); ! 174: ! 175: extern int nop_advlock(struct vop_advlock_args *ap); ! 176: extern int err_advlock(struct vop_advlock_args *ap); ! 177: ! 178: extern int nop_blkatoff(struct vop_blkatoff_args *ap); ! 179: extern int err_blkatoff(struct vop_blkatoff_args *ap); ! 180: ! 181: extern int nop_valloc(struct vop_valloc_args *ap); ! 182: extern int err_valloc(struct vop_valloc_args *ap); ! 183: ! 184: extern int nop_reallocblks(struct vop_reallocblks_args *ap); ! 185: extern int err_reallocblks(struct vop_reallocblks_args *ap); ! 186: ! 187: extern int nop_vfree(struct vop_vfree_args *ap); ! 188: extern int err_vfree(struct vop_vfree_args *ap); ! 189: ! 190: extern int nop_truncate(struct vop_truncate_args *ap); ! 191: extern int err_truncate(struct vop_truncate_args *ap); ! 192: ! 193: extern int nop_allocate(struct vop_allocate_args *ap); ! 194: extern int err_allocate(struct vop_allocate_args *ap); ! 195: ! 196: extern int nop_update(struct vop_update_args *ap); ! 197: extern int err_update(struct vop_update_args *ap); ! 198: ! 199: extern int nop_pgrd(struct vop_pgrd_args *ap); ! 200: extern int err_pgrd(struct vop_pgrd_args *ap); ! 201: ! 202: extern int nop_pgwr(struct vop_pgwr_args *ap); ! 203: extern int err_pgwr(struct vop_pgwr_args *ap); ! 204: ! 205: extern int nop_bwrite(struct vop_bwrite_args *ap); ! 206: extern int err_bwrite(struct vop_bwrite_args *ap); ! 207: ! 208: extern int nop_pagein(struct vop_pagein_args *ap); ! 209: extern int err_pagein(struct vop_pagein_args *ap); ! 210: ! 211: extern int nop_pageout(struct vop_pageout_args *ap); ! 212: extern int err_pageout(struct vop_pageout_args *ap); ! 213: ! 214: extern int nop_devblocksize(struct vop_devblocksize_args *ap); ! 215: extern int err_devblocksize(struct vop_devblocksize_args *ap); ! 216: ! 217: extern int nop_searchfs(struct vop_searchfs_args *ap); ! 218: extern int err_searchfs(struct vop_searchfs_args *ap); ! 219: ! 220: extern int nop_copyfile(struct vop_copyfile_args *ap); ! 221: extern int err_copyfile(struct vop_copyfile_args *ap); ! 222: ! 223: #endif /* _VFS_VFS_SUPPORT_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.