Searched refs:set_rlimit (Results 1 – 2 of 2) sorted by relevance
1008 enum { NO_CHANGE, SET_TO_MAX, INCREASED_MAX } set_rlimit = NO_CHANGE; in __perf_evsel__open() local1052 set_rlimit = NO_CHANGE; in __perf_evsel__open()1063 if (err == -EMFILE && set_rlimit < INCREASED_MAX) { in __perf_evsel__open()1068 if (set_rlimit == NO_CHANGE) in __perf_evsel__open()1075 set_rlimit++; in __perf_evsel__open()
462 # define set_rlimit setrlimit64 macro470 # define set_rlimit setrlimit macro2443 set_rlimit(RLIMIT_CORE, &rlim); in main()