Lines Matching refs:sce

320 … http_response_send_file (request_st * const r, const buffer * const path, stat_cache_entry *sce) {  in http_response_send_file()  argument
321 if (__builtin_expect( (NULL == sce), 0) in http_response_send_file()
322 || (__builtin_expect( (sce->fd < 0), 0) && 0 != sce->st.st_size)) { in http_response_send_file()
323 sce = stat_cache_get_entry_open(path, r->conf.follow_symlink); in http_response_send_file()
324 if (NULL == sce) { in http_response_send_file()
330 if (sce->fd < 0 && __builtin_expect( (0 != sce->st.st_size), 0)) { in http_response_send_file()
353 if (__builtin_expect( (!S_ISREG(sce->st.st_mode)), 0)) { in http_response_send_file()
368 content_type = stat_cache_content_type_get(sce, r); in http_response_send_file()
386 stat_cache_etag_get(sce, r->conf.etag_flags); in http_response_send_file()
396 ? http_response_set_last_modified(r, sce->st.st_mtime) in http_response_send_file()
400 && HANDLER_FINISHED == http_response_handle_cachable(r, lmod, sce->st.st_mtime)) in http_response_send_file()
410 if (0 == sce->st.st_size || 0 == http_chunk_append_file_ref(r, sce)) { in http_response_send_file()
417 sce->st.st_size); in http_response_send_file()
496 stat_cache_entry *sce; in http_response_xsendfile2() local
543 sce = stat_cache_get_entry_open(b, r->conf.follow_symlink); in http_response_xsendfile2()
544 if (NULL == sce) { in http_response_xsendfile2()
550 } else if (!S_ISREG(sce->st.st_mode)) { in http_response_xsendfile2()
559 end_range = sce->st.st_size - 1; in http_response_xsendfile2()
600 http_chunk_append_file_ref_range(r, sce, begin_range, range_len); in http_response_xsendfile2()