Lines Matching refs:name
53 #define NILFS_COMMON_ATTR_STRUCT(name) \ argument
54 struct nilfs_##name##_attr { \
64 #define NILFS_DEV_ATTR_STRUCT(name) \ argument
65 struct nilfs_##name##_attr { \
67 ssize_t (*show)(struct nilfs_##name##_attr *, struct the_nilfs *, \
69 ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
80 #define NILFS_CP_ATTR_STRUCT(name) \ argument
81 struct nilfs_##name##_attr { \
83 ssize_t (*show)(struct nilfs_##name##_attr *, struct nilfs_root *, \
85 ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \
91 #define NILFS_ATTR(type, name, mode, show, store) \ argument
92 static struct nilfs_##type##_attr nilfs_##type##_attr_##name = \
93 __ATTR(name, mode, show, store)
95 #define NILFS_INFO_ATTR(type, name) \ argument
96 NILFS_ATTR(type, name, 0444, NULL, NULL)
97 #define NILFS_RO_ATTR(type, name) \ argument
98 NILFS_ATTR(type, name, 0444, nilfs_##type##_##name##_show, NULL)
99 #define NILFS_RW_ATTR(type, name) \ argument
100 NILFS_ATTR(type, name, 0644, \
101 nilfs_##type##_##name##_show, \
102 nilfs_##type##_##name##_store)
104 #define NILFS_FEATURE_INFO_ATTR(name) \ argument
105 NILFS_INFO_ATTR(feature, name)
106 #define NILFS_FEATURE_RO_ATTR(name) \ argument
107 NILFS_RO_ATTR(feature, name)
108 #define NILFS_FEATURE_RW_ATTR(name) \ argument
109 NILFS_RW_ATTR(feature, name)
111 #define NILFS_DEV_INFO_ATTR(name) \ argument
112 NILFS_INFO_ATTR(dev, name)
113 #define NILFS_DEV_RO_ATTR(name) \ argument
114 NILFS_RO_ATTR(dev, name)
115 #define NILFS_DEV_RW_ATTR(name) \ argument
116 NILFS_RW_ATTR(dev, name)
118 #define NILFS_SEGMENTS_RO_ATTR(name) \ argument
119 NILFS_RO_ATTR(segments, name)
120 #define NILFS_SEGMENTS_RW_ATTR(name) \ argument
121 NILFS_RW_ATTR(segs_info, name)
123 #define NILFS_MOUNTED_SNAPSHOTS_RO_ATTR(name) \ argument
124 NILFS_RO_ATTR(mounted_snapshots, name)
126 #define NILFS_CHECKPOINTS_RO_ATTR(name) \ argument
127 NILFS_RO_ATTR(checkpoints, name)
128 #define NILFS_CHECKPOINTS_RW_ATTR(name) \ argument
129 NILFS_RW_ATTR(checkpoints, name)
131 #define NILFS_SNAPSHOT_INFO_ATTR(name) \ argument
132 NILFS_INFO_ATTR(snapshot, name)
133 #define NILFS_SNAPSHOT_RO_ATTR(name) \ argument
134 NILFS_RO_ATTR(snapshot, name)
135 #define NILFS_SNAPSHOT_RW_ATTR(name) \ argument
136 NILFS_RW_ATTR(snapshot, name)
138 #define NILFS_SUPERBLOCK_RO_ATTR(name) \ argument
139 NILFS_RO_ATTR(superblock, name)
140 #define NILFS_SUPERBLOCK_RW_ATTR(name) \ argument
141 NILFS_RW_ATTR(superblock, name)
143 #define NILFS_SEGCTOR_INFO_ATTR(name) \ argument
144 NILFS_INFO_ATTR(segctor, name)
145 #define NILFS_SEGCTOR_RO_ATTR(name) \ argument
146 NILFS_RO_ATTR(segctor, name)
147 #define NILFS_SEGCTOR_RW_ATTR(name) \ argument
148 NILFS_RW_ATTR(segctor, name)
150 #define NILFS_FEATURE_ATTR_LIST(name) \ argument
151 (&nilfs_feature_attr_##name.attr)
152 #define NILFS_DEV_ATTR_LIST(name) \ argument
153 (&nilfs_dev_attr_##name.attr)
154 #define NILFS_SEGMENTS_ATTR_LIST(name) \ argument
155 (&nilfs_segments_attr_##name.attr)
156 #define NILFS_MOUNTED_SNAPSHOTS_ATTR_LIST(name) \ argument
157 (&nilfs_mounted_snapshots_attr_##name.attr)
158 #define NILFS_CHECKPOINTS_ATTR_LIST(name) \ argument
159 (&nilfs_checkpoints_attr_##name.attr)
160 #define NILFS_SNAPSHOT_ATTR_LIST(name) \ argument
161 (&nilfs_snapshot_attr_##name.attr)
162 #define NILFS_SUPERBLOCK_ATTR_LIST(name) \ argument
163 (&nilfs_superblock_attr_##name.attr)
164 #define NILFS_SEGCTOR_ATTR_LIST(name) \ argument
165 (&nilfs_segctor_attr_##name.attr)