Function report |
Source Code:arch\x86\kernel\cpu\resctrl\ctrlmondata.c |
Create Date:2022-07-28 08:13:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rdtgroup_schemata_write
Proto:ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kernfs_open_file * | of | |
| char * | buf | |
| size_t | nbytes | |
| loff_t | off |
| 370 | ret = 0 |
| 377 | cpus_read_lock() |
| 378 | rdtgrp = rdtgroup_kn_lock_live( published fields ) |
| 379 | If Not rdtgrp Then |
| 384 | rdt_last_cmd_clear() |
| 390 | If mode == RDT_MODE_PSEUDO_LOCKED Then |
| 392 | rdt_last_cmd_puts("Resource group is pseudo-locked\n") |
| 393 | Go to out |
| 398 | have_new_ctrl = false |
| 403 | If Not tok Then |
| 408 | If tok[0] == '\0' Then |
| 413 | ret = rdtgroup_parse_resource(resname, tok, rdtgrp) |
| 419 | ret = update_domains(r, closid) |
| 424 | If mode == RDT_MODE_PSEUDO_LOCKSETUP Then |
| 434 | out : |
| 436 | cpus_read_unlock() |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |