Searched refs:sys_file (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/commands/sysctl/ |
D | sysctl02.sh | 26 sys_file="/proc/sys/fs/file-max" 30 orig_value=$(cat "$sys_file") 46 local old_value="$(cat $sys_file)" 50 local new_value="$(cat $sys_file)" 53 tst_res TPASS "$sys_file keeps old value ($old_value)" 55 tst_res TFAIL "$sys_file overflows and is set to $new_value" 68 tst_res TFAIL "$sys_file is set 0 and trigger a KASAN error" 70 tst_res TPASS "$sys_file is set 0 and doesn't trigger a KASAN error"
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 641 void set_sys_tune(char *sys_file, long tune, int check) in set_sys_tune() argument 646 tst_res(TINFO, "set %s to %ld", sys_file, tune); in set_sys_tune() 648 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in set_sys_tune() 652 val = get_sys_tune(sys_file); in set_sys_tune() 655 sys_file, val, tune); in set_sys_tune() 659 long get_sys_tune(char *sys_file) in get_sys_tune() argument 664 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in get_sys_tune()
|
/third_party/ltp/testcases/kernel/mem/include/ |
D | mem.h | 74 void set_sys_tune(char *sys_file, long tune, int check); 75 long get_sys_tune(char *sys_file);
|
/third_party/python/Lib/distutils/ |
D | dist.py | 355 sys_file = os.path.join(sys_dir, "distutils.cfg") 356 if os.path.isfile(sys_file): 357 files.append(sys_file)
|