Home
last modified time | relevance | path

Searched refs:pipe_max_unpriv (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/splice/
Dsplice.h27 int pipe_max_unpriv; in get_max_limit() local
30 SAFE_FILE_SCANF("/proc/sys/fs/pipe-max-size", "%d", &pipe_max_unpriv); in get_max_limit()
31 return MIN(pipe_max_unpriv, default_len_data); in get_max_limit()
35 SAFE_FILE_SCANF("/proc/sys/fs/pipe-max-pages", "%d", &pipe_max_unpriv); in get_max_limit()
36 return MIN(pipe_max_unpriv * getpagesize(), default_len_data); in get_max_limit()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl35.c47 static int pipe_max_unpriv; variable
67 &pipe_max_unpriv); in setup()
79 SAFE_FILE_PRINTF("/proc/sys/fs/pipe-max-size", "%d", pipe_max_unpriv); in cleanup()