Lines Matching refs:count
428 const char __user *buffer, size_t count, loff_t *pos) in prof_cpu_mask_proc_write() argument
436 err = cpumask_parse_user(buffer, count, new_value); in prof_cpu_mask_proc_write()
439 err = count; in prof_cpu_mask_proc_write()
466 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile() argument
476 if (count > (prof_len+1)*sizeof(unsigned int) - p) in read_profile()
477 count = (prof_len+1)*sizeof(unsigned int) - p; in read_profile()
480 while (p < sizeof(unsigned int) && count > 0) { in read_profile()
483 buf++; p++; count--; read++; in read_profile()
486 if (copy_to_user(buf, (void *)pnt, count)) in read_profile()
488 read += count; in read_profile()
500 size_t count, loff_t *ppos) in write_profile() argument
505 if (count == sizeof(int)) { in write_profile()
517 return count; in write_profile()