Lines Matching refs:nbytes
322 size_t nbytes, loff_t off) in rdtgroup_file_write() argument
327 return rft->write(of, buf, nbytes, off); in rdtgroup_file_write()
512 char *buf, size_t nbytes, loff_t off) in rdtgroup_cpus_write() argument
579 return ret ?: nbytes; in rdtgroup_cpus_write()
770 char *buf, size_t nbytes, loff_t off) in rdtgroup_tasks_write() argument
816 return ret ?: nbytes; in rdtgroup_tasks_write()
1216 char *buf, size_t nbytes, loff_t off) in max_threshold_occ_write() argument
1230 return nbytes; in max_threshold_occ_write()
1420 char *buf, size_t nbytes, loff_t off) in rdtgroup_mode_write() argument
1427 if (nbytes == 0 || buf[nbytes - 1] != '\n') in rdtgroup_mode_write()
1429 buf[nbytes - 1] = '\0'; in rdtgroup_mode_write()
1485 return ret ?: nbytes; in rdtgroup_mode_write()
1755 char *buf, size_t nbytes, in mbm_total_bytes_config_write() argument
1762 if (nbytes == 0 || buf[nbytes - 1] != '\n') in mbm_total_bytes_config_write()
1770 buf[nbytes - 1] = '\0'; in mbm_total_bytes_config_write()
1777 return ret ?: nbytes; in mbm_total_bytes_config_write()
1781 char *buf, size_t nbytes, in mbm_local_bytes_config_write() argument
1788 if (nbytes == 0 || buf[nbytes - 1] != '\n') in mbm_local_bytes_config_write()
1796 buf[nbytes - 1] = '\0'; in mbm_local_bytes_config_write()
1803 return ret ?: nbytes; in mbm_local_bytes_config_write()