Changeset 8d1aab7 in mainline for uspace/srv/fs/pipefs/pipefs.h
- Timestamp:
- 2010-11-24T18:59:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f5648d8
- Parents:
- 5bd4f2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/pipefs/pipefs.h
r5bd4f2c r8d1aab7 66 66 pipefs_dentry_type_t type; 67 67 unsigned lnkcnt; /**< Link count. */ 68 /* Following is for nodes of type PIPEFS_FILE */ 69 aoff64_t start; /**< File offset where first data block resides */ 68 70 size_t size; /**< File size if type is PIPEFS_FILE. */ 69 void *data; /**< File content's if type is PIPEFS_FILE. */ 70 link_t cs_head; /**< Head of child's siblings list. */ 71 link_t data_head; /**< Head of data blocks list for PIPEFS_FILE. */ 72 /* This is for directory */ 73 link_t cs_head; /**< Head of child's siblings list. */ 71 74 } pipefs_node_t; 75 76 typedef struct pipefs_data_block { 77 link_t link; /**< Linkage for the list of data blocks */ 78 size_t size; /**< Size of this block */ 79 void *data; /**< Data for this block */ 80 } pipefs_data_block_t; 72 81 73 82 extern fs_reg_t pipefs_reg;
Note:
See TracChangeset
for help on using the changeset viewer.