Changeset e11c527 in mainline for uspace/srv/bd/vbd/types/vbd.h
- Timestamp:
- 2016-02-18T14:31:00Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 53e3950
- Parents:
- 8e670dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/vbd/types/vbd.h
r8e670dd re11c527 1 1 /* 2 * Copyright (c) 201 5Jiri Svoboda2 * Copyright (c) 2016 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 39 39 40 40 #include <adt/list.h> 41 #include <atomic.h> 41 42 #include <bd_srv.h> 42 43 #include <label.h> … … 48 49 typedef sysarg_t vbds_part_id_t; 49 50 51 typedef enum { 52 /** No flags */ 53 vrf_none = 0, 54 /** Force removal */ 55 vrf_force = 0x1 56 } vbds_rem_flag_t; 57 50 58 /** Partition */ 51 59 typedef struct { 60 /** Reader held during I/O */ 61 fibril_rwlock_t lock; 52 62 /** Disk this partition belongs to */ 53 63 struct vbds_disk *disk; … … 72 82 /** Number of blocks */ 73 83 aoff64_t nblocks; 84 /** Reference count */ 85 atomic_t refcnt; 74 86 } vbds_part_t; 75 87
Note:
See TracChangeset
for help on using the changeset viewer.