Lines Matching +full:10 +full:v
74 -- generation; compat entries are given ranges of 10 instead to cope
80 for _, v in pairs(config.compat_options) do
83 gen:store(string.format("\n#ifdef %s\n\n", v.definition),
84 v.compatlevel * 10)
87 for _, v in pairs(s) do
88 local c = v:compatLevel()
96 gen:write(v.prolog)
97 gen:store(v.prolog, 1)
99 gen:store(v.prolog, w.compatlevel * 10)
103 if v:native() then
107 if not v.type.NOARGS and not v.type.NOPROTO and
108 not v.type.NODEF then
109 if #v.args > 0 then
111 "struct %s {\n", v.arg_alias))
112 for _, arg in ipairs(v.args) do
138 v.arg_alias))
141 if not v.type.NOPROTO and not v.type.NODEF then
143 if v.name == "nosys" or v.name == "lkmnosys" or
144 v.name == "sysarch" or
145 v.name:find("^freebsd") or
146 v.name:find("^linux") then
151 v.rettype, sys_prefix, v.name, v.arg_alias),
155 config.syscallprefix, v:symbol(), v.audit),
161 local idx = c * 10
162 if not v.type.NOARGS and not v.type.NOPROTO and
163 not v.type.NODEF then
164 if #v.args > 0 then
166 "struct %s {\n", v.arg_alias), idx)
167 for _, arg in ipairs(v.args) do
183 v.arg_alias))
186 if not v.type.NOPROTO and not v.type.NODEF then
190 v.rettype, v:compatPrefix(), v.name,
191 v.arg_alias), idx + 1)
195 config.syscallprefix, v:compatPrefix(),
196 v.name, v.audit), audit_idx)
203 for _, v in pairs(config.compat_options) do
205 local end_idx = (v.compatlevel * 10) + 9
207 gen:store(string.format("\n#endif /* %s */\n\n", v.definition),
214 gen:store(tbl.epilog, w.compatlevel * 10)