• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include <linux/stat.h>
2include <uapi/linux/fuse.h>
3include <uapi/linux/fcntl.h>
4
5resource fd_system_background[fd]
6
7openat$fd_system_background(fd const[AT_FDCWD], file ptr[in, string["/dev/cpu_ctl/system_background/uclamp.colocate"]], flags const[O_RDWR], mode const[0]) fd_system_background
8
9type read_system_background array[int8, 1024]
10read$SYSTEM_BACKGROUND(fd fd_system_background, buf ptr[out, read_system_background ], len bytesize[buf])
11
12write$SYSTEM_BACKGROUND_INT(fd fd_system_background, data ptr[in, int32], len bytesize[data])