Lines Matching refs:block_num
523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) in __v3_test_block_len() argument
527 "len:%u != actual len:%u\n", block_num, in __v3_test_block_len()
533 static void __v3_test_block_header(struct block_desc *pbd, const int block_num) in __v3_test_block_header() argument
536 fprintf(stderr, "\nblock %u: not in TP_STATUS_USER\n", block_num); in __v3_test_block_header()
543 static void __v3_walk_block(struct block_desc *pbd, const int block_num) in __v3_walk_block() argument
549 __v3_test_block_header(pbd, block_num); in __v3_walk_block()
571 __v3_test_block_len(pbd, bytes_with_padding, block_num); in __v3_walk_block()
583 unsigned int block_num = 0; in walk_v3_rx() local
600 pbd = (struct block_desc *) ring->rd[block_num].iov_base; in walk_v3_rx()
605 __v3_walk_block(pbd, block_num); in walk_v3_rx()
608 block_num = (block_num + 1) % ring->rd_num; in walk_v3_rx()