Lines Matching refs:test
48 struct kfifo_rec_ptr_1 test; variable
53 static mytest test; variable
78 kfifo_in(&test, &hello, sizeof(hello)); in testfunc()
81 printk(KERN_INFO "fifo peek len: %u\n", kfifo_peek_len(&test)); in testfunc()
86 kfifo_in(&test, buf, i + 1); in testfunc()
91 kfifo_skip(&test); in testfunc()
93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
96 ret = kfifo_out_peek(&test, buf, sizeof(buf)); in testfunc()
102 while (!kfifo_is_empty(&test)) { in testfunc()
103 ret = kfifo_out(&test, buf, sizeof(buf)); in testfunc()
129 ret = kfifo_from_user(&test, buf, count, &copied); in fifo_write()
145 ret = kfifo_to_user(&test, buf, count, &copied); in fifo_read()
164 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
170 INIT_KFIFO(test); in example_init()
174 kfifo_free(&test); in example_init()
181 kfifo_free(&test); in example_init()
192 kfifo_free(&test); in example_exit()