]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - fs/orangefs/orangefs-bufmap.h
signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig
[mirror_ubuntu-bionic-kernel.git] / fs / orangefs / orangefs-bufmap.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
f7ab093f
MM
2/*
3 * (C) 2001 Clemson University and The University of Chicago
4 *
5 * See COPYING in top-level directory.
6 */
7
8bb8aefd
YL
8#ifndef __ORANGEFS_BUFMAP_H
9#define __ORANGEFS_BUFMAP_H
f7ab093f 10
8bb8aefd 11int orangefs_bufmap_size_query(void);
f7ab093f 12
8bb8aefd 13int orangefs_bufmap_shift_query(void);
f7ab093f 14
8bb8aefd 15int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc);
f7ab093f 16
8bb8aefd 17void orangefs_bufmap_finalize(void);
f7ab093f 18
ea2c9c9f
AV
19void orangefs_bufmap_run_down(void);
20
b8a99a8f 21int orangefs_bufmap_get(void);
f7ab093f 22
1357d06d 23void orangefs_bufmap_put(int buffer_index);
f7ab093f 24
b8a99a8f 25int orangefs_readdir_index_get(void);
f7ab093f 26
82d37f19 27void orangefs_readdir_index_put(int buffer_index);
f7ab093f 28
bf6bf606 29int orangefs_bufmap_copy_from_iovec(struct iov_iter *iter,
4d1c4404
MM
30 int buffer_index,
31 size_t size);
32
bf6bf606 33int orangefs_bufmap_copy_to_iovec(struct iov_iter *iter,
5c278228
AV
34 int buffer_index,
35 size_t size);
f7ab093f 36
8bb8aefd 37#endif /* __ORANGEFS_BUFMAP_H */