Searched refs:child (Results 76 - 100 of 840) sorted by relevance

1234567891011>>

/linux-master/drivers/input/keyboard/
H A Dgpio_keys_polled.c147 struct fwnode_handle *child; local
169 device_for_each_child_node(dev, child) {
170 if (fwnode_property_read_u32(child, "linux,code",
173 fwnode_handle_put(child);
177 fwnode_property_read_string(child, "label", &button->desc);
179 if (fwnode_property_read_u32(child, "linux,input-type",
183 if (fwnode_property_read_u32(child, "linux,input-value",
188 fwnode_property_read_bool(child, "wakeup-source") ||
190 fwnode_property_read_bool(child, "gpio-key,wakeup");
192 if (fwnode_property_read_u32(child, "debounc
231 struct fwnode_handle *child = NULL; local
[all...]
/linux-master/tools/testing/selftests/openat2/
H A Drename_attack_test.c57 pid_t child = fork(); local
58 if (child != 0)
59 return child;
87 pid_t child; local
106 child = spawn_attack(dfd, "a/c", "b");
143 E_kill(child, SIGKILL);
/linux-master/drivers/nvdimm/
H A Dnd_virtio.c104 * Create child bio for asynchronous flush and chain with
108 struct bio *child = bio_alloc(bio->bi_bdev, 0, local
112 if (!child)
114 bio_clone_blkg_association(child, bio);
115 child->bi_iter.bi_sector = -1;
116 bio_chain(child, bio);
117 submit_bio(child);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spd-tar.c101 int trace_tm_spd_tar(pid_t child) argument
105 FAIL_IF(start_trace(child));
106 FAIL_IF(show_tar_registers(child, regs));
111 FAIL_IF(show_tm_checkpointed_state(child, regs));
116 FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4));
122 FAIL_IF(stop_trace(child));
H A Dptrace-tm-tar.c90 int trace_tm_tar(pid_t child) argument
94 FAIL_IF(start_trace(child));
95 FAIL_IF(show_tar_registers(child, regs));
100 FAIL_IF(show_tm_checkpointed_state(child, regs));
105 FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4));
110 FAIL_IF(stop_trace(child));
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dspi.c89 static void wl12xx_spi_reset(struct device *child) argument
91 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent);
98 dev_err(child->parent,
117 static void wl12xx_spi_init(struct device *child) argument
119 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent);
126 dev_err(child->parent,
195 static int wl12xx_spi_read_busy(struct device *child) argument
197 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent);
198 struct wl1271 *wl = dev_get_drvdata(child);
226 dev_err(child
230 wl12xx_spi_raw_read(struct device *child, int addr, void *buf, size_t len, bool fixed) argument
297 __wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) argument
352 wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) argument
372 wl12xx_spi_set_power(struct device *child, bool enable) argument
400 wl12xx_spi_set_block_size(struct device *child, unsigned int blksz) argument
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_custom_syncookie.c94 int server, client, child; local
104 child = accept(server, NULL, 0);
105 if (!ASSERT_NEQ(child, -1, "accept"))
108 transfer_message(client, child);
109 transfer_message(child, client);
111 close(child);
/linux-master/arch/mips/include/asm/
H A Dptrace.h126 extern int ptrace_getregs(struct task_struct *child,
128 extern int ptrace_setregs(struct task_struct *child,
131 extern int ptrace_getfpregs(struct task_struct *child, __u32 __user *data);
132 extern int ptrace_setfpregs(struct task_struct *child, __u32 __user *data);
134 extern int ptrace_get_watch_regs(struct task_struct *child,
136 extern int ptrace_set_watch_regs(struct task_struct *child,
/linux-master/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c160 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) argument
172 ret = set_sve(child, type, &sve);
183 if (!get_sve(child, type, (void **)&new_sve, &new_sve_size)) {
194 ret = set_sve(child, type, &sve);
201 if (!get_sve(child, type, (void **)&new_sve, &new_sve_size)) {
214 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, argument
237 ret = set_sve(child, type, &sve);
248 if (!get_sve(child, type, (void **)&new_sve, &new_sve_size)) {
271 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) argument
302 ret = set_sve(child, typ
326 ptrace_set_sve_get_sve_data(pid_t child, const struct vec_type *type, unsigned int vl) argument
424 ptrace_set_sve_get_fpsimd_data(pid_t child, const struct vec_type *type, unsigned int vl) argument
507 ptrace_set_fpsimd_get_sve_data(pid_t child, const struct vec_type *type, unsigned int vl) argument
615 do_parent(pid_t child) argument
744 pid_t child; local
[all...]
/linux-master/scripts/kconfig/
H A Dconf.c452 struct menu *child; local
487 for (child = menu->list; child; child = child->next) {
488 if (!menu_is_visible(child))
490 if (!child->sym) {
491 printf("%*c %s\n", indent, '*', menu_get_prompt(child));
495 if (child->sym == def_sym) {
500 printf(" %d. %s", cnt, menu_get_prompt(child));
563 struct menu *child; local
629 struct menu *child; local
[all...]
/linux-master/drivers/of/
H A Dresolver.c43 struct device_node *child; local
68 for_each_child_of_node(overlay, child)
69 adjust_overlay_phandles(child, phandle_delta);
162 struct device_node *child, *overlay_child; local
206 for_each_child_of_node(local_fixups, child) {
209 if (!node_name_cmp(child, overlay_child)) {
215 of_node_put(child);
219 err = adjust_local_phandle_references(child, overlay_child,
222 of_node_put(child);
265 struct device_node *child, *local_fixup local
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c32 const char *child = cgroup; local
38 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset"))
44 if (cg_read_strstr(child, "cgroup.controllers", "cpuset"))
50 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset"))
115 /* Fork a privileged child as a test object */
120 /* Carry out migration in a child process that can drop all privileges
124 * as hacky way to pass information about migration target to the child.
163 * Migrate a process between parent and child implicitely
169 char *parent = NULL, *child = NULL; local
187 child
[all...]
H A Dtest_cpu.c40 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; local
54 child = cg_name(parent, "cpucg_test_child");
55 if (!child)
58 if (cg_create(child))
61 if (cg_read_strstr(child, "cgroup.controllers", "cpu"))
85 cg_destroy(child);
86 free(child);
235 pid_t (*spawn_child)(const struct cpu_hogger *child),
301 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) argument
312 return cg_run_nowait(child
233 run_cpucg_weight_test( const char *root, pid_t (*spawn_child)(const struct cpu_hogger *child), int (*validate)(const struct cpu_hogger *children, int num_children)) argument
315 weight_hog_all_cpus(const struct cpu_hogger *child) argument
361 weight_hog_one_cpu(const struct cpu_hogger *child) argument
410 char *parent = NULL, *child = NULL; local
630 char *parent, *child; local
[all...]
/linux-master/arch/s390/kernel/
H A Dptrace.c155 static inline unsigned long __peek_user_per(struct task_struct *child, argument
161 PER_EVENT_IFETCH : child->thread.per_user.control;
165 0 : child->thread.per_user.start;
169 -1UL : child->thread.per_user.end;
176 return child->thread.per_user.start;
179 return child->thread.per_user.end;
183 child->thread.per_event.cause << (BITS_PER_LONG - 16);
186 return child->thread.per_event.address;
190 child->thread.per_event.paid << (BITS_PER_LONG - 8);
203 static unsigned long __peek_user(struct task_struct *child, addr_ argument
273 peek_user(struct task_struct *child, addr_t addr, addr_t data) argument
292 __poke_user_per(struct task_struct *child, addr_t addr, addr_t data) argument
325 __poke_user(struct task_struct *child, addr_t addr, addr_t data) argument
412 poke_user(struct task_struct *child, addr_t addr, addr_t data) argument
430 arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) argument
525 __peek_user_per_compat(struct task_struct *child, addr_t addr) argument
565 __peek_user_compat(struct task_struct *child, addr_t addr) argument
633 peek_user_compat(struct task_struct *child, addr_t addr, addr_t data) argument
648 __poke_user_per_compat(struct task_struct *child, addr_t addr, __u32 data) argument
666 __poke_user_compat(struct task_struct *child, addr_t addr, addr_t data) argument
750 poke_user_compat(struct task_struct *child, addr_t addr, addr_t data) argument
760 compat_arch_ptrace(struct task_struct *child, compat_long_t request, compat_ulong_t caddr, compat_ulong_t cdata) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dgct.c44 if (node->child)
45 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search);
/linux-master/arch/sparc/kernel/
H A Dof_device_common.h21 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec);
30 void (*count_cells)(struct device_node *child,
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dfork_cleanup_test.c19 * Test that a fork clears the PMU state of the child. eg. BESCR/EBBHR/EBBRR
20 * are cleared, and MMCR0_PMCC is reset, preventing the child from accessing
26 static int child(void) function
66 exit(child());
/linux-master/include/linux/
H A Dleds-ti-lmu-common.h41 struct fwnode_handle *child,
44 int ti_lmu_common_get_brt_res(struct device *dev, struct fwnode_handle *child,
H A Drbtree_augmented.h150 RBSTRUCT *child; \
153 child = rb_entry(node->RBFIELD.rb_left, RBSTRUCT, RBFIELD); \
154 if (child->RBAUGMENTED > max) \
155 max = child->RBAUGMENTED; \
158 child = rb_entry(node->RBFIELD.rb_right, RBSTRUCT, RBFIELD); \
159 if (child->RBAUGMENTED > max) \
160 max = child->RBAUGMENTED; \
227 struct rb_node *child = node->rb_right; local
234 * Case 1: node to erase has no more than 1 child (easy!)
236 * Note that if there is one child i
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Devent-no-pid.tc97 child=$!
98 echo "child = $child"
99 wait $child
111 cnt=`count_pid $child`
/linux-master/drivers/cpuidle/
H A Ddt_idle_genpd.c134 struct of_phandle_args child, parent; local
142 child.np = node;
143 child.args_count = 0;
144 ret = of_genpd_add_subdomain(&parent, &child);
158 struct of_phandle_args child, parent; local
166 child.np = node;
167 child.args_count = 0;
168 ret = of_genpd_remove_subdomain(&parent, &child);
/linux-master/drivers/scsi/libsas/
H A Dsas_expander.c723 struct domain_device *child,
730 child->pathways = 0;
741 if (sas_phy_match_dev_addr(child, phy)) {
742 child->min_linkrate = min(parent->min_linkrate,
744 child->max_linkrate = max(parent->max_linkrate,
746 child->pathways++;
750 child->linkrate = min(parent_phy->linkrate, child->max_linkrate);
751 child->pathways = min(child
722 sas_ex_get_linkrate(struct domain_device *parent, struct domain_device *child, struct ex_phy *parent_phy) argument
754 sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy, struct domain_device *child, int phy_id) argument
793 struct domain_device *child = NULL; local
875 struct domain_device *child = NULL; local
953 struct domain_device *child = NULL; local
1070 struct domain_device *child; local
1178 sas_print_parent_topology_bug(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) argument
1201 sas_eeds_valid(struct domain_device *parent, struct domain_device *child) argument
1212 sas_check_eeds(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) argument
1243 sas_check_edge_expander_topo(struct domain_device *child, struct ex_phy *parent_phy) argument
1274 sas_check_fanout_expander_topo(struct domain_device *child, struct ex_phy *parent_phy) argument
1291 sas_check_parent_topology(struct domain_device *child) argument
1471 sas_configure_parent(struct domain_device *parent, struct domain_device *child, u8 *sas_addr, int include) argument
1815 struct domain_device *child, *n; local
1832 struct domain_device *child, *n, *found = NULL; local
1863 struct domain_device *child; local
1902 struct domain_device *child; local
[all...]
/linux-master/tools/perf/tests/
H A Dbuiltin-test.c230 struct child_test *child = container_of(process, struct child_test, process); local
234 pr_debug("test child forked, pid %d\n", getpid());
235 err = test_function(child->test, child->subtest)(child->test, child->subtest);
293 * Busy loop reading from the child's stdout and stderr that are set to
349 /* Clean up child process. */
370 static int start_test(struct test_suite *test, int i, int subi, struct child_test **child, argument
375 *child
[all...]
/linux-master/include/crypto/internal/
H A Dgeniv.h17 struct crypto_aead *child; member in struct:aead_geniv_ctx
/linux-master/fs/btrfs/
H A Dexport.h27 struct dentry *btrfs_get_parent(struct dentry *child);

Completed in 273 milliseconds

1234567891011>>