HomeSort by relevance Sort by last modified time
    Searched refs:rlim_old (Results 1 - 2 of 2) sorted by null

  /external/linux-kselftest/tools/testing/selftests/bpf/
bpf_rlimit.h 6 struct rlimit rlim_old, rlim_new = { local
11 getrlimit(RLIMIT_MEMLOCK, &rlim_old);
24 rlim_new.rlim_cur = rlim_old.rlim_cur + (1UL << 20);
25 rlim_new.rlim_max = rlim_old.rlim_max + (1UL << 20);
  /external/linux-kselftest/tools/testing/selftests/net/
reuseport_bpf.c 440 static struct rlimit rlim_old; variable in typeref:struct:rlimit
444 getrlimit(RLIMIT_MEMLOCK, &rlim_old);
446 if (rlim_old.rlim_cur != RLIM_INFINITY) {
449 rlim_new.rlim_cur = rlim_old.rlim_cur + (1UL << 20);
450 rlim_new.rlim_max = rlim_old.rlim_max + (1UL << 20);
457 setrlimit(RLIMIT_MEMLOCK, &rlim_old);

Completed in 6016 milliseconds