| /third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
| D | msgstress04.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 48 #define MAXNPROCS 1000000 /* This value is set to an arbitrary high limit. */ 55 static int maxnkids = MAXNKIDS; /* Used if pid_max is exceeded */ 86 printf(" -n Number of processes\n"); in usage() [all …]
|
| D | msgstress02.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 47 #define MAXNPROCS 1000000 /* This value is set to an arbitrary high limit. */ 81 printf(" -n Number of processes\n"); in usage() 82 printf(" -c Number of read/write child pairs\n"); in usage() [all …]
|
| D | msgstress03.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 49 #define MAXNREPS 10000 /*Else they srewup the system un-necessarily */ 75 printf(" -n Number of processes\n"); in usage() 76 printf(" -l Number of iterations\n"); in usage() [all …]
|
| D | msgstress01.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 48 #define MAXNPROCS 1000000 /* This value is set to an arbitrary high limit. */ 78 printf(" -n Number of processes\n"); in usage() 79 printf(" -l Number of iterations\n"); in usage() [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fork/ |
| D | fork06.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 * Test that a process can fork children a large number of 26 * Attempt to fork a child that exits immediately 55 int i, pid, status, childpid, succeed, fail; in main() local [all …]
|
| D | fork11.c | 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 9 * This program is distributed in the hope that it will be useful, 12 * the GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 26 * Fork NUMFORKS children that do nothing. 55 int fail = 0; in main() local 66 pid = fork(); in main() [all …]
|
| D | fork04.c | 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of version 2 of the GNU General Public License as 8 * This program is distributed in the hope that it would be useful, but 12 * Further, this software is distributed without any warranty that it is 15 * otherwise, applies only to this software file. Patent licenses, if 16 * any, provided herein do not apply to combinations of this program with 19 * You should have received a copy of the GNU General Public License along 20 * with this program; if not, write the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 33 * OS Test - Silicon Graphics, Inc. [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/kill/ |
| D | kill08.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 30 * loop if the -i option was given 31 * fork 5 childeren 34 * if return value is -1 [all …]
|
| D | kill07.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 25 * Test case to check that SIGKILL can not be caught. 30 * loop if the -i option was given 32 * if SIGKILL is caught set the shared memory flag. [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/setsid/ |
| D | setsid01.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 31 * This test doesn't follow good LTP format - PLEASE FIX! 43 #define INVAL_FLAG -1 64 int fail = 0; in main() local [all …]
|
| /third_party/pulseaudio/src/pulsecore/ |
| D | start-child.c | 2 This file is part of PulseAudio. 6 PulseAudio is free software; you can redistribute it and/or modify 7 it under the terms of the GNU Lesser General Public License as 11 PulseAudio is distributed in the hope that it will be useful, but 14 Lesser General Public License for more details. 16 You should have received a copy of the GNU Lesser General Public 17 License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 39 #include <pulsecore/core-util.h> 40 #include <pulsecore/core-error.h> 43 #include "start-child.h" [all …]
|
| /third_party/pulseaudio/src/pulse/ |
| D | fork-detect.c | 2 This file is part of PulseAudio. 6 PulseAudio is free software; you can redistribute it and/or modify 7 it under the terms of the GNU Lesser General Public License as published 11 PulseAudio is distributed in the hope that it will be useful, but 14 General Public License for more details. 16 You should have received a copy of the GNU Lesser General Public License 17 along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 29 #include "fork-detect.h" 32 static pa_atomic_t pid = PA_ATOMIC_INIT((int) -1); in pa_detect_fork() 35 * love to fork after initializing in pa_detect_fork() [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/vfork/ |
| D | vfork02.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 24 * Fork a process using vfork() and verify that, the pending signals in 25 * the parent are not pending in the child process. 28 * The signal which is pending in the parent should not be pending in the [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fcntl/ |
| D | fcntl17.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 103 tst_sig(FORK, DEF_HANDLER, NULL); in setup() 108 if (pipe(parent_pipe) < 0) { in setup() 113 if (pipe(child_pipe1) < 0) { in setup() [all …]
|
| D | fcntl18.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 48 #define INVAL_FLAG -1 49 #define INVAL_MIN (-2147483647L-1L) 60 int fail; variable [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/move_pages/ |
| D | move_pages11.c | 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 14 * This program is distributed in the hope that it will be useful, 17 * the GNU General Public License for more details. 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 33 * 2. Fork another process. 36 * 4. Check if errno is set to EPERM. 38 * USAGE: <for command-line> [all …]
|
| D | move_pages07.c | 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 14 * This program is distributed in the hope that it will be useful, 17 * the GNU General Public License for more details. 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 29 * Failure when PID is invalid. 33 * 1. Pass a non-existent pid to move_pages(). 34 * 2. Check if errno is set to ESRCH. [all …]
|
| D | move_pages06.c | 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 14 * This program is distributed in the hope that it will be useful, 17 * the GNU General Public License for more details. 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 29 * Failure when NUMA node is invalid. 33 * 1. Pass a non-existent NUMA node number to move_pages(). 34 * 2. Check if errno is set to ENODEV. [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
| D | 3-1.c | 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 9 * This program is distributed in the hope that it would be useful, but 13 * You should have received a copy of the GNU General Public License along 14 * with this program; if not, write the Free Software Foundation, Inc., 15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 * sem_unlink will return -1 and set errno to EACCESS if the process has not 23 * -> open a semaphore with 0744 mask 24 * -> fork 25 * -> change child uid [all …]
|
| /third_party/ltp/testcases/kernel/fs/doio/ |
| D | forker.c | 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of version 2 of the GNU General Public License as 8 * This program is distributed in the hope that it would be useful, but 12 * Further, this software is distributed without any warranty that it is 15 * otherwise, applies only to this software file. Patent licenses, if 16 * any, provided herein do not apply to combinations of this program with 19 * You should have received a copy of the GNU General Public License along 20 * with this program; if not, write the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 34 * OS Testing - Silicon Graphics, Inc. [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
| D | 9-1.c | 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License version 2. 5 * This program is distributed in the hope that it will be useful, 8 * GNU General Public License for more details. 12 * priority running process, if the priority of the process specified by the 13 * pid argument is set higher than that of the lowest priority running process 14 * and if the specified process is ready to run. 18 * There is no portable way to get the number of CPUs but the test should work 19 * for most of UNIX system (including but not limited to: Linux, Solaris, AIX, 25 * 3. Create NB_CPU-1 children processes which set their own priority to the [all …]
|
| /third_party/ltp/testcases/kernel/mem/page/ |
| D | page01.c | 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 10 * This program is distributed in the hope that it will be useful, 13 * the GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 35 < is what was expected. 82 if (argc < 2) { 85 } else if (argc == 3) { [all …]
|
| /third_party/ltp/testcases/kernel/fs/ftest/ |
| D | ftest01.c | 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 11 * This program is distributed in the hope that it will be useful, 14 * the GNU General Public License for more details. 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 23 * ftest01.c -- test file I/O (ported from SPIE section2, filesuite, by Airong Zhang) 30 * A bitmap is used to map pieces of a file. 32 * if we haven't seen it before make sure it is zero, [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/setpgid/ |
| D | setpgid01.c | 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of version 2 of the GNU General Public License as 8 * This program is distributed in the hope that it would be useful, but 12 * Further, this software is distributed without any warranty that it is 15 * otherwise, applies only to this software file. Patent licenses, if 16 * any, provided herein do not apply to combinations of this program with 19 * You should have received a copy of the GNU General Public License along 20 * with this program; if not, write the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1() [all …]
|
| /third_party/mesa3d/docs/ci/ |
| D | index.rst | 5 --------- 8 We use it to test merge requests (MRs) before merging them (pre-merge testing), 9 as well as post-merge testing, for everything that hits ``main`` 10 (this is necessary because we still allow commits to be pushed outside of MRs, 12 modified and thus is unreliable). 14 The CI runs a number of tests, from trivial build-testing to complex GPU rendering: 16 - Build testing for a number of build systems, configurations and platforms 17 - Sanity checks (``meson test``) 18 - Some drivers (softpipe, llvmpipe, freedreno and panfrost) are also tested 19 using `VK-GL-CTS <https://github.com/KhronosGroup/VK-GL-CTS>`__ [all …]
|