Lines Matching refs:suffix
1133 def write_func_prot(self, qual_ret, name, args=None, doc=None, suffix=''): argument
1173 self.p(v + ')' + suffix)
1284 suffix = f"_{ri.type_name}"
1287 suffix += f"{direction_to_suffix[direction]}"
1290 suffix += '_req_dump'
1294 suffix += f"{direction_to_suffix[direction]}"
1296 suffix += op_mode_to_wrapper[ri.op_mode]
1298 suffix += '_rsp'
1299 suffix += '_dump' if deref else '_list'
1309 suffix = ';' if terminate else ''
1323 ri.cw.write_func_prot(ret, fname, args, doc=doc, suffix=suffix)
1367 cw.write_func_prot('const char *', f'{family.name}_op_str', ['int op'], suffix=';')
1389 cw.write_func_prot('const char *', f'{enum.render_name}_str', args, suffix=';')
1690 def print_free_prototype(ri, direction, suffix=';'): argument
1696 ri.cw.write_func_prot('void', f"{name}_free", [f"struct {struct_name} *{arg}"], suffix=suffix)
1700 suffix = f'_{ri.type_name}{direction_to_suffix[direction]}'
1702 suffix += '_'
1705 suffix += '_dump'
1762 suffix = "_rsp" if direction == "reply" else "_req"
1768 suffix=term)
1823 print_free_prototype(ri, direction, suffix='')
1846 print_free_prototype(ri, 'reply', suffix='')
1864 print_free_prototype(ri, 'reply', suffix='')
1885 suffix = ';' if terminate else ' = {'
1950 'struct sk_buff *skb', 'struct genl_info *info'], suffix=';')
1954 'struct sk_buff *skb', 'struct genl_info *info'], suffix=';')
1957 ['struct netlink_callback *cb'], suffix=';')
1960 ['struct netlink_callback *cb'], suffix=';')
1971 ['struct sk_buff *skb', 'struct genl_info *info'], suffix=';')
1976 ['struct sk_buff *skb', 'struct netlink_callback *cb'], suffix=';')
2163 suffix = ','
2165 suffix = f" = {entry.user_value()}" + suffix
2166 cw.p(entry.c_name + suffix)
2202 suffix = ','
2204 suffix = f" = {attr.value},"
2207 cw.p(attr.enum_name + suffix)
2230 suffix = ','
2232 suffix = f" = {op.value},"
2234 cw.p(op.enum_name + suffix)
2251 suffix = ','
2253 suffix = f" = {op['value']},"
2254 cw.p(op.enum_name + suffix)