File: swap_constants.h

package info (click to toggle)
loop-aes-utils 2.12p-4sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,644 kB
  • ctags: 5,072
  • sloc: ansic: 46,123; sh: 7,606; makefile: 884; perl: 86; csh: 62; sed: 55
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * It is too painful to get these out of <linux/swap.h>
 * (which again requires <asm/page.h> etc).
 * These exist since Linux 1.3.2.
 */

#ifndef SWAP_FLAG_PREFER
#define SWAP_FLAG_PREFER	0x8000	/* set if swap priority specified */
#endif
#ifndef SWAP_FLAG_PRIO_MASK
#define SWAP_FLAG_PRIO_MASK	0x7fff
#endif
#ifndef SWAP_FLAG_PRIO_SHIFT
#define SWAP_FLAG_PRIO_SHIFT	0
#endif