Home
last modified time | relevance | path

Searched refs:the_map (Results 1 – 3 of 3) sorted by relevance

/system/bpf/progs/include/
Dbpf_helpers.h65 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, usr, grp, md) \ argument
66 const struct bpf_map_def SEC("maps") the_map = { \
76 static inline __always_inline __unused TypeOfValue* bpf_##the_map##_lookup_elem( \
78 return bpf_map_lookup_elem_unsafe(&the_map, k); \
81 static inline __always_inline __unused int bpf_##the_map##_update_elem( \
83 return bpf_map_update_elem_unsafe(&the_map, k, v, flags); \
86 static inline __always_inline __unused int bpf_##the_map##_delete_elem(const TypeOfKey* k) { \
87 return bpf_map_delete_elem_unsafe(&the_map, k); \
90 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
91 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600)
[all …]
/system/update_engine/payload_generator/
Dinplace_generator.h201 const std::map<uint64_t, uint64_t>& the_map);
Dinplace_generator.cc708 const map<uint64_t, uint64_t>& the_map) { in ApplyMap() argument
710 const auto& map_it = the_map.find(elem); in ApplyMap()
711 if (map_it != the_map.end()) in ApplyMap()