Lines Matching refs:type
114 c->type = MEM_CHUNK; in chunk_init()
213 c->type = MEM_CHUNK; in chunk_reset_file_chunk()
217 if (c->type == FILE_CHUNK) chunk_reset_file_chunk(c); in chunk_reset()
224 if (c->type == FILE_CHUNK) chunk_reset_file_chunk(c); in chunk_free()
374 else if (c->type == FILE_CHUNK) { in chunk_release()
432 return (c->type == MEM_CHUNK in chunk_remaining_length()
482 c->type = FILE_CHUNK; in __attribute_nonnull__()
516 if (c != NULL && c->type == MEM_CHUNK in chunkqueue_append_mem_extend_chunk()
616 if (NULL != c && MEM_CHUNK == c->type) { in chunkqueue_get_memory()
638 if (cq->last == ckpt || NULL == ckpt || MEM_CHUNK != ckpt->type in chunkqueue_use_memory()
727 switch (c->type) { in chunkqueue_steal()
873 if (dst_c && dst_c->type == MEM_CHUNK in chunkqueue_append_mem_to_tempfile()
951 for (c = dest->first; c && c->type == MEM_CHUNK; c = c->next) { in chunkqueue_append_cqmem_to_tempfile()
960 if (__builtin_expect( (c != NULL), 0) && dest->first->type == MEM_CHUNK) { in chunkqueue_append_cqmem_to_tempfile()
970 for (c = src->first; c && c->type == MEM_CHUNK; c = c->next) { in chunkqueue_append_cqmem_to_tempfile()
1057 if (cq->first && cq->first->type == MEM_CHUNK) { in chunkqueue_append_splice_pipe_tempfile()
1178 if (c->type == MEM_CHUNK) { in chunkqueue_steal_with_tempfiles()
1194 switch (c->type) { in chunkqueue_steal_with_tempfiles()
1232 if (c->type == FILE_CHUNK) { in chunkqueue_append_cq_range()
1289 if (c->type != MEM_CHUNK) return; /*(should not happen)*/ in chunkqueue_compact_mem_offset()
1451 switch (c->type) { in chunkqueue_write_chunk()
1468 if (c->type == FILE_CHUNK) { in chunkqueue_write_chunk_to_pipe()
1498 if (filec != cq->last || filec->type != FILE_CHUNK || filec->file.fd < 0) in chunkqueue_small_resp_optim()
1562 switch (c->type) { in chunkqueue_peek_data()
1683 if (cq->first && NULL == cq->first->next && cq->first->type == MEM_CHUNK) in chunkqueue_read_squash()