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