Lines Matching refs:perm

71 	u16 perm;  member
124 #define module_param(name, type, perm) \ argument
125 module_param_named(name, name, type, perm)
130 #define module_param_unsafe(name, type, perm) \ argument
131 module_param_named_unsafe(name, name, type, perm)
144 #define module_param_named(name, value, type, perm) \ argument
146 module_param_cb(name, &param_ops_##type, &value, perm); \
152 #define module_param_named_unsafe(name, value, type, perm) \ argument
154 module_param_cb_unsafe(name, &param_ops_##type, &value, perm); \
165 #define module_param_cb(name, ops, arg, perm) \ argument
166 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
168 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
169 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
181 #define __level_param_cb(name, ops, arg, perm, level) \ argument
182 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
184 #define core_param_cb(name, ops, arg, perm) \ argument
185 __level_param_cb(name, ops, arg, perm, 1)
187 #define postcore_param_cb(name, ops, arg, perm) \ argument
188 __level_param_cb(name, ops, arg, perm, 2)
190 #define arch_param_cb(name, ops, arg, perm) \ argument
191 __level_param_cb(name, ops, arg, perm, 3)
193 #define subsys_param_cb(name, ops, arg, perm) \ argument
194 __level_param_cb(name, ops, arg, perm, 4)
196 #define fs_param_cb(name, ops, arg, perm) \ argument
197 __level_param_cb(name, ops, arg, perm, 5)
199 #define device_param_cb(name, ops, arg, perm) \ argument
200 __level_param_cb(name, ops, arg, perm, 6)
202 #define late_param_cb(name, ops, arg, perm) \ argument
203 __level_param_cb(name, ops, arg, perm, 7)
217 #define __module_param_call(prefix, name, ops, arg, perm, level, flags) \ argument
223 = { __param_str_##name, ops, VERIFY_OCTAL_PERMISSIONS(perm), \
227 #define module_param_call(name, set, get, arg, perm) \ argument
232 (perm) + sizeof(__check_old_set_param(set))*0, -1, 0)
249 BUG_ON(!(__param_##name.perm & 0222)); \
259 BUG_ON(!(__param_##name.perm & 0222)); \
271 BUG_ON(!(__param_##name.perm & 0444)); \
281 BUG_ON(!(__param_##name.perm & 0444)); \
310 #define core_param(name, var, type, perm) \ argument
312 __module_param_call("", name, &param_ops_##type, &var, perm, -1, 0)
325 #define module_param_string(name, string, len, perm) \ argument
330 .str = &__param_string_##name, perm, -1, 0);\
454 #define module_param_array(name, type, nump, perm) \ argument
455 module_param_array_named(name, name, type, nump, perm)
468 #define module_param_array_named(name, array, type, nump, perm) \ argument
477 perm, -1, 0); \