• Home
  • Raw
  • Download

Lines Matching refs:key

68 		      void *key, bool locked)  in cgroup_storage_lookup()  argument
82 switch (bpf_cgroup_storage_key_cmp(map, key, &storage->key)) { in cgroup_storage_lookup()
114 switch (bpf_cgroup_storage_key_cmp(map, &storage->key, &this->key)) { in cgroup_storage_insert()
132 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key) in cgroup_storage_lookup_elem() argument
137 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
144 static int cgroup_storage_update_elem(struct bpf_map *map, void *key, in cgroup_storage_update_elem() argument
158 key, false); in cgroup_storage_update_elem()
182 int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_copy() argument
191 storage = cgroup_storage_lookup(map, key, false); in bpf_percpu_cgroup_storage_copy()
211 int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_update() argument
223 storage = cgroup_storage_lookup(map, key, false); in bpf_percpu_cgroup_storage_update()
245 static int cgroup_storage_get_next_key(struct bpf_map *_map, void *key, in cgroup_storage_get_next_key() argument
256 if (key) { in cgroup_storage_get_next_key()
257 storage = cgroup_storage_lookup(map, key, true); in cgroup_storage_get_next_key()
273 *next = storage->key; in cgroup_storage_get_next_key()
276 *next = storage->key.cgroup_inode_id; in cgroup_storage_get_next_key()
351 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem() argument
414 static void cgroup_storage_seq_show_elem(struct bpf_map *map, void *key, in cgroup_storage_seq_show_elem() argument
422 storage = cgroup_storage_lookup(map_to_storage(map), key, false); in cgroup_storage_seq_show_elem()
428 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m); in cgroup_storage_seq_show_elem()
576 storage->key.attach_type = type; in bpf_cgroup_storage_link()
577 storage->key.cgroup_inode_id = cgroup_id(cgroup); in bpf_cgroup_storage_link()