2 * (C) 2001 Clemson University and The University of Chicago
4 * See COPYING in top-level directory.
7 #ifndef __ORANGEFS_BUFMAP_H
8 #define __ORANGEFS_BUFMAP_H
10 int orangefs_bufmap_size_query(void);
12 int orangefs_bufmap_shift_query(void);
14 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc
*user_desc
);
16 void orangefs_bufmap_finalize(void);
18 void orangefs_bufmap_run_down(void);
20 int orangefs_bufmap_get(void);
22 void orangefs_bufmap_put(int buffer_index
);
24 int orangefs_readdir_index_get(void);
26 void orangefs_readdir_index_put(int buffer_index
);
28 int orangefs_bufmap_copy_from_iovec(struct iov_iter
*iter
,
32 int orangefs_bufmap_copy_to_iovec(struct iov_iter
*iter
,
36 #endif /* __ORANGEFS_BUFMAP_H */