Lines Matching refs:perm

73 	const u16 perm;  member
126 #define module_param(name, type, perm) \ argument
127 module_param_named(name, name, type, perm)
132 #define module_param_unsafe(name, type, perm) \ argument
133 module_param_named_unsafe(name, name, type, perm)
146 #define module_param_named(name, value, type, perm) \ argument
148 module_param_cb(name, &param_ops_##type, &value, perm); \
154 #define module_param_named_unsafe(name, value, type, perm) \ argument
156 module_param_cb_unsafe(name, &param_ops_##type, &value, perm); \
167 #define module_param_cb(name, ops, arg, perm) \ argument
168 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
170 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
171 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
183 #define __level_param_cb(name, ops, arg, perm, level) \ argument
184 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
186 #define core_param_cb(name, ops, arg, perm) \ argument
187 __level_param_cb(name, ops, arg, perm, 1)
189 #define postcore_param_cb(name, ops, arg, perm) \ argument
190 __level_param_cb(name, ops, arg, perm, 2)
192 #define arch_param_cb(name, ops, arg, perm) \ argument
193 __level_param_cb(name, ops, arg, perm, 3)
195 #define subsys_param_cb(name, ops, arg, perm) \ argument
196 __level_param_cb(name, ops, arg, perm, 4)
198 #define fs_param_cb(name, ops, arg, perm) \ argument
199 __level_param_cb(name, ops, arg, perm, 5)
201 #define device_param_cb(name, ops, arg, perm) \ argument
202 __level_param_cb(name, ops, arg, perm, 6)
204 #define late_param_cb(name, ops, arg, perm) \ argument
205 __level_param_cb(name, ops, arg, perm, 7)
219 #define __module_param_call(prefix, name, ops, arg, perm, level, flags) \ argument
226 VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
229 #define module_param_call(name, _set, _get, arg, perm) \ argument
233 name, &__param_ops_##name, arg, perm, -1, 0)
260 #define core_param(name, var, type, perm) \ argument
262 __module_param_call("", name, &param_ops_##type, &var, perm, -1, 0)
267 #define core_param_unsafe(name, var, type, perm) \ argument
269 __module_param_call("", name, &param_ops_##type, &var, perm, \
284 #define module_param_string(name, string, len, perm) \ argument
289 .str = &__param_string_##name, perm, -1, 0);\
421 #define module_param_array(name, type, nump, perm) \ argument
422 module_param_array_named(name, name, type, nump, perm)
435 #define module_param_array_named(name, array, type, nump, perm) \ argument
444 perm, -1, 0); \
469 #define module_param_hw_named(name, value, type, hwtype, perm) \ argument
473 perm, -1, \
477 #define module_param_hw(name, type, hwtype, perm) \ argument
478 module_param_hw_named(name, name, type, hwtype, perm)
494 #define module_param_hw_array(name, type, hwtype, nump, perm) \ argument
503 perm, -1, \