Lines Matching refs:d_name
313 strcmp(dent->d_name, ".") == 0 ||
314 strcmp(dent->d_name, "..") == 0 ||
315 !name_in_tp_list(dent->d_name, tps))
317 format = malloc_or_die(strlen(sys) + strlen(dent->d_name) + 10);
318 sprintf(format, "%s/%s/format", sys, dent->d_name);
331 strcmp(dent->d_name, ".") == 0 ||
332 strcmp(dent->d_name, "..") == 0 ||
333 !name_in_tp_list(dent->d_name, tps))
335 format = malloc_or_die(strlen(sys) + strlen(dent->d_name) + 10);
336 sprintf(format, "%s/%s/format", sys, dent->d_name);
393 strcmp(dent->d_name, ".") == 0 ||
394 strcmp(dent->d_name, "..") == 0 ||
395 strcmp(dent->d_name, "ftrace") == 0 ||
396 !system_in_tp_list(dent->d_name, tps))
406 strcmp(dent->d_name, ".") == 0 ||
407 strcmp(dent->d_name, "..") == 0 ||
408 strcmp(dent->d_name, "ftrace") == 0 ||
409 !system_in_tp_list(dent->d_name, tps))
411 sys = malloc_or_die(strlen(path) + strlen(dent->d_name) + 2);
412 sprintf(sys, "%s/%s", path, dent->d_name);
415 write_or_die(dent->d_name, strlen(dent->d_name) + 1);