Lines Matching refs:count
436 const char __user *buffer, size_t count, loff_t *pos) in prof_cpu_mask_proc_write() argument
444 err = cpumask_parse_user(buffer, count, new_value); in prof_cpu_mask_proc_write()
447 err = count; in prof_cpu_mask_proc_write()
474 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile() argument
484 if (count > (prof_len+1)*sizeof(unsigned int) - p) in read_profile()
485 count = (prof_len+1)*sizeof(unsigned int) - p; in read_profile()
488 while (p < sizeof(unsigned int) && count > 0) { in read_profile()
491 buf++; p++; count--; read++; in read_profile()
494 if (copy_to_user(buf, (void *)pnt, count)) in read_profile()
496 read += count; in read_profile()
508 size_t count, loff_t *ppos) in write_profile() argument
513 if (count == sizeof(int)) { in write_profile()
525 return count; in write_profile()