Home
last modified time | relevance | path

Searched refs:printk (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
H A Dtbase.c103 printk("tbase: driver is %s\n", drv->name); in test_device_match()
104 // printk("tbase: device is %s\n", dev->name); in test_device_match()
107 printk("tbase: match\n"); in test_device_match()
110 printk("tbase: no match\n"); in test_device_match()
124 printk("tbase: Entered test_dev_probe\n"); in test_dev_probe()
130 printk("tbase: Entered test_dev_remove\n"); in test_dev_remove()
151 printk("tbase: Entered test_class_release\n"); in test_class_release()
157 printk("tbase: Entered test_class_hotplug\n"); in test_class_hotplug()
177 printk("tbase: Entered test_intf_add for the test class_interface\n"); in test_intf_add()
183 printk("tbas in test_intf_rem()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
H A Dtest-cmpxchg-nolock.c62 printk(KERN_ALERT "test results: time for baseline\n"); in do_testbaseline()
63 printk(KERN_ALERT "number of loops: %d\n", NR_LOOPS); in do_testbaseline()
64 printk(KERN_ALERT "total time: %llu\n", time); in do_testbaseline()
66 printk(KERN_ALERT "-> baseline takes %llu cycles\n", time); in do_testbaseline()
67 printk(KERN_ALERT "test end\n"); in do_testbaseline()
93 printk(KERN_ALERT "test results: time for locked cmpxchg\n"); in do_test_sync_cmpxchg()
94 printk(KERN_ALERT "number of loops: %d\n", NR_LOOPS); in do_test_sync_cmpxchg()
95 printk(KERN_ALERT "total time: %llu\n", time); in do_test_sync_cmpxchg()
97 printk(KERN_ALERT "-> locked cmpxchg takes %llu cycles\n", time); in do_test_sync_cmpxchg()
98 printk(KERN_ALER in do_test_sync_cmpxchg()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/
H A Dtagp.c131 printk("Enter tagp_ioctl\n"); in tagp_ioctl()
239 printk("Mismatching ioctl command\n"); in tagp_ioctl()
260 printk("tpci: Unsuccessful copy_to_user of outparms\n"); in tagp_ioctl()
267 printk("tpci: Unsuccessful copy_to_user of tif\n"); in tagp_ioctl()
294 printk("<1> tagp : Enter test fetch size\n"); in test_fetch_size()
302 printk("<1> tagp : Enter test configure\n"); in test_configure()
308 printk("<1> tagp : Enter test_cleanup\n"); in test_cleanup()
314 printk("<1> tagp : Enter test tlbflush\n"); in test_tlbflush()
361 printk("<1> tagp : Enter test_agp_backend_acquire\n"); in test_agp_backend_acquire()
368 printk("< in test_agp_backend_release()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dtusb.c113 printk("tusb: Entered disconnect function\n"); in tusb_disconnect()
119 printk("tusb: Entered probe function\n"); in tusb_probe()
148 printk("Entered test_alloc_dev\n");
154 printk("Entered test_dealloc_dev\n");
160 printk("Entered test_get_current_frame_number\n");
166 printk("Entered test_submit_urb\n");
172 printk("Entered test_unlink_urb\n");
193 printk("tusb: Entered the ioctl call\n"); in tusb_ioctl()
247 printk("Mismatching ioctl command\n"); in tusb_ioctl()
253 printk("tus in tusb_ioctl()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/nls/
H A DnlsTest.c92 printk(KERN_DEBUG "device opened\n"); in test_open()
102 printk(KERN_DEBUG "device released\n"); in test_release()
117 printk(KERN_DEBUG "Entered the ioctl call.\n"); in test_ioctl()
129 printk(KERN_ERR "Mismatching ioctl command\n"); in test_ioctl()
137 printk(KERN_DEBUG "Module option 1 chosen\n"); in option1()
142 printk(KERN_DEBUG "test_request() called\n"); in test_request()
151 printk(KERN_DEBUG "starting module\n"); in test_init_module()
159 printk(KERN_DEBUG "BLK INC - result=%d, major=%d\n", rc, NLSMAJOR); in test_init_module()
162 printk(KERN_ERR "Failed to register device.\n"); in test_init_module()
176 printk(KERN_ALER in test_init_module()
[all...]
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A DLtpfsCmds.c71 printk(KERN_ALERT "ltpdev_open \n"); in ltpdev_open()
78 printk(KERN_ALERT "ltpdev_release \n"); in ltpdev_release()
99 printk(KERN_ALERT "ltpdev_ioctl fs tests\n"); in ltpdev_ioctl()
104 printk(KERN_ALERT "Running AIO FS tests \n"); in ltpdev_ioctl()
105 printk(KERN_ALERT "AIO FS tests complete\n"); in ltpdev_ioctl()
110 printk(KERN_ALERT "Running BIO FS tests \n"); in ltpdev_ioctl()
114 printk(KERN_ALERT in ltpdev_ioctl()
117 printk(KERN_ALERT "kernel slab memory alloc OK\n"); in ltpdev_ioctl()
122 printk(KERN_ALERT "Return from bio_endio = %d \n", error); in ltpdev_ioctl()
127 printk(KERN_ALER in ltpdev_ioctl()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/include/
H A DincludeTest.c89 printk("device open\n"); in test_open()
95 printk("device closed\n"); in test_close()
106 printk("Entered the ioctl call.\n"); in test_ioctl()
119 printk("Mismatching ioctl command\n"); in test_ioctl()
129 printk("Module option 1 chosen\n"); in option1()
142 printk("starting module\n"); in test_init_module()
147 printk("BLK INC - result =%d major %d\n", rc, INCLUDEMAJOR); in test_init_module()
150 printk("Failed to register device.\n"); in test_init_module()
156 printk(KERN_ALERT "ERROR getting memory !!!\n"); in test_init_module()
160 printk("majo in test_init_module()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
H A Dtest_per_cpu_allocator_module.c122 printk in verify_area()
125 printk(" [%p]=%lx should be %lx\n", up, in verify_area()
153 printk("ALLOC: %zu bytes marker=%d\n", in run_test()
161 printk("failed to allocate %zu bytes\n", in run_test()
166 printk("FREE: marker=%d\n", cmd->marker); in run_test()
171 printk("FREE: done\n"); in run_test()
197 printk("XXX test_pcpu:"); in test_init()
199 printk(" %p", &per_cpu(blah_blah, cpu)); in test_init()
200 printk("\n"); in test_init()
211 printk("XX in test_exit()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
H A Dtmod.c102 printk("Enter tmod_ioctl\n"); in tmod_ioctl()
156 printk("Mismatching ioctl command\n"); in tmod_ioctl()
177 printk("tpci: Unsuccessful copy_to_user of outparms\n"); in tmod_ioctl()
184 printk("tpci: Unsuccessful copy_to_user of tif\n"); in tmod_ioctl()
221 printk("tmod: this is option1 example\n"); in test_option()
223 /* remember that printk does not show up on the console, in test_option()
243 printk("tmod: Failed to register device.\n"); in tmod_init_module()
252 printk("tmod: Registration success.\n"); in tmod_init_module()
269 printk("tmod: unregister failed\n"); in tmod_exit_module()
271 printk("tmo in tmod_exit_module()
[all...]
/third_party/ltp/testcases/kdump/lib/lkdtm/
H A Dlkdtm.c246 printk(KERN_INFO "lkdtm : Crash point %s of type %s hit\n", in lkdtm_handler()
255 printk(KERN_INFO "lkdtm : PANIC\n"); in lkdtm_handler()
259 printk(KERN_INFO "lkdtm : BUG\n"); in lkdtm_handler()
263 printk(KERN_INFO "lkdtm : EXCEPTION\n"); in lkdtm_handler()
267 printk(KERN_INFO "lkdtm : LOOP\n"); in lkdtm_handler()
271 printk(KERN_INFO "lkdtm : OVERFLOW\n"); in lkdtm_handler()
298 printk(KERN_INFO "lkdtm : Crash point not available\n"); in lkdtm_lookup_name()
307 printk(KERN_INFO "lkdtm : Invalid command\n"); in lkdtm_module_init()
464 printk(KERN_INFO "lkdtm : Invalid Crash Point\n"); in lkdtm_module_init()
469 printk(KERN_INF in lkdtm_module_init()
[all...]
/third_party/libabigail/tests/data/test-read-ctf/
H A Dtest-linux-module.c10 printk("in testexport\n"); in testexport()
18 printk("in testexport\n"); in testexport2()
25 printk(KERN_INFO "Hello World!\n"); in hello_init()
31 printk(KERN_INFO "Bye World!\n"); in hello_exit()
/third_party/ltp/testcases/kdump/lib/kprobes/
H A Dkprobes.c18 printk("jprobe: clone_flags=0x%lx, stack_size=0x%lx, regs=%p\n", in jdo_fork()
36 printk("register_jprobe failed, returned %d\n", ret); in jprobe_init()
40 printk("Planted jprobe at %p, handler addr %p\n", in jprobe_init()
48 printk("jprobe unregistered\n"); in jprobe_exit()
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/
H A Dmain.c39 #include "misc/printk.h"
55 printk ("Script Error: unhandled exception: %s\n", err_str_buf); in jerry_resolve_error()
63 printk ("Usage:\n"); in help()
64 printk ("js e 'JavaScript Command'\n"); in help()
65 printk ("eg. js e print ('Hello World');\n"); in help()
83 printk ("%s: allocate memory failed!", __func__); in eval_jerry_script()
96 printk ("%s: allocate memory failed!", __func__); in eval_jerry_script()
/third_party/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
H A Dtest_genhd.c33 printk(KERN_DEBUG "gd_ptr after alloc=%p\n", gd_ptr); in tc20()
40 printk(KERN_INFO "Starting test_genhd module\n"); in test_init_module()
49 printk(KERN_DEBUG "Unloading test_genhd module\n"); in test_exit_module()
/third_party/ltp/testcases/kernel/device-drivers/v4l/kernel_space/
H A Dvideo_dummy.c17 printk(KERN_DEBUG "video_dummy: open called (minor=%d)\n", minor); in dummy_open()
26 printk(KERN_DEBUG "video_dummy: close called (minor=%d)\n", minor); in dummy_close()
94 printk(KERN_INFO in video_dummy_init()
104 printk(KERN_INFO "video_dummy: removing /dev/video%d\n", in video_dummy_exit()
/third_party/ltp/testcases/kdump/lib/crasher/
H A Dcrasher.c86 printk("crasher: Bad command\n"); in crasher_write()
107 printk("loaded crasher module\n"); in crasher_init()
129 printk("removed crasher module\n"); in crasher_exit()
/third_party/rust/crates/nix/test/test_kmod/hello_mod/
H A Dhello.c17 printk(KERN_INFO "Hello %s (%d)!\n", who, number); in init_module()
23 printk(KERN_INFO "Goodbye %s (%d)!\n", who, number); in cleanup_module()
/third_party/jerryscript/targets/curie_bsp/source/
H A Dcurie-bsp-port.c17 #include <misc/printk.h>
40 printk ("%s", buf); in jerry_port_log()
/third_party/f2fs-tools/scripts/
H A Dspo_test.sh20 echo 8 > /proc/sys/kernel/printk
53 echo 8 > /proc/sys/kernel/printk
/third_party/bounds_checking_function/src/
H A Dsecurecutil.h530 #define SECUREC_ERROR_INVALID_PARAMTER(msg) printk("%s invalid argument\n", msg)
531 #define SECUREC_ERROR_INVALID_RANGE(msg) printk("%s invalid dest buffer size\n", msg)
532 #define SECUREC_ERROR_BUFFER_OVERLAP(msg) printk("%s buffer overlap\n", msg)
/third_party/musl/src/hilog/linux/
H A Dvsnprintf_s_p.c40 #define SECUREC_ERROR_INVALID_PARAMTER(msg) printk("%s invalid argument\n",msg)
41 #define SECUREC_ERROR_INVALID_RANGE(msg) printk("%s invalid dest buffer size\n", msg)
/third_party/musl/porting/linux/user/src/hilog/
H A Dvsnprintf_s_p.c40 #define SECUREC_ERROR_INVALID_PARAMTER(msg) printk( "%s invalid argument\n",msg)
41 #define SECUREC_ERROR_INVALID_RANGE(msg) printk( "%s invalid dest buffer size\n", msg)
/third_party/jerryscript/targets/zephyr/src/
H A Dmain-zephyr.c21 #include <misc/printk.h>
/third_party/backends/backend/
H A Dplustek-pp_procfs.c401 printk( KERN_ERR "pt_drv : proc not initialised yet!\n"); in ProcFsRegisterDevice()
438 printk(KERN_ERR "pt_drv: failure registering /proc/ entry %s.\n", str ); in ProcFsRegisterDevice()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h61 #define printk dprintf /* Do not modify for code check */ macro
515 printk("func:%s, line %d\r\n", __FUNCTION__, __LINE__); \

Completed in 11 milliseconds

12