Lines Matching refs:_mode
101 #define __ATTR(_name, _mode, _show, _store) { \ argument
103 .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument
110 .mode = SYSFS_PREALLOC | VERIFY_OCTAL_PERMISSIONS(_mode) },\
120 #define __ATTR_RO_MODE(_name, _mode) { \ argument
122 .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
126 #define __ATTR_RW_MODE(_name, _mode) { \ argument
128 .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
143 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument
144 .attr = {.name = __stringify(_name), .mode = _mode, \
201 #define __BIN_ATTR(_name, _mode, _read, _write, _size) { \ argument
202 .attr = { .name = __stringify(_name), .mode = _mode }, \
225 #define BIN_ATTR(_name, _mode, _read, _write, _size) \ argument
226 struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read, \