Searched refs:parse_permyriad (Results 1 – 11 of 11) sorted by relevance
86 TEST(parse_permyriad) { in TEST() argument87 assert_se(parse_permyriad("") == -EINVAL); in TEST()88 assert_se(parse_permyriad("foo") == -EINVAL); in TEST()89 assert_se(parse_permyriad("0") == -EINVAL); in TEST()90 assert_se(parse_permyriad("50") == -EINVAL); in TEST()91 assert_se(parse_permyriad("100") == -EINVAL); in TEST()92 assert_se(parse_permyriad("-1") == -EINVAL); in TEST()94 assert_se(parse_permyriad("0‱") == 0); in TEST()95 assert_se(parse_permyriad("555‱") == 555); in TEST()96 assert_se(parse_permyriad("1000‱") == 1000); in TEST()[all …]
16 int parse_permyriad(const char *p);
149 int parse_permyriad(const char *p) { in parse_permyriad() function
67 r = parse_permyriad(s); in parse_tc_percent()
905 r = parse_permyriad(rvalue); in config_parse_tmpfs_size()
352 r = parse_permyriad(limit); in append_session_memory_max()
448 r = parse_permyriad(eq); in bus_append_cgroup_property()546 r = parse_permyriad(eq); in bus_append_cgroup_property()
1075 r = parse_permyriad(value); in condition_test_psi()
1873 DEFINE_CONFIG_PARSE(config_parse_permyriad, parse_permyriad, "Failed to parse permyriad value");
1809 (argc > 2 && parse_permyriad(argv[2]) >= 0)) in resize_home()2969 r = parse_permyriad(optarg); in parse_argv()
3880 r = parse_permyriad(rvalue); in config_parse_memory_limit()3950 r = parse_permyriad(rvalue); in config_parse_tasks_max()4110 r = parse_permyriad(rvalue); in config_parse_managed_oom_mem_pressure_limit()