Lines Matching refs:key
27 unsigned int key; in htab_lookup_fn() local
30 key = 7; in htab_lookup_fn()
31 bpf_map_lookup_elem_flags(ctx->fd, &key, &value, BPF_F_LOCK); in htab_lookup_fn()
44 unsigned int key; in htab_update_fn() local
46 key = 7; in htab_update_fn()
48 value.data = key; in htab_update_fn()
49 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
50 bpf_map_delete_elem(ctx->fd, &key); in htab_update_fn()
52 key = 24; in htab_update_fn()
54 value.data = key; in htab_update_fn()
55 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
56 bpf_map_delete_elem(ctx->fd, &key); in htab_update_fn()