summaryrefslogtreecommitdiffstats
path: root/src/include/page.h
blob: db6e20585c3fee4cc8abf7646dd5366c91269360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CEPH_PAGE_H
#define CEPH_PAGE_H

namespace ceph {
  // these are in common/page.cc
  extern unsigned _page_size;
  extern unsigned long _page_mask;
  extern unsigned _page_shift;
}

#endif


#define CEPH_PAGE_SIZE ceph::_page_size
#define CEPH_PAGE_MASK ceph::_page_mask
#define CEPH_PAGE_SHIFT ceph::_page_shift