Searched refs:bpf_lookup_elem (Results 1 – 8 of 8) sorted by relevance
/external/bcc/src/lua/bcc/ |
D | table.lua | 89 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) < 0 then 108 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) < 0 then 143 assert(libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) == 0) 213 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) ~= 0 then 293 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pstack) < 0 then
|
/external/bcc/src/python/bcc/ |
D | libbcc.py | 74 lib.bpf_lookup_elem.restype = ct.c_int 75 lib.bpf_lookup_elem.argtypes = [ct.c_int, ct.c_void_p, ct.c_void_p]
|
D | table.py | 209 res = lib.bpf_lookup_elem(self.map_fd, ct.byref(key), ct.byref(leaf))
|
/external/bcc/src/cc/ |
D | libbpf.h | 38 int bpf_lookup_elem(int fd, void *key, void *value);
|
D | libbpf.c | 237 int bpf_lookup_elem(int fd, void *key, void *value) in bpf_lookup_elem() function 284 if (bpf_lookup_elem(fd, key, (void *)~0) >= 0) in bpf_get_first_key()
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 38 int bpf_lookup_elem(int fd, void *key, void *value);
|
/external/bcc/src/cc/api/ |
D | BPFTable.h | 71 return bpf_lookup_elem(desc.fd, key, value) >= 0; in lookup()
|
D | BPFTable.cc | 206 err = bpf_lookup_elem(desc.fd, &i, value.get()); in get_table_offline()
|