Lines Matching defs:count
51 size_t count, loff_t *ppos)
60 if (count > MBOX_MAX_SIG_LEN) {
63 count, MBOX_MAX_SIG_LEN);
74 if (copy_from_user(tdev->signal, userbuf, count)) {
80 return count;
98 size_t count, loff_t *ppos)
110 if (count > MBOX_MAX_MSG_LEN) {
113 count, MBOX_MAX_MSG_LEN);
124 ret = copy_from_user(tdev->message, userbuf, count);
156 return ret < 0 ? ret : count;
172 size_t count, loff_t *ppos)
188 ret = simple_read_from_buffer(userbuf, count, ppos,
234 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN);