mem_refcnt.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  *
  3.  * This file is subject to the terms and conditions of the GNU General Public
  4.  * License.  See the file "COPYING" in the main directory of this archive
  5.  * for more details.
  6.  *
  7.  * Copyright (C) 1992 - 1997, 2000-2001 Silicon Graphics, Inc. All rights reserved.
  8.  */
  9. #ifndef _ASM_IA64_SN_SN1_MEM_REFCNT_H
  10. #define _ASM_IA64_SN_SN1_MEM_REFCNT_H
  11. extern int mem_refcnt_attach(devfs_handle_t hub);
  12. extern int mem_refcnt_open(devfs_handle_t *devp, mode_t oflag, int otyp, cred_t *crp);
  13. extern int mem_refcnt_close(devfs_handle_t dev, int oflag, int otyp, cred_t *crp);
  14. extern int mem_refcnt_mmap(devfs_handle_t dev, vhandl_t *vt, off_t off, size_t len, uint prot);
  15. extern int mem_refcnt_unmap(devfs_handle_t dev, vhandl_t *vt);
  16. extern int mem_refcnt_ioctl(devfs_handle_t dev,
  17.                  int cmd,
  18.                  void *arg,
  19.                  int mode,
  20.                  cred_t *cred_p,
  21.                  int *rvalp);
  22.         
  23. #endif /* _ASM_IA64_SN_SN1_MEM_REFCNT_H */