Searched refs:end_old (Results 1 – 2 of 2) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | core.c | 341 static int bpf_adj_delta_to_imm(struct bpf_insn *insn, u32 pos, s32 end_old, in bpf_adj_delta_to_imm() argument 345 s32 delta = end_new - end_old; in bpf_adj_delta_to_imm() 348 if (curr < pos && curr + imm + 1 >= end_old) in bpf_adj_delta_to_imm() 359 static int bpf_adj_delta_to_off(struct bpf_insn *insn, u32 pos, s32 end_old, in bpf_adj_delta_to_off() argument 363 s32 delta = end_new - end_old; in bpf_adj_delta_to_off() 375 if (curr < pos && curr + off + 1 >= end_old) in bpf_adj_delta_to_off() 390 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches() argument 393 u32 i, insn_cnt = prog->len + (probe_pass ? end_new - end_old : 0); in bpf_adj_branches() 406 insn = prog->insnsi + end_old; in bpf_adj_branches() 409 ret = bpf_adj_delta_to_imm(insn, pos, end_old, in bpf_adj_branches() [all …]
|
| /linux/mm/ |
| H A D | mremap.c | 916 unsigned long end_old = vrm->addr + vrm->old_len; in vrm_overlaps() local 929 if (end_old > start_new && end_new > start_old) in vrm_overlaps()
|