Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl08.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()
Dmsgctl09.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()
Dmsgctl10.c253 int nr_msgqs; in setup() local
261 nr_msgqs = get_max_msgqueues(); in setup()
262 if (nr_msgqs < 0) in setup()
265 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup()
Dmsgctl11.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()