Lines Matching refs:rc
78 int rc;
80 rc = write_to_buf(_out_buff->data, _out_buff->size, &_out_buff->offset,
83 return rc;
89 int rc = 0;
92 rc = CUDBG_STATUS_OUTBUFF_OVERFLOW;
100 return rc;
119 int rc = 0;
138 rc = write_to_buf(_outbuf->data, _outbuf->size, &_outbuf->offset,
141 return rc;
151 int rc;
155 rc = get_scratch_buff(pout_buff, 10, &tmp_buffer);
157 if (rc)
162 rc = write_magic(pout_buff);
164 if (rc)
183 rc = write_chunk_header(pout_buff, 1, 0,
187 if (rc)
190 rc = write_to_buf(pout_buff->data, pout_buff->size,
193 if (rc)
196 rc = write_to_buf(pout_buff->data, pout_buff->size,
200 if (rc)
206 return rc;
216 int chunk_size, level = 2, rc = 0;
220 rc = get_scratch_buff(pout_buff, CUDBG_BLOCK_SIZE, &tmp_buffer);
222 if (rc)
243 rc = write_chunk_header(pout_buff, 17, 1, chunk_size, checksum,
246 if (rc)
249 rc = write_to_buf(pout_buff->data, pout_buff->size,
252 if (rc)
262 rc = write_chunk_header(pout_buff, 17, 0, bytes_read, checksum,
265 if (rc)
268 rc = write_to_buf(pout_buff->data, pout_buff->size,
271 if (rc)
280 return rc;
357 int chunk_id, chunk_options, rc;
362 rc = get_scratch_buff(pd_buff, CUDBG_BLOCK_SIZE,
365 if (rc)
368 rc = get_scratch_buff(pd_buff, CUDBG_BLOCK_SIZE,
370 if (rc)
382 rc = read_chunk_header(pc_buff, &chunk_id, &chunk_options,
385 if (rc != 0)
422 rc = get_scratch_buff(pd_buff, chunk_size,
424 if (rc)
427 rc = get_scratch_buff(pd_buff, chunk_size,
429 if (rc)
502 rc =
529 return rc;