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);
346 * @count: Amount of data in @buf
353 size_t count, loff_t *ppos)
362 if (count == 0) {
364 } else if (count == MIN_NON_MSG_PKT_SIZE) {
367 } else if (count < MIN_MSG_PKT_SIZE || count > MAX_MSG_PKT_SIZE) {
370 __func__, MIN_MSG_PKT_SIZE, MAX_MSG_PKT_SIZE, count);
390 != count) {
397 data = memdup_user(buf, count);
405 if (count < (MIN_MSG_PKT_SIZE
412 + sizeof(struct ecryptfs_message)), count);
438 rc = count;