Home
last modified time | relevance | path

Searched refs:nsems_max (Results 1 – 1 of 1) sorted by relevance

/freebsd/tools/regression/posixsem/
H A Dposixsem.c1203 int nsems_max, stat; in exhaust_unnamed_sems() local
1205 len = sizeof(nsems_max); in exhaust_unnamed_sems()
1206 if (sysctlbyname("p1003_1b.sem_nsems_max", &nsems_max, &len, NULL, 0) < in exhaust_unnamed_sems()
1212 if (child_worker(exhaust_unnamed_child, (void *)(uintptr_t)nsems_max, in exhaust_unnamed_sems()
1224 fail_err("Limit of %d semaphores not enforced", nsems_max); in exhaust_unnamed_sems()
1258 int i, nsems_max, stat; in exhaust_named_sems() local
1260 len = sizeof(nsems_max); in exhaust_named_sems()
1261 if (sysctlbyname("p1003_1b.sem_nsems_max", &nsems_max, &len, NULL, 0) < in exhaust_named_sems()
1267 if (child_worker(exhaust_named_child, (void *)(uintptr_t)nsems_max, in exhaust_named_sems()
1279 fail_err("Limit of %d semaphores not enforced", nsems_max); in exhaust_named_sems()
[all …]