Searched refs:soft_limit (Results 1 – 3 of 3) sorted by relevance
47 #define soft_limit 0x10000 macro52 if (high32(s) == 0 && low32(s) < soft_limit) in key_limit_set()55 if (s < soft_limit) in key_limit_set()91 if (high32(key->num_left) != 0 || low32(key->num_left) >= soft_limit) { in key_limit_update()96 if (key->num_left >= soft_limit) { in key_limit_update()
843 (soft_limit, hard_limit) = resource.getrlimit(resource_name)849 if hard_limit > soft_limit: # Some OS's report 0 for "unlimited".858 if soft_limit < fallback_value:865 return soft_limit867 return soft_limit
312 soft_limit, hard_limit = platformsettings.GetFdLimit()317 if soft_limit < desired_limit: