Lines Matching defs:buf
22 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text()
41 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
90 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
106 char *buf; in cg_read_strcmp() local
131 char buf[PAGE_SIZE]; in cg_read_strstr() local
141 char buf[128]; in cg_read_long() local
151 char buf[PAGE_SIZE]; in cg_read_key_long() local
166 char buf[PAGE_SIZE]; in cg_read_lc() local
180 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write()
195 char buf[10 * PAGE_SIZE]; in cg_find_unified_root() local
229 char buf[10 * PAGE_SIZE] = {0}; in cg_wait_for_proc_count() local
254 char buf[PAGE_SIZE]; in cg_killall() local
326 char buf[64]; in cg_run() local
449 char buf[64]; in cg_run_nowait() local
467 char buf[PAGE_SIZE]; in alloc_pagecache() local
491 char *buf, *ptr; in alloc_anon() local
503 char buf[PAGE_SIZE]; in is_swap_enabled() local
538 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text()
553 char buf[PAGE_SIZE]; in proc_read_strstr() local