Lines Matching defs:count
201 * @count: Amount of space available in @buf
210 ecryptfs_miscdev_read(struct file *file, char __user *buf, size_t count,
275 if (count < total_length) {
279 "pending message\n", __func__, count, total_length);
347 * @count: Amount of data in @buf
354 size_t count, loff_t *ppos)
363 if (count == 0) {
365 } else if (count == MIN_NON_MSG_PKT_SIZE) {
368 } else if (count < MIN_MSG_PKT_SIZE || count > MAX_MSG_PKT_SIZE) {
371 __func__, MIN_MSG_PKT_SIZE, MAX_MSG_PKT_SIZE, count);
391 != count) {
398 data = memdup_user(buf, count);
406 if (count < (MIN_MSG_PKT_SIZE
413 + sizeof(struct ecryptfs_message)), count);
439 rc = count;