Lines Matching defs:vmap
319 struct vmapinfo *vmap;
675 memset((char *)opt_state->vmap, 0, opt_state->maxval * sizeof(*opt_state->vmap));
697 opt_state->vmap[val].const_val = v0;
698 opt_state->vmap[val].is_const = 1;
729 a = opt_state->vmap[v0].const_val;
730 b = opt_state->vmap[v1].const_val;
974 if (opt_state->vmap[val].is_const) {
984 b->s.k += opt_state->vmap[val].const_val;
1045 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_X) {
1046 bpf_int32 v = opt_state->vmap[val].const_val;
1055 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) {
1056 bpf_int32 v = opt_state->vmap[val].const_val;
1112 if (alter && opt_state->vmap[v].is_const) {
1114 s->k += opt_state->vmap[v].const_val;
1144 if (alter && opt_state->vmap[val[A_ATOM]].is_const) {
1162 s->k = 0U - (bpf_u_int32)(opt_state->vmap[val[A_ATOM]].const_val);
1211 if (opt_state->vmap[val[A_ATOM]].is_const) {
1231 if (alter && opt_state->vmap[val[X_ATOM]].is_const) {
1232 if (opt_state->vmap[val[A_ATOM]].is_const) {
1238 s->k = opt_state->vmap[val[X_ATOM]].const_val;
1262 if (alter && opt_state->vmap[val[A_ATOM]].is_const
1263 && opt_state->vmap[val[A_ATOM]].const_val == 0) {
1290 if (alter && opt_state->vmap[v].is_const) {
1292 s->k = opt_state->vmap[v].const_val;
1304 if (alter && opt_state->vmap[v].is_const) {
1306 s->k = opt_state->vmap[v].const_val;
2033 free((void *)opt_state->vmap);
2218 opt_state->vmap = (struct vmapinfo *)calloc(opt_state->maxval, sizeof(*opt_state->vmap));
2219 if (opt_state->vmap == NULL) {