tf                 17 core/ngx_file.c ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain)
tf                 21 core/ngx_file.c     if (tf->file.fd == NGX_INVALID_FILE) {
tf                 22 core/ngx_file.c         rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool,
tf                 23 core/ngx_file.c                                   tf->persistent, tf->clean, tf->access);
tf                 29 core/ngx_file.c         if (tf->log_level) {
tf                 30 core/ngx_file.c             ngx_log_error(tf->log_level, tf->file.log, 0, "%s %V",
tf                 31 core/ngx_file.c                           tf->warn, &tf->file.name);
tf                 35 core/ngx_file.c     return ngx_write_chain_to_file(&tf->file, chain, tf->offset, tf->pool);
tf                123 core/ngx_file.h ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
tf                132 http/ngx_http_cache.h void ngx_http_file_cache_update(ngx_http_request_t *r, ngx_temp_file_t *tf);
tf                134 http/ngx_http_cache.h void ngx_http_file_cache_free(ngx_http_cache_t *c, ngx_temp_file_t *tf);
tf               1142 http/ngx_http_core_module.c     ngx_http_try_file_t          *tf;
tf               1165 http/ngx_http_core_module.c     tf = clcf->try_files;
tf               1171 http/ngx_http_core_module.c         if (tf->lengths) {
tf               1174 http/ngx_http_core_module.c             e.ip = tf->lengths->elts;
tf               1186 http/ngx_http_core_module.c             len = tf->name.len;
tf               1205 http/ngx_http_core_module.c         if (tf->values == NULL) {
tf               1209 http/ngx_http_core_module.c             ngx_memcpy(name, tf->name.data, tf->name.len);
tf               1211 http/ngx_http_core_module.c             path.len = (name + tf->name.len - 1) - path.data;
tf               1214 http/ngx_http_core_module.c             e.ip = tf->values->elts;
tf               1233 http/ngx_http_core_module.c         test_dir = tf->test_dir;
tf               1235 http/ngx_http_core_module.c         tf++;
tf               1241 http/ngx_http_core_module.c         if (tf->lengths == NULL && tf->name.len == 0) {
tf               1243 http/ngx_http_core_module.c             if (tf->code) {
tf               1244 http/ngx_http_core_module.c                 ngx_http_finalize_request(r, tf->code);
tf               4126 http/ngx_http_core_module.c     ngx_http_try_file_t        *tf;
tf               4138 http/ngx_http_core_module.c     tf = ngx_pcalloc(cf->pool, cf->args->nelts * sizeof(ngx_http_try_file_t));
tf               4139 http/ngx_http_core_module.c     if (tf == NULL) {
tf               4143 http/ngx_http_core_module.c     clcf->try_files = tf;
tf               4149 http/ngx_http_core_module.c         tf[i].name = value[i + 1];
tf               4151 http/ngx_http_core_module.c         if (tf[i].name.data[tf[i].name.len - 1] == '/') {
tf               4152 http/ngx_http_core_module.c             tf[i].test_dir = 1;
tf               4153 http/ngx_http_core_module.c             tf[i].name.len--;
tf               4154 http/ngx_http_core_module.c             tf[i].name.data[tf[i].name.len] = '\0';
tf               4157 http/ngx_http_core_module.c         n = ngx_http_script_variables_count(&tf[i].name);
tf               4163 http/ngx_http_core_module.c             sc.source = &tf[i].name;
tf               4164 http/ngx_http_core_module.c             sc.lengths = &tf[i].lengths;
tf               4165 http/ngx_http_core_module.c             sc.values = &tf[i].values;
tf               4176 http/ngx_http_core_module.c             tf[i].name.len++;
tf               4180 http/ngx_http_core_module.c     if (tf[i - 1].name.data[0] == '=') {
tf               4182 http/ngx_http_core_module.c         code = ngx_atoi(tf[i - 1].name.data + 1, tf[i - 1].name.len - 2);
tf               4187 http/ngx_http_core_module.c                                tf[i - 1].name.len - 1, tf[i - 1].name.data);
tf               4191 http/ngx_http_core_module.c         tf[i].code = code;
tf                778 http/ngx_http_file_cache.c ngx_http_file_cache_update(ngx_http_request_t *r, ngx_temp_file_t *tf)
tf                807 http/ngx_http_file_cache.c                    tf->file.name.data, c->file.name.data);
tf                816 http/ngx_http_file_cache.c     rc = ngx_ext_rename_file(&tf->file.name, &c->file.name, &ext);
tf                820 http/ngx_http_file_cache.c         if (ngx_fd_info(tf->file.fd, &fi) == NGX_FILE_ERROR) {
tf                822 http/ngx_http_file_cache.c                           ngx_fd_info_n " \"%s\" failed", tf->file.name.data);
tf                908 http/ngx_http_file_cache.c ngx_http_file_cache_free(ngx_http_cache_t *c, ngx_temp_file_t *tf)
tf                952 http/ngx_http_file_cache.c         if (tf && tf->file.fd != NGX_INVALID_FILE) {
tf                955 http/ngx_http_file_cache.c                            tf->file.name.data);
tf                957 http/ngx_http_file_cache.c             if (ngx_delete_file(tf->file.name.data) == NGX_FILE_ERROR) {
tf                960 http/ngx_http_file_cache.c                               tf->file.name.data);
tf                 35 http/ngx_http_request_body.c     ngx_temp_file_t           *tf;
tf                 67 http/ngx_http_request_body.c             tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t));
tf                 68 http/ngx_http_request_body.c             if (tf == NULL) {
tf                 72 http/ngx_http_request_body.c             tf->file.fd = NGX_INVALID_FILE;
tf                 73 http/ngx_http_request_body.c             tf->file.log = r->connection->log;
tf                 74 http/ngx_http_request_body.c             tf->path = clcf->client_body_temp_path;
tf                 75 http/ngx_http_request_body.c             tf->pool = r->pool;
tf                 76 http/ngx_http_request_body.c             tf->warn = "a client request body is buffered to a temporary file";
tf                 77 http/ngx_http_request_body.c             tf->log_level = r->request_body_file_log_level;
tf                 78 http/ngx_http_request_body.c             tf->persistent = r->request_body_in_persistent_file;
tf                 79 http/ngx_http_request_body.c             tf->clean = r->request_body_in_clean_file;
tf                 82 http/ngx_http_request_body.c                 tf->access = 0660;
tf                 85 http/ngx_http_request_body.c             rb->temp_file = tf;
tf                 87 http/ngx_http_request_body.c             if (ngx_create_temp_file(&tf->file, tf->path, tf->pool,
tf                 88 http/ngx_http_request_body.c                                      tf->persistent, tf->clean, tf->access)
tf                388 http/ngx_http_request_body.c     ngx_temp_file_t           *tf;
tf                395 http/ngx_http_request_body.c         tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t));
tf                396 http/ngx_http_request_body.c         if (tf == NULL) {
tf                402 http/ngx_http_request_body.c         tf->file.fd = NGX_INVALID_FILE;
tf                403 http/ngx_http_request_body.c         tf->file.log = r->connection->log;
tf                404 http/ngx_http_request_body.c         tf->path = clcf->client_body_temp_path;
tf                405 http/ngx_http_request_body.c         tf->pool = r->pool;
tf                406 http/ngx_http_request_body.c         tf->warn = "a client request body is buffered to a temporary file";
tf                407 http/ngx_http_request_body.c         tf->log_level = r->request_body_file_log_level;
tf                408 http/ngx_http_request_body.c         tf->persistent = r->request_body_in_persistent_file;
tf                409 http/ngx_http_request_body.c         tf->clean = r->request_body_in_clean_file;
tf                412 http/ngx_http_request_body.c             tf->access = 0660;
tf                415 http/ngx_http_request_body.c         rb->temp_file = tf;
tf               2619 http/ngx_http_upstream.c     ngx_temp_file_t      *tf;
tf               2632 http/ngx_http_upstream.c             tf = u->pipe->temp_file;
tf               2638 http/ngx_http_upstream.c                         || (u->headers_in.content_length_n == tf->offset)))
tf               2647 http/ngx_http_upstream.c             if (del && tf->file.fd != NGX_INVALID_FILE) {
tf               2649 http/ngx_http_upstream.c                 if (ngx_delete_file(tf->file.name.data) == NGX_FILE_ERROR) {
tf               2706 http/ngx_http_upstream.c     ngx_temp_file_t        *tf;
tf               2709 http/ngx_http_upstream.c     tf = u->pipe->temp_file;
tf               2711 http/ngx_http_upstream.c     if (tf->file.fd == NGX_INVALID_FILE) {
tf               2715 http/ngx_http_upstream.c         tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t));
tf               2716 http/ngx_http_upstream.c         if (tf == NULL) {
tf               2720 http/ngx_http_upstream.c         tf->file.fd = NGX_INVALID_FILE;
tf               2721 http/ngx_http_upstream.c         tf->file.log = r->connection->log;
tf               2722 http/ngx_http_upstream.c         tf->path = u->conf->temp_path;
tf               2723 http/ngx_http_upstream.c         tf->pool = r->pool;
tf               2724 http/ngx_http_upstream.c         tf->persistent = 1;
tf               2726 http/ngx_http_upstream.c         if (ngx_create_temp_file(&tf->file, tf->path, tf->pool,
tf               2727 http/ngx_http_upstream.c                                  tf->persistent, tf->clean, tf->access)
tf               2733 http/ngx_http_upstream.c         u->pipe->temp_file = tf;
tf               2750 http/ngx_http_upstream.c             ext.fd = tf->file.fd;
tf               2771 http/ngx_http_upstream.c                    tf->file.name.data, path.data);
tf               2773 http/ngx_http_upstream.c     (void) ngx_ext_rename_file(&tf->file.name, &path, &ext);