dm.h (38fd2c202a3d82bc12430bce5789fa2c2a406f71) dm.h (be35f486108227e10fe5d96fd42fb2b344c59983)
1/*
2 * Internal header file for device mapper
3 *
4 * Copyright (C) 2001, 2002 Sistina Software
5 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
6 *
7 * This file is released under the LGPL.
8 */
9
10#ifndef DM_INTERNAL_H
11#define DM_INTERNAL_H
12
13#include <linux/fs.h>
14#include <linux/device-mapper.h>
15#include <linux/list.h>
16#include <linux/blkdev.h>
17#include <linux/hdreg.h>
1/*
2 * Internal header file for device mapper
3 *
4 * Copyright (C) 2001, 2002 Sistina Software
5 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
6 *
7 * This file is released under the LGPL.
8 */
9
10#ifndef DM_INTERNAL_H
11#define DM_INTERNAL_H
12
13#include <linux/fs.h>
14#include <linux/device-mapper.h>
15#include <linux/list.h>
16#include <linux/blkdev.h>
17#include <linux/hdreg.h>
18#include <linux/completion.h>
18
19#include "dm-stats.h"
20
21/*
22 * Suspend feature flags
23 */
24#define DM_SUSPEND_LOCKFS_FLAG (1 << 0)
25#define DM_SUSPEND_NOFLUSH_FLAG (1 << 1)

--- 121 unchanged lines hidden (view full) ---

147
148/*
149 * sysfs interface
150 */
151int dm_sysfs_init(struct mapped_device *md);
152void dm_sysfs_exit(struct mapped_device *md);
153struct kobject *dm_kobject(struct mapped_device *md);
154struct mapped_device *dm_get_from_kobject(struct kobject *kobj);
19
20#include "dm-stats.h"
21
22/*
23 * Suspend feature flags
24 */
25#define DM_SUSPEND_LOCKFS_FLAG (1 << 0)
26#define DM_SUSPEND_NOFLUSH_FLAG (1 << 1)

--- 121 unchanged lines hidden (view full) ---

148
149/*
150 * sysfs interface
151 */
152int dm_sysfs_init(struct mapped_device *md);
153void dm_sysfs_exit(struct mapped_device *md);
154struct kobject *dm_kobject(struct mapped_device *md);
155struct mapped_device *dm_get_from_kobject(struct kobject *kobj);
156struct completion *dm_get_completion_from_kobject(struct kobject *kobj);
155
156/*
157 * Targets for linear and striped mappings
158 */
159int dm_linear_init(void);
160void dm_linear_exit(void);
161
162int dm_stripe_init(void);

--- 44 unchanged lines hidden ---
157
158/*
159 * Targets for linear and striped mappings
160 */
161int dm_linear_init(void);
162void dm_linear_exit(void);
163
164int dm_stripe_init(void);

--- 44 unchanged lines hidden ---