nat                75 arch/arc/plat-eznps/include/plat/ctop.h 			__reserved:9, nat:3, ten:16;
nat               149 arch/arc/plat-eznps/include/plat/ctop.h 			u32 dcp:1, cme:1, __reserved:19, nat:3,
nat                35 arch/arc/plat-eznps/mtm.c 	int log_nat, nat = 0, i, t;
nat                39 arch/arc/plat-eznps/mtm.c 		nat += test_bit(t, cpumask_bits(cpu_possible_mask));
nat                41 arch/arc/plat-eznps/mtm.c 	log_nat = ilog2(nat);
nat                44 arch/arc/plat-eznps/mtm.c 	udmc.nat = log_nat;
nat                48 arch/arc/plat-eznps/mtm.c 	mtm_cfg.nat = log_nat;
nat               597 arch/ia64/include/asm/processor.h ia64_set_unat (__u64 *unat, void *spill_addr, unsigned long nat)
nat               602 arch/ia64/include/asm/processor.h 	*unat = (*unat & ~mask) | (nat << bit);
nat               133 arch/ia64/include/asm/ptrace.h   extern unsigned long ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat);
nat                87 arch/ia64/include/asm/unwind.h 		} nat;
nat               199 arch/ia64/include/asm/unwind.h unw_set_gr (struct unw_frame_info *i, int n, unsigned long v, char nat)
nat               201 arch/ia64/include/asm/unwind.h 	return unw_access_gr(i, n, &v, &nat, 1);
nat               228 arch/ia64/include/asm/unwind.h #define unw_get_gr(i,n,v,nat)	unw_access_gr(i,n,v,nat,0)
nat               210 arch/ia64/include/uapi/asm/ptrace.h 	unsigned long nat;
nat               857 arch/ia64/kernel/mca.c 	u64 fslot, tslot, nat;
nat               862 arch/ia64/kernel/mca.c 	nat = (fnat >> fslot) & 1;
nat               863 arch/ia64/kernel/mca.c 	*tnat |= (nat << tslot);
nat               894 arch/ia64/kernel/mca.c 		unsigned long *nat)
nat               918 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[1-1], ms->pmsa_nat_bits, &regs->r1, nat);
nat               919 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[2-1], ms->pmsa_nat_bits, &regs->r2, nat);
nat               920 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[3-1], ms->pmsa_nat_bits, &regs->r3, nat);
nat               921 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[8-1], ms->pmsa_nat_bits, &regs->r8, nat);
nat               922 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[9-1], ms->pmsa_nat_bits, &regs->r9, nat);
nat               923 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[10-1], ms->pmsa_nat_bits, &regs->r10, nat);
nat               924 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[11-1], ms->pmsa_nat_bits, &regs->r11, nat);
nat               925 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[12-1], ms->pmsa_nat_bits, &regs->r12, nat);
nat               926 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[13-1], ms->pmsa_nat_bits, &regs->r13, nat);
nat               927 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[14-1], ms->pmsa_nat_bits, &regs->r14, nat);
nat               928 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[15-1], ms->pmsa_nat_bits, &regs->r15, nat);
nat               933 arch/ia64/kernel/mca.c 	copy_reg(&bank[16-16], ms->pmsa_nat_bits, &regs->r16, nat);
nat               934 arch/ia64/kernel/mca.c 	copy_reg(&bank[17-16], ms->pmsa_nat_bits, &regs->r17, nat);
nat               935 arch/ia64/kernel/mca.c 	copy_reg(&bank[18-16], ms->pmsa_nat_bits, &regs->r18, nat);
nat               936 arch/ia64/kernel/mca.c 	copy_reg(&bank[19-16], ms->pmsa_nat_bits, &regs->r19, nat);
nat               937 arch/ia64/kernel/mca.c 	copy_reg(&bank[20-16], ms->pmsa_nat_bits, &regs->r20, nat);
nat               938 arch/ia64/kernel/mca.c 	copy_reg(&bank[21-16], ms->pmsa_nat_bits, &regs->r21, nat);
nat               939 arch/ia64/kernel/mca.c 	copy_reg(&bank[22-16], ms->pmsa_nat_bits, &regs->r22, nat);
nat               940 arch/ia64/kernel/mca.c 	copy_reg(&bank[23-16], ms->pmsa_nat_bits, &regs->r23, nat);
nat               941 arch/ia64/kernel/mca.c 	copy_reg(&bank[24-16], ms->pmsa_nat_bits, &regs->r24, nat);
nat               942 arch/ia64/kernel/mca.c 	copy_reg(&bank[25-16], ms->pmsa_nat_bits, &regs->r25, nat);
nat               943 arch/ia64/kernel/mca.c 	copy_reg(&bank[26-16], ms->pmsa_nat_bits, &regs->r26, nat);
nat               944 arch/ia64/kernel/mca.c 	copy_reg(&bank[27-16], ms->pmsa_nat_bits, &regs->r27, nat);
nat               945 arch/ia64/kernel/mca.c 	copy_reg(&bank[28-16], ms->pmsa_nat_bits, &regs->r28, nat);
nat               946 arch/ia64/kernel/mca.c 	copy_reg(&bank[29-16], ms->pmsa_nat_bits, &regs->r29, nat);
nat               947 arch/ia64/kernel/mca.c 	copy_reg(&bank[30-16], ms->pmsa_nat_bits, &regs->r30, nat);
nat               948 arch/ia64/kernel/mca.c 	copy_reg(&bank[31-16], ms->pmsa_nat_bits, &regs->r31, nat);
nat               980 arch/ia64/kernel/mca.c 	unsigned long old_unat, old_rnat, new_rnat, nat;
nat              1145 arch/ia64/kernel/mca.c 		nat = (new_rnat >> ia64_rse_slot_num(new_bspstore)) & 1UL;
nat              1147 arch/ia64/kernel/mca.c 		old_rnat |= (nat << ia64_rse_slot_num(old_bspstore));
nat               450 arch/ia64/kernel/process.c 	char nat;
nat               482 arch/ia64/kernel/process.c 		unw_get_gr(info, i, &dst[i], &nat);
nat               483 arch/ia64/kernel/process.c 		if (nat)
nat               116 arch/ia64/kernel/ptrace.c ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat)
nat               118 arch/ia64/kernel/ptrace.c #	define PUT_BITS(first, last, nat)				\
nat               128 arch/ia64/kernel/ptrace.c 		ia64_rotl(nat & mask, dist);				\
nat               137 arch/ia64/kernel/ptrace.c 	scratch_unat  = PUT_BITS( 1,  1, nat);
nat               138 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS( 2,  3, nat);
nat               139 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS(12, 13, nat);
nat               140 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS(14, 14, nat);
nat               141 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS(15, 15, nat);
nat               142 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS( 8, 11, nat);
nat               143 arch/ia64/kernel/ptrace.c 	scratch_unat |= PUT_BITS(16, 31, nat);
nat               794 arch/ia64/kernel/ptrace.c 	char nat = 0;
nat               804 arch/ia64/kernel/ptrace.c 			unw_get_gr(info, regnum, &dummy, &nat);
nat               815 arch/ia64/kernel/ptrace.c 			unw_get_gr(info, regnum, &dummy, &nat);
nat               816 arch/ia64/kernel/ptrace.c 			nat_bits |= (nat != 0) << regnum;
nat               836 arch/ia64/kernel/ptrace.c 	char nat = 0;
nat               891 arch/ia64/kernel/ptrace.c 		if (unw_access_gr(&info, i, &val, &nat, 0) < 0)
nat               965 arch/ia64/kernel/ptrace.c 	retval |= __put_user(nat_bits, &ppr->nat);
nat              1102 arch/ia64/kernel/ptrace.c 	retval |= __get_user(nat_bits, &ppr->nat);
nat              1284 arch/ia64/kernel/ptrace.c 	char nat = 0;
nat              1300 arch/ia64/kernel/ptrace.c 			ret = unw_get_gr(info, addr/8, &dummy, &nat);
nat              1304 arch/ia64/kernel/ptrace.c 		return unw_access_gr(info, addr/8, data, &nat, write_access);
nat                46 arch/ia64/kernel/signal.c 	unsigned long ip, flags, nat, um, cfm, rsc;
nat                54 arch/ia64/kernel/signal.c 	err |= __get_user(nat, &sc->sc_nat);
nat                78 arch/ia64/kernel/signal.c 	scr->scratch_unat = ia64_put_scratch_nat_bits(&scr->pt, nat);
nat               168 arch/ia64/kernel/signal.c 	unsigned long flags = 0, ifs, cfm, nat;
nat               185 arch/ia64/kernel/signal.c 	nat = ia64_get_scratch_nat_bits(&scr->pt, scr->scratch_unat);
nat               188 arch/ia64/kernel/signal.c 	err |= __put_user(nat, &sc->sc_nat);
nat               308 arch/ia64/kernel/unaligned.c set_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long val, int nat)
nat               342 arch/ia64/kernel/unaligned.c 		if (nat)
nat               367 arch/ia64/kernel/unaligned.c 	       (void *) rnat_addr, rnats, nat, (rnats >> ia64_rse_slot_num(addr)) & 1);
nat               370 arch/ia64/kernel/unaligned.c 	if (nat)
nat               381 arch/ia64/kernel/unaligned.c get_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long *val, int *nat)
nat               410 arch/ia64/kernel/unaligned.c 		if (nat) {
nat               415 arch/ia64/kernel/unaligned.c 			*nat = (*rnat_addr & nat_mask) != 0;
nat               434 arch/ia64/kernel/unaligned.c 	if (nat) {
nat               441 arch/ia64/kernel/unaligned.c 		*nat = (rnats & nat_mask) != 0;
nat               447 arch/ia64/kernel/unaligned.c 	if (nat)
nat               448 arch/ia64/kernel/unaligned.c 		*nat = 0;
nat               454 arch/ia64/kernel/unaligned.c setreg (unsigned long regnum, unsigned long val, int nat, struct pt_regs *regs)
nat               465 arch/ia64/kernel/unaligned.c 		set_rse_reg(regs, regnum, val, nat);
nat               499 arch/ia64/kernel/unaligned.c 	DPRINT("*0x%lx=0x%lx NaT=%d prev_unat @%p=%lx\n", addr, val, nat, (void *) unat, *unat);
nat               500 arch/ia64/kernel/unaligned.c 	if (nat) {
nat               505 arch/ia64/kernel/unaligned.c 	DPRINT("*0x%lx=0x%lx NaT=%d new unat: %p=%lx\n", addr, val, nat, (void *) unat,*unat);
nat               628 arch/ia64/kernel/unaligned.c getreg (unsigned long regnum, unsigned long *val, int *nat, struct pt_regs *regs)
nat               634 arch/ia64/kernel/unaligned.c 		get_rse_reg(regs, regnum, val, nat);
nat               643 arch/ia64/kernel/unaligned.c 		if (nat)
nat               644 arch/ia64/kernel/unaligned.c 			*nat = 0;
nat               668 arch/ia64/kernel/unaligned.c 	if (nat)
nat               669 arch/ia64/kernel/unaligned.c 		*nat  = (*unat >> (addr >> 3 & 0x3f)) & 0x1UL;
nat               284 arch/ia64/kernel/unwind.c unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write)
nat               293 arch/ia64/kernel/unwind.c 			*nat = 0;
nat               307 arch/ia64/kernel/unwind.c 				nat_addr = addr + ireg->nat.off;
nat               308 arch/ia64/kernel/unwind.c 				switch (ireg->nat.type) {
nat               312 arch/ia64/kernel/unwind.c 						if (*nat) {
nat               323 arch/ia64/kernel/unwind.c 							*nat = 1;
nat               391 arch/ia64/kernel/unwind.c 			if (*nat)
nat               399 arch/ia64/kernel/unwind.c 			*nat = 0;
nat               402 arch/ia64/kernel/unwind.c 			*nat = 1;
nat                63 fs/f2fs/node.h #define nat_get_nid(nat)		((nat)->ni.nid)
nat                64 fs/f2fs/node.h #define nat_set_nid(nat, n)		((nat)->ni.nid = (n))
nat                65 fs/f2fs/node.h #define nat_get_blkaddr(nat)		((nat)->ni.blk_addr)
nat                66 fs/f2fs/node.h #define nat_set_blkaddr(nat, b)		((nat)->ni.blk_addr = (b))
nat                67 fs/f2fs/node.h #define nat_get_ino(nat)		((nat)->ni.ino)
nat                68 fs/f2fs/node.h #define nat_set_ino(nat, i)		((nat)->ni.ino = (i))
nat                69 fs/f2fs/node.h #define nat_get_version(nat)		((nat)->ni.version)
nat                70 fs/f2fs/node.h #define nat_set_version(nat, v)		((nat)->ni.version = (v))
nat               175 include/net/netfilter/nf_conntrack_helper.h void nf_nat_helper_register(struct nf_conntrack_nat_helper *nat);
nat               176 include/net/netfilter/nf_conntrack_helper.h void nf_nat_helper_unregister(struct nf_conntrack_nat_helper *nat);
nat                59 include/net/netfilter/nf_nat.h 				      struct nf_conn_nat *nat,
nat                63 include/net/netfilter/nf_nat.h 	return nat && nat->masq_index && hooknum == NF_INET_POST_ROUTING &&
nat                65 include/net/netfilter/nf_nat.h 	       nat->masq_index != out->ifindex;
nat                53 net/ipv4/netfilter/nf_nat_pptp.c 	struct nf_conn_nat *nat;
nat                55 net/ipv4/netfilter/nf_nat_pptp.c 	nat = nf_ct_nat_ext_add(ct);
nat                56 net/ipv4/netfilter/nf_nat_pptp.c 	if (WARN_ON_ONCE(!nat))
nat                59 net/ipv4/netfilter/nf_nat_pptp.c 	nat_pptp_info = &nat->help.nat_pptp_info;
nat               129 net/ipv4/netfilter/nf_nat_pptp.c 	struct nf_conn_nat *nat = nfct_nat(ct);
nat               135 net/ipv4/netfilter/nf_nat_pptp.c 	if (WARN_ON_ONCE(!nat))
nat               138 net/ipv4/netfilter/nf_nat_pptp.c 	nat_pptp_info = &nat->help.nat_pptp_info;
nat               203 net/ipv4/netfilter/nf_nat_pptp.c 	struct nf_conn_nat *nat = nfct_nat(ct);
nat               207 net/ipv4/netfilter/nf_nat_pptp.c 	if (WARN_ON_ONCE(!nat))
nat               210 net/ipv4/netfilter/nf_nat_pptp.c 	nat_pptp_info = &nat->help.nat_pptp_info;
nat               239 net/ipv4/netfilter/nf_nat_pptp.c 	struct nf_conn_nat *nat = nfct_nat(ct);
nat               244 net/ipv4/netfilter/nf_nat_pptp.c 	if (WARN_ON_ONCE(!nat))
nat               247 net/ipv4/netfilter/nf_nat_pptp.c 	nat_pptp_info = &nat->help.nat_pptp_info;
nat               153 net/netfilter/nf_conntrack_helper.c 	struct nf_conntrack_nat_helper *nat;
nat               164 net/netfilter/nf_conntrack_helper.c 	nat = nf_conntrack_nat_helper_find(h->nat_mod_name);
nat               165 net/netfilter/nf_conntrack_helper.c 	if (!nat) {
nat               171 net/netfilter/nf_conntrack_helper.c 		nat = nf_conntrack_nat_helper_find(mod_name);
nat               172 net/netfilter/nf_conntrack_helper.c 		if (!nat) {
nat               178 net/netfilter/nf_conntrack_helper.c 	if (!try_module_get(nat->module))
nat               188 net/netfilter/nf_conntrack_helper.c 	struct nf_conntrack_nat_helper *nat;
nat               190 net/netfilter/nf_conntrack_helper.c 	nat = nf_conntrack_nat_helper_find(helper->nat_mod_name);
nat               191 net/netfilter/nf_conntrack_helper.c 	if (WARN_ON_ONCE(!nat))
nat               194 net/netfilter/nf_conntrack_helper.c 	module_put(nat->module);
nat               536 net/netfilter/nf_conntrack_helper.c void nf_nat_helper_register(struct nf_conntrack_nat_helper *nat)
nat               539 net/netfilter/nf_conntrack_helper.c 	list_add_rcu(&nat->list, &nf_ct_nat_helpers);
nat               544 net/netfilter/nf_conntrack_helper.c void nf_nat_helper_unregister(struct nf_conntrack_nat_helper *nat)
nat               547 net/netfilter/nf_conntrack_helper.c 	list_del_rcu(&nat->list);
nat               535 net/netfilter/nf_conntrack_pptp.c 		struct nf_conn_nat *nat = nf_ct_ext_find(ct, NF_CT_EXT_NAT);
nat               537 net/netfilter/nf_conntrack_pptp.c 		if (!nat && !nf_ct_ext_add(ct, NF_CT_EXT_NAT, GFP_ATOMIC))
nat               588 net/netfilter/nf_nat_core.c 	struct nf_conn_nat *nat = nfct_nat(ct);
nat               589 net/netfilter/nf_nat_core.c 	if (nat)
nat               590 net/netfilter/nf_nat_core.c 		return nat;
nat               593 net/netfilter/nf_nat_core.c 		nat = nf_ct_ext_add(ct, NF_CT_EXT_NAT, GFP_ATOMIC);
nat               595 net/netfilter/nf_nat_core.c 	return nat;
nat               728 net/netfilter/nf_nat_core.c 	struct nf_conn_nat *nat;
nat               741 net/netfilter/nf_nat_core.c 	nat = nfct_nat(ct);
nat               776 net/netfilter/nf_nat_core.c 			if (nf_nat_oif_changed(state->hook, ctinfo, nat,
nat               785 net/netfilter/nf_nat_core.c 		if (nf_nat_oif_changed(state->hook, ctinfo, nat, state->out))
nat               941 net/netfilter/nf_nat_core.c nfnetlink_parse_nat(const struct nlattr *nat,
nat               949 net/netfilter/nf_nat_core.c 	err = nla_parse_nested_deprecated(tb, CTA_NAT_MAX, nat,
nat                21 net/netfilter/nf_nat_masquerade.c 	struct nf_conn_nat *nat;
nat                48 net/netfilter/nf_nat_masquerade.c 	nat = nf_ct_nat_ext_add(ct);
nat                49 net/netfilter/nf_nat_masquerade.c 	if (nat)
nat                50 net/netfilter/nf_nat_masquerade.c 		nat->masq_index = out->ifindex;
nat                68 net/netfilter/nf_nat_masquerade.c 	const struct nf_conn_nat *nat = nfct_nat(i);
nat                70 net/netfilter/nf_nat_masquerade.c 	if (!nat)
nat                72 net/netfilter/nf_nat_masquerade.c 	return nat->masq_index == (int)(long)ifindex;
nat               163 net/netfilter/nf_nat_masquerade.c 	struct nf_conn_nat *nat;
nat               176 net/netfilter/nf_nat_masquerade.c 	nat = nf_ct_nat_ext_add(ct);
nat               177 net/netfilter/nf_nat_masquerade.c 	if (nat)
nat               178 net/netfilter/nf_nat_masquerade.c 		nat->masq_index = out->ifindex;
nat                62 net/openvswitch/conntrack.c 	u8 nat : 3;                 /* enum ovs_ct_nat */
nat               883 net/openvswitch/conntrack.c 	if (info->nat & OVS_CT_NAT && ctinfo != IP_CT_NEW &&
nat               897 net/openvswitch/conntrack.c 	} else if (info->nat & OVS_CT_SRC_NAT) {
nat               899 net/openvswitch/conntrack.c 	} else if (info->nat & OVS_CT_DST_NAT) {
nat               995 net/openvswitch/conntrack.c 		if (info->nat && !(key->ct_state & OVS_CS_F_NAT_MASK) &&
nat              1014 net/openvswitch/conntrack.c 			if (info->nat && !nfct_seqadj(ct)) {
nat              1343 net/openvswitch/conntrack.c 	if (info->nat) {
nat              1401 net/openvswitch/conntrack.c 			if (info->nat) {
nat              1405 net/openvswitch/conntrack.c 			info->nat |= OVS_CT_NAT;
nat              1406 net/openvswitch/conntrack.c 			info->nat |= ((type == OVS_NAT_ATTR_SRC)
nat              1456 net/openvswitch/conntrack.c 	if (!info->nat) {
nat              1464 net/openvswitch/conntrack.c 		info->nat = OVS_CT_NAT;   /* NAT existing connections. */
nat              1720 net/openvswitch/conntrack.c 	if (info->nat & OVS_CT_SRC_NAT) {
nat              1723 net/openvswitch/conntrack.c 	} else if (info->nat & OVS_CT_DST_NAT) {
nat              1817 net/openvswitch/conntrack.c 	if (ct_info->nat && !ovs_ct_nat_to_attr(ct_info, skb))
nat              1836 net/openvswitch/conntrack.c 		if (ct_info->nat)