Lines Matching refs:name

21     file->fd = open((char *) file->name, mode, access);  in nxt_file_open()
30 file->name, mode, access, file->fd, file->error); in nxt_file_open()
38 file->name, file->error); in nxt_file_open()
63 file->fd = syscall(SYS_openat2, dfd, file->name, &how, sizeof(how)); in nxt_file_openat2()
71 nxt_debug(task, "openat2(%FD, \"%FN\"): %FD err:%d", dfd, file->name, in nxt_file_openat2()
80 file->name, file->error); in nxt_file_openat2()
96 file->fd, file->name, nxt_errno); in nxt_file_close()
123 file->fd, file->name, buf, size, in nxt_file_write()
151 file->fd, file->name, buf, size, in nxt_file_read()
179 file->fd, file->name, size, nxt_errno); in nxt_file_read_ahead()
208 file->fd, file->name, offset, size, in nxt_file_read_ahead()
216 file->fd, file->name, offset, size, in nxt_file_read_ahead()
240 file->fd, file->name, nxt_errno); in nxt_file_read_ahead()
262 n = stat((char *) file->name, fi); in nxt_file_info()
266 nxt_thread_log_debug("stat(\"%FN)\": %d", file->name, n); in nxt_file_info()
274 file->name, file->error); in nxt_file_info()
293 file->fd, file->name, file->error); in nxt_file_info()
301 nxt_file_delete(nxt_file_name_t *name) in nxt_file_delete() argument
303 nxt_thread_log_debug("unlink(\"%FN\")", name); in nxt_file_delete()
305 if (nxt_fast_path(unlink((char *) name) == 0)) { in nxt_file_delete()
309 nxt_thread_log_alert("unlink(\"%FN\") failed %E", name, nxt_errno); in nxt_file_delete()
316 nxt_file_set_access(nxt_file_name_t *name, nxt_file_access_t access) in nxt_file_set_access() argument
318 if (nxt_fast_path(chmod((char *) name, access) == 0)) { in nxt_file_set_access()
322 nxt_thread_log_alert("chmod(\"%FN\") failed %E", name, nxt_errno); in nxt_file_set_access()
511 nxt_thread_log_debug("dup2(%FD, %FD, \"%FN\")", fd, file->fd, file->name); in nxt_file_redirect()
515 fd, file->fd, file->name, nxt_errno); in nxt_file_redirect()
521 fd, file->name, nxt_errno); in nxt_file_redirect()
535 file->fd, STDERR_FILENO, file->name); in nxt_file_stderr()
542 file->fd, STDERR_FILENO, file->name, nxt_errno); in nxt_file_stderr()