Lines Matching refs:__builtin_expect
635 if (__builtin_expect( (len > 0), 1)) { in chunkqueue_use_memory()
709 if (__builtin_expect( (NULL == c), 0)) break; in chunkqueue_steal()
718 if (__builtin_expect( (0 != clen), 1)) { in chunkqueue_steal()
957 if (__builtin_expect( (iovcnt == sizeof(iov)/sizeof(*iov)), 0)) in chunkqueue_append_cqmem_to_tempfile()
960 if (__builtin_expect( (c != NULL), 0) && dest->first->type == MEM_CHUNK) { in chunkqueue_append_cqmem_to_tempfile()
969 if (__builtin_expect( (iovcnt < sizeof(iov)/sizeof(*iov)), 1)) { in chunkqueue_append_cqmem_to_tempfile()
978 if (__builtin_expect( (iovcnt == sizeof(iov)/sizeof(*iov)), 0)) in chunkqueue_append_cqmem_to_tempfile()
983 if (__builtin_expect( (0 == iovcnt), 0)) return 0; /*(should not happen)*/ in chunkqueue_append_cqmem_to_tempfile()
1003 if (__builtin_expect( (wr < dlen), 0)) in chunkqueue_append_cqmem_to_tempfile()
1059 if (__builtin_expect( (0 != rc), 0)) return rc; in chunkqueue_append_splice_pipe_tempfile()
1066 if (__builtin_expect( (NULL == c), 0)) return -errno; in chunkqueue_append_splice_pipe_tempfile()
1072 if (__builtin_expect(((size_t)wr == len), 1)) { in chunkqueue_append_splice_pipe_tempfile()
1155 if (__builtin_expect( (wr <= 0), 0)) in chunkqueue_append_splice_sock_tempfile()
1174 if (__builtin_expect( (NULL == c), 0)) break; in chunkqueue_steal_with_tempfiles()
1180 if (__builtin_expect( (clen < 0), 0)) return -1; in chunkqueue_steal_with_tempfiles()
1419 if (__builtin_expect( (wr >= 0), 1) || (errno != EINVAL && errno != ENOSYS)) in chunkqueue_write_chunk_file()
1471 if (__builtin_expect( (0 == len), 0)) return 0; in chunkqueue_write_chunk_to_pipe()
1522 if (__builtin_expect( (0 == len), 1)) in chunkqueue_small_resp_optim()
1529 else if (__builtin_expect( (cq->first != c), 0)) { in chunkqueue_small_resp_optim()
1568 if (__builtin_expect( (0 == have), 0)) in chunkqueue_peek_data()
1583 if (__builtin_expect( (0 == len), 0)) in chunkqueue_peek_data()
1746 if (__builtin_expect( (MAP_FAILED == cfv->mptr), 0)) { in chunkqueue_chunk_file_viewadj()
1747 if (__builtin_expect( (errno == EINVAL), 0)) { in chunkqueue_chunk_file_viewadj()
1753 if (__builtin_expect( (MAP_FAILED == cfv->mptr), 0)) { in chunkqueue_chunk_file_viewadj()