orangefs-bufmap.h 806 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * (C) 2001 Clemson University and The University of Chicago
  3. *
  4. * See COPYING in top-level directory.
  5. */
  6. #ifndef __ORANGEFS_BUFMAP_H
  7. #define __ORANGEFS_BUFMAP_H
  8. int orangefs_bufmap_size_query(void);
  9. int orangefs_bufmap_shift_query(void);
  10. int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc);
  11. void orangefs_bufmap_finalize(void);
  12. void orangefs_bufmap_run_down(void);
  13. int orangefs_bufmap_get(void);
  14. void orangefs_bufmap_put(int buffer_index);
  15. int orangefs_readdir_index_get(void);
  16. void orangefs_readdir_index_put(int buffer_index);
  17. int orangefs_bufmap_copy_from_iovec(struct iov_iter *iter,
  18. int buffer_index,
  19. size_t size);
  20. int orangefs_bufmap_copy_to_iovec(struct iov_iter *iter,
  21. int buffer_index,
  22. size_t size);
  23. #endif /* __ORANGEFS_BUFMAP_H */