Lines Matching refs:test
50 struct kfifo_rec_ptr_1 test; variable
55 static mytest test; variable
80 kfifo_in(&test, &hello, sizeof(hello)); in testfunc()
83 printk(KERN_INFO "fifo peek len: %u\n", kfifo_peek_len(&test)); in testfunc()
88 kfifo_in(&test, buf, i + 1); in testfunc()
93 kfifo_skip(&test); in testfunc()
95 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
98 ret = kfifo_out_peek(&test, buf, sizeof(buf)); in testfunc()
104 while (!kfifo_is_empty(&test)) { in testfunc()
105 ret = kfifo_out(&test, buf, sizeof(buf)); in testfunc()
131 ret = kfifo_from_user(&test, buf, count, &copied); in fifo_write()
147 ret = kfifo_to_user(&test, buf, count, &copied); in fifo_read()
166 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
172 INIT_KFIFO(test); in example_init()
176 kfifo_free(&test); in example_init()
183 kfifo_free(&test); in example_init()
194 kfifo_free(&test); in example_exit()