dm.h (a3d77d35be6f416a250c528c3ed5c70013a915e8) | dm.h (45cbcd798354251b99694086af9d57c99e89bb43) |
---|---|
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 */ --- 19 unchanged lines hidden (view full) --- 28#endif 29 30#define DMEMIT(x...) sz += ((sz >= maxlen) ? \ 31 0 : scnprintf(result + sz, maxlen - sz, x)) 32 33#define SECTOR_SHIFT 9 34 35/* | 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 */ --- 19 unchanged lines hidden (view full) --- 28#endif 29 30#define DMEMIT(x...) sz += ((sz >= maxlen) ? \ 31 0 : scnprintf(result + sz, maxlen - sz, x)) 32 33#define SECTOR_SHIFT 9 34 35/* |
36 * Definitions of return values from target end_io function. 37 */ 38#define DM_ENDIO_INCOMPLETE 1 39 40/* 41 * Definitions of return values from target map function. 42 */ 43#define DM_MAPIO_SUBMITTED 0 44#define DM_MAPIO_REMAPPED 1 45 46/* |
|
36 * Suspend feature flags 37 */ 38#define DM_SUSPEND_LOCKFS_FLAG (1 << 0) 39 40/* 41 * List of devices that a metadevice uses and should open/close. 42 */ 43struct dm_dev { --- 97 unchanged lines hidden --- | 47 * Suspend feature flags 48 */ 49#define DM_SUSPEND_LOCKFS_FLAG (1 << 0) 50 51/* 52 * List of devices that a metadevice uses and should open/close. 53 */ 54struct dm_dev { --- 97 unchanged lines hidden --- |