Searched refs:child (Results 151 - 175 of 840) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/x86/
H A Dfsgsbase.c457 pid_t child = fork(); local
459 if (child < 0)
462 if (child == 0) {
484 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
495 if (ptrace(PTRACE_POKEUSER, child, gs_offset, 0x7) != 0)
499 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
509 ptrace(PTRACE_CONT, child, NULL, NULL);
519 pid_t child = fork(); local
521 if (child < 0)
524 if (child
[all...]
H A Diopl.c216 pid_t child = fork(); local
217 if (child == -1)
220 if (child == 0) {
231 if (waitpid(child, &status, 0) != child ||
/linux-master/drivers/firewire/
H A Dcore-topology.c130 * the hop count is the sum of the two biggest child depths plus 2.
132 * containted in a child tree, in which case the max hop count is just
133 * the max hop count of this child.
174 struct fw_node *node, *child, *local_node, *irm_node; local
213 * start of the child nodes for this node.
221 child = fw_node(h);
255 node->ports[i] = child;
258 * child node.
260 child->ports[child
317 struct fw_node *node, *next, *child, *parent; local
[all...]
/linux-master/drivers/iio/adc/
H A Dfsl-imx25-gcq.c202 struct device_node *child; local
219 for_each_child_of_node(np, child) {
224 ret = of_property_read_u32(child, "reg", &reg);
227 of_node_put(child);
234 of_node_put(child);
238 of_property_read_u32(child, "fsl,adc-refp", &refp);
239 of_property_read_u32(child, "fsl,adc-refn", &refn);
247 of_node_put(child);
260 of_node_put(child);
273 of_node_put(child);
[all...]
/linux-master/drivers/leds/
H A Dleds-gpio.c151 struct fwnode_handle *child; local
163 device_for_each_child_node(dev, child) {
172 led.gpiod = devm_fwnode_gpiod_get(dev, child, NULL, GPIOD_ASIS,
176 child);
177 fwnode_handle_put(child);
183 led.default_state = led_init_default_state_get(child);
185 if (fwnode_property_present(child, "retain-state-suspended"))
187 if (fwnode_property_present(child, "retain-state-shutdown"))
189 if (fwnode_property_present(child, "panic-indicator"))
192 ret = create_gpio_led(&led, led_dat, dev, child, NUL
[all...]
H A Dleds-is31fl32xx.c328 const struct device_node *child,
335 ret = of_property_read_u32(child, "reg", &reg);
339 child);
366 struct device_node *child; local
369 for_each_available_child_of_node(dev_of_node(dev), child) {
377 ret = is31fl32xx_parse_child_dt(dev, child, led_data);
381 /* Detect if channel is already in use by another child */
387 child);
392 init_data.fwnode = of_fwnode_handle(child);
398 child, re
327 is31fl32xx_parse_child_dt(const struct device *dev, const struct device_node *child, struct is31fl32xx_led_data *led_data) argument
[all...]
/linux-master/drivers/pci/
H A Dprobe.c525 void pci_read_bridge_bases(struct pci_bus *child) argument
527 struct pci_dev *dev = child->self;
531 if (pci_is_root_bus(child)) /* It's a host bus, nothing to read */
535 &child->busn_res,
538 pci_bus_remove_resources(child);
540 child->resource[i] = &dev->resource[PCI_BRIDGE_RESOURCES+i];
542 pci_read_bridge_io(child->self, child->resource[0], false);
543 pci_read_bridge_mmio(child->self, child
1098 struct pci_bus *child; local
1180 struct pci_bus *child; local
1269 struct pci_bus *child; local
3066 struct pci_bus *bus, *child; local
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c33 char *parent, *child, *parent2 = NULL, *child2 = NULL; local
39 child = cg_name(root, "memcg_test_0/memcg_test_1");
40 if (!parent || !child)
49 if (cg_create(child))
52 if (cg_read_strstr(child, "cgroup.controllers", "memory"))
83 cg_destroy(child);
88 free(child);
1118 char *parent, *child; local
1122 child = cg_name(root, "memcg_test_0/memcg_test_1");
1124 if (!parent || !child)
1190 char *parent, *child; local
[all...]
/linux-master/drivers/clk/rockchip/
H A Dclk.c211 unsigned long flags, struct rockchip_clk_branch *child,
223 if (child && child->branch_type != branch_mux) {
224 pr_err("%s: fractional child clock for %s can only be a mux\n",
263 if (child) {
269 frac->mux_frac_idx = match_string(child->parent_names,
270 child->num_parents, name);
274 frac_mux->reg = base + child->muxdiv_offset;
275 frac_mux->shift = child->mux_shift;
276 frac_mux->mask = BIT(child
206 rockchip_clk_register_frac_branch( struct rockchip_clk_provider *ctx, const char *name, const char *const *parent_names, u8 num_parents, void __iomem *base, int muxdiv_offset, u8 div_flags, int gate_offset, u8 gate_shift, u8 gate_flags, unsigned long flags, struct rockchip_clk_branch *child, spinlock_t *lock) argument
[all...]
/linux-master/drivers/input/joystick/
H A Dadc-joystick.c125 struct fwnode_handle *child; local
130 dev_err(dev, "Unable to find child nodes\n");
135 dev_err(dev, "Got %d child nodes for %d channels\n",
144 device_for_each_child_node(dev, child) {
145 error = fwnode_property_read_u32(child, "reg", &i);
157 error = fwnode_property_read_u32(child, "linux,code",
164 error = fwnode_property_read_u32_array(child, "abs-range",
171 fwnode_property_read_u32(child, "abs-fuzz", &axes[i].fuzz);
172 fwnode_property_read_u32(child, "abs-flat", &axes[i].flat);
185 fwnode_handle_put(child);
[all...]
/linux-master/arch/x86/include/asm/
H A Dpage_64_types.h77 #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_ADDR32)) ? \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbench_local_storage_create.c43 int BPF_PROG(sched_process_fork, struct task_struct *parent, struct task_struct *child) argument
50 stg = bpf_task_storage_get(&task_storage_map, child, NULL,
/linux-master/drivers/dma/qcom/
H A Dhidma_mgmt.c352 struct device_node *child; local
361 for_each_available_child_of_node(np, child) {
364 ret = of_address_to_resource(child, 0, &res[0]);
368 ret = of_address_to_resource(child, 1, &res[1]);
372 ret = of_irq_to_resource(child, 0, &res[2]);
377 pdevinfo.fwnode = &child->fwnode;
379 pdevinfo.name = child->name;
391 new_pdev->dev.of_node = child;
392 of_dma_configure(&new_pdev->dev, child, true);
397 of_msi_configure(&new_pdev->dev, child);
415 struct device_node *child; local
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dsdio.c41 static void wl1271_sdio_set_block_size(struct device *child, argument
44 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
52 static int __must_check wl12xx_sdio_raw_read(struct device *child, int addr, argument
56 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
63 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n",
71 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n",
78 dev_err_ratelimited(child->parent, "sdio read failed (%d)\n", ret);
90 static int __must_check wl12xx_sdio_raw_write(struct device *child, int addr, argument
94 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
108 dev_dbg(child
169 wl12xx_sdio_set_power(struct device *child, bool enable) argument
[all...]
/linux-master/drivers/memory/
H A Dpl353-smc.c77 struct device_node *child; local
110 /* Find compatible children. Only a single child is supported */
111 for_each_available_child_of_node(of_node, child) {
112 match = of_match_node(pl353_smc_supported_children, child);
114 dev_warn(&adev->dev, "unsupported child node\n");
125 of_platform_device_create(child, NULL, &adev->dev);
126 of_node_put(child);
/linux-master/arch/openrisc/kernel/
H A Dptrace.c159 * does not yet catch signals sent when the child dies.
169 void ptrace_disable(struct task_struct *child) argument
173 user_disable_single_step(child);
174 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
177 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, argument
184 ret = ptrace_request(child, request, addr, data);
/linux-master/drivers/i2c/muxes/
H A Di2c-mux-gpmux.c73 struct device_node *child; local
111 for_each_child_of_node(np, child) {
114 ret = of_property_read_u32(child, "reg", &chan);
117 child);
137 of_node_put(child);
/linux-master/drivers/clocksource/
H A Dtimer-riscv.c205 struct device_node *child; local
223 child = of_find_compatible_node(NULL, NULL, "riscv,timer");
224 if (child) {
225 riscv_timer_cannot_wake_cpu = of_property_read_bool(child,
227 of_node_put(child);
/linux-master/scripts/kconfig/
H A Dgconf.c1088 struct menu *child; local
1094 for (child = menu->list; child; child = child->next) {
1095 if (menu_is_visible(child)
1096 && child->sym == def_sym)
1097 def_menu = child;
1215 GtkTreeIter *child = &iter; local
1219 valid = gtk_tree_model_iter_children(model2, child, paren
1335 struct menu *child; local
1425 struct menu *child; local
[all...]
/linux-master/drivers/leds/flash/
H A Dleds-rt8515.c279 struct fwnode_handle *child; local
307 child = fwnode_get_next_available_child_node(dev->fwnode, NULL);
308 if (!child) {
310 "No fwnode child node found for connected LED.\n");
313 init_data.fwnode = child;
315 rt8515_determine_max_intensity(rt, child, "richtek,rfs-ohms",
319 rt8515_determine_max_intensity(rt, child, "richtek,rts-ohms",
324 ret = fwnode_property_read_u32(child, "flash-max-timeout-us",
346 fwnode_handle_put(child);
355 rt->v4l2_flash = v4l2_flash_init(dev, child, fle
[all...]
/linux-master/security/yama/
H A Dyama_lsm.c268 * @parent: the process to compare against while walking up from child
269 * @child: the process to start from while looking upwards for parent
271 * Returns 1 if child is a descendant of parent, 0 if not.
274 struct task_struct *child)
277 struct task_struct *walker = child;
279 if (!parent || !child)
350 * @child: task that current task is attempting to ptrace
355 static int yama_ptrace_access_check(struct task_struct *child, argument
360 /* require ptrace target be a child of ptracer on attach */
368 if (!pid_alive(child))
273 task_is_descendant(struct task_struct *parent, struct task_struct *child) argument
[all...]
/linux-master/fs/kernfs/
H A Dmount.c145 static struct dentry *kernfs_get_parent_dentry(struct dentry *child) argument
147 struct kernfs_node *kn = kernfs_dentry_node(child);
149 return d_obtain_alias(kernfs_get_inode(child->d_sb, kn->parent));
174 * find the next ancestor in the path down to @child, where @parent was the
177 * Say the path is /a/b/c/d. @child is d, @parent is %NULL. We return the root
181 static struct kernfs_node *find_next_ancestor(struct kernfs_node *child, argument
184 if (child == parent) {
185 pr_crit_once("BUG in find_next_ancestor: called with parent == child");
189 while (child->parent != parent) {
190 if (!child
[all...]
/linux-master/net/ipv4/
H A Dtcp_fastopen.c244 struct sock *child; local
247 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL,
249 if (!child)
256 /* Initialize the child socket. Have to fix some values to take
257 * into account the child is a Fast Open socket and is created
260 tp = tcp_sk(child);
275 req->timeout = tcp_timeout_init(child);
276 inet_csk_reset_xmit_timer(child, ICSK_TIME_RETRANS,
281 /* Now finish processing the fastopen child socket. */
282 tcp_init_transfer(child, BPF_SOCK_OPS_PASSIVE_ESTABLISHED_C
355 struct sock *child; local
[all...]
/linux-master/crypto/
H A Dcts.c56 struct crypto_skcipher *child; member in struct:crypto_cts_ctx
70 struct crypto_skcipher *child = ctx->child; local
72 return PTR_ALIGN((u8 *)(rctx + 1) + crypto_skcipher_reqsize(child),
80 struct crypto_skcipher *child = ctx->child; local
82 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK);
83 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) &
85 return crypto_skcipher_setkey(child, key, keylen);
153 skcipher_request_set_tfm(subreq, ctx->child);
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dobject.c196 struct nvkm_object *child; local
202 list_for_each_entry_reverse(child, &object->tree, head) {
203 ret = nvkm_object_fini(child, suspend);
229 list_for_each_entry_continue_reverse(child, &object->tree, head) {
230 nvkm_object_init(child);
238 struct nvkm_object *child; local
251 list_for_each_entry(child, &object->tree, head) {
252 ret = nvkm_object_init(child);
262 list_for_each_entry_continue_reverse(child, &object->tree, head)
263 nvkm_object_fini(child, fals
274 struct nvkm_object *child, *ctemp; local
[all...]

Completed in 214 milliseconds

1234567891011>>