Lines Matching refs:d_name
158 (strcmp(dent->d_name, ".")) && \
159 (strcmp(dent->d_name, ".."))) \
178 if (!name_in_tp_list(dent->d_name, tps)) in copy_event_system()
181 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { in copy_event_system()
200 if (!name_in_tp_list(dent->d_name, tps)) in copy_event_system()
203 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { in copy_event_system()
278 if (strcmp(dent->d_name, "ftrace") == 0 || in record_event_files()
279 !system_in_tp_list(dent->d_name, tps)) in record_event_files()
293 if (strcmp(dent->d_name, "ftrace") == 0 || in record_event_files()
294 !system_in_tp_list(dent->d_name, tps)) in record_event_files()
297 if (asprintf(&sys, "%s/%s", path, dent->d_name) < 0) { in record_event_files()
303 ssize_t size = strlen(dent->d_name) + 1; in record_event_files()
305 if (write(output_fd, dent->d_name, size) != size || in record_event_files()
419 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
429 evt_dirent->d_name); in tracepoint_id_to_path()
447 MAX_EVENT_LENGTH, sys_dirent->d_name) < 0) { in tracepoint_id_to_path()
452 MAX_EVENT_LENGTH, evt_dirent->d_name) < 0) { in tracepoint_id_to_path()