Lines Matching full:signal
20 #include <linux/sched/signal.h>
38 char *signal; member
59 "Signal length %zd greater than max allowed %d\n", in mbox_test_signal_write()
65 if (!tdev->signal) { in mbox_test_signal_write()
66 tdev->signal = kzalloc(MBOX_MAX_SIG_LEN, GFP_KERNEL); in mbox_test_signal_write()
67 if (!tdev->signal) in mbox_test_signal_write()
71 if (copy_from_user(tdev->signal, userbuf, count)) { in mbox_test_signal_write()
72 kfree(tdev->signal); in mbox_test_signal_write()
73 tdev->signal = NULL; in mbox_test_signal_write()
124 * A separate signal is only of use if there is in mbox_test_message_write()
127 if (tdev->tx_mmio && tdev->signal) { in mbox_test_message_write()
128 print_hex_dump_bytes("Client: Sending: Signal: ", DUMP_PREFIX_ADDRESS, in mbox_test_message_write()
129 tdev->signal, MBOX_MAX_SIG_LEN); in mbox_test_message_write()
131 data = tdev->signal; in mbox_test_message_write()
143 kfree(tdev->signal); in mbox_test_message_write()
145 tdev->signal = NULL; in mbox_test_message_write()
270 debugfs_create_file("signal", 0200, tdev->root_debugfs_dir, in mbox_test_add_debugfs()
304 if (tdev->signal) in mbox_test_prepare_message()