• Home
  • Raw
  • Download

Lines Matching refs:key

49 	struct bpf_cgroup_storage_map *map, struct bpf_cgroup_storage_key *key,  in cgroup_storage_lookup()  argument
64 switch (bpf_cgroup_storage_key_cmp(key, &storage->key)) { in cgroup_storage_lookup()
96 switch (bpf_cgroup_storage_key_cmp(&storage->key, &this->key)) { in cgroup_storage_insert()
117 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_lookup_elem() local
120 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
130 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_update_elem() local
145 key, false); in cgroup_storage_update_elem()
174 struct bpf_cgroup_storage_key *key = _key; in bpf_percpu_cgroup_storage_copy() local
180 storage = cgroup_storage_lookup(map, key, false); in bpf_percpu_cgroup_storage_copy()
204 struct bpf_cgroup_storage_key *key = _key; in bpf_percpu_cgroup_storage_update() local
213 storage = cgroup_storage_lookup(map, key, false); in bpf_percpu_cgroup_storage_update()
239 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_get_next_key() local
248 if (key) { in cgroup_storage_get_next_key()
249 storage = cgroup_storage_lookup(map, key, true); in cgroup_storage_get_next_key()
262 next->attach_type = storage->key.attach_type; in cgroup_storage_get_next_key()
263 next->cgroup_inode_id = storage->key.cgroup_inode_id; in cgroup_storage_get_next_key()
328 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem() argument
380 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_seq_show_elem() local
385 storage = cgroup_storage_lookup(map_to_storage(map), key, false); in cgroup_storage_seq_show_elem()
391 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m); in cgroup_storage_seq_show_elem()
571 storage->key.attach_type = type; in bpf_cgroup_storage_link()
572 storage->key.cgroup_inode_id = cgroup->kn->id.id; in bpf_cgroup_storage_link()