Home
last modified time | relevance | path

Searched refs:child (Results 176 - 200 of 2618) sorted by relevance

12345678910>>...105

/kernel/linux/linux-5.10/scripts/kconfig/
H A Dmconf.c470 struct menu *child; in build_conf() local
534 for (child = menu->list; child; child = child->next) { in build_conf()
535 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
536 def_menu = child; in build_conf()
639 for (child = menu->list; child; chil in build_conf()
799 struct menu *child; conf_choice() local
[all...]
/third_party/node/test/parallel/
H A Dtest-process-raw-debug.js29 case 'child':
30 return child();
39 const child = spawn(process.execPath, [__filename, 'child']);
43 child.stderr.on('data', function(c) {
47 child.stderr.setEncoding('utf8');
49 child.stderr.on('end', function() {
54 child.on('exit', common.mustCall(function(c) {
56 console.log('ok - child exited nicely');
60 function child() { function
[all...]
H A Dtest-listen-fd-detached-inherit.js33 case 'child': return child();
38 // Spawn the parent, and listen for it to tell us the pid of the child.
43 // a more low-level approach, use child process IPC manually.
55 const child = JSON.parse(json);
59 port: child.port,
69 process.kill(child.pid, 'SIGKILL');
76 assert.strictEqual(s, 'hello from child\n');
83 // Listen on port, and then pass the handle to the detached child.
84 // Then output the child'
109 function child() { global() function
[all...]
H A Dtest-listen-fd-detached.js33 case 'child': return child();
38 // Spawn the parent, and listen for it to tell us the pid of the child.
43 // a more low-level approach, use child process IPC manually.
55 const child = JSON.parse(json);
59 port: child.port,
69 process.kill(child.pid, 'SIGKILL');
76 assert.strictEqual(s, 'hello from child\n');
90 const child = spawn(process.execPath, [__filename, 'child'], {
106 function child() { global() function
[all...]
H A Dtest-child-process-windows-hide.js27 const child = cp.spawnSync(cmd, args, options);
29 assert.strictEqual(child.status, 0);
30 assert.strictEqual(child.signal, null);
31 assert.strictEqual(child.stdout.toString().trim(), '42');
32 assert.strictEqual(child.stderr.toString().trim(), '');
36 const child = cp.spawn(cmd, args, options);
38 child.on('exit', common.mustCall((code, signal) => {
H A Dtest-tls-enable-trace.js20 const child = fork(__filename, ['test'], { silent: true });
23 child.stderr.setEncoding('utf8');
24 child.stderr.on('data', (data) => stderr += data);
25 child.on('close', common.mustCall(() => {
31 child.stderr.pipe(process.stderr);
32 child.stdout.pipe(process.stdout);
34 child.on('exit', common.mustCall((code) => {
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dptrace.c59 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument
61 user_disable_single_step(child); in ptrace_disable()
68 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, in arch_ptrace() argument
75 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
82 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument
85 regs = task_pt_regs(child); in user_enable_single_step()
87 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step()
90 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument
93 regs = task_pt_regs(child); in user_disable_single_step()
95 clear_tsk_thread_flag(child, TIF_SINGLESTE in user_disable_single_step()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c88 pid_t child[NR_CHILDS]; in main() local
109 child[i] = fork_child(); in main()
116 if (child[i] <= 0) in main()
120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
126 warn("(pid=%d): waitpid(%d)", pid, child[i]); in main()
128 child[i] *= -1; in main()
138 if (child[i] <= 0) in main()
140 kill(child[i], SIGUSR1); in main()
147 pid, -child[i], WEXITSTATUS(wstatus[i])); in main()
150 pid, -child[ in main()
[all...]
/third_party/node/test/sequential/
H A Dtest-util-debug.js29 if (modeArgv === 'child')
30 child(sectionArgv);
63 const child = spawn(process.execPath, [__filename, 'child', section], {
77 const start = `${section.toUpperCase()} ${num[0]}${child.pid}${num[1]}`;
83 const start = `${section.toUpperCase()} ${child.pid}`;
91 child.stderr.setEncoding('utf8');
92 child.stderr.on('data', (c) => {
97 child.stdout.setEncoding('utf8');
98 child
114 function child(section) { global() function
[all...]
/kernel/liteos_a/kernel/extended/container/
H A Dlos_pid_container.c332 STATIC UINT32 CreatePidContainer(LosProcessCB *child, LosProcessCB *parent) in CreatePidContainer() argument
352 child->container->pidContainer = newPidContainer; in CreatePidContainer()
353 child->container->pidForChildContainer = newPidContainer; in CreatePidContainer()
354 ret = OsAllocSpecifiedVpidUnsafe(OS_USER_ROOT_PROCESS_ID, newPidContainer, child, parent); in CreatePidContainer()
357 FreeVpid(child); in CreatePidContainer()
358 child->container->pidContainer = NULL; in CreatePidContainer()
359 child->container->pidForChildContainer = NULL; in CreatePidContainer()
368 STATIC UINT32 AllocVpidFormPidForChildContainer(LosProcessCB *child, LosProcessCB *parent) in AllocVpidFormPidForChildContainer() argument
372 child->container->pidContainer = pidContainer; in AllocVpidFormPidForChildContainer()
373 child in AllocVpidFormPidForChildContainer()
399 OsCopyPidContainer(UINTPTR flags, LosProcessCB *child, LosProcessCB *parent, UINT32 *processID) OsCopyPidContainer() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Dof_regulator.c324 * contain a set of child nodes, each providing the init data for one
325 * regulator. The data parsed from a child node will be matched to a regulator
327 * or otherwise the child node's name. Note that the match table is modified
339 struct device_node *child; in of_regulator_match() local
362 for_each_child_of_node(node, child) in of_regulator_match()
364 name = of_get_property(child, "regulator-compatible", NULL); in of_regulator_match()
366 name = child->name; in of_regulator_match()
378 match->init_data = of_get_regulator_init_data(dev, child, match->desc); in of_regulator_match()
380 dev_err(dev, "failed to parse DT for regulator %pOFn\n", child); in of_regulator_match()
381 of_node_put(child); in of_regulator_match()
396 struct device_node *search, *child; regulator_of_get_init_node() local
442 struct device_node *child; regulator_of_get_init_data() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dspi.c90 static void wl12xx_spi_reset(struct device *child) in wl12xx_spi_reset() argument
92 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset()
99 dev_err(child->parent, in wl12xx_spi_reset()
118 static void wl12xx_spi_init(struct device *child) in wl12xx_spi_init() argument
120 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init()
127 dev_err(child->parent, in wl12xx_spi_init()
196 static int wl12xx_spi_read_busy(struct device *child) in wl12xx_spi_read_busy() argument
198 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy()
199 struct wl1271 *wl = dev_get_drvdata(child); in wl12xx_spi_read_busy()
227 dev_err(child in wl12xx_spi_read_busy()
231 wl12xx_spi_raw_read(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_read() argument
298 __wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) __wl12xx_spi_raw_write() argument
353 wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_write() argument
373 wl12xx_spi_set_power(struct device *child, bool enable) wl12xx_spi_set_power() argument
401 wl12xx_spi_set_block_size(struct device *child, unsigned int blksz) wl12xx_spi_set_block_size() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dproperty.h123 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child);
125 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
127 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
129 #define fwnode_for_each_child_node(fwnode, child) \
130 for (child = fwnode_get_next_child_node(fwnode, NULL); child; \
131 child = fwnode_get_next_child_node(fwnode, child))
133 #define fwnode_for_each_available_child_node(fwnode, child) \
134 for (child
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dof_regulator.c378 * contain a set of child nodes, each providing the init data for one
379 * regulator. The data parsed from a child node will be matched to a regulator
381 * or otherwise the child node's name. Note that the match table is modified
394 struct device_node *child; in of_regulator_match() local
417 for_each_child_of_node(node, child) { in of_regulator_match()
418 name = of_get_property(child, in of_regulator_match()
421 name = child->name; in of_regulator_match()
431 of_get_regulator_init_data(dev, child, in of_regulator_match()
436 child); in of_regulator_match()
437 of_node_put(child); in of_regulator_match()
454 struct device_node *search, *child; regulator_of_get_init_node() local
505 struct device_node *child; regulator_of_get_init_data() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dspi.c89 static void wl12xx_spi_reset(struct device *child) in wl12xx_spi_reset() argument
91 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset()
98 dev_err(child->parent, in wl12xx_spi_reset()
117 static void wl12xx_spi_init(struct device *child) in wl12xx_spi_init() argument
119 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init()
126 dev_err(child->parent, in wl12xx_spi_init()
195 static int wl12xx_spi_read_busy(struct device *child) in wl12xx_spi_read_busy() argument
197 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy()
198 struct wl1271 *wl = dev_get_drvdata(child); in wl12xx_spi_read_busy()
226 dev_err(child in wl12xx_spi_read_busy()
230 wl12xx_spi_raw_read(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_read() argument
297 __wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) __wl12xx_spi_raw_write() argument
352 wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_write() argument
372 wl12xx_spi_set_power(struct device *child, bool enable) wl12xx_spi_set_power() argument
400 wl12xx_spi_set_block_size(struct device *child, unsigned int blksz) wl12xx_spi_set_block_size() argument
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dcryptd.c71 struct crypto_skcipher *child; member
80 struct crypto_shash *child; member
91 struct crypto_aead *child; member
231 struct crypto_skcipher *child = ctx->child; in cryptd_skcipher_setkey() local
233 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
234 crypto_skcipher_set_flags(child, in cryptd_skcipher_setkey()
237 return crypto_skcipher_setkey(child, key, keylen); in cryptd_skcipher_setkey()
246 struct crypto_skcipher *child; in cryptd_skcipher_prepare() local
255 child in cryptd_skcipher_prepare()
475 struct crypto_shash *child = ctx->child; cryptd_hash_setkey() local
536 struct crypto_shash *child = ctx->child; cryptd_hash_init() local
612 struct crypto_shash *child = ctx->child; cryptd_hash_digest() local
723 struct crypto_aead *child = ctx->child; cryptd_aead_setkey() local
732 struct crypto_aead *child = ctx->child; cryptd_aead_setauthsize() local
737 cryptd_aead_crypt(struct aead_request *req, struct crypto_aead *child, int err, int (*crypt)(struct aead_request *req), crypto_completion_t compl) cryptd_aead_crypt() argument
788 struct crypto_aead *child; cryptd_aead_encrypt() local
800 struct crypto_aead *child; cryptd_aead_decrypt() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c86 struct child { struct
92 static struct child clone_newns(int (*fn)(void *), void *args, in clone_newns()
96 struct child ret; in clone_newns()
120 ksft_print_msg("New child: %d, fd: %d\n", ret.pid, ret.fd); in clone_newns()
125 static inline void child_close(struct child *child) in child_close() argument
127 close(child->fd); in child_close()
130 static inline int child_join(struct child *child, struct error *err) in child_join() argument
134 r = wait_for_pid(child in child_join()
150 child_join_close(struct child *child, struct error *err) child_join_close() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tar.c51 int trace_tar(pid_t child) in trace_tar() argument
55 FAIL_IF(start_trace(child)); in trace_tar()
56 FAIL_IF(show_tar_registers(child, reg)); in trace_tar()
61 FAIL_IF(stop_trace(child)); in trace_tar()
65 int trace_tar_write(pid_t child) in trace_tar_write() argument
67 FAIL_IF(start_trace(child)); in trace_tar_write()
68 FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2)); in trace_tar_write()
72 FAIL_IF(stop_trace(child)); in trace_tar_write()
109 /* Unblock the child now */ in ptrace_tar()
112 /* Wait on child */ in ptrace_tar()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tar.c51 int trace_tar(pid_t child) in trace_tar() argument
55 FAIL_IF(start_trace(child)); in trace_tar()
56 FAIL_IF(show_tar_registers(child, reg)); in trace_tar()
61 FAIL_IF(stop_trace(child)); in trace_tar()
65 int trace_tar_write(pid_t child) in trace_tar_write() argument
67 FAIL_IF(start_trace(child)); in trace_tar_write()
68 FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2)); in trace_tar_write()
72 FAIL_IF(stop_trace(child)); in trace_tar_write()
109 /* Unblock the child now */ in ptrace_tar()
112 /* Wait on child */ in ptrace_tar()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
H A D1-2.c25 * pthread_atfork registers the 'child' handler to be called after fork()
26 * processing in the context of the fork() calling thread in the child process.
104 static void child(void) in child() function
113 pid_t child, ctl; in threaded() local
129 child = fork(); in threaded()
131 if (child == -1) { in threaded()
135 /* child */ in threaded()
136 if (child == 0) { in threaded()
144 ("child handler was not called in the thread s context"); in threaded()
160 /* Parent joins the child */ in threaded()
[all...]
H A D3-2.c93 static void child(void) in child() function
102 pid_t child, ctl; in threaded() local
118 child = fork(); in threaded()
120 if (child == -1) { in threaded()
124 /* child */ in threaded()
125 if (child == 0) { in threaded()
131 FAILED("child handler skipped some rounds"); in threaded()
146 /* Parent joins the child */ in threaded()
147 ctl = waitpid(child, &status, 0); in threaded()
149 if (ctl != child) { in threaded()
[all...]
/third_party/ltp/testcases/misc/math/float/iperb/
H A Dgeniperb.c73 pid_t child; in main() local
82 child = create_file(funct, 0); in main()
83 waitpid(child, NULL, 0); in main()
86 child = create_file(funct, 0); in main()
87 waitpid(child, NULL, 0); in main()
90 child = create_file(funct, 0); in main()
91 waitpid(child, NULL, 0); in main()
/kernel/linux/linux-5.10/drivers/of/
H A Dresolver.c43 struct device_node *child; in adjust_overlay_phandles() local
68 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
69 adjust_overlay_phandles(child, phandle_delta); in adjust_overlay_phandles()
162 struct device_node *child, *overlay_child; in adjust_local_phandle_references() local
206 for_each_child_of_node(local_fixups, child) { in adjust_local_phandle_references()
209 if (!node_name_cmp(child, overlay_child)) { in adjust_local_phandle_references()
215 of_node_put(child); in adjust_local_phandle_references()
219 err = adjust_local_phandle_references(child, overlay_child, in adjust_local_phandle_references()
222 of_node_put(child); in adjust_local_phandle_references()
265 struct device_node *child, *local_fixup in of_resolve_phandles() local
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dresolver.c43 struct device_node *child; in adjust_overlay_phandles() local
68 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
69 adjust_overlay_phandles(child, phandle_delta); in adjust_overlay_phandles()
162 struct device_node *child, *overlay_child; in adjust_local_phandle_references() local
206 for_each_child_of_node(local_fixups, child) { in adjust_local_phandle_references()
209 if (!node_name_cmp(child, overlay_child)) { in adjust_local_phandle_references()
215 of_node_put(child); in adjust_local_phandle_references()
219 err = adjust_local_phandle_references(child, overlay_child, in adjust_local_phandle_references()
222 of_node_put(child); in adjust_local_phandle_references()
265 struct device_node *child, *local_fixup in of_resolve_phandles() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c32 const char *child = cgroup; in do_controller_fn() local
38 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
44 if (cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
50 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
115 /* Fork a privileged child as a test object */ in test_cpuset_perms_object()
120 /* Carry out migration in a child process that can drop all privileges in test_cpuset_perms_object()
124 * as hacky way to pass information about migration target to the child. in test_cpuset_perms_object()
163 * Migrate a process between parent and child implicitely
169 char *parent = NULL, *child = NULL; in test_cpuset_perms_subtree() local
187 child in test_cpuset_perms_subtree()
[all...]

Completed in 14 milliseconds

12345678910>>...105