Searched refs:childless (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/filesystems/configfs/ |
H A D | configfs_example_explicit.c | 39 * 01-childless 41 * This first example is a childless subsystem. It cannot create 50 struct childless { struct 58 ssize_t (*show)(struct childless *, char *); 59 ssize_t (*store)(struct childless *, const char *, size_t); 62 static inline struct childless *to_childless(struct config_item *item) 64 return item ? container_of(to_configfs_subsystem(to_config_group(item)), struct childless, subsys) : NULL; 67 static ssize_t childless_showme_read(struct childless *childless, argument 72 pos = sprintf(page, "%d\n", childless 78 childless_storeme_read(struct childless *childless, char *page) argument 84 childless_storeme_write(struct childless *childless, const char *page, size_t count) argument 103 childless_description_read(struct childless *childless, char *page) argument 140 struct childless *childless = to_childless(item); local 154 struct childless *childless = to_childless(item); local [all...] |
H A D | configfs_example_macros.c | 38 * 01-childless 40 * This first example is a childless subsystem. It cannot create 49 struct childless { struct 55 static inline struct childless *to_childless(struct config_item *item) 57 return item ? container_of(to_configfs_subsystem(to_config_group(item)), struct childless, subsys) : NULL; 60 CONFIGFS_ATTR_STRUCT(childless); variable 66 static ssize_t childless_showme_read(struct childless *childless, argument 71 pos = sprintf(page, "%d\n", childless->showme); 72 childless 77 childless_storeme_read(struct childless *childless, char *page) argument 83 childless_storeme_write(struct childless *childless, const char *page, size_t count) argument 102 childless_description_read(struct childless *childless, char *page) argument 126 CONFIGFS_ATTR_OPS(childless); variable [all...] |
Completed in 32 milliseconds