Lines Matching refs:perm
75 const u16 perm; member
128 #define module_param(name, type, perm) \ argument
129 module_param_named(name, name, type, perm)
134 #define module_param_unsafe(name, type, perm) \ argument
135 module_param_named_unsafe(name, name, type, perm)
148 #define module_param_named(name, value, type, perm) \ argument
150 module_param_cb(name, ¶m_ops_##type, &value, perm); \
156 #define module_param_named_unsafe(name, value, type, perm) \ argument
158 module_param_cb_unsafe(name, ¶m_ops_##type, &value, perm); \
169 #define module_param_cb(name, ops, arg, perm) \ argument
170 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
172 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
173 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
185 #define __level_param_cb(name, ops, arg, perm, level) \ argument
186 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
188 #define core_param_cb(name, ops, arg, perm) \ argument
189 __level_param_cb(name, ops, arg, perm, 1)
191 #define postcore_param_cb(name, ops, arg, perm) \ argument
192 __level_param_cb(name, ops, arg, perm, 2)
194 #define arch_param_cb(name, ops, arg, perm) \ argument
195 __level_param_cb(name, ops, arg, perm, 3)
197 #define subsys_param_cb(name, ops, arg, perm) \ argument
198 __level_param_cb(name, ops, arg, perm, 4)
200 #define fs_param_cb(name, ops, arg, perm) \ argument
201 __level_param_cb(name, ops, arg, perm, 5)
203 #define device_param_cb(name, ops, arg, perm) \ argument
204 __level_param_cb(name, ops, arg, perm, 6)
206 #define late_param_cb(name, ops, arg, perm) \ argument
207 __level_param_cb(name, ops, arg, perm, 7)
221 #define __module_param_call(prefix, name, ops, arg, perm, level, flags) \ argument
228 VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
231 #define module_param_call(name, _set, _get, arg, perm) \ argument
235 name, &__param_ops_##name, arg, perm, -1, 0)
262 #define core_param(name, var, type, perm) \ argument
264 __module_param_call("", name, ¶m_ops_##type, &var, perm, -1, 0)
269 #define core_param_unsafe(name, var, type, perm) \ argument
271 __module_param_call("", name, ¶m_ops_##type, &var, perm, \
286 #define module_param_string(name, string, len, perm) \ argument
291 .str = &__param_string_##name, perm, -1, 0);\
423 #define module_param_array(name, type, nump, perm) \ argument
424 module_param_array_named(name, name, type, nump, perm)
437 #define module_param_array_named(name, array, type, nump, perm) \ argument
446 perm, -1, 0); \
471 #define module_param_hw_named(name, value, type, hwtype, perm) \ argument
475 perm, -1, \
479 #define module_param_hw(name, type, hwtype, perm) \ argument
480 module_param_hw_named(name, name, type, hwtype, perm)
496 #define module_param_hw_array(name, type, hwtype, nump, perm) \ argument
505 perm, -1, \