Lines Matching defs:count
50 size_t count, loff_t *ppos)
59 if (count > MBOX_MAX_SIG_LEN) {
62 count, MBOX_MAX_SIG_LEN);
73 if (copy_from_user(tdev->signal, userbuf, count)) {
79 return count;
97 size_t count, loff_t *ppos)
109 if (count > MBOX_MAX_MSG_LEN) {
112 count, MBOX_MAX_MSG_LEN);
123 ret = copy_from_user(tdev->message, userbuf, count);
155 return ret < 0 ? ret : count;
171 size_t count, loff_t *ppos)
187 ret = simple_read_from_buffer(userbuf, count, ppos,
233 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN);