Lines Matching refs:sce
91 void http_chunk_append_file_ref_range(request_st * const r, stat_cache_entry * const sce, const off… in http_chunk_append_file_ref_range() argument
94 if (sce->st.st_size - offset < len) in http_chunk_append_file_ref_range()
95 len = sce->st.st_size - offset; in http_chunk_append_file_ref_range()
102 const buffer * const fn = &sce->name; in http_chunk_append_file_ref_range()
103 const int fd = sce->fd; in http_chunk_append_file_ref_range()
107 d->file.ref = sce; in http_chunk_append_file_ref_range()
109 stat_cache_entry_refchg(sce, 1); in http_chunk_append_file_ref_range()
141 int http_chunk_append_file_ref(request_st * const r, stat_cache_entry * const sce) { in http_chunk_append_file_ref() argument
142 const off_t sz = sce->st.st_size; in http_chunk_append_file_ref()
144 http_chunk_append_file_ref_range(r, sce, 0, sz); in http_chunk_append_file_ref()
149 const buffer * const fn = &sce->name; in http_chunk_append_file_ref()
150 const int fd = sce->fd; in http_chunk_append_file_ref()