Lines Matching defs:buf
23 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text()
42 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
86 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
101 char *buf; in cg_read_strcmp() local
126 char buf[PAGE_SIZE]; in cg_read_strstr() local
136 char buf[128]; in cg_read_long() local
146 char buf[128]; in cg_read_long_fd() local
156 char buf[PAGE_SIZE]; in cg_read_key_long() local
171 char buf[PAGE_SIZE]; in cg_read_lc() local
186 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write()
210 char buf[64]; in cg_write_numeric() local
222 char buf[10 * PAGE_SIZE]; in cg_find_unified_root() local
258 char buf[10 * PAGE_SIZE] = {0}; in cg_wait_for_proc_count() local
283 char buf[PAGE_SIZE]; in cg_killall() local
357 char buf[64]; in cg_run() local
480 char buf[64]; in cg_run_nowait() local
498 char buf[PAGE_SIZE]; in alloc_pagecache() local
522 char *buf, *ptr; in alloc_anon() local
534 char buf[PAGE_SIZE]; in is_swap_enabled() local
571 char buf[4 * PAGE_SIZE]; in proc_mount_contains() local
581 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text()
598 char buf[PAGE_SIZE]; in proc_read_strstr() local