Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress01.c259 int nr_msgqs; in setup() local
267 nr_msgqs = get_max_msgqueues(); in setup()
268 if (nr_msgqs < 0) in setup()
271 nr_msgqs -= get_used_msgqueues(); in setup()
272 if (nr_msgqs <= 0) { in setup()
283 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
Dmsgstress02.c364 int nr_msgqs; in setup() local
372 nr_msgqs = get_max_msgqueues(); in setup()
373 if (nr_msgqs < 0) in setup()
376 nr_msgqs -= get_used_msgqueues(); in setup()
377 if (nr_msgqs <= 0) { in setup()
388 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
Dmsgstress03.c261 int nr_msgqs; in setup() local
269 nr_msgqs = get_max_msgqueues(); in setup()
270 if (nr_msgqs < 0) in setup()
273 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup()
Dmsgstress04.c390 int nr_msgqs, free_pids; in setup() local
404 nr_msgqs = get_max_msgqueues(); in setup()
405 if (nr_msgqs < 0) in setup()
408 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup()