/* * struct eventfs_attr - cache the mode and ownership of a eventfs entry * @mode: saved mode plus flags of what is saved * @uid: saved uid if changed * @gid: saved gid if changed
*/ struct eventfs_attr { int mode;
kuid_t uid;
kgid_t gid;
};
/* * struct eventfs_inode - hold the properties of the eventfs directories. * @list: link list into the parent directory * @rcu: Union with @list for freeing * @children: link list into the child eventfs_inode * @entries: the array of entries representing the files in the directory * @name: the name of the directory to create * @entry_attrs: Saved mode and ownership of the @d_children * @data: The private data to pass to the callbacks * @attr: Saved mode and ownership of eventfs_inode itself * @is_freed: Flag set if the eventfs is on its way to be freed * Note if is_freed is set, then dentry is corrupted. * @is_events: Flag set for only the top level "events" directory * @nr_entries: The number of items in @entries * @ino: The saved inode number
*/ struct eventfs_inode { union { struct list_head list; struct rcu_head rcu;
}; struct list_head children; conststruct eventfs_entry *entries; constchar *name; struct eventfs_attr *entry_attrs; void *data; struct eventfs_attr attr; struct kref kref; unsignedint is_freed:1; unsignedint is_events:1; unsignedint nr_entries:30; unsignedint ino;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.