/linux-master/samples/bpf/ |
H A D | tcbpf1_kern.c | 37 static inline void set_tcp_ip_src(struct __sk_buff *skb, __u32 new_ip) argument 41 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_ip, new_ip, IS_PSEUDO | sizeof(new_ip)); 42 bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip)); 43 bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0);
|
H A D | test_lwt_bpf.c | 85 uint32_t new_ip, int rw_daddr) 112 ret = bpf_l4_csum_replace(skb, off, old_ip, new_ip, 113 flags | sizeof(new_ip)); 120 ret = bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip)); 127 ret = bpf_skb_store_bytes(skb, IP_DST_OFF, &new_ip, sizeof(new_ip), 0); 129 ret = bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0); 143 uint32_t old_ip, new_ip local 84 rewrite(struct __sk_buff *skb, uint32_t old_ip, uint32_t new_ip, int rw_daddr) argument [all...] |
/linux-master/fs/jfs/ |
H A D | namei.c | 1075 struct inode *new_ip; local 1102 new_ip = d_inode(new_dentry); 1124 if ((!new_ip) || (ino != new_ip->i_ino)) { 1130 else if (new_ip) { 1137 if (new_ip) { 1138 if (!dtEmpty(new_ip)) { 1143 } else if (new_ip) { 1144 IWRITE_LOCK(new_ip, RDWRLOCK_NORMAL); 1146 rc = dquot_initialize(new_ip); [all...] |
/linux-master/fs/ |
H A D | compat_binfmt_elf.c | 104 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ 105 compat_start_thread(regs, new_ip, new_sp)
|
/linux-master/net/netfilter/ |
H A D | xt_NETMAP.c | 73 __be32 new_ip, netmask; local 87 new_ip = ip_hdr(skb)->daddr & ~netmask; 89 new_ip = ip_hdr(skb)->saddr & ~netmask; 90 new_ip |= mr->range[0].min_ip & netmask; 95 newrange.min_addr.ip = new_ip; 96 newrange.max_addr.ip = new_ip;
|
/linux-master/arch/x86/include/asm/ |
H A D | elf.h | 175 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32); 176 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ 177 compat_start_thread(regs, new_ip, new_sp, ex->e_machine == EM_X86_64)
|
H A D | processor.h | 651 extern void start_thread(struct pt_regs *regs, unsigned long new_ip,
|
/linux-master/arch/x86/kernel/ |
H A D | process_64.c | 530 start_thread_common(struct pt_regs *regs, unsigned long new_ip, argument 549 regs->ip = new_ip; 582 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) argument 584 start_thread_common(regs, new_ip, new_sp, 590 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32) argument 592 start_thread_common(regs, new_ip, new_sp,
|
H A D | process_32.c | 112 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) argument 120 regs->ip = new_ip;
|
H A D | uprobes.c | 640 unsigned long new_ip = regs->ip += auprobe->branch.ilen; local 653 if (emulate_push_stack(regs, new_ip)) 659 regs->ip = new_ip + offs;
|