Lines Matching refs:perm

72 	const u16 perm;  member
125 #define module_param(name, type, perm) \ argument
126 module_param_named(name, name, type, perm)
131 #define module_param_unsafe(name, type, perm) \ argument
132 module_param_named_unsafe(name, name, type, perm)
145 #define module_param_named(name, value, type, perm) \ argument
147 module_param_cb(name, &param_ops_##type, &value, perm); \
153 #define module_param_named_unsafe(name, value, type, perm) \ argument
155 module_param_cb_unsafe(name, &param_ops_##type, &value, perm); \
166 #define module_param_cb(name, ops, arg, perm) \ argument
167 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
169 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
170 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
182 #define __level_param_cb(name, ops, arg, perm, level) \ argument
183 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
185 #define core_param_cb(name, ops, arg, perm) \ argument
186 __level_param_cb(name, ops, arg, perm, 1)
188 #define postcore_param_cb(name, ops, arg, perm) \ argument
189 __level_param_cb(name, ops, arg, perm, 2)
191 #define arch_param_cb(name, ops, arg, perm) \ argument
192 __level_param_cb(name, ops, arg, perm, 3)
194 #define subsys_param_cb(name, ops, arg, perm) \ argument
195 __level_param_cb(name, ops, arg, perm, 4)
197 #define fs_param_cb(name, ops, arg, perm) \ argument
198 __level_param_cb(name, ops, arg, perm, 5)
200 #define device_param_cb(name, ops, arg, perm) \ argument
201 __level_param_cb(name, ops, arg, perm, 6)
203 #define late_param_cb(name, ops, arg, perm) \ argument
204 __level_param_cb(name, ops, arg, perm, 7)
218 #define __module_param_call(prefix, name, ops, arg, perm, level, flags) \ argument
225 VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
228 #define module_param_call(name, set, get, arg, perm) \ argument
233 (perm) + sizeof(__check_old_set_param(set))*0, -1, 0)
267 #define core_param(name, var, type, perm) \ argument
269 __module_param_call("", name, &param_ops_##type, &var, perm, -1, 0)
274 #define core_param_unsafe(name, var, type, perm) \ argument
276 __module_param_call("", name, &param_ops_##type, &var, perm, \
291 #define module_param_string(name, string, len, perm) \ argument
296 .str = &__param_string_##name, perm, -1, 0);\
428 #define module_param_array(name, type, nump, perm) \ argument
429 module_param_array_named(name, name, type, nump, perm)
442 #define module_param_array_named(name, array, type, nump, perm) \ argument
451 perm, -1, 0); \