Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 149) sorted by relevance

123456

/linux-2.6.39/net/netfilter/
Dxt_DSCP.c79 u_int8_t orig, nv; in tos_tg() local
81 orig = ipv4_get_dsfield(iph); in tos_tg()
82 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
84 if (orig != nv) { in tos_tg()
99 u_int8_t orig, nv; in tos_tg6() local
101 orig = ipv6_get_dsfield(iph); in tos_tg6()
102 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
104 if (orig != nv) { in tos_tg6()
Dnf_conntrack_core.c160 const struct nf_conntrack_tuple *orig, in nf_ct_invert_tuple() argument
166 inverse->src.l3num = orig->src.l3num; in nf_ct_invert_tuple()
167 if (l3proto->invert_tuple(inverse, orig) == 0) in nf_ct_invert_tuple()
170 inverse->dst.dir = !orig->dst.dir; in nf_ct_invert_tuple()
172 inverse->dst.protonum = orig->dst.protonum; in nf_ct_invert_tuple()
173 return l4proto->invert_tuple(inverse, orig); in nf_ct_invert_tuple()
631 const struct nf_conntrack_tuple *orig, in __nf_conntrack_alloc() argument
640 hash = hash_conntrack_raw(orig, zone); in __nf_conntrack_alloc()
676 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple = *orig; in __nf_conntrack_alloc()
709 const struct nf_conntrack_tuple *orig, in nf_conntrack_alloc() argument
[all …]
/linux-2.6.39/drivers/pci/pcie/aer/
Daerdrv.h87 static inline pci_ers_result_t merge_result(enum pci_ers_result orig, in merge_result() argument
91 return orig; in merge_result()
93 switch (orig) { in merge_result()
96 orig = new; in merge_result()
100 orig = new; in merge_result()
106 return orig; in merge_result()
/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_nfct.c141 struct nf_conntrack_tuple *orig, new_reply; in ip_vs_nfct_expect_callback() local
158 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ip_vs_nfct_expect_callback()
159 ip_vs_conn_fill_param(net, exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback()
160 &orig->src.u3, orig->src.u.tcp.port, in ip_vs_nfct_expect_callback()
161 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback()
169 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), in ip_vs_nfct_expect_callback()
176 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), in ip_vs_nfct_expect_callback()
189 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), in ip_vs_nfct_expect_callback()
196 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), in ip_vs_nfct_expect_callback()
203 __func__, ct, ct->status, ARG_TUPLE(orig)); in ip_vs_nfct_expect_callback()
/linux-2.6.39/drivers/scsi/sym53c8xx_2/
Dsym_misc.h104 static inline void sym_que_move(struct sym_quehead *orig, in sym_que_move() argument
109 first = orig->flink; in sym_que_move()
110 if (first != orig) { in sym_que_move()
113 last = orig->blink; in sym_que_move()
116 orig->flink = orig; in sym_que_move()
117 orig->blink = orig; in sym_que_move()
/linux-2.6.39/drivers/uio/
Duio_pci_generic.c95 u16 orig, new; in verify_pci_2_3() local
99 pci_read_config_word(pdev, PCI_COMMAND, &orig); in verify_pci_2_3()
101 orig ^ PCI_COMMAND_INTX_DISABLE); in verify_pci_2_3()
106 if ((new ^ orig) & ~PCI_COMMAND_INTX_DISABLE) { in verify_pci_2_3()
109 "driver or HW bug?\n", orig, new); in verify_pci_2_3()
112 if (!((new ^ orig) & PCI_COMMAND_INTX_DISABLE)) { in verify_pci_2_3()
119 pci_write_config_word(pdev, PCI_COMMAND, orig); in verify_pci_2_3()
/linux-2.6.39/net/tipc/
Ddiscover.c128 u32 orig = msg_prevnode(msg); in tipc_disc_recv_msg() local
141 if (!tipc_addr_node_valid(orig)) in tipc_disc_recv_msg()
143 if (orig == tipc_own_addr) { in tipc_disc_recv_msg()
150 if (!in_own_cluster(orig)) in tipc_disc_recv_msg()
154 n_ptr = tipc_node_find(orig); in tipc_disc_recv_msg()
156 n_ptr = tipc_node_create(orig); in tipc_disc_recv_msg()
192 disc_dupl_alert(b_ptr, orig, &media_addr); in tipc_disc_recv_msg()
206 rbuf = tipc_disc_init_msg(DSC_RESP_MSG, orig, b_ptr); in tipc_disc_recv_msg()
/linux-2.6.39/net/batman-adv/
Dpacket.h61 uint8_t orig[6]; member
77 uint8_t orig[6]; member
92 uint8_t orig[6]; member
112 uint8_t orig[6]; member
119 uint8_t orig[6]; member
Drouting.c96 orig_node->orig); in update_route()
105 orig_node->orig, neigh_node->addr); in update_route()
114 orig_node->orig, neigh_node->addr, in update_route()
161 orig_neigh_node->orig)) in is_bidirectional_neigh()
177 orig_neigh_node->orig, in is_bidirectional_neigh()
190 orig_neigh_node->orig)) in is_bidirectional_neigh()
206 orig_neigh_node->orig, in is_bidirectional_neigh()
256 orig_node->orig, orig_neigh_node->orig, total_count, in is_bidirectional_neigh()
297 if (!compare_eth(orig_node->orig, in bonding_candidate_add()
364 memcpy(orig_neigh_node->primary_addr, orig_node->orig, ETH_ALEN); in bonding_save_primary()
[all …]
Dgateway_client.c187 curr_gw_tmp->orig_node->orig, in gw_election()
194 curr_gw_tmp->orig_node->orig, in gw_election()
283 orig_node->orig, new_gwflags, in gw_node_add()
304 orig_node->orig, gw_node->orig_node->gw_flags, in gw_node_update()
313 orig_node->orig); in gw_node_update()
377 gw_node->orig_node->orig, in _write_buffer_text()
/linux-2.6.39/arch/sparc/mm/
Dtlb.c46 void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t orig) in tlb_batch_add() argument
52 if (pte_exec(orig)) in tlb_batch_add()
56 pte_dirty(orig)) { in tlb_batch_add()
57 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add()
/linux-2.6.39/net/ipv6/netfilter/
Dnf_conntrack_reasm.c55 struct sk_buff *orig; member
115 if (NFCT_FRAG6_CB(skb)->orig) in nf_skb_free()
116 kfree_skb(NFCT_FRAG6_CB(skb)->orig); in nf_skb_free()
389 NFCT_FRAG6_CB(clone)->orig = NULL; in nf_ct_frag6_reasm()
432 if (fp && NFCT_FRAG6_CB(fp)->orig == NULL) in nf_ct_frag6_reasm()
436 op = NFCT_FRAG6_CB(head)->orig; in nf_ct_frag6_reasm()
438 struct sk_buff *orig = NFCT_FRAG6_CB(fp)->orig; in nf_ct_frag6_reasm() local
440 op->next = orig; in nf_ct_frag6_reasm()
441 op = orig; in nf_ct_frag6_reasm()
442 NFCT_FRAG6_CB(fp)->orig = NULL; in nf_ct_frag6_reasm()
[all …]
Dnf_conntrack_proto_icmpv6.c69 const struct nf_conntrack_tuple *orig) in icmpv6_invert_tuple() argument
71 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple()
75 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmpv6_invert_tuple()
77 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmpv6_invert_tuple()
/linux-2.6.39/arch/x86/include/asm/
Dpgtable-3level.h112 union split_pmd res, *orig = (union split_pmd *)pmdp; in native_pmdp_get_and_clear() local
115 res.pmd_low = xchg(&orig->pmd_low, 0); in native_pmdp_get_and_clear()
116 res.pmd_high = orig->pmd_high; in native_pmdp_get_and_clear()
117 orig->pmd_high = 0; in native_pmdp_get_and_clear()
/linux-2.6.39/arch/ia64/lib/
Dstrlen.S73 #define orig r17 macro
89 mov orig=in0 // keep trackof initial byte address
143 sub ret0=src,orig // distance from base
185 sub ret0=base,orig // distance from base
Dstrlen_user.S75 #define orig r17 macro
91 mov orig=in0 // keep trackof initial byte address
146 sub ret0=src,orig // distance from origin
182 sub ret0=base,orig // distance from base
/linux-2.6.39/arch/m68k/include/asm/
Dentry_mm.h69 pea -1:w | orig d0
76 movel %d0,%sp@- | orig d0
84 addql #4,%sp | orig d0
/linux-2.6.39/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c56 const struct nf_conntrack_tuple *orig) in icmp_invert_tuple() argument
58 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple()
59 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple()
62 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmp_invert_tuple()
63 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple()
64 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple()
/linux-2.6.39/arch/mips/txx9/generic/
Dsmsc_fdc37m81x.c138 u8 orig; in smsc_fdc37m81x_config_dump() local
143 orig = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DNUM); in smsc_fdc37m81x_config_dump()
168 smsc_dc37m81x_wr(SMSC_FDC37M81X_DNUM, orig); in smsc_fdc37m81x_config_dump()
/linux-2.6.39/include/linux/
Dthermal.h143 u32 orig; member
177 extern int generate_netlink_event(u32 orig, enum events event);
179 static inline int generate_netlink_event(u32 orig, enum events event) in generate_netlink_event() argument
/linux-2.6.39/drivers/usb/host/
Dohci-s3c2410.c95 int orig; in ohci_s3c2410_hub_status_data() local
98 orig = ohci_hub_status_data (hcd, buf); in ohci_s3c2410_hub_status_data()
101 return orig; in ohci_s3c2410_hub_status_data()
113 if (orig < 1) in ohci_s3c2410_hub_status_data()
114 orig = 1; in ohci_s3c2410_hub_status_data()
120 return orig; in ohci_s3c2410_hub_status_data()
/linux-2.6.39/include/linux/netfilter_bridge/
Debt_802_3.h32 __u8 orig[3]; member
40 __u8 orig[3]; member
/linux-2.6.39/include/linux/sunrpc/
Dcache.h96 int (*match)(struct cache_head *orig, struct cache_head *new);
97 void (*init)(struct cache_head *orig, struct cache_head *new);
98 void (*update)(struct cache_head *orig, struct cache_head *new);
/linux-2.6.39/net/xfrm/
Dxfrm_state.c1133 static struct xfrm_state *xfrm_state_clone(struct xfrm_state *orig, int *errp) in xfrm_state_clone() argument
1135 struct net *net = xs_net(orig); in xfrm_state_clone()
1141 memcpy(&x->id, &orig->id, sizeof(x->id)); in xfrm_state_clone()
1142 memcpy(&x->sel, &orig->sel, sizeof(x->sel)); in xfrm_state_clone()
1143 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1144 x->props.mode = orig->props.mode; in xfrm_state_clone()
1145 x->props.replay_window = orig->props.replay_window; in xfrm_state_clone()
1146 x->props.reqid = orig->props.reqid; in xfrm_state_clone()
1147 x->props.family = orig->props.family; in xfrm_state_clone()
1148 x->props.saddr = orig->props.saddr; in xfrm_state_clone()
[all …]
/linux-2.6.39/include/linux/netfilter/ipset/
Dip_set_ahash.h298 struct htable *t, *orig = h->table; in type_pf_resize() local
299 u8 htable_bits = orig->htable_bits; in type_pf_resize()
309 set->name, orig->htable_bits, htable_bits, orig); in type_pf_resize()
320 for (i = 0; i < jhash_size(orig->htable_bits); i++) { in type_pf_resize()
321 n = hbucket(orig, i); in type_pf_resize()
343 orig->htable_bits, orig, t->htable_bits, t); in type_pf_resize()
344 ahash_destroy(orig); in type_pf_resize()
720 struct htable *t, *orig = h->table; in type_pf_tresize() local
721 u8 htable_bits = orig->htable_bits; in type_pf_tresize()
750 for (i = 0; i < jhash_size(orig->htable_bits); i++) { in type_pf_tresize()
[all …]

123456