/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 114 inline int bpfFdPin(const base::unique_fd& map_fd, const char* pathname) { in bpfFdPin() argument 116 .pathname = ptr_to_u64(pathname), in bpfFdPin() 121 inline int bpfFdGet(const char* pathname, uint32_t flag) { in bpfFdGet() argument 123 .pathname = ptr_to_u64(pathname), in bpfFdGet() 128 inline int mapRetrieve(const char* pathname, uint32_t flag) { in mapRetrieve() argument 129 return bpfFdGet(pathname, flag); in mapRetrieve() 132 inline int mapRetrieveRW(const char* pathname) { in mapRetrieveRW() argument 133 return mapRetrieve(pathname, 0); in mapRetrieveRW() 136 inline int mapRetrieveRO(const char* pathname) { in mapRetrieveRO() argument 137 return mapRetrieve(pathname, BPF_F_RDONLY); in mapRetrieveRO() [all …]
|
D | BpfMap.h | 52 BpfMap<Key, Value>(const char* pathname, uint32_t flags) { 53 int map_fd = mapRetrieve(pathname, flags); 58 explicit BpfMap<Key, Value>(const char* pathname) : BpfMap<Key, Value>(pathname, 0) {} 255 explicit BpfMapRO<Key, Value>(const char* pathname) 256 : BpfMap<Key, Value>(pathname, BPF_F_RDONLY) {}
|
/system/iorap/src/inode2filename/ |
D | system_call.h | 30 virtual int stat(const char *pathname, struct stat *statbuf) = 0; 50 virtual int stat(const char *pathname, struct stat *statbuf) override { in stat() 51 return ::stat(pathname, statbuf); in stat()
|
/system/core/init/ |
D | compare-bootcharts.py | 78 def parse_proc_file(pathname, process_map, jiffy_record=None): argument 80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
|
D | util.h | 55 bool mkdir_recursive(const std::string& pathname, mode_t mode); 59 bool is_dir(const char* pathname);
|
D | util.cpp | 271 bool is_dir(const char* pathname) { in is_dir() argument 273 if (stat(pathname, &info) == -1) { in is_dir()
|
D | README.md | 135 service <name> <pathname> [ <argument> ]*
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 66 void *files_db_lookup(char *pathname) in files_db_lookup() argument 71 hash = jenkins_one_at_a_time_hash(pathname, strlen(pathname)); in files_db_lookup() 75 if (strcmp(db_node->filename, pathname) == 0) in files_db_lookup()
|
D | compile_ioshark.c | 176 get_pathname(char *buf, char *pathname, enum file_op file_op) in get_pathname() argument 216 strcpy(pathname, s); in get_pathname()
|
/system/netd/libnetdutils/ |
D | Syscalls.cpp | 44 StatusOr<UniqueFd> open(const std::string& pathname, int flags, mode_t mode) const override { in open() argument 45 UniqueFd fd(::open(pathname.c_str(), flags, mode)); in open() 47 return statusFromErrno(errno, "open(\"" + pathname + "\"...) failed"); in open()
|
/system/vold/ |
D | Utils.cpp | 934 status_t DeleteDirContentsAndDir(const std::string& pathname) { in DeleteDirContentsAndDir() argument 935 status_t res = DeleteDirContents(pathname); in DeleteDirContentsAndDir() 939 if (TEMP_FAILURE_RETRY(rmdir(pathname.c_str())) < 0 && errno != ENOENT) { in DeleteDirContentsAndDir() 940 PLOG(ERROR) << "rmdir failed on " << pathname; in DeleteDirContentsAndDir() 943 LOG(VERBOSE) << "Success: rmdir on " << pathname; in DeleteDirContentsAndDir() 947 status_t DeleteDirContents(const std::string& pathname) { in DeleteDirContents() argument 949 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(pathname.c_str()), closedir); in DeleteDirContents() 954 PLOG(ERROR) << "Failed to opendir " << pathname; in DeleteDirContents()
|
D | Utils.h | 142 status_t DeleteDirContentsAndDir(const std::string& pathname); 143 status_t DeleteDirContents(const std::string& pathname);
|
/system/core/adb/ |
D | sysdeps.h | 435 static inline int adb_open_mode(const char* pathname, int options, int mode) { in adb_open_mode() argument 436 return TEMP_FAILURE_RETRY(open(pathname, options, mode)); in adb_open_mode() 446 static inline int adb_open(const char* pathname, int options) { in adb_open() argument 447 int fd = TEMP_FAILURE_RETRY(open(pathname, options)); in adb_open()
|
/system/netd/libnetdutils/include/netdutils/ |
D | MockSyscalls.h | 37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
|
D | Syscalls.h | 45 virtual StatusOr<UniqueFd> open(const std::string& pathname, int flags,
|
/system/core/logcat/ |
D | logcat.cpp | 114 static int openLogFile(const char* pathname, size_t sizeKB) { in openLogFile() argument 115 int fd = open(pathname, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP); in openLogFile() 127 static void closeLogFile(const char* pathname) { in closeLogFile() argument 128 int fd = open(pathname, O_WRONLY | O_CLOEXEC); in closeLogFile()
|
/system/extras/app-launcher/ |
D | README | 53 (b) (Optional) Add code to get the /system block device pathname. This is
|
/system/extras/ioblame/ |
D | README | 87 the pathname of the file and the amount of data written out. 221 Allowing ioblame to track <pathname, amount of data written>
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 2433 virtual int stat(const char *pathname, struct stat *statbuf) override { in stat() argument 2434 if (pathname == nullptr || statbuf == nullptr) { in stat() 2439 std::optional<PathEntry> maybe_path_entry = path_entries_.GetEntryFor(pathname); in stat()
|