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