Home
last modified time | relevance | path

Searched refs:repl (Results 1 – 25 of 32) sorted by relevance

12

/linux/fs/xfs/scrub/
H A Dcow_repair.c405 struct xrep_cow_extent *repl) in xrep_cow_alloc() argument
431 repl->fsbno = args.fsbno; in xrep_cow_alloc()
432 repl->len = args.len; in xrep_cow_alloc()
444 struct xrep_cow_extent *repl) in xrep_cow_alloc_rt()
454 false, &repl->fsbno, &repl->len); in xrep_cow_alloc_rt()
458 xfs_refcount_alloc_cow_extent(sc->tp, true, repl->fsbno, repl->len); in xrep_cow_alloc_rt()
503 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the
511 const struct xrep_cow_extent *repl) in xrep_cow_replace_mapping()
445 xrep_cow_alloc_rt(struct xfs_scrub * sc,xfs_extlen_t maxlen,struct xrep_cow_extent * repl) xrep_cow_alloc_rt() argument
512 xrep_cow_replace_mapping(struct xfs_inode * ip,struct xfs_iext_cursor * icur,const struct xfs_bmbt_irec * got,const struct xrep_cow_extent * repl) xrep_cow_replace_mapping() argument
557 struct xrep_cow_extent repl; xrep_cow_replace_range() local
[all...]
/linux/net/netfilter/
H A Dxt_repldata.h22 struct type##_replace repl; \
32 strscpy(tbl->repl.name, info->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; \
H A Dnf_conntrack_proto_gre.c99 const struct nf_conntrack_tuple *repl) in nf_ct_gre_km_acceptable() argument
112 if (!gre_key_cmpfn(km_repl, repl)) in nf_ct_gre_km_acceptable()
126 const struct nf_conntrack_tuple *repl) in nf_ct_gre_keymap_add() argument
145 memcpy(&km_repl->tuple, repl, sizeof(*repl)); in nf_ct_gre_keymap_add()
151 switch (nf_ct_gre_km_acceptable(ct_pptp_info, orig, repl)) { in nf_ct_gre_keymap_add()
H A Dnf_conntrack_sane.c74 struct sane_reply_net_start repl; in help() member
133 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help()
/linux/net/ipv4/netfilter/
H A Diptable_filter.c39 struct ipt_replace *repl; in iptable_filter_table_init() local
42 repl = ipt_alloc_initial_table(&packet_filter); in iptable_filter_table_init()
43 if (repl == NULL) in iptable_filter_table_init()
46 ((struct ipt_standard *)repl->entries)[1].target.verdict = in iptable_filter_table_init()
49 err = ipt_register_table(net, &packet_filter, repl, filter_ops); in iptable_filter_table_init()
50 kfree(repl); in iptable_filter_table_init()
H A Darptable_filter.c33 struct arpt_replace *repl; in arptable_filter_table_init() local
36 repl = arpt_alloc_initial_table(&packet_filter); in arptable_filter_table_init()
37 if (repl == NULL) in arptable_filter_table_init()
39 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops); in arptable_filter_table_init()
40 kfree(repl); in arptable_filter_table_init()
H A Diptable_security.c40 struct ipt_replace *repl; in iptable_security_table_init() local
43 repl = ipt_alloc_initial_table(&security_table); in iptable_security_table_init()
44 if (repl == NULL) in iptable_security_table_init()
46 ret = ipt_register_table(net, &security_table, repl, sectbl_ops); in iptable_security_table_init()
47 kfree(repl); in iptable_security_table_init()
H A Diptable_raw.c39 struct ipt_replace *repl; in iptable_raw_table_init() local
46 repl = ipt_alloc_initial_table(table); in iptable_raw_table_init()
47 if (repl == NULL) in iptable_raw_table_init()
49 ret = ipt_register_table(net, table, repl, rawtable_ops); in iptable_raw_table_init()
50 kfree(repl); in iptable_raw_table_init()
H A Diptable_nat.c108 struct ipt_replace *repl; in iptable_nat_table_init() local
111 repl = ipt_alloc_initial_table(&nf_nat_ipv4_table); in iptable_nat_table_init()
112 if (repl == NULL) in iptable_nat_table_init()
115 ret = ipt_register_table(net, &nf_nat_ipv4_table, repl, NULL); in iptable_nat_table_init()
117 kfree(repl); in iptable_nat_table_init()
128 kfree(repl); in iptable_nat_table_init()
H A Diptable_mangle.c86 struct ipt_replace *repl; in iptable_mangle_table_init() local
89 repl = ipt_alloc_initial_table(&packet_mangler); in iptable_mangle_table_init()
90 if (repl == NULL) in iptable_mangle_table_init()
92 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops); in iptable_mangle_table_init()
93 kfree(repl); in iptable_mangle_table_init()
H A Darp_tables.c534 const struct arpt_replace *repl) in translate_table() argument
542 newinfo->size = repl->size; in translate_table()
543 newinfo->number = repl->num_entries; in translate_table()
559 entry0 + repl->size, in translate_table()
560 repl->hook_entry, in translate_table()
561 repl->underflow, in translate_table()
562 repl->valid_hooks); in translate_table()
565 if (i < repl->num_entries) in translate_table()
574 if (i != repl->num_entries) in translate_table()
577 ret = xt_check_table_hooks(newinfo, repl in translate_table()
1180 struct arpt_replace repl; translate_compat_table() local
1521 arpt_register_table(struct net * net,const struct xt_table * table,const struct arpt_replace * repl,const struct nf_hook_ops * template_ops) arpt_register_table() argument
[all...]
H A Dip_tables.c661 const struct ipt_replace *repl) in translate_table() argument
669 newinfo->size = repl->size; in translate_table()
670 newinfo->number = repl->num_entries; in translate_table()
685 entry0 + repl->size, in translate_table()
686 repl->hook_entry, in translate_table()
687 repl->underflow, in translate_table()
688 repl->valid_hooks); in translate_table()
691 if (i < repl->num_entries) in translate_table()
700 if (i != repl->num_entries) in translate_table()
703 ret = xt_check_table_hooks(newinfo, repl in translate_table()
1400 struct ipt_replace repl; translate_compat_table() local
1723 ipt_register_table(struct net * net,const struct xt_table * table,const struct ipt_replace * repl,const struct nf_hook_ops * template_ops) ipt_register_table() argument
[all...]
/linux/net/ipv6/netfilter/
H A Dip6table_filter.c38 struct ip6t_replace *repl; in ip6table_filter_table_init() local
41 repl = ip6t_alloc_initial_table(&packet_filter); in ip6table_filter_table_init()
42 if (repl == NULL) in ip6table_filter_table_init()
45 ((struct ip6t_standard *)repl->entries)[1].target.verdict = in ip6table_filter_table_init()
48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops); in ip6table_filter_table_init()
49 kfree(repl); in ip6table_filter_table_init()
H A Dip6table_security.c39 struct ip6t_replace *repl; in ip6table_security_table_init() local
42 repl = ip6t_alloc_initial_table(&security_table); in ip6table_security_table_init()
43 if (repl == NULL) in ip6table_security_table_init()
45 ret = ip6t_register_table(net, &security_table, repl, sectbl_ops); in ip6table_security_table_init()
46 kfree(repl); in ip6table_security_table_init()
H A Dip6table_raw.c38 struct ip6t_replace *repl; in ip6table_raw_table_init() local
45 repl = ip6t_alloc_initial_table(table); in ip6table_raw_table_init()
46 if (repl == NULL) in ip6table_raw_table_init()
48 ret = ip6t_register_table(net, table, repl, rawtable_ops); in ip6table_raw_table_init()
49 kfree(repl); in ip6table_raw_table_init()
H A Dip6table_nat.c110 struct ip6t_replace *repl; in ip6table_nat_table_init() local
113 repl = ip6t_alloc_initial_table(&nf_nat_ipv6_table); in ip6table_nat_table_init()
114 if (repl == NULL) in ip6table_nat_table_init()
116 ret = ip6t_register_table(net, &nf_nat_ipv6_table, repl, in ip6table_nat_table_init()
119 kfree(repl); in ip6table_nat_table_init()
130 kfree(repl); in ip6table_nat_table_init()
H A Dip6table_mangle.c79 struct ip6t_replace *repl; in ip6table_mangle_table_init() local
82 repl = ip6t_alloc_initial_table(&packet_mangler); in ip6table_mangle_table_init()
83 if (repl == NULL) in ip6table_mangle_table_init()
85 ret = ip6t_register_table(net, &packet_mangler, repl, mangle_ops); in ip6table_mangle_table_init()
86 kfree(repl); in ip6table_mangle_table_init()
H A Dip6_tables.c678 const struct ip6t_replace *repl) in translate_table() argument
686 newinfo->size = repl->size; in translate_table()
687 newinfo->number = repl->num_entries; in translate_table()
702 entry0 + repl->size, in translate_table()
703 repl->hook_entry, in translate_table()
704 repl->underflow, in translate_table()
705 repl->valid_hooks); in translate_table()
708 if (i < repl->num_entries) in translate_table()
717 if (i != repl->num_entries) in translate_table()
720 ret = xt_check_table_hooks(newinfo, repl in translate_table()
1415 struct ip6t_replace repl; translate_compat_table() local
1732 ip6t_register_table(struct net * net,const struct xt_table * table,const struct ip6t_replace * repl,const struct nf_hook_ops * template_ops) ip6t_register_table() argument
[all...]
/linux/net/bridge/netfilter/
H A Debtables.c467 static int ebt_verify_pointers(const struct ebt_replace *repl, in ebt_verify_pointers() argument
470 unsigned int limit = repl->entries_size; in ebt_verify_pointers()
471 unsigned int valid_hooks = repl->valid_hooks; in ebt_verify_pointers()
478 newinfo->entries_size = repl->entries_size; in ebt_verify_pointers()
479 newinfo->nentries = repl->nentries; in ebt_verify_pointers()
491 if ((char __user *)repl->hook_entry[i] == in ebt_verify_pointers()
492 repl->entries + offset) in ebt_verify_pointers()
1009 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish() argument
1021 if (repl->num_counters) { in do_replace_finish()
1022 counterstmp = vmalloc_array(repl in do_replace_finish()
1185 struct ebt_replace_kernel *repl; ebt_register_table() local
1858 struct compat_ebt_replace repl, tmp; compat_copy_everything_to_user() local
2250 compat_copy_ebt_replace_from_user(struct ebt_replace * repl,sockptr_t arg,unsigned int len) compat_copy_ebt_replace_from_user() argument
[all...]
/linux/tools/testing/selftests/net/netfilter/
H A Dudpclash.c84 char repl[512]; in run_test() local
87 ret = recvfrom(fd, repl, sizeof(repl), MSG_NOSIGNAL, in run_test()
/linux/net/sctp/
H A Dsm_statefuns.c325 struct sctp_chunk *chunk = arg, *repl, *err_chunk; in sctp_sf_do_5_1B_init() local
444 repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); in sctp_sf_do_5_1B_init()
445 if (!repl) in sctp_sf_do_5_1B_init()
466 sctp_addto_chunk(repl, len, unk_param); in sctp_sf_do_5_1B_init()
472 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init()
714 struct sctp_chunk *repl; in sctp_sf_do_5_1D_ce()
820 repl = sctp_make_cookie_ack(new_asoc, chunk); in sctp_sf_do_5_1D_ce()
821 if (!repl) in sctp_sf_do_5_1D_ce()
874 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce()
896 sctp_chunk_free(repl); in sctp_sf_do_5_1D_ce()
712 struct sctp_chunk *repl; sctp_sf_do_5_1D_ce() local
1521 struct sctp_chunk *chunk = arg, *repl, *err_chunk; sctp_sf_do_unexpected_init() local
1874 struct sctp_chunk *repl; sctp_sf_do_dupcook_a() local
1995 struct sctp_chunk *repl; sctp_sf_do_dupcook_b() local
2102 struct sctp_chunk *repl; sctp_sf_do_dupcook_d() local
4986 struct sctp_chunk *repl; sctp_sf_do_prm_asoc() local
5921 struct sctp_chunk *repl = NULL; sctp_sf_t1_init_timer_expire() local
5986 struct sctp_chunk *repl = NULL; sctp_sf_t1_cookie_timer_expire() local
[all...]
/linux/arch/x86/kernel/
H A Dalternative.c467 static void __apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t r… in __apply_relocation() argument
488 if (need_reloc(next + insn.immediate.value, repl, repl_len)) { in __apply_relocation()
491 repl - instr); in __apply_relocation()
499 imm += repl - instr; in __apply_relocation()
512 if (need_reloc(next + insn.displacement.value, repl, repl_len)) { in __apply_relocation()
515 repl - instr); in __apply_relocation()
521 void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t … in text_poke_apply_relocation() argument
523 __apply_relocation(buf, instr, instrlen, repl, repl_len); in text_poke_apply_relocation()
634 u8 *repl; in prep_patch_site() local
642 repl = (u8 *)&alt->repl_offset + alt->repl_offset; in prep_patch_site()
[all …]
/linux/include/linux/netfilter/
H A Dnf_conntrack_proto_gre.h24 const struct nf_conntrack_tuple *repl);
/linux/include/linux/netfilter_ipv6/
H A Dip6_tables.h28 const struct ip6t_replace *repl,
/linux/include/linux/netfilter_arp/
H A Darp_tables.h53 const struct arpt_replace *repl,

12