Lines Matching refs:DEVICE_NAME

20 #define DEVICE_NAME "xz_dec_test"  macro
78 printk(KERN_INFO DEVICE_NAME ": opened\n"); in xz_dec_test_open()
87 printk(KERN_INFO DEVICE_NAME ": input was truncated\n"); in xz_dec_test_release()
89 printk(KERN_INFO DEVICE_NAME ": closed\n"); in xz_dec_test_release()
108 printk(KERN_INFO DEVICE_NAME ": %zu bytes of " in xz_dec_test_write()
115 printk(KERN_INFO DEVICE_NAME ": decoding %zu bytes of input\n", in xz_dec_test_write()
138 printk(KERN_INFO DEVICE_NAME ": XZ_OK\n"); in xz_dec_test_write()
142 printk(KERN_INFO DEVICE_NAME ": XZ_STREAM_END, " in xz_dec_test_write()
147 printk(KERN_INFO DEVICE_NAME ": XZ_MEMLIMIT_ERROR\n"); in xz_dec_test_write()
151 printk(KERN_INFO DEVICE_NAME ": XZ_FORMAT_ERROR\n"); in xz_dec_test_write()
155 printk(KERN_INFO DEVICE_NAME ": XZ_OPTIONS_ERROR\n"); in xz_dec_test_write()
159 printk(KERN_INFO DEVICE_NAME ": XZ_DATA_ERROR\n"); in xz_dec_test_write()
163 printk(KERN_INFO DEVICE_NAME ": XZ_BUF_ERROR\n"); in xz_dec_test_write()
167 printk(KERN_INFO DEVICE_NAME ": Bug detected!\n"); in xz_dec_test_write()
188 device_major = register_chrdev(0, DEVICE_NAME, &fileops); in xz_dec_test_init()
194 printk(KERN_INFO DEVICE_NAME ": module loaded\n"); in xz_dec_test_init()
195 printk(KERN_INFO DEVICE_NAME ": Create a device node with " in xz_dec_test_init()
196 "'mknod " DEVICE_NAME " c %d 0' and write .xz files " in xz_dec_test_init()
203 unregister_chrdev(device_major, DEVICE_NAME); in xz_dec_test_exit()
205 printk(KERN_INFO DEVICE_NAME ": module unloaded\n"); in xz_dec_test_exit()