Lines Matching defs:bpf_dynptr
885 /* This already represents first slot of initialized bpf_dynptr.
7430 /* There are two register types representing a bpf_dynptr, one is PTR_TO_STACK
7437 * Mutability of bpf_dynptr is at two levels, one is at the level of struct
7438 * bpf_dynptr itself, i.e. whether the helper is receiving a pointer to struct
7439 * bpf_dynptr or pointer to const struct bpf_dynptr. In the former case, it can
7441 * case, it cannot mutate the bpf_dynptr itself but it can still mutate the
7444 * The verifier will keep track both levels of mutation (bpf_dynptr's in
7449 * where the pointer itself inside bpf_dynptr becomes const but not what it
7452 * Helpers which do not mutate the bpf_dynptr set MEM_RDONLY in their argument
7453 * type, and declare it as 'const struct bpf_dynptr *' in their prototype.
7463 "arg#%d expected pointer to stack or const struct bpf_dynptr\n",
7477 * constructing a mutable bpf_dynptr object.
7481 * contain an existing bpf_dynptr.
7483 * MEM_RDONLY - Points to a initialized bpf_dynptr that will not be
7509 /* For the reg->type == PTR_TO_STACK case, bpf_dynptr is never const */
7511 verbose(env, "cannot pass pointer to const bpf_dynptr, the helper mutates it\n");
8555 verbose(env, "cannot release unowned const bpf_dynptr\n");
10929 BTF_ID(struct, bpf_dynptr)