Lines Matching refs:DEVICE_NAME
21 #define DEVICE_NAME "xz_dec_test" macro
79 printk(KERN_INFO DEVICE_NAME ": opened\n"); in xz_dec_test_open()
88 printk(KERN_INFO DEVICE_NAME ": input was truncated\n"); in xz_dec_test_release()
90 printk(KERN_INFO DEVICE_NAME ": closed\n"); in xz_dec_test_release()
109 printk(KERN_INFO DEVICE_NAME ": %zu bytes of " in xz_dec_test_write()
116 printk(KERN_INFO DEVICE_NAME ": decoding %zu bytes of input\n", in xz_dec_test_write()
139 printk(KERN_INFO DEVICE_NAME ": XZ_OK\n"); in xz_dec_test_write()
143 printk(KERN_INFO DEVICE_NAME ": XZ_STREAM_END, " in xz_dec_test_write()
148 printk(KERN_INFO DEVICE_NAME ": XZ_MEMLIMIT_ERROR\n"); in xz_dec_test_write()
152 printk(KERN_INFO DEVICE_NAME ": XZ_FORMAT_ERROR\n"); in xz_dec_test_write()
156 printk(KERN_INFO DEVICE_NAME ": XZ_OPTIONS_ERROR\n"); in xz_dec_test_write()
160 printk(KERN_INFO DEVICE_NAME ": XZ_DATA_ERROR\n"); in xz_dec_test_write()
164 printk(KERN_INFO DEVICE_NAME ": XZ_BUF_ERROR\n"); in xz_dec_test_write()
168 printk(KERN_INFO DEVICE_NAME ": Bug detected!\n"); in xz_dec_test_write()
189 device_major = register_chrdev(0, DEVICE_NAME, &fileops); in xz_dec_test_init()
195 printk(KERN_INFO DEVICE_NAME ": module loaded\n"); in xz_dec_test_init()
196 printk(KERN_INFO DEVICE_NAME ": Create a device node with " in xz_dec_test_init()
197 "'mknod " DEVICE_NAME " c %d 0' and write .xz files " in xz_dec_test_init()
204 unregister_chrdev(device_major, DEVICE_NAME); in xz_dec_test_exit()
206 printk(KERN_INFO DEVICE_NAME ": module unloaded\n"); in xz_dec_test_exit()