aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/sn1/mem_refcnt.h
blob: 80acfffd4999da193d0c6fd3d5979a39423cff12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1992 - 1997, 2000-2001 Silicon Graphics, Inc. All rights reserved.
 */
#ifndef _ASM_IA64_SN_SN1_MEM_REFCNT_H
#define _ASM_IA64_SN_SN1_MEM_REFCNT_H

extern int mem_refcnt_attach(devfs_handle_t hub);
extern int mem_refcnt_open(devfs_handle_t *devp, mode_t oflag, int otyp, cred_t *crp);
extern int mem_refcnt_close(devfs_handle_t dev, int oflag, int otyp, cred_t *crp);
extern int mem_refcnt_mmap(devfs_handle_t dev, vhandl_t *vt, off_t off, size_t len, uint prot);
extern int mem_refcnt_unmap(devfs_handle_t dev, vhandl_t *vt);
extern int mem_refcnt_ioctl(devfs_handle_t dev,
                 int cmd,
                 void *arg,
                 int mode,
                 cred_t *cred_p,
                 int *rvalp);
        

#endif /* _ASM_IA64_SN_SN1_MEM_REFCNT_H */