Home
last modified time | relevance | path

Searched refs:newinfo (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c302 static int mark_source_chains(const struct xt_table_info *newinfo, in mark_source_chains() argument
312 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
358 if (pos + size >= newinfo->size) in mark_source_chains()
370 newinfo->number)) in mark_source_chains()
375 if (newpos >= newinfo->size) in mark_source_chains()
453 struct xt_table_info *newinfo, in check_entry_size_and_hooks() argument
485 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
490 newinfo->underflow[h] = underflows[h]; in check_entry_size_and_hooks()
520 struct xt_table_info *newinfo, in translate_table() argument
530 newinfo->size = repl->size; in translate_table()
[all …]
Dip_tables.c367 mark_source_chains(const struct xt_table_info *newinfo, in mark_source_chains() argument
376 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
420 if (pos + size >= newinfo->size) in mark_source_chains()
432 newinfo->number)) in mark_source_chains()
437 if (newpos >= newinfo->size) in mark_source_chains()
588 struct xt_table_info *newinfo, in check_entry_size_and_hooks() argument
620 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
625 newinfo->underflow[h] = underflows[h]; in check_entry_size_and_hooks()
660 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() argument
669 newinfo->size = repl->size; in translate_table()
[all …]
/linux-6.6.21/net/bridge/netfilter/
Debtables.c467 struct ebt_table_info *newinfo) in ebt_verify_pointers() argument
475 newinfo->hook_entry[i] = NULL; in ebt_verify_pointers()
477 newinfo->entries_size = repl->entries_size; in ebt_verify_pointers()
478 newinfo->nentries = repl->nentries; in ebt_verify_pointers()
482 struct ebt_entry *e = (void *)newinfo->entries + offset; in ebt_verify_pointers()
503 newinfo->hook_entry[i] = (struct ebt_entries *)e; in ebt_verify_pointers()
522 if (!newinfo->hook_entry[i] && in ebt_verify_pointers()
534 const struct ebt_table_info *newinfo, in ebt_check_entry_size_and_hooks() argument
541 if ((void *)e == (void *)newinfo->hook_entry[i]) in ebt_check_entry_size_and_hooks()
594 ebt_get_udc_positions(struct ebt_entry *e, struct ebt_table_info *newinfo, in ebt_get_udc_positions() argument
[all …]
/linux-6.6.21/net/ipv6/netfilter/
Dip6_tables.c385 mark_source_chains(const struct xt_table_info *newinfo, in mark_source_chains() argument
394 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
438 if (pos + size >= newinfo->size) in mark_source_chains()
450 newinfo->number)) in mark_source_chains()
455 if (newpos >= newinfo->size) in mark_source_chains()
606 struct xt_table_info *newinfo, in check_entry_size_and_hooks() argument
638 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
643 newinfo->underflow[h] = underflows[h]; in check_entry_size_and_hooks()
677 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() argument
686 newinfo->size = repl->size; in translate_table()
[all …]
/linux-6.6.21/net/netfilter/
Dxt_SECMARK.c121 struct xt_secmark_target_info_v1 newinfo = { in secmark_tg_check_v0() local
126 memcpy(newinfo.secctx, info->secctx, SECMARK_SECCTX_MAX); in secmark_tg_check_v0()
128 ret = secmark_tg_check(par->table, &newinfo); in secmark_tg_check_v0()
129 info->secid = newinfo.secid; in secmark_tg_check_v0()
138 struct xt_secmark_target_info_v1 newinfo = { in secmark_tg_v0() local
142 return secmark_tg(skb, &newinfo); in secmark_tg_v0()
Dx_tables.c1386 struct xt_table_info *newinfo, in xt_replace_table() argument
1393 ret = xt_jumpstack_alloc(newinfo); in xt_replace_table()
1412 newinfo->initial_entries = private->initial_entries; in xt_replace_table()
1418 table->private = newinfo; in xt_replace_table()
1453 struct xt_table_info *newinfo) in xt_register_table() argument
1479 if (!xt_replace_table(table, 0, newinfo, &ret)) in xt_register_table()
/linux-6.6.21/sound/soc/intel/avs/
Dutils.c113 avs_module_ida_alloc(struct avs_dev *adev, struct avs_mods_info *newinfo, bool purge) in avs_module_ida_alloc() argument
121 if (oldinfo->count >= newinfo->count) in avs_module_ida_alloc()
123 oldinfo->count, newinfo->count); in avs_module_ida_alloc()
127 ida_ptrs = kcalloc(newinfo->count, sizeof(*ida_ptrs), GFP_KERNEL); in avs_module_ida_alloc()
134 for (i = tocopy_count; i < newinfo->count; i++) { in avs_module_ida_alloc()
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h311 struct xt_table_info *newinfo);
316 struct xt_table_info *newinfo,
/linux-6.6.21/drivers/video/fbdev/core/
Dfbcon.c752 struct fb_info *newinfo) in con2fb_release_oldinfo() argument
765 if (newinfo && newinfo->fbops->fb_set_par) { in con2fb_release_oldinfo()
766 ret = newinfo->fbops->fb_set_par(newinfo); in con2fb_release_oldinfo()