/Linux-v5.15/net/netfilter/ |
D | xt_repldata.h | 22 struct type##_replace repl; \ 32 strncpy(tbl->repl.name, info->name, sizeof(tbl->repl.name)); \ 34 tbl->repl.valid_hooks = hook_mask; \ 35 tbl->repl.num_entries = nhooks + 1; \ 36 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \ 41 tbl->repl.hook_entry[hooknum] = bytes; \ 42 tbl->repl.underflow[hooknum] = bytes; \
|
/Linux-v5.15/net/ipv6/netfilter/ |
D | ip6table_filter.c | 46 struct ip6t_replace *repl; in ip6table_filter_table_init() local 49 repl = ip6t_alloc_initial_table(&packet_filter); in ip6table_filter_table_init() 50 if (repl == NULL) in ip6table_filter_table_init() 53 ((struct ip6t_standard *)repl->entries)[1].target.verdict = in ip6table_filter_table_init() 56 err = ip6t_register_table(net, &packet_filter, repl, filter_ops); in ip6table_filter_table_init() 57 kfree(repl); in ip6table_filter_table_init()
|
D | ip6table_security.c | 46 struct ip6t_replace *repl; in ip6table_security_table_init() local 49 repl = ip6t_alloc_initial_table(&security_table); in ip6table_security_table_init() 50 if (repl == NULL) in ip6table_security_table_init() 52 ret = ip6t_register_table(net, &security_table, repl, sectbl_ops); in ip6table_security_table_init() 53 kfree(repl); in ip6table_security_table_init()
|
D | ip6table_raw.c | 46 struct ip6t_replace *repl; in ip6table_raw_table_init() local 53 repl = ip6t_alloc_initial_table(table); in ip6table_raw_table_init() 54 if (repl == NULL) in ip6table_raw_table_init() 56 ret = ip6t_register_table(net, table, repl, rawtable_ops); in ip6table_raw_table_init() 57 kfree(repl); in ip6table_raw_table_init()
|
D | ip6table_nat.c | 117 struct ip6t_replace *repl; in ip6table_nat_table_init() local 120 repl = ip6t_alloc_initial_table(&nf_nat_ipv6_table); in ip6table_nat_table_init() 121 if (repl == NULL) in ip6table_nat_table_init() 123 ret = ip6t_register_table(net, &nf_nat_ipv6_table, repl, in ip6table_nat_table_init() 126 kfree(repl); in ip6table_nat_table_init() 134 kfree(repl); in ip6table_nat_table_init()
|
D | ip6table_mangle.c | 78 struct ip6t_replace *repl; in ip6table_mangle_table_init() local 81 repl = ip6t_alloc_initial_table(&packet_mangler); in ip6table_mangle_table_init() 82 if (repl == NULL) in ip6table_mangle_table_init() 84 ret = ip6t_register_table(net, &packet_mangler, repl, mangle_ops); in ip6table_mangle_table_init() 85 kfree(repl); in ip6table_mangle_table_init()
|
D | ip6_tables.c | 680 const struct ip6t_replace *repl) in translate_table() argument 688 newinfo->size = repl->size; in translate_table() 689 newinfo->number = repl->num_entries; in translate_table() 704 entry0 + repl->size, in translate_table() 705 repl->hook_entry, in translate_table() 706 repl->underflow, in translate_table() 707 repl->valid_hooks); in translate_table() 710 if (i < repl->num_entries) in translate_table() 719 if (i != repl->num_entries) in translate_table() 722 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() [all …]
|
/Linux-v5.15/net/ipv4/netfilter/ |
D | iptable_filter.c | 46 struct ipt_replace *repl; in iptable_filter_table_init() local 49 repl = ipt_alloc_initial_table(&packet_filter); in iptable_filter_table_init() 50 if (repl == NULL) in iptable_filter_table_init() 53 ((struct ipt_standard *)repl->entries)[1].target.verdict = in iptable_filter_table_init() 56 err = ipt_register_table(net, &packet_filter, repl, filter_ops); in iptable_filter_table_init() 57 kfree(repl); in iptable_filter_table_init()
|
D | arptable_filter.c | 41 struct arpt_replace *repl; in arptable_filter_table_init() local 44 repl = arpt_alloc_initial_table(&packet_filter); in arptable_filter_table_init() 45 if (repl == NULL) in arptable_filter_table_init() 47 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops); in arptable_filter_table_init() 48 kfree(repl); in arptable_filter_table_init()
|
D | iptable_security.c | 47 struct ipt_replace *repl; in iptable_security_table_init() local 50 repl = ipt_alloc_initial_table(&security_table); in iptable_security_table_init() 51 if (repl == NULL) in iptable_security_table_init() 53 ret = ipt_register_table(net, &security_table, repl, sectbl_ops); in iptable_security_table_init() 54 kfree(repl); in iptable_security_table_init()
|
D | iptable_raw.c | 47 struct ipt_replace *repl; in iptable_raw_table_init() local 54 repl = ipt_alloc_initial_table(table); in iptable_raw_table_init() 55 if (repl == NULL) in iptable_raw_table_init() 57 ret = ipt_register_table(net, table, repl, rawtable_ops); in iptable_raw_table_init() 58 kfree(repl); in iptable_raw_table_init()
|
D | iptable_nat.c | 115 struct ipt_replace *repl; in iptable_nat_table_init() local 118 repl = ipt_alloc_initial_table(&nf_nat_ipv4_table); in iptable_nat_table_init() 119 if (repl == NULL) in iptable_nat_table_init() 122 ret = ipt_register_table(net, &nf_nat_ipv4_table, repl, NULL); in iptable_nat_table_init() 124 kfree(repl); in iptable_nat_table_init() 132 kfree(repl); in iptable_nat_table_init()
|
D | iptable_mangle.c | 85 struct ipt_replace *repl; in iptable_mangle_table_init() local 88 repl = ipt_alloc_initial_table(&packet_mangler); in iptable_mangle_table_init() 89 if (repl == NULL) in iptable_mangle_table_init() 91 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops); in iptable_mangle_table_init() 92 kfree(repl); in iptable_mangle_table_init()
|
D | arp_tables.c | 521 const struct arpt_replace *repl) in translate_table() argument 529 newinfo->size = repl->size; in translate_table() 530 newinfo->number = repl->num_entries; in translate_table() 546 entry0 + repl->size, in translate_table() 547 repl->hook_entry, in translate_table() 548 repl->underflow, in translate_table() 549 repl->valid_hooks); in translate_table() 552 if (i < repl->num_entries) in translate_table() 561 if (i != repl->num_entries) in translate_table() 564 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() [all …]
|
D | ip_tables.c | 662 const struct ipt_replace *repl) in translate_table() argument 670 newinfo->size = repl->size; in translate_table() 671 newinfo->number = repl->num_entries; in translate_table() 686 entry0 + repl->size, in translate_table() 687 repl->hook_entry, in translate_table() 688 repl->underflow, in translate_table() 689 repl->valid_hooks); in translate_table() 692 if (i < repl->num_entries) in translate_table() 701 if (i != repl->num_entries) in translate_table() 704 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() [all …]
|
/Linux-v5.15/net/bridge/netfilter/ |
D | ebtables.c | 466 static int ebt_verify_pointers(const struct ebt_replace *repl, in ebt_verify_pointers() argument 469 unsigned int limit = repl->entries_size; in ebt_verify_pointers() 470 unsigned int valid_hooks = repl->valid_hooks; in ebt_verify_pointers() 477 newinfo->entries_size = repl->entries_size; in ebt_verify_pointers() 478 newinfo->nentries = repl->nentries; in ebt_verify_pointers() 490 if ((char __user *)repl->hook_entry[i] == in ebt_verify_pointers() 491 repl->entries + offset) in ebt_verify_pointers() 1008 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish() argument 1020 if (repl->num_counters) { in do_replace_finish() 1021 unsigned long size = repl->num_counters * sizeof(*counterstmp); in do_replace_finish() [all …]
|
/Linux-v5.15/Documentation/sphinx/ |
D | automarkup.py | 80 repl = [ ] 110 repl.append(nodes.Text(t[done:m.start()])) 116 repl.append(markup_func[m.re](docname, app, m)) 120 repl.append(nodes.Text(t[done:])) 121 return repl
|
/Linux-v5.15/net/sctp/ |
D | sm_statefuns.c | 323 struct sctp_chunk *chunk = arg, *repl, *err_chunk; in sctp_sf_do_5_1B_init() local 439 repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); in sctp_sf_do_5_1B_init() 440 if (!repl) in sctp_sf_do_5_1B_init() 461 sctp_addto_chunk(repl, len, unk_param); in sctp_sf_do_5_1B_init() 467 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init() 709 struct sctp_chunk *repl; in sctp_sf_do_5_1D_ce() local 812 repl = sctp_make_cookie_ack(new_asoc, chunk); in sctp_sf_do_5_1D_ce() 813 if (!repl) in sctp_sf_do_5_1D_ce() 866 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce() 887 sctp_chunk_free(repl); in sctp_sf_do_5_1D_ce() [all …]
|
D | sm_sideeffect.c | 89 struct sctp_chunk *repl; in sctp_do_ecn_ecne_work() local 119 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk); in sctp_do_ecn_ecne_work() 124 return repl; in sctp_do_ecn_ecne_work()
|
/Linux-v5.15/include/linux/netfilter_ipv6/ |
D | ip6_tables.h | 28 const struct ip6t_replace *repl,
|
/Linux-v5.15/include/linux/netfilter_arp/ |
D | arp_tables.h | 53 const struct arpt_replace *repl,
|
/Linux-v5.15/include/linux/netfilter_ipv4/ |
D | ip_tables.h | 26 const struct ipt_replace *repl,
|
/Linux-v5.15/drivers/md/ |
D | raid10.c | 330 int repl = 0; in find_bio_disk() local 336 repl = 1; in find_bio_disk() 346 *replp = repl; in find_bio_disk() 434 int slot, repl; in raid10_end_write_request() local 441 dev = find_bio_disk(conf, r10_bio, bio, &slot, &repl); in raid10_end_write_request() 443 if (repl) in raid10_end_write_request() 447 repl = 0; in raid10_end_write_request() 454 if (repl) in raid10_end_write_request() 516 if (repl) in raid10_end_write_request() 1555 int slot, repl; in raid10_end_discard_request() local [all …]
|
D | raid1.c | 1715 struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev; in raid1_spare_active() local 1716 if (repl in raid1_spare_active() 1717 && !test_bit(Candidate, &repl->flags) in raid1_spare_active() 1718 && repl->recovery_offset == MaxSector in raid1_spare_active() 1719 && !test_bit(Faulty, &repl->flags) in raid1_spare_active() 1720 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1855 struct md_rdev *repl = in raid1_remove_disk() local 1858 if (atomic_read(&repl->nr_pending)) { in raid1_remove_disk() 1869 clear_bit(Replacement, &repl->flags); in raid1_remove_disk() 1870 p->rdev = repl; in raid1_remove_disk()
|
/Linux-v5.15/include/net/netfilter/ |
D | nf_conntrack.h | 249 const struct nf_conntrack_tuple *repl,
|