/usr/include/reiser4/profile.h is in libreiser4-dev 1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
profile.h -- reiser4 profile functions. */
#ifndef REISER4_PROFILE_H
#define REISER4_PROFILE_H
#include <reiser4/types.h>
enum reiser4_profile_index {
PROF_OBJ = 0x0,
PROF_DIR = 0x1,
PROF_REGFILE = 0x2,
PROF_DIRFILE = 0x3,
PROF_SYMFILE = 0x4,
PROF_SPLFILE = 0x5,
PROF_CREATE = 0x6,
PROF_FORMAT = 0x7,
PROF_JOURNAL = 0x8,
PROF_OID = 0x9,
PROF_ALLOC = 0xa,
PROF_KEY = 0xb,
PROF_NODE = 0xc,
PROF_COMPRESS = 0xd,
PROF_CMODE = 0xe,
PROF_CRYPTO = 0xf,
PROF_DIGEST = 0x10,
PROF_CLUSTER = 0x11,
PROF_HASH = 0x12,
PROF_FIBRE = 0x13,
PROF_POLICY = 0x14,
PROF_PERM = 0x15,
PROF_STAT = 0x16,
PROF_DIRITEM = 0x17,
#ifndef ENABLE_MINIMAL
PROF_NODEPTR = 0x18,
PROF_TAIL = 0x19,
PROF_EXTENT = 0x1a,
PROF_CTAIL = 0x1b,
PROF_HEIR_HASH = 0x1c,
PROF_HEIR_FIBRE = 0x1d,
PROF_HEIR_DIRITEM = 0x1e,
#endif
PROF_LAST
};
typedef struct reiser4_profile {
struct {
/* The default plugin id and the plugin type of profile slot. */
plug_ident_t id;
#ifndef ENABLE_MINIMAL
/* The name of the profile slot. */
char *name;
/* The description of the profile slot. */
char *desc;
/* Hide those slots where are no alternatives. */
uint8_t hidden;
/* The maximum legal value. This value is not depends on the
format version. This probably should be fixed. For now,
if this is a corruption, the object with this value in its
pset will not survive, otherwise the object is consistent,
smth wrong with the format version -- do not remove the
object, if a user takes a new kernel he will access the
data. */
rid_t max;
#endif
} pid[PROF_LAST];
/* Overriden mask. */
uint64_t mask;
} reiser4_profile_t;
extern reiser4_plug_t *reiser4_profile_plug(rid_t index);
#ifndef ENABLE_MINIMAL
extern errno_t reiser4_profile_override(const char *plug, const char *name);
extern bool_t reiser4_profile_overridden(rid_t id);
extern void reiser4_profile_print(aal_stream_t *stream);
#endif
#endif
|