Lines Matching refs:off
93 int (*map_direct_value_addr)(const struct bpf_map *map, u64 *imm, u32 off);
94 int (*map_direct_value_meta)(const struct bpf_map *map, u64 imm, u32 *off);
181 u32 off = map->spin_lock_off;
183 memcpy(dst, src, off);
184 memcpy(dst + off + sizeof(struct bpf_spin_lock), src + off + sizeof(struct bpf_spin_lock),
185 map->value_size - off - sizeof(struct bpf_spin_lock));
393 * if (range > 0) then [ptr, ptr + range - off) is safe to access
395 * if (off > 0) means that 'imm' was added
472 /* return true if 'size' wide access at offset 'off' within bpf_context
475 bool (*is_valid_access)(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog,
481 int (*btf_struct_access)(struct bpf_verifier_log *log, const struct btf_type *t, int off, int size,
490 int (*replace_insn)(struct bpf_verifier_env *env, u32 off, struct bpf_insn *insn);
491 int (*remove_insns)(struct bpf_verifier_env *env, u32 off, u32 cnt);
1021 typedef unsigned long (*bpf_ctx_copy_t)(void *dst, const void *src, unsigned long off, unsigned long len);
1430 bool btf_ctx_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog,
1432 int btf_struct_access(struct bpf_verifier_log *log, const struct btf_type *t, int off, int size,
1434 bool btf_struct_ids_match(struct bpf_verifier_log *log, int off, u32 id, u32 need_type_id);
1822 bool bpf_sock_common_is_valid_access(int off, int size, enum bpf_access_type type, struct bpf_insn_access_aux *info);
1823 bool bpf_sock_is_valid_access(int off, int size, enum bpf_access_type type, struct bpf_insn_access_aux *info);
1827 static inline bool bpf_sock_common_is_valid_access(int off, int size, enum bpf_access_type type,
1832 static inline bool bpf_sock_is_valid_access(int off, int size, enum bpf_access_type type,
1854 bool bpf_tcp_sock_is_valid_access(int off, int size, enum bpf_access_type type, struct bpf_insn_access_aux *info);
1859 bool bpf_xdp_sock_is_valid_access(int off, int size, enum bpf_access_type type, struct bpf_insn_access_aux *info);
1864 static inline bool bpf_tcp_sock_is_valid_access(int off, int size, enum bpf_access_type type,
1875 static inline bool bpf_xdp_sock_is_valid_access(int off, int size, enum bpf_access_type type,