Home
last modified time | relevance | path

Searched refs:_struct (Results 1 – 2 of 2) sorted by relevance

/fs/erofs/
Dsysfs.c36 #define EROFS_ATTR_OFFSET(_name, _mode, _id, _struct) \ argument
40 .struct_type = struct_##_struct, \
41 .offset = offsetof(struct _struct, _name),\
44 #define EROFS_ATTR_RW(_name, _id, _struct) \ argument
45 EROFS_ATTR_OFFSET(_name, 0644, _id, _struct)
47 #define EROFS_RO_ATTR(_name, _id, _struct) \ argument
48 EROFS_ATTR_OFFSET(_name, 0444, _id, _struct)
50 #define EROFS_ATTR_RW_UI(_name, _struct) \ argument
51 EROFS_ATTR_RW(_name, pointer_ui, _struct)
53 #define EROFS_ATTR_RW_BOOL(_name, _struct) \ argument
[all …]
/fs/ext4/
Dsysfs.c148 #define EXT4_ATTR_OFFSET(_name,_mode,_id,_struct,_elname) \ argument
152 .attr_ptr = ptr_##_struct##_offset, \
154 .offset = offsetof(struct _struct, _elname),\
158 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument
163 .attr_ptr = ptr_##_struct##_offset, \
165 .offset = offsetof(struct _struct, _elname),\