Lines Matching defs:trace_file_name
233 * note: call this function only after trace_file_name is set up
261 if (hndl->trace_file_name == NULL)
379 * side effects trace_file_name and trace_buf_size in hndl
385 _tnfctl_create_tracefile(tnfctl_handle_t *hndl, const char *trace_file_name,
436 if (trace_file_name == NULL) {
439 if (trace_file_name[0] == '/') {
441 if ((strlen(trace_file_name) + 1) > (size_t) MAXPATHLEN) {
445 (void) strcpy(path, trace_file_name);
454 if ((strlen(cwd) + 1 + strlen(trace_file_name) + 1) >
459 (void) sprintf(path, "%s/%s", cwd, trace_file_name);
507 hndl->trace_file_name = strdup(path);
508 if (hndl->trace_file_name == NULL)
518 * side effects trace_buf_size, trace_min_size, trace_file_name in hndl
568 hndl->trace_file_name = NULL;
571 hndl->trace_file_name = preexisting;