Move to kernel style SPDX license identifiers
[lttng-ust.git] / liblttng-ust / ns.h
CommitLineData
735bef47 1/*
c0c0989a 2 * SPDX-License-Identifier: LGPL-2.1-only
735bef47 3 *
c0c0989a 4 * Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
735bef47
MJ
5 */
6
c0c0989a
MJ
7#ifndef _LTTNG_NS_H
8#define _LTTNG_NS_H
735bef47
MJ
9
10/*
11 * The lowest valid inode number that can be allocated in the proc filesystem
12 * is 0xF0000000. Any number below can be used internally as an error code.
13 *
14 * Zero is used in the kernel as an error code, it's the value we will return
15 * when we fail to read the proper inode number.
16 *
17 * One is used internally to identify an uninitialized cache entry, it should
18 * never be returned.
19 */
20
21enum ns_ino_state {
22 NS_INO_UNAVAILABLE = 0x0,
23 NS_INO_UNINITIALIZED = 0x1,
24 NS_INO_MIN = 0xF0000000,
25};
26
27#endif /* _LTTNG_NS_H */
This page took 0.023973 seconds and 4 git commands to generate.