dm.h (f68ec0c24755e5cdb779be6240925f2175311d84) dm.h (82b1519b345d61dcfae526e3fcb08128f39f9bcc)
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 */

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

20 * Suspend feature flags
21 */
22#define DM_SUSPEND_LOCKFS_FLAG (1 << 0)
23#define DM_SUSPEND_NOFLUSH_FLAG (1 << 1)
24
25/*
26 * List of devices that a metadevice uses and should open/close.
27 */
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 */

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

20 * Suspend feature flags
21 */
22#define DM_SUSPEND_LOCKFS_FLAG (1 << 0)
23#define DM_SUSPEND_NOFLUSH_FLAG (1 << 1)
24
25/*
26 * List of devices that a metadevice uses and should open/close.
27 */
28struct dm_dev {
28struct dm_dev_internal {
29 struct list_head list;
29 struct list_head list;
30
31 atomic_t count;
30 atomic_t count;
32 int mode;
33 struct block_device *bdev;
34 char name[16];
31 struct dm_dev dm_dev;
35};
36
37struct dm_table;
38
39/*-----------------------------------------------------------------
40 * Internal table functions.
41 *---------------------------------------------------------------*/
42void dm_table_event_callback(struct dm_table *t,

--- 64 unchanged lines hidden ---
32};
33
34struct dm_table;
35
36/*-----------------------------------------------------------------
37 * Internal table functions.
38 *---------------------------------------------------------------*/
39void dm_table_event_callback(struct dm_table *t,

--- 64 unchanged lines hidden ---