Lines Matching refs:iov_cnt_tmp
268 unsigned int iov_cnt_tmp; in test_discard_front() local
276 iov_cnt_tmp = iov_cnt; in test_discard_front()
277 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, 0); in test_discard_front()
280 g_assert(iov_cnt_tmp == iov_cnt); in test_discard_front()
286 iov_cnt_tmp = iov_cnt; in test_discard_front()
288 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, size + 1); in test_discard_front()
290 g_assert(iov_cnt_tmp == 0); in test_discard_front()
296 iov_cnt_tmp = iov_cnt; in test_discard_front()
298 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, size); in test_discard_front()
300 g_assert(iov_cnt_tmp == 0); in test_discard_front()
306 iov_cnt_tmp = iov_cnt; in test_discard_front()
309 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, size); in test_discard_front()
312 g_assert(iov_cnt_tmp == iov_cnt); in test_discard_front()
320 iov_cnt_tmp = iov_cnt; in test_discard_front()
321 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, iov->iov_len); in test_discard_front()
324 g_assert(iov_cnt_tmp == iov_cnt - 1); in test_discard_front()
330 iov_cnt_tmp = iov_cnt; in test_discard_front()
333 ret = iov_discard_front(&iov_tmp, &iov_cnt_tmp, size); in test_discard_front()
336 g_assert(iov_cnt_tmp == iov_cnt - 1); in test_discard_front()
349 unsigned int iov_cnt_tmp; in test_discard_front_undo() local
356 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
357 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, 0, &undo); in test_discard_front_undo()
367 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
369 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, size + 1, &undo); in test_discard_front_undo()
379 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
381 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, size, &undo); in test_discard_front_undo()
391 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
393 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, size, &undo); in test_discard_front_undo()
403 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
404 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, iov->iov_len, &undo); in test_discard_front_undo()
414 iov_cnt_tmp = iov_cnt; in test_discard_front_undo()
416 iov_discard_front_undoable(&iov_tmp, &iov_cnt_tmp, size, &undo); in test_discard_front_undo()
427 unsigned int iov_cnt_tmp; in test_discard_back() local
434 iov_cnt_tmp = iov_cnt; in test_discard_back()
435 ret = iov_discard_back(iov, &iov_cnt_tmp, 0); in test_discard_back()
437 g_assert(iov_cnt_tmp == iov_cnt); in test_discard_back()
442 iov_cnt_tmp = iov_cnt; in test_discard_back()
444 ret = iov_discard_back(iov, &iov_cnt_tmp, size + 1); in test_discard_back()
446 g_assert(iov_cnt_tmp == 0); in test_discard_back()
451 iov_cnt_tmp = iov_cnt; in test_discard_back()
453 ret = iov_discard_back(iov, &iov_cnt_tmp, size); in test_discard_back()
455 g_assert(iov_cnt_tmp == 0); in test_discard_back()
460 iov_cnt_tmp = iov_cnt; in test_discard_back()
463 ret = iov_discard_back(iov, &iov_cnt_tmp, size); in test_discard_back()
465 g_assert(iov_cnt_tmp == iov_cnt); in test_discard_back()
471 iov_cnt_tmp = iov_cnt; in test_discard_back()
474 ret = iov_discard_back(iov, &iov_cnt_tmp, size); in test_discard_back()
476 g_assert(iov_cnt_tmp == iov_cnt - 1); in test_discard_back()
481 iov_cnt_tmp = iov_cnt; in test_discard_back()
485 ret = iov_discard_back(iov, &iov_cnt_tmp, size); in test_discard_back()
487 g_assert(iov_cnt_tmp == iov_cnt - 1); in test_discard_back()
498 unsigned int iov_cnt_tmp; in test_discard_back_undo() local
504 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
505 iov_discard_back_undoable(iov, &iov_cnt_tmp, 0, &undo); in test_discard_back_undo()
514 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
516 iov_discard_back_undoable(iov, &iov_cnt_tmp, size + 1, &undo); in test_discard_back_undo()
525 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
527 iov_discard_back_undoable(iov, &iov_cnt_tmp, size, &undo); in test_discard_back_undo()
536 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
538 iov_discard_back_undoable(iov, &iov_cnt_tmp, size, &undo); in test_discard_back_undo()
547 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
549 iov_discard_back_undoable(iov, &iov_cnt_tmp, size, &undo); in test_discard_back_undo()
558 iov_cnt_tmp = iov_cnt; in test_discard_back_undo()
561 iov_discard_back_undoable(iov, &iov_cnt_tmp, size, &undo); in test_discard_back_undo()