child 26 arch/alpha/include/asm/gct.h gct6_handle child; child 44 arch/alpha/kernel/gct.c if (node->child) child 45 arch/alpha/kernel/gct.c status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search); child 178 arch/alpha/kernel/proto.h extern int ptrace_set_bpt (struct task_struct *child); child 179 arch/alpha/kernel/proto.h extern int ptrace_cancel_bpt (struct task_struct *child); child 179 arch/alpha/kernel/ptrace.c ptrace_set_bpt(struct task_struct * child) child 185 arch/alpha/kernel/ptrace.c pc = get_reg(child, REG_PC); child 186 arch/alpha/kernel/ptrace.c res = read_int(child, pc, (int *) &insn); child 201 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; child 203 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_addr[nsaved++] child 208 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); child 211 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; child 217 arch/alpha/kernel/ptrace.c res = read_int(child, task_thread_info(child)->bpt_addr[i], child 221 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_insn[i] = insn; child 223 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_addr[i])); child 224 arch/alpha/kernel/ptrace.c res = write_int(child, task_thread_info(child)->bpt_addr[i], child 229 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_nsaved = nsaved; child 238 arch/alpha/kernel/ptrace.c ptrace_cancel_bpt(struct task_struct * child) child 240 arch/alpha/kernel/ptrace.c int i, nsaved = task_thread_info(child)->bpt_nsaved; child 242 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_nsaved = 0; child 250 arch/alpha/kernel/ptrace.c write_int(child, task_thread_info(child)->bpt_addr[i], child 251 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_insn[i]); child 256 arch/alpha/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 259 arch/alpha/kernel/ptrace.c task_thread_info(child)->bpt_nsaved = -1; child 262 arch/alpha/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 264 arch/alpha/kernel/ptrace.c ptrace_cancel_bpt(child); child 272 arch/alpha/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 274 arch/alpha/kernel/ptrace.c user_disable_single_step(child); child 277 arch/alpha/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 288 arch/alpha/kernel/ptrace.c copied = ptrace_access_vm(child, addr, &tmp, sizeof(tmp), child 301 arch/alpha/kernel/ptrace.c ret = get_reg(child, addr); child 308 arch/alpha/kernel/ptrace.c ret = generic_ptrace_pokedata(child, addr, data); child 313 arch/alpha/kernel/ptrace.c ret = put_reg(child, addr, data); child 316 arch/alpha/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 267 arch/arc/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 271 arch/arc/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 280 arch/arc/kernel/ptrace.c ret = put_user(task_thread_info(child)->thr_ptr, child 284 arch/arc/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 211 arch/arm/crypto/ghash-ce-glue.c struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); child 213 arch/arm/crypto/ghash-ce-glue.c desc->tfm = child; child 267 arch/arm/crypto/ghash-ce-glue.c struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); child 269 arch/arm/crypto/ghash-ce-glue.c desc->tfm = child; child 298 arch/arm/crypto/ghash-ce-glue.c struct crypto_ahash *child = &ctx->cryptd_tfm->base; child 301 arch/arm/crypto/ghash-ce-glue.c crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 302 arch/arm/crypto/ghash-ce-glue.c crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) child 304 arch/arm/crypto/ghash-ce-glue.c err = crypto_ahash_setkey(child, key, keylen); child 305 arch/arm/crypto/ghash-ce-glue.c crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child) child 548 arch/arm/kernel/bios32.c struct pci_bus *child; child 553 arch/arm/kernel/bios32.c list_for_each_entry(child, &bus->children, node) child 554 arch/arm/kernel/bios32.c pcie_bus_configure_settings(child); child 47 arch/arm/kernel/isa.c .child = ctl_isa_vars, child 55 arch/arm/kernel/isa.c .child = ctl_isa, child 193 arch/arm/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 784 arch/arm/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 792 arch/arm/kernel/ptrace.c ret = ptrace_read_user(child, addr, datap); child 796 arch/arm/kernel/ptrace.c ret = ptrace_write_user(child, addr, data); child 800 arch/arm/kernel/ptrace.c ret = copy_regset_to_user(child, child 807 arch/arm/kernel/ptrace.c ret = copy_regset_from_user(child, child 814 arch/arm/kernel/ptrace.c ret = copy_regset_to_user(child, child 821 arch/arm/kernel/ptrace.c ret = copy_regset_from_user(child, child 829 arch/arm/kernel/ptrace.c ret = ptrace_getwmmxregs(child, datap); child 833 arch/arm/kernel/ptrace.c ret = ptrace_setwmmxregs(child, datap); child 838 arch/arm/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value[0], child 843 arch/arm/kernel/ptrace.c task_thread_info(child)->syscall = data; child 849 arch/arm/kernel/ptrace.c ret = ptrace_getcrunchregs(child, datap); child 853 arch/arm/kernel/ptrace.c ret = ptrace_setcrunchregs(child, datap); child 859 arch/arm/kernel/ptrace.c ret = copy_regset_to_user(child, child 866 arch/arm/kernel/ptrace.c ret = copy_regset_from_user(child, child 875 arch/arm/kernel/ptrace.c ret = ptrace_gethbpregs(child, addr, child 879 arch/arm/kernel/ptrace.c ret = ptrace_sethbpregs(child, addr, child 885 arch/arm/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 64 arch/arm/mach-mvebu/mvebu-soc-id.c struct device_node *child; child 74 arch/arm/mach-mvebu/mvebu-soc-id.c child = of_get_next_child(np, NULL); child 75 arch/arm/mach-mvebu/mvebu-soc-id.c if (child == NULL) { child 81 arch/arm/mach-mvebu/mvebu-soc-id.c clk = of_clk_get_by_name(child, NULL); child 94 arch/arm/mach-mvebu/mvebu-soc-id.c pci_base = of_iomap(child, 0); child 122 arch/arm/mach-mvebu/mvebu-soc-id.c if (!of_device_is_available(child) || !IS_ENABLED(CONFIG_PCI_MVEBU)) { child 128 arch/arm/mach-mvebu/mvebu-soc-id.c of_node_put(child); child 737 arch/arm/mach-omap1/clock.c void clk_reparent(struct clk *child, struct clk *parent) child 739 arch/arm/mach-omap1/clock.c list_del_init(&child->sibling); child 741 arch/arm/mach-omap1/clock.c list_add(&child->sibling, &parent->children); child 742 arch/arm/mach-omap1/clock.c child->parent = parent; child 176 arch/arm/mach-omap1/clock.h extern void clk_reparent(struct clk *child, struct clk *parent); child 396 arch/arm/mach-omap2/omap_device.c struct device_node *np, *child; child 436 arch/arm/mach-omap2/omap_device.c child = of_get_next_available_child(np, NULL); child 439 arch/arm/mach-omap2/omap_device.c irq = irq_of_parse_and_map(child, 0); child 2216 arch/arm/mach-omap2/omap_hwmod.c struct device_node *child = NULL; child 2219 arch/arm/mach-omap2/omap_hwmod.c child = of_get_next_child(np, child); child 2220 arch/arm/mach-omap2/omap_hwmod.c if (!child) child 2223 arch/arm/mach-omap2/omap_hwmod.c error = of_address_to_resource(child, oh->mpu_rt_idx, res); child 2425 arch/arm/mach-omap2/omap_hwmod.c struct device_node *child; child 2428 arch/arm/mach-omap2/omap_hwmod.c child = of_get_next_child(np, NULL); child 2429 arch/arm/mach-omap2/omap_hwmod.c if (child) child 2430 arch/arm/mach-omap2/omap_hwmod.c parse_module_flags(oh, child); child 49 arch/arm/plat-samsung/pm-check.c if (ptr->child != NULL) child 50 arch/arm/plat-samsung/pm-check.c s3c_pm_run_res(ptr->child, fn, arg); child 165 arch/arm64/kernel/pci.c struct pci_bus *bus, *child; child 204 arch/arm64/kernel/pci.c list_for_each_entry(child, &bus->children, node) child 205 arch/arm64/kernel/pci.c pcie_bus_configure_settings(child); child 156 arch/arm64/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 163 arch/arm64/kernel/ptrace.c user_disable_single_step(child); child 1701 arch/arm64/kernel/ptrace.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 1711 arch/arm64/kernel/ptrace.c ret = compat_ptrace_read_user(child, addr, datap); child 1715 arch/arm64/kernel/ptrace.c ret = compat_ptrace_write_user(child, addr, data); child 1719 arch/arm64/kernel/ptrace.c ret = copy_regset_to_user(child, child 1727 arch/arm64/kernel/ptrace.c ret = copy_regset_from_user(child, child 1735 arch/arm64/kernel/ptrace.c ret = put_user((compat_ulong_t)child->thread.uw.tp_value, child 1740 arch/arm64/kernel/ptrace.c task_pt_regs(child)->syscallno = data; child 1745 arch/arm64/kernel/ptrace.c ret = copy_regset_to_user(child, child 1753 arch/arm64/kernel/ptrace.c ret = copy_regset_from_user(child, child 1762 arch/arm64/kernel/ptrace.c ret = compat_ptrace_gethbpregs(child, addr, datap); child 1766 arch/arm64/kernel/ptrace.c ret = compat_ptrace_sethbpregs(child, addr, datap); child 1771 arch/arm64/kernel/ptrace.c ret = compat_ptrace_request(child, request, addr, child 1797 arch/arm64/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 1800 arch/arm64/kernel/ptrace.c return ptrace_request(child, request, addr, data); child 23 arch/c6x/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 99 arch/c6x/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 109 arch/c6x/kernel/ptrace.c ret = generic_ptrace_pokedata(child, addr, data); child 114 arch/c6x/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 339 arch/csky/abiv1/alignment.c .child = alignment_tbl}, child 57 arch/csky/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 59 arch/csky/kernel/ptrace.c singlestep_enable(child); child 62 arch/csky/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 64 arch/csky/kernel/ptrace.c singlestep_disable(child); child 196 arch/csky/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 198 arch/csky/kernel/ptrace.c singlestep_disable(child); child 201 arch/csky/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 208 arch/csky/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 24 arch/h8300/kernel/ptrace.c extern void user_disable_single_step(struct task_struct *child); child 159 arch/h8300/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 161 arch/h8300/kernel/ptrace.c user_disable_single_step(child); child 164 arch/h8300/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 171 arch/h8300/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 18 arch/h8300/kernel/ptrace_h.c void user_disable_single_step(struct task_struct *child) child 20 arch/h8300/kernel/ptrace_h.c if ((long)child->thread.breakinfo.addr != -1L) { child 21 arch/h8300/kernel/ptrace_h.c *(child->thread.breakinfo.addr) = child->thread.breakinfo.inst; child 22 arch/h8300/kernel/ptrace_h.c child->thread.breakinfo.addr = (unsigned short *)-1L; child 162 arch/h8300/kernel/ptrace_h.c static unsigned short *decode(struct task_struct *child, child 181 arch/h8300/kernel/ptrace_h.c sp = (unsigned long *)h8300_get_reg(child, PT_USP); child 193 arch/h8300/kernel/ptrace_h.c addr = h8300_get_reg(child, PT_ER0); child 195 arch/h8300/kernel/ptrace_h.c addr = h8300_get_reg(child, regno-1 + PT_ER1); child 198 arch/h8300/kernel/ptrace_h.c if (inst == 0x55 || isbranch(child, inst & 0x0f)) child 203 arch/h8300/kernel/ptrace_h.c if (inst == 0x5c || isbranch(child, (*fetch_p & 0xf0) >> 4)) child 212 arch/h8300/kernel/ptrace_h.c static unsigned short *nextpc(struct task_struct *child, unsigned short *pc) child 230 arch/h8300/kernel/ptrace_h.c return decode(child, op, fetch_p, pc, inst); child 239 arch/h8300/kernel/ptrace_h.c void user_enable_single_step(struct task_struct *child) child 243 arch/h8300/kernel/ptrace_h.c next = nextpc(child, (unsigned short *)h8300_get_reg(child, PT_PC)); child 244 arch/h8300/kernel/ptrace_h.c child->thread.breakinfo.addr = next; child 245 arch/h8300/kernel/ptrace_h.c child->thread.breakinfo.inst = *next; child 21 arch/h8300/kernel/ptrace_s.c void user_disable_single_step(struct task_struct *child) child 25 arch/h8300/kernel/ptrace_s.c exr = h8300_get_reg(child, PT_EXR); child 27 arch/h8300/kernel/ptrace_s.c h8300_put_reg(child, PT_EXR, exr); child 31 arch/h8300/kernel/ptrace_s.c void user_enable_single_step(struct task_struct *child) child 35 arch/h8300/kernel/ptrace_s.c exr = h8300_get_reg(child, PT_EXR); child 37 arch/h8300/kernel/ptrace_s.c h8300_put_reg(child, PT_EXR, exr); child 23 arch/hexagon/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 25 arch/hexagon/kernel/ptrace.c pt_set_singlestep(task_pt_regs(child)); child 26 arch/hexagon/kernel/ptrace.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 29 arch/hexagon/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 31 arch/hexagon/kernel/ptrace.c pt_clr_singlestep(task_pt_regs(child)); child 32 arch/hexagon/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 181 arch/hexagon/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 184 arch/hexagon/kernel/ptrace.c user_disable_single_step(child); child 187 arch/hexagon/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 190 arch/hexagon/kernel/ptrace.c return ptrace_request(child, request, addr, data); child 145 arch/ia64/include/asm/ptrace.h #define arch_ptrace_attach(child) \ child 146 arch/ia64/include/asm/ptrace.h ptrace_attach_sync_user_rbs(child) child 241 arch/ia64/kernel/crash.c .child = kdump_ctl_table, child 563 arch/ia64/kernel/perfmon.c .child = pfm_ctl_table, child 571 arch/ia64/kernel/perfmon.c .child = pfm_sysctl_dir, child 405 arch/ia64/kernel/ptrace.c ia64_peek (struct task_struct *child, struct switch_stack *child_stack, child 415 arch/ia64/kernel/ptrace.c child_regs = task_pt_regs(child); child 417 arch/ia64/kernel/ptrace.c krbs = (unsigned long *) child + IA64_RBS_OFFSET/8; child 427 arch/ia64/kernel/ptrace.c ret = get_rnat(child, child_stack, krbs, rnat_addr, urbs_end); child 459 arch/ia64/kernel/ptrace.c copied = access_process_vm(child, addr, &ret, sizeof(ret), FOLL_FORCE); child 467 arch/ia64/kernel/ptrace.c ia64_poke (struct task_struct *child, struct switch_stack *child_stack, child 475 arch/ia64/kernel/ptrace.c child_regs = task_pt_regs(child); child 477 arch/ia64/kernel/ptrace.c krbs = (unsigned long *) child + IA64_RBS_OFFSET/8; child 487 arch/ia64/kernel/ptrace.c put_rnat(child, child_stack, krbs, laddr, val, child 495 arch/ia64/kernel/ptrace.c } else if (access_process_vm(child, addr, &val, sizeof(val), child 511 arch/ia64/kernel/ptrace.c ia64_get_user_rbs_end (struct task_struct *child, struct pt_regs *pt, child 517 arch/ia64/kernel/ptrace.c krbs = (unsigned long *) child + IA64_RBS_OFFSET/8; child 539 arch/ia64/kernel/ptrace.c ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw, child 547 arch/ia64/kernel/ptrace.c ret = ia64_peek(child, sw, user_rbs_end, addr, &val); child 550 arch/ia64/kernel/ptrace.c if (access_process_vm(child, addr, &val, sizeof(val), child 559 arch/ia64/kernel/ptrace.c ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw, child 567 arch/ia64/kernel/ptrace.c if (access_process_vm(child, addr, &val, sizeof(val), child 572 arch/ia64/kernel/ptrace.c ret = ia64_poke(child, sw, user_rbs_end, addr, val); child 633 arch/ia64/kernel/ptrace.c ptrace_attach_sync_user_rbs (struct task_struct *child) child 646 arch/ia64/kernel/ptrace.c if (child->sighand) { child 647 arch/ia64/kernel/ptrace.c spin_lock_irq(&child->sighand->siglock); child 648 arch/ia64/kernel/ptrace.c if (child->state == TASK_STOPPED && child 649 arch/ia64/kernel/ptrace.c !test_and_set_tsk_thread_flag(child, TIF_RESTORE_RSE)) { child 650 arch/ia64/kernel/ptrace.c set_notify_resume(child); child 652 arch/ia64/kernel/ptrace.c child->state = TASK_TRACED; child 655 arch/ia64/kernel/ptrace.c spin_unlock_irq(&child->sighand->siglock); child 662 arch/ia64/kernel/ptrace.c unw_init_from_blocked_task(&info, child); child 670 arch/ia64/kernel/ptrace.c if (child->sighand) { child 671 arch/ia64/kernel/ptrace.c spin_lock_irq(&child->sighand->siglock); child 672 arch/ia64/kernel/ptrace.c if (child->state == TASK_TRACED && child 673 arch/ia64/kernel/ptrace.c (child->signal->flags & SIGNAL_STOP_STOPPED)) { child 674 arch/ia64/kernel/ptrace.c child->state = TASK_STOPPED; child 676 arch/ia64/kernel/ptrace.c spin_unlock_irq(&child->sighand->siglock); child 729 arch/ia64/kernel/ptrace.c convert_to_non_syscall (struct task_struct *child, struct pt_regs *pt, child 735 arch/ia64/kernel/ptrace.c unw_init_from_blocked_task(&info, child); child 742 arch/ia64/kernel/ptrace.c if ((long)((unsigned long)child + IA64_STK_OFFSET - sp) child 789 arch/ia64/kernel/ptrace.c access_nat_bits (struct task_struct *child, struct pt_regs *pt, child 824 arch/ia64/kernel/ptrace.c access_uarea (struct task_struct *child, unsigned long addr, child 828 arch/ia64/kernel/ptrace.c ptrace_getregs (struct task_struct *child, struct pt_all_user_regs __user *ppr) child 842 arch/ia64/kernel/ptrace.c pt = task_pt_regs(child); child 843 arch/ia64/kernel/ptrace.c sw = (struct switch_stack *) (child->thread.ksp + 16); child 844 arch/ia64/kernel/ptrace.c unw_init_from_blocked_task(&info, child); child 854 arch/ia64/kernel/ptrace.c if (access_uarea(child, PT_CR_IPSR, &psr, 0) < 0 child 855 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_AR_EC, &ec, 0) < 0 child 856 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_AR_LC, &lc, 0) < 0 child 857 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_AR_RNAT, &rnat, 0) < 0 child 858 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_AR_BSP, &bsp, 0) < 0 child 859 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_CFM, &cfm, 0) child 860 arch/ia64/kernel/ptrace.c || access_uarea(child, PT_NAT_BITS, &nat_bits, 0)) child 955 arch/ia64/kernel/ptrace.c ia64_flush_fph(child); child 956 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[32], &child->thread.fph, child 972 arch/ia64/kernel/ptrace.c ptrace_setregs (struct task_struct *child, struct pt_all_user_regs __user *ppr) child 987 arch/ia64/kernel/ptrace.c pt = task_pt_regs(child); child 988 arch/ia64/kernel/ptrace.c sw = (struct switch_stack *) (child->thread.ksp + 16); child 989 arch/ia64/kernel/ptrace.c unw_init_from_blocked_task(&info, child); child 1092 arch/ia64/kernel/ptrace.c ia64_sync_fph(child); child 1093 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&child->thread.fph, &ppr->fr[32], child 1104 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_CR_IPSR, &psr, 1); child 1105 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_RSC, &rsc, 1); child 1106 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_EC, &ec, 1); child 1107 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_LC, &lc, 1); child 1108 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_RNAT, &rnat, 1); child 1109 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_BSP, &bsp, 1); child 1110 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_CFM, &cfm, 1); child 1111 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_NAT_BITS, &nat_bits, 1); child 1118 arch/ia64/kernel/ptrace.c user_enable_single_step (struct task_struct *child) child 1120 arch/ia64/kernel/ptrace.c struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); child 1122 arch/ia64/kernel/ptrace.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 1127 arch/ia64/kernel/ptrace.c user_enable_block_step (struct task_struct *child) child 1129 arch/ia64/kernel/ptrace.c struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); child 1131 arch/ia64/kernel/ptrace.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 1136 arch/ia64/kernel/ptrace.c user_disable_single_step (struct task_struct *child) child 1138 arch/ia64/kernel/ptrace.c struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); child 1141 arch/ia64/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 1152 arch/ia64/kernel/ptrace.c ptrace_disable (struct task_struct *child) child 1154 arch/ia64/kernel/ptrace.c user_disable_single_step(child); child 1158 arch/ia64/kernel/ptrace.c arch_ptrace (struct task_struct *child, long request, child 1165 arch/ia64/kernel/ptrace.c if (ptrace_access_vm(child, addr, &data, sizeof(data), child 1179 arch/ia64/kernel/ptrace.c if (access_uarea(child, addr, &data, 0) < 0) child 1187 arch/ia64/kernel/ptrace.c if (access_uarea(child, addr, &data, 1) < 0) child 1193 arch/ia64/kernel/ptrace.c return ptrace_request(child, PTRACE_GETSIGINFO, addr, data); child 1197 arch/ia64/kernel/ptrace.c return ptrace_request(child, PTRACE_SETSIGINFO, addr, data); child 1200 arch/ia64/kernel/ptrace.c return ptrace_getregs(child, child 1204 arch/ia64/kernel/ptrace.c return ptrace_setregs(child, child 1208 arch/ia64/kernel/ptrace.c return ptrace_request(child, request, addr, data); child 1913 arch/ia64/kernel/ptrace.c access_uarea(struct task_struct *child, unsigned long addr, child 1950 arch/ia64/kernel/ptrace.c ret = fpregs_set(child, NULL, pos, child 1953 arch/ia64/kernel/ptrace.c ret = fpregs_get(child, NULL, pos, child 2043 arch/ia64/kernel/ptrace.c ret = gpregs_set(child, NULL, pos, child 2046 arch/ia64/kernel/ptrace.c ret = gpregs_get(child, NULL, pos, child 2056 arch/ia64/kernel/ptrace.c ptr = &child->thread.ibr[0]; child 2059 arch/ia64/kernel/ptrace.c ptr = &child->thread.dbr[0]; child 2085 arch/ia64/kernel/ptrace.c if (pfm_use_debug_registers(child)) child 2089 arch/ia64/kernel/ptrace.c if (!(child->thread.flags & IA64_THREAD_DBG_VALID)) { child 2090 arch/ia64/kernel/ptrace.c child->thread.flags |= IA64_THREAD_DBG_VALID; child 2091 arch/ia64/kernel/ptrace.c memset(child->thread.dbr, 0, child 2092 arch/ia64/kernel/ptrace.c sizeof(child->thread.dbr)); child 2093 arch/ia64/kernel/ptrace.c memset(child->thread.ibr, 0, child 2094 arch/ia64/kernel/ptrace.c sizeof(child->thread.ibr)); child 127 arch/m68k/kernel/ptrace.c static inline void singlestep_disable(struct task_struct *child) child 129 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; child 130 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp); child 131 arch/m68k/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_DELAYED_TRACE); child 137 arch/m68k/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 139 arch/m68k/kernel/ptrace.c singlestep_disable(child); child 142 arch/m68k/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 144 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; child 145 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp | T1_BIT); child 146 arch/m68k/kernel/ptrace.c set_tsk_thread_flag(child, TIF_DELAYED_TRACE); child 150 arch/m68k/kernel/ptrace.c void user_enable_block_step(struct task_struct *child) child 152 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; child 153 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp | T0_BIT); child 157 arch/m68k/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 159 arch/m68k/kernel/ptrace.c singlestep_disable(child); child 162 arch/m68k/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 177 arch/m68k/kernel/ptrace.c tmp = get_reg(child, regno); child 179 arch/m68k/kernel/ptrace.c tmp = child->thread.fp[regno - 21]; child 188 arch/m68k/kernel/ptrace.c tmp = child->mm->start_code; child 190 arch/m68k/kernel/ptrace.c tmp = child->mm->start_data; child 192 arch/m68k/kernel/ptrace.c tmp = child->mm->end_code; child 206 arch/m68k/kernel/ptrace.c data |= get_reg(child, PT_SR) & ~SR_MASK; child 209 arch/m68k/kernel/ptrace.c if (put_reg(child, regno, data)) child 220 arch/m68k/kernel/ptrace.c child->thread.fp[regno - 21] = data; child 227 arch/m68k/kernel/ptrace.c tmp = get_reg(child, i); child 242 arch/m68k/kernel/ptrace.c tmp |= get_reg(child, PT_SR) & ~SR_MASK; child 244 arch/m68k/kernel/ptrace.c put_reg(child, i, tmp); child 250 arch/m68k/kernel/ptrace.c if (copy_to_user(datap, &child->thread.fp, child 256 arch/m68k/kernel/ptrace.c if (copy_from_user(&child->thread.fp, datap, child 262 arch/m68k/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value, datap); child 266 arch/m68k/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 78 arch/microblaze/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 96 arch/microblaze/kernel/ptrace.c val = child->mm->start_code; child 98 arch/microblaze/kernel/ptrace.c val = child->mm->start_data; child 100 arch/microblaze/kernel/ptrace.c val = child->mm->end_code child 101 arch/microblaze/kernel/ptrace.c - child->mm->start_code; child 106 arch/microblaze/kernel/ptrace.c microblaze_reg_t *reg_addr = reg_save_addr(addr, child); child 131 arch/microblaze/kernel/ptrace.c rval = ptrace_request(child, request, addr, data); child 167 arch/microblaze/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 532 arch/microblaze/pci/pci-common.c res->parent = res->child = res->sibling = NULL; child 614 arch/microblaze/pci/pci-common.c for (pp = &parent->child; (p = *pp) != NULL; pp = &p->sibling) { child 627 arch/microblaze/pci/pci-common.c res->child = *firstpp; child 631 arch/microblaze/pci/pci-common.c for (p = res->child; p != NULL; p = p->sibling) { child 125 arch/mips/include/asm/ptrace.h extern int ptrace_getregs(struct task_struct *child, child 127 arch/mips/include/asm/ptrace.h extern int ptrace_setregs(struct task_struct *child, child 130 arch/mips/include/asm/ptrace.h extern int ptrace_getfpregs(struct task_struct *child, __u32 __user *data); child 131 arch/mips/include/asm/ptrace.h extern int ptrace_setfpregs(struct task_struct *child, __u32 __user *data); child 133 arch/mips/include/asm/ptrace.h extern int ptrace_get_watch_regs(struct task_struct *child, child 135 arch/mips/include/asm/ptrace.h extern int ptrace_set_watch_regs(struct task_struct *child, child 58 arch/mips/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 61 arch/mips/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_LOAD_WATCH); child 69 arch/mips/kernel/ptrace.c int ptrace_getregs(struct task_struct *child, struct user_pt_regs __user *data) child 77 arch/mips/kernel/ptrace.c regs = task_pt_regs(child); child 96 arch/mips/kernel/ptrace.c int ptrace_setregs(struct task_struct *child, struct user_pt_regs __user *data) child 104 arch/mips/kernel/ptrace.c regs = task_pt_regs(child); child 115 arch/mips/kernel/ptrace.c mips_syscall_update_nr(child, regs); child 120 arch/mips/kernel/ptrace.c int ptrace_get_watch_regs(struct task_struct *child, child 143 arch/mips/kernel/ptrace.c __put_user(child->thread.watch.mips3264.watchlo[i], child 145 arch/mips/kernel/ptrace.c __put_user(child->thread.watch.mips3264.watchhi[i] & child 160 arch/mips/kernel/ptrace.c int ptrace_set_watch_regs(struct task_struct *child, child 179 arch/mips/kernel/ptrace.c if (test_tsk_thread_flag(child, TIF_32BIT_ADDR)) { child 195 arch/mips/kernel/ptrace.c child->thread.watch.mips3264.watchlo[i] = lt[i]; child 197 arch/mips/kernel/ptrace.c child->thread.watch.mips3264.watchhi[i] = ht[i]; child 201 arch/mips/kernel/ptrace.c set_tsk_thread_flag(child, TIF_LOAD_WATCH); child 203 arch/mips/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_LOAD_WATCH); child 348 arch/mips/kernel/ptrace.c static void ptrace_setfcr31(struct task_struct *child, u32 value) child 353 arch/mips/kernel/ptrace.c fcr31 = child->thread.fpu.fcr31; child 355 arch/mips/kernel/ptrace.c child->thread.fpu.fcr31 = (value & ~mask) | (fcr31 & mask); child 358 arch/mips/kernel/ptrace.c int ptrace_getfpregs(struct task_struct *child, __u32 __user *data) child 365 arch/mips/kernel/ptrace.c if (tsk_used_math(child)) { child 366 arch/mips/kernel/ptrace.c union fpureg *fregs = get_fpu_regs(child); child 375 arch/mips/kernel/ptrace.c __put_user(child->thread.fpu.fcr31, data + 64); child 381 arch/mips/kernel/ptrace.c int ptrace_setfpregs(struct task_struct *child, __u32 __user *data) child 391 arch/mips/kernel/ptrace.c init_fp_ctx(child); child 392 arch/mips/kernel/ptrace.c fregs = get_fpu_regs(child); child 400 arch/mips/kernel/ptrace.c ptrace_setfcr31(child, value); child 1164 arch/mips/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 1176 arch/mips/kernel/ptrace.c ret = generic_ptrace_peekdata(child, addr, data); child 1184 arch/mips/kernel/ptrace.c regs = task_pt_regs(child); child 1195 arch/mips/kernel/ptrace.c if (!tsk_used_math(child)) { child 1200 arch/mips/kernel/ptrace.c fregs = get_fpu_regs(child); child 1203 arch/mips/kernel/ptrace.c if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { child 1218 arch/mips/kernel/ptrace.c tmp = child->thread.fpu.fcr31; child 1253 arch/mips/kernel/ptrace.c dregs = __get_dsp_regs(child); child 1263 arch/mips/kernel/ptrace.c tmp = child->thread.dsp.dspcontrol; child 1277 arch/mips/kernel/ptrace.c ret = generic_ptrace_pokedata(child, addr, data); child 1283 arch/mips/kernel/ptrace.c regs = task_pt_regs(child); child 1290 arch/mips/kernel/ptrace.c mips_syscall_update_nr(child, regs); child 1292 arch/mips/kernel/ptrace.c mips_syscall_is_indirect(child, regs)) child 1293 arch/mips/kernel/ptrace.c mips_syscall_update_nr(child, regs); child 1297 arch/mips/kernel/ptrace.c union fpureg *fregs = get_fpu_regs(child); child 1299 arch/mips/kernel/ptrace.c init_fp_ctx(child); child 1301 arch/mips/kernel/ptrace.c if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { child 1316 arch/mips/kernel/ptrace.c init_fp_ctx(child); child 1317 arch/mips/kernel/ptrace.c ptrace_setfcr31(child, data); child 1342 arch/mips/kernel/ptrace.c dregs = __get_dsp_regs(child); child 1351 arch/mips/kernel/ptrace.c child->thread.dsp.dspcontrol = data; child 1362 arch/mips/kernel/ptrace.c ret = ptrace_getregs(child, datavp); child 1366 arch/mips/kernel/ptrace.c ret = ptrace_setregs(child, datavp); child 1371 arch/mips/kernel/ptrace.c ret = ptrace_getfpregs(child, datavp); child 1375 arch/mips/kernel/ptrace.c ret = ptrace_setfpregs(child, datavp); child 1379 arch/mips/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value, datalp); child 1383 arch/mips/kernel/ptrace.c ret = ptrace_get_watch_regs(child, addrp); child 1387 arch/mips/kernel/ptrace.c ret = ptrace_set_watch_regs(child, addrp); child 1391 arch/mips/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 44 arch/mips/kernel/ptrace32.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 74 arch/mips/kernel/ptrace32.c copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, child 87 arch/mips/kernel/ptrace32.c regs = task_pt_regs(child); child 98 arch/mips/kernel/ptrace32.c if (!tsk_used_math(child)) { child 103 arch/mips/kernel/ptrace32.c fregs = get_fpu_regs(child); child 104 arch/mips/kernel/ptrace32.c if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { child 118 arch/mips/kernel/ptrace32.c tmp = child->thread.fpu.fcr31; child 148 arch/mips/kernel/ptrace32.c dregs = __get_dsp_regs(child); child 158 arch/mips/kernel/ptrace32.c tmp = child->thread.dsp.dspcontrol; child 187 arch/mips/kernel/ptrace32.c if (ptrace_access_vm(child, (u64)addrOthers, &data, child 198 arch/mips/kernel/ptrace32.c regs = task_pt_regs(child); child 205 arch/mips/kernel/ptrace32.c mips_syscall_update_nr(child, regs); child 207 arch/mips/kernel/ptrace32.c mips_syscall_is_indirect(child, regs)) child 208 arch/mips/kernel/ptrace32.c mips_syscall_update_nr(child, regs); child 212 arch/mips/kernel/ptrace32.c union fpureg *fregs = get_fpu_regs(child); child 214 arch/mips/kernel/ptrace32.c if (!tsk_used_math(child)) { child 216 arch/mips/kernel/ptrace32.c memset(&child->thread.fpu, ~0, child 217 arch/mips/kernel/ptrace32.c sizeof(child->thread.fpu)); child 218 arch/mips/kernel/ptrace32.c child->thread.fpu.fcr31 = 0; child 220 arch/mips/kernel/ptrace32.c if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { child 234 arch/mips/kernel/ptrace32.c child->thread.fpu.fcr31 = data; child 254 arch/mips/kernel/ptrace32.c dregs = __get_dsp_regs(child); child 263 arch/mips/kernel/ptrace32.c child->thread.dsp.dspcontrol = data; child 274 arch/mips/kernel/ptrace32.c ret = ptrace_getregs(child, child 279 arch/mips/kernel/ptrace32.c ret = ptrace_setregs(child, child 285 arch/mips/kernel/ptrace32.c ret = ptrace_getfpregs(child, (__u32 __user *) (__u64) data); child 289 arch/mips/kernel/ptrace32.c ret = ptrace_setfpregs(child, (__u32 __user *) (__u64) data); child 293 arch/mips/kernel/ptrace32.c ret = put_user(task_thread_info(child)->tp_value, child 298 arch/mips/kernel/ptrace32.c ret = put_user(task_thread_info(child)->tp_value, child 303 arch/mips/kernel/ptrace32.c ret = ptrace_get_watch_regs(child, child 308 arch/mips/kernel/ptrace32.c ret = ptrace_set_watch_regs(child, child 313 arch/mips/kernel/ptrace32.c ret = compat_ptrace_request(child, request, addr, data); child 249 arch/mips/lasat/sysctl.c .child = lasat_table child 127 arch/mips/pci/pci-legacy.c struct pci_bus *child; child 131 arch/mips/pci/pci-legacy.c list_for_each_entry(child, &bus->children, node) child 132 arch/mips/pci/pci-legacy.c pcie_bus_configure_settings(child); child 57 arch/mips/pci/pci-rc32434.c .child = &rc32434_res_pci_mem2 child 67 arch/mips/pci/pci-rc32434.c .child = NULL child 414 arch/mips/pci/pci-rt3883.c struct device_node *child; child 429 arch/mips/pci/pci-rt3883.c for_each_child_of_node(np, child) { child 430 arch/mips/pci/pci-rt3883.c if (of_get_property(child, "interrupt-controller", NULL)) { child 431 arch/mips/pci/pci-rt3883.c rpc->intc_of_node = child; child 444 arch/mips/pci/pci-rt3883.c for_each_child_of_node(np, child) { child 445 arch/mips/pci/pci-rt3883.c if (of_node_is_type(child, "pci")) { child 446 arch/mips/pci/pci-rt3883.c rpc->pci_controller.of_node = child; child 460 arch/mips/pci/pci-rt3883.c for_each_available_child_of_node(rpc->pci_controller.of_node, child) { child 463 arch/mips/pci/pci-rt3883.c if (!of_node_is_type(child, "pci")) child 466 arch/mips/pci/pci-rt3883.c devfn = of_pci_get_devfn(child); child 60 arch/nds32/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 62 arch/nds32/kernel/ptrace.c user_disable_single_step(child); child 69 arch/nds32/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, unsigned long addr, child 76 arch/nds32/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 83 arch/nds32/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 86 arch/nds32/kernel/ptrace.c regs = task_pt_regs(child); child 88 arch/nds32/kernel/ptrace.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 91 arch/nds32/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 94 arch/nds32/kernel/ptrace.c regs = task_pt_regs(child); child 96 arch/nds32/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 560 arch/nds32/mm/alignment.c .child = alignment_tbl}, child 142 arch/nios2/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 147 arch/nios2/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, unsigned long addr, child 150 arch/nios2/kernel/ptrace.c return ptrace_request(child, request, addr, data); child 146 arch/openrisc/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 150 arch/openrisc/kernel/ptrace.c user_disable_single_step(child); child 151 arch/openrisc/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); child 154 arch/openrisc/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, unsigned long addr, child 161 arch/openrisc/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 124 arch/parisc/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 139 arch/parisc/kernel/ptrace.c tmp = *(unsigned long *) ((char *) task_regs(child) + addr); child 161 arch/parisc/kernel/ptrace.c task_regs(child)->gr[0] &= ~USER_PSW_BITS; child 162 arch/parisc/kernel/ptrace.c task_regs(child)->gr[0] |= data; child 177 arch/parisc/kernel/ptrace.c *(unsigned long *) ((char *) task_regs(child) + addr) = data; child 183 arch/parisc/kernel/ptrace.c return copy_regset_to_user(child, child 190 arch/parisc/kernel/ptrace.c return copy_regset_from_user(child, child 197 arch/parisc/kernel/ptrace.c return copy_regset_to_user(child, child 204 arch/parisc/kernel/ptrace.c return copy_regset_from_user(child, child 211 arch/parisc/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 248 arch/parisc/kernel/ptrace.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 263 arch/parisc/kernel/ptrace.c tmp = *(compat_uint_t *) ((char *) task_regs(child) + addr); child 282 arch/parisc/kernel/ptrace.c ret = arch_ptrace(child, request, addr, data); child 294 arch/parisc/kernel/ptrace.c *(__u32 *) ((char *) task_regs(child) + addr) = data; child 301 arch/parisc/kernel/ptrace.c *(__u32 *) ((char *) task_regs(child) + addr - 4) = 0; child 302 arch/parisc/kernel/ptrace.c *(__u32 *) ((char *) task_regs(child) + addr) = data; child 309 arch/parisc/kernel/ptrace.c ret = compat_ptrace_request(child, request, addr, data); child 43 arch/powerpc/include/asm/bootx.h u32 child; child 89 arch/powerpc/include/asm/eeh.h struct list_head child; /* Memb. child_list/eeh_phb_pe */ child 365 arch/powerpc/include/asm/pmac_feature.h extern struct macio_chip* macio_find(struct device_node* child, int type); child 752 arch/powerpc/kernel/eeh_driver.c list_for_each_entry_safe(child_pe, tmp, &pe->child_list, child) child 762 arch/powerpc/kernel/eeh_driver.c list_del(&pe->child); child 91 arch/powerpc/kernel/eeh_pe.c list_add_tail(&pe->child, &eeh_phb_pe); child 161 arch/powerpc/kernel/eeh_pe.c list_for_each_entry(pe, &eeh_phb_pe, child) { child 190 arch/powerpc/kernel/eeh_pe.c next = pe->child.next; child 197 arch/powerpc/kernel/eeh_pe.c return list_entry(next, struct eeh_pe, child); child 452 arch/powerpc/kernel/eeh_pe.c list_add_tail(&pe->child, &parent->child_list); child 472 arch/powerpc/kernel/eeh_pe.c struct eeh_pe *pe, *parent, *child; child 511 arch/powerpc/kernel/eeh_pe.c list_del(&pe->child); child 528 arch/powerpc/kernel/eeh_pe.c list_for_each_entry(child, &pe->child_list, child) { child 529 arch/powerpc/kernel/eeh_pe.c if (!(child->type & EEH_PE_INVALID)) { child 98 arch/powerpc/kernel/idle.c .child = powersave_nap_ctl_table, child 69 arch/powerpc/kernel/of_platform.c if (dev->dev.of_node->child) child 765 arch/powerpc/kernel/pci-common.c res->parent = res->child = res->sibling = NULL; child 1101 arch/powerpc/kernel/pci-common.c for (pp = &parent->child; (p = *pp) != NULL; pp = &p->sibling) { child 1114 arch/powerpc/kernel/pci-common.c res->child = *firstpp; child 1118 arch/powerpc/kernel/pci-common.c for (p = res->child; p != NULL; p = p->sibling) { child 1645 arch/powerpc/kernel/pci-common.c struct pci_bus *child; child 1646 arch/powerpc/kernel/pci-common.c list_for_each_entry(child, &bus->children, node) child 1647 arch/powerpc/kernel/pci-common.c pcie_bus_configure_settings(child); child 23 arch/powerpc/kernel/pci-hotplug.c struct pci_bus *child = NULL; child 30 arch/powerpc/kernel/pci-hotplug.c child = find_bus_among_children(tmp, dn); child 31 arch/powerpc/kernel/pci-hotplug.c if (child) child 35 arch/powerpc/kernel/pci-hotplug.c return child; child 127 arch/powerpc/kernel/pci-hotplug.c dn->child && PCI_DN(dn->child)) { child 135 arch/powerpc/kernel/pci-hotplug.c slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); child 404 arch/powerpc/kernel/pci_dn.c for (dn = start->child; dn; dn = nextdn) { child 420 arch/powerpc/kernel/pci_dn.c if (dn->child && ((class >> 8) == PCI_CLASS_BRIDGE_PCI || child 423 arch/powerpc/kernel/pci_dn.c nextdn = dn->child; child 398 arch/powerpc/kernel/pci_of_scan.c struct device_node *child; child 405 arch/powerpc/kernel/pci_of_scan.c for_each_child_of_node(node, child) { child 406 arch/powerpc/kernel/pci_of_scan.c dev = of_scan_pci_dev(bus, child); child 2473 arch/powerpc/kernel/prom_init.c phandle child; child 2508 arch/powerpc/kernel/prom_init.c child = call_prom("child", 1, 1, node); child 2509 arch/powerpc/kernel/prom_init.c while (child != 0) { child 2510 arch/powerpc/kernel/prom_init.c scan_dt_build_strings(child, mem_start, mem_end); child 2511 arch/powerpc/kernel/prom_init.c child = call_prom("peer", 1, 1, child); child 2518 arch/powerpc/kernel/prom_init.c phandle child; child 2620 arch/powerpc/kernel/prom_init.c child = call_prom("child", 1, 1, node); child 2621 arch/powerpc/kernel/prom_init.c while (child != 0) { child 2622 arch/powerpc/kernel/prom_init.c scan_dt_build_struct(child, mem_start, mem_end); child 2623 arch/powerpc/kernel/prom_init.c child = call_prom("peer", 1, 1, child); child 2520 arch/powerpc/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 2523 arch/powerpc/kernel/ptrace.c user_disable_single_step(child); child 2527 arch/powerpc/kernel/ptrace.c static long set_instruction_bp(struct task_struct *child, child 2531 arch/powerpc/kernel/ptrace.c int slot1_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC1) != 0); child 2532 arch/powerpc/kernel/ptrace.c int slot2_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC2) != 0); child 2533 arch/powerpc/kernel/ptrace.c int slot3_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC3) != 0); child 2534 arch/powerpc/kernel/ptrace.c int slot4_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC4) != 0); child 2536 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC12MODE) child 2538 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC34MODE) child 2553 arch/powerpc/kernel/ptrace.c child->thread.debug.iac1 = bp_info->addr; child 2554 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = bp_info->addr2; child 2555 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC1; child 2558 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) |= DBCR_IAC12X; child 2560 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) |= DBCR_IAC12I; child 2564 arch/powerpc/kernel/ptrace.c child->thread.debug.iac3 = bp_info->addr; child 2565 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = bp_info->addr2; child 2566 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC3; child 2569 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) |= DBCR_IAC34X; child 2571 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) |= DBCR_IAC34I; child 2586 arch/powerpc/kernel/ptrace.c child->thread.debug.iac1 = bp_info->addr; child 2587 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC1; child 2593 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = bp_info->addr; child 2594 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC2; child 2598 arch/powerpc/kernel/ptrace.c child->thread.debug.iac3 = bp_info->addr; child 2599 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC3; child 2602 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = bp_info->addr; child 2603 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IAC4; child 2609 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IDM; child 2610 arch/powerpc/kernel/ptrace.c child->thread.regs->msr |= MSR_DE; child 2615 arch/powerpc/kernel/ptrace.c static int del_instruction_bp(struct task_struct *child, int slot) child 2619 arch/powerpc/kernel/ptrace.c if ((child->thread.debug.dbcr0 & DBCR0_IAC1) == 0) child 2622 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC12MODE) { child 2624 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = 0; child 2625 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) &= ~DBCR_IAC12MODE; child 2627 arch/powerpc/kernel/ptrace.c child->thread.debug.iac1 = 0; child 2628 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 &= ~DBCR0_IAC1; child 2631 arch/powerpc/kernel/ptrace.c if ((child->thread.debug.dbcr0 & DBCR0_IAC2) == 0) child 2634 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC12MODE) child 2637 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = 0; child 2638 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 &= ~DBCR0_IAC2; child 2642 arch/powerpc/kernel/ptrace.c if ((child->thread.debug.dbcr0 & DBCR0_IAC3) == 0) child 2645 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC34MODE) { child 2647 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = 0; child 2648 arch/powerpc/kernel/ptrace.c dbcr_iac_range(child) &= ~DBCR_IAC34MODE; child 2650 arch/powerpc/kernel/ptrace.c child->thread.debug.iac3 = 0; child 2651 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 &= ~DBCR0_IAC3; child 2654 arch/powerpc/kernel/ptrace.c if ((child->thread.debug.dbcr0 & DBCR0_IAC4) == 0) child 2657 arch/powerpc/kernel/ptrace.c if (dbcr_iac_range(child) & DBCR_IAC34MODE) child 2660 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = 0; child 2661 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 &= ~DBCR0_IAC4; child 2670 arch/powerpc/kernel/ptrace.c static int set_dac(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) child 2685 arch/powerpc/kernel/ptrace.c if ((dbcr_dac(child) & (DBCR_DAC1R | DBCR_DAC1W)) == 0) { child 2688 arch/powerpc/kernel/ptrace.c dbcr_dac(child) |= DBCR_DAC1R; child 2690 arch/powerpc/kernel/ptrace.c dbcr_dac(child) |= DBCR_DAC1W; child 2691 arch/powerpc/kernel/ptrace.c child->thread.debug.dac1 = (unsigned long)bp_info->addr; child 2694 arch/powerpc/kernel/ptrace.c child->thread.debug.dvc1 = child 2696 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 |= child 2702 arch/powerpc/kernel/ptrace.c } else if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { child 2706 arch/powerpc/kernel/ptrace.c } else if ((dbcr_dac(child) & (DBCR_DAC2R | DBCR_DAC2W)) == 0) { child 2709 arch/powerpc/kernel/ptrace.c dbcr_dac(child) |= DBCR_DAC2R; child 2711 arch/powerpc/kernel/ptrace.c dbcr_dac(child) |= DBCR_DAC2W; child 2712 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = (unsigned long)bp_info->addr; child 2715 arch/powerpc/kernel/ptrace.c child->thread.debug.dvc2 = child 2717 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 |= child 2724 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= DBCR0_IDM; child 2725 arch/powerpc/kernel/ptrace.c child->thread.regs->msr |= MSR_DE; child 2730 arch/powerpc/kernel/ptrace.c static int del_dac(struct task_struct *child, int slot) child 2733 arch/powerpc/kernel/ptrace.c if ((dbcr_dac(child) & (DBCR_DAC1R | DBCR_DAC1W)) == 0) child 2736 arch/powerpc/kernel/ptrace.c child->thread.debug.dac1 = 0; child 2737 arch/powerpc/kernel/ptrace.c dbcr_dac(child) &= ~(DBCR_DAC1R | DBCR_DAC1W); child 2739 arch/powerpc/kernel/ptrace.c if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { child 2740 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = 0; child 2741 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 &= ~DBCR2_DAC12MODE; child 2743 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 &= ~(DBCR2_DVC1M | DBCR2_DVC1BE); child 2746 arch/powerpc/kernel/ptrace.c child->thread.debug.dvc1 = 0; child 2749 arch/powerpc/kernel/ptrace.c if ((dbcr_dac(child) & (DBCR_DAC2R | DBCR_DAC2W)) == 0) child 2753 arch/powerpc/kernel/ptrace.c if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) child 2756 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 &= ~(DBCR2_DVC2M | DBCR2_DVC2BE); child 2759 arch/powerpc/kernel/ptrace.c child->thread.debug.dvc2 = 0; child 2761 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = 0; child 2762 arch/powerpc/kernel/ptrace.c dbcr_dac(child) &= ~(DBCR_DAC2R | DBCR_DAC2W); child 2771 arch/powerpc/kernel/ptrace.c static int set_dac_range(struct task_struct *child, child 2803 arch/powerpc/kernel/ptrace.c if (child->thread.debug.dbcr0 & child 2808 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= (DBCR0_DAC1R | DBCR0_IDM); child 2810 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 |= (DBCR0_DAC1W | DBCR0_IDM); child 2811 arch/powerpc/kernel/ptrace.c child->thread.debug.dac1 = bp_info->addr; child 2812 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = bp_info->addr2; child 2814 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 |= DBCR2_DAC12M; child 2816 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 |= DBCR2_DAC12MX; child 2818 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr2 |= DBCR2_DAC12MM; child 2819 arch/powerpc/kernel/ptrace.c child->thread.regs->msr |= MSR_DE; child 2825 arch/powerpc/kernel/ptrace.c static long ppc_set_hwdebug(struct task_struct *child, child 2830 arch/powerpc/kernel/ptrace.c struct thread_struct *thread = &(child->thread); child 2861 arch/powerpc/kernel/ptrace.c return set_instruction_bp(child, bp_info); child 2864 arch/powerpc/kernel/ptrace.c return set_dac(child, bp_info); child 2867 arch/powerpc/kernel/ptrace.c return set_dac_range(child, bp_info); child 2912 arch/powerpc/kernel/ptrace.c ptrace_triggered, NULL, child); child 2924 arch/powerpc/kernel/ptrace.c if (child->thread.hw_brk.address) child 2930 arch/powerpc/kernel/ptrace.c child->thread.hw_brk = brk; child 2936 arch/powerpc/kernel/ptrace.c static long ppc_del_hwdebug(struct task_struct *child, long data) child 2940 arch/powerpc/kernel/ptrace.c struct thread_struct *thread = &(child->thread); child 2947 arch/powerpc/kernel/ptrace.c rc = del_instruction_bp(child, (int)data); child 2949 arch/powerpc/kernel/ptrace.c rc = del_dac(child, (int)data - 4); child 2952 arch/powerpc/kernel/ptrace.c if (!DBCR_ACTIVE_EVENTS(child->thread.debug.dbcr0, child 2953 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr1)) { child 2954 arch/powerpc/kernel/ptrace.c child->thread.debug.dbcr0 &= ~DBCR0_IDM; child 2955 arch/powerpc/kernel/ptrace.c child->thread.regs->msr &= ~MSR_DE; child 2972 arch/powerpc/kernel/ptrace.c if (child->thread.hw_brk.address == 0) child 2975 arch/powerpc/kernel/ptrace.c child->thread.hw_brk.address = 0; child 2976 arch/powerpc/kernel/ptrace.c child->thread.hw_brk.type = 0; child 2983 arch/powerpc/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 3000 arch/powerpc/kernel/ptrace.c || (child->thread.regs == NULL)) child 3007 arch/powerpc/kernel/ptrace.c CHECK_FULL_REGS(child->thread.regs); child 3009 arch/powerpc/kernel/ptrace.c ret = ptrace_get_reg(child, (int) index, &tmp); child 3015 arch/powerpc/kernel/ptrace.c flush_fp_to_thread(child); child 3017 arch/powerpc/kernel/ptrace.c memcpy(&tmp, &child->thread.TS_FPR(fpidx), child 3020 arch/powerpc/kernel/ptrace.c tmp = child->thread.fp_state.fpscr; child 3035 arch/powerpc/kernel/ptrace.c || (child->thread.regs == NULL)) child 3042 arch/powerpc/kernel/ptrace.c CHECK_FULL_REGS(child->thread.regs); child 3044 arch/powerpc/kernel/ptrace.c ret = ptrace_put_reg(child, index, data); child 3048 arch/powerpc/kernel/ptrace.c flush_fp_to_thread(child); child 3050 arch/powerpc/kernel/ptrace.c memcpy(&child->thread.TS_FPR(fpidx), &data, child 3053 arch/powerpc/kernel/ptrace.c child->thread.fp_state.fpscr = data; child 3110 arch/powerpc/kernel/ptrace.c return ppc_set_hwdebug(child, &bp_info); child 3114 arch/powerpc/kernel/ptrace.c ret = ppc_del_hwdebug(child, data); child 3127 arch/powerpc/kernel/ptrace.c ret = put_user(child->thread.debug.dac1, datalp); child 3129 arch/powerpc/kernel/ptrace.c dabr_fake = ((child->thread.hw_brk.address & (~HW_BRK_TYPE_DABR)) | child 3130 arch/powerpc/kernel/ptrace.c (child->thread.hw_brk.type & HW_BRK_TYPE_DABR)); child 3137 arch/powerpc/kernel/ptrace.c ret = ptrace_set_debugreg(child, addr, data); child 3144 arch/powerpc/kernel/ptrace.c return copy_regset_to_user(child, &user_ppc_native_view, child 3153 arch/powerpc/kernel/ptrace.c return copy_regset_from_user(child, &user_ppc_native_view, child 3159 arch/powerpc/kernel/ptrace.c return copy_regset_to_user(child, &user_ppc_native_view, child 3165 arch/powerpc/kernel/ptrace.c return copy_regset_from_user(child, &user_ppc_native_view, child 3172 arch/powerpc/kernel/ptrace.c return copy_regset_to_user(child, &user_ppc_native_view, child 3179 arch/powerpc/kernel/ptrace.c return copy_regset_from_user(child, &user_ppc_native_view, child 3187 arch/powerpc/kernel/ptrace.c return copy_regset_to_user(child, &user_ppc_native_view, child 3193 arch/powerpc/kernel/ptrace.c return copy_regset_from_user(child, &user_ppc_native_view, child 3201 arch/powerpc/kernel/ptrace.c return copy_regset_to_user(child, &user_ppc_native_view, child 3207 arch/powerpc/kernel/ptrace.c return copy_regset_from_user(child, &user_ppc_native_view, child 3213 arch/powerpc/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 47 arch/powerpc/kernel/ptrace32.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 76 arch/powerpc/kernel/ptrace32.c copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, child 95 arch/powerpc/kernel/ptrace32.c CHECK_FULL_REGS(child->thread.regs); child 97 arch/powerpc/kernel/ptrace32.c ret = ptrace_get_reg(child, index, &tmp); child 101 arch/powerpc/kernel/ptrace32.c flush_fp_to_thread(child); child 107 arch/powerpc/kernel/ptrace32.c tmp = ((unsigned int *)child->thread.fp_state.fpr) child 145 arch/powerpc/kernel/ptrace32.c CHECK_FULL_REGS(child->thread.regs); child 147 arch/powerpc/kernel/ptrace32.c flush_fp_to_thread(child); child 149 arch/powerpc/kernel/ptrace32.c tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; child 152 arch/powerpc/kernel/ptrace32.c ret = ptrace_get_reg(child, numReg, &tmp2); child 181 arch/powerpc/kernel/ptrace32.c if (ptrace_access_vm(child, (u64)addrOthers, &tmp, child 199 arch/powerpc/kernel/ptrace32.c CHECK_FULL_REGS(child->thread.regs); child 201 arch/powerpc/kernel/ptrace32.c ret = ptrace_put_reg(child, index, data); child 203 arch/powerpc/kernel/ptrace32.c flush_fp_to_thread(child); child 209 arch/powerpc/kernel/ptrace32.c ((unsigned int *)child->thread.fp_state.fpr) child 238 arch/powerpc/kernel/ptrace32.c CHECK_FULL_REGS(child->thread.regs); child 241 arch/powerpc/kernel/ptrace32.c ret = ptrace_get_reg(child, numReg, &freg); child 248 arch/powerpc/kernel/ptrace32.c ret = ptrace_put_reg(child, numReg, freg); child 251 arch/powerpc/kernel/ptrace32.c flush_fp_to_thread(child); child 253 arch/powerpc/kernel/ptrace32.c tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; child 270 arch/powerpc/kernel/ptrace32.c ret = put_user(child->thread.debug.dac1, (u32 __user *)data); child 273 arch/powerpc/kernel/ptrace32.c (child->thread.hw_brk.address & (~HW_BRK_TYPE_DABR)) | child 274 arch/powerpc/kernel/ptrace32.c (child->thread.hw_brk.type & HW_BRK_TYPE_DABR)); child 282 arch/powerpc/kernel/ptrace32.c child, task_user_regset_view(current), 0, child 288 arch/powerpc/kernel/ptrace32.c child, task_user_regset_view(current), 0, child 309 arch/powerpc/kernel/ptrace32.c ret = arch_ptrace(child, request, addr, data); child 313 arch/powerpc/kernel/ptrace32.c ret = compat_ptrace_request(child, request, addr, data); child 169 arch/powerpc/platforms/44x/warp.c struct device_node *np, *child; child 177 arch/powerpc/platforms/44x/warp.c for_each_child_of_node(np, child) child 178 arch/powerpc/platforms/44x/warp.c if (of_node_name_eq(child, "green")) child 179 arch/powerpc/platforms/44x/warp.c green_led = of_get_gpio(child, 0); child 180 arch/powerpc/platforms/44x/warp.c else if (of_node_name_eq(child, "red")) child 181 arch/powerpc/platforms/44x/warp.c red_led = of_get_gpio(child, 0); child 52 arch/powerpc/platforms/maple/pci.c higher = fixup_one_level_bus_range(node->child, higher); child 77 arch/powerpc/platforms/maple/pci.c bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); child 571 arch/powerpc/platforms/maple/pci.c struct device_node *np, *child; child 582 arch/powerpc/platforms/maple/pci.c for_each_child_of_node(np, child) child 583 arch/powerpc/platforms/maple/pci.c PCI_DN(child)->busno = 0xf0; child 266 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->child; child 338 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->child; child 71 arch/powerpc/platforms/powermac/feature.c struct macio_chip *macio_find(struct device_node *child, int type) child 73 arch/powerpc/platforms/powermac/feature.c while(child) { child 77 arch/powerpc/platforms/powermac/feature.c if (child == macio_chips[i].of_node && child 80 arch/powerpc/platforms/powermac/feature.c child = child->parent; child 596 arch/powerpc/platforms/powermac/low_i2c.c struct device_node *np, *child, *parent; child 615 arch/powerpc/platforms/powermac/low_i2c.c child = of_get_next_child(np, NULL); child 616 arch/powerpc/platforms/powermac/low_i2c.c multibus = !of_node_name_eq(child, "i2c-bus"); child 617 arch/powerpc/platforms/powermac/low_i2c.c of_node_put(child); child 632 arch/powerpc/platforms/powermac/low_i2c.c for (child = NULL; child 633 arch/powerpc/platforms/powermac/low_i2c.c (child = of_get_next_child(np, child)) != NULL;) { child 634 arch/powerpc/platforms/powermac/low_i2c.c const u32 *reg = of_get_property(child, child 638 arch/powerpc/platforms/powermac/low_i2c.c kw_i2c_add(host, np, child, *reg); child 76 arch/powerpc/platforms/powermac/pci.c higher = fixup_one_level_bus_range(node->child, higher); child 98 arch/powerpc/platforms/powermac/pci.c bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); child 245 arch/powerpc/platforms/powermac/pci.c for (dn = busdn->child; dn; dn = dn->sibling) child 879 arch/powerpc/platforms/powermac/pci.c struct device_node *np, *child; child 891 arch/powerpc/platforms/powermac/pci.c for_each_child_of_node(np, child) child 892 arch/powerpc/platforms/powermac/pci.c PCI_DN(child)->busno = 0xf0; child 678 arch/powerpc/platforms/powernv/pci-ioda.c struct pnv_ioda_pe *child, child 689 arch/powerpc/platforms/powernv/pci-ioda.c child->pe_number, op); child 691 arch/powerpc/platforms/powernv/pci-ioda.c pe_warn(child, "OPAL error %ld %s to parent PELTV\n", child 696 arch/powerpc/platforms/powernv/pci-ioda.c if (!(child->flags & PNV_IODA_PE_MASTER)) child 700 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry(slave, &child->slaves, list) { child 3156 arch/powerpc/platforms/powernv/pci-ioda.c struct pci_bus *child; child 3176 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry(child, &bus->children, node) child 3177 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_enable_bridge(child); child 115 arch/powerpc/platforms/pseries/dlpar.c if (dn->child) child 116 arch/powerpc/platforms/pseries/dlpar.c dlpar_free_cc_nodes(dn->child); child 196 arch/powerpc/platforms/pseries/dlpar.c last_dn->child = dn; child 261 arch/powerpc/platforms/pseries/dlpar.c struct device_node *child; child 264 arch/powerpc/platforms/pseries/dlpar.c child = of_get_next_child(dn, NULL); child 265 arch/powerpc/platforms/pseries/dlpar.c while (child) { child 266 arch/powerpc/platforms/pseries/dlpar.c dlpar_detach_node(child); child 267 arch/powerpc/platforms/pseries/dlpar.c child = of_get_next_child(dn, child); child 386 arch/powerpc/platforms/pseries/hotplug-cpu.c struct device_node *child = NULL; child 394 arch/powerpc/platforms/pseries/hotplug-cpu.c for_each_child_of_node(parent, child) { child 395 arch/powerpc/platforms/pseries/hotplug-cpu.c rc = of_property_read_u32(child, "ibm,my-drc-index", child 401 arch/powerpc/platforms/pseries/hotplug-cpu.c of_node_put(child); child 181 arch/powerpc/platforms/pseries/ibmebus.c struct device_node *root, *child; child 187 arch/powerpc/platforms/pseries/ibmebus.c for_each_child_of_node(root, child) { child 188 arch/powerpc/platforms/pseries/ibmebus.c if (!of_match_node(matches, child)) child 191 arch/powerpc/platforms/pseries/ibmebus.c dev = bus_find_device(&ibmebus_bus_type, NULL, child, child 198 arch/powerpc/platforms/pseries/ibmebus.c ret = ibmebus_create_device(child); child 202 arch/powerpc/platforms/pseries/ibmebus.c of_node_put(child); child 590 arch/powerpc/platforms/pseries/iommu.c for (children = 0, tmp = dn->child; tmp; tmp = tmp->sibling) child 55 arch/powerpc/platforms/pseries/pci_dlpar.c if (dn->child) child 67 arch/powerpc/platforms/pseries/reconfig.c struct device_node *parent, *child; child 73 arch/powerpc/platforms/pseries/reconfig.c if ((child = of_get_next_child(np, NULL))) { child 74 arch/powerpc/platforms/pseries/reconfig.c of_node_put(child); child 128 arch/riscv/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 130 arch/riscv/kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); child 133 arch/riscv/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 140 arch/riscv/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 79 arch/s390/appldata/appldata_base.c .child = appldata_table, child 381 arch/s390/appldata/appldata_base.c ops->ctl_table[0].child = &ops->ctl_table[2]; child 901 arch/s390/kernel/debug.c .child = s390dbf_table, child 151 arch/s390/kernel/ptrace.c static inline unsigned long __peek_user_per(struct task_struct *child, child 159 arch/s390/kernel/ptrace.c PER_EVENT_IFETCH : child->thread.per_user.control; child 163 arch/s390/kernel/ptrace.c 0 : child->thread.per_user.start; child 167 arch/s390/kernel/ptrace.c -1UL : child->thread.per_user.end; child 174 arch/s390/kernel/ptrace.c return child->thread.per_user.start; child 177 arch/s390/kernel/ptrace.c return child->thread.per_user.end; child 181 arch/s390/kernel/ptrace.c child->thread.per_event.cause << (BITS_PER_LONG - 16); child 184 arch/s390/kernel/ptrace.c return child->thread.per_event.address; child 188 arch/s390/kernel/ptrace.c child->thread.per_event.paid << (BITS_PER_LONG - 8); child 201 arch/s390/kernel/ptrace.c static unsigned long __peek_user(struct task_struct *child, addr_t addr) child 210 arch/s390/kernel/ptrace.c tmp = *(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr); child 228 arch/s390/kernel/ptrace.c tmp = ((unsigned long) child->thread.acrs[15]) << 32; child 230 arch/s390/kernel/ptrace.c tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); child 236 arch/s390/kernel/ptrace.c tmp = (addr_t) task_pt_regs(child)->orig_gpr2; child 249 arch/s390/kernel/ptrace.c tmp = child->thread.fpu.fpc; child 260 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.vxrs + 2*offset); child 263 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.fprs + offset); child 270 arch/s390/kernel/ptrace.c tmp = __peek_user_per(child, addr); child 279 arch/s390/kernel/ptrace.c peek_user(struct task_struct *child, addr_t addr, addr_t data) child 294 arch/s390/kernel/ptrace.c tmp = __peek_user(child, addr); child 298 arch/s390/kernel/ptrace.c static inline void __poke_user_per(struct task_struct *child, child 317 arch/s390/kernel/ptrace.c child->thread.per_user.control = child 321 arch/s390/kernel/ptrace.c child->thread.per_user.start = data; child 324 arch/s390/kernel/ptrace.c child->thread.per_user.end = data; child 333 arch/s390/kernel/ptrace.c static int __poke_user(struct task_struct *child, addr_t addr, addr_t data) child 345 arch/s390/kernel/ptrace.c mask |= is_ri_task(child) ? PSW_MASK_RI : 0; child 356 arch/s390/kernel/ptrace.c *(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr) = data; child 370 arch/s390/kernel/ptrace.c child->thread.acrs[15] = (unsigned int) (data >> 32); child 372 arch/s390/kernel/ptrace.c *(addr_t *)((addr_t) &child->thread.acrs + offset) = data; child 378 arch/s390/kernel/ptrace.c task_pt_regs(child)->orig_gpr2 = data; child 394 arch/s390/kernel/ptrace.c child->thread.fpu.fpc = data >> (BITS_PER_LONG - 32); child 404 arch/s390/kernel/ptrace.c child->thread.fpu.vxrs + 2*offset) = data; child 407 arch/s390/kernel/ptrace.c child->thread.fpu.fprs + offset) = data; child 414 arch/s390/kernel/ptrace.c __poke_user_per(child, addr, data); child 421 arch/s390/kernel/ptrace.c static int poke_user(struct task_struct *child, addr_t addr, addr_t data) child 436 arch/s390/kernel/ptrace.c return __poke_user(child, addr, data); child 439 arch/s390/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 448 arch/s390/kernel/ptrace.c return peek_user(child, addr, data); child 452 arch/s390/kernel/ptrace.c return poke_user(child, addr, data); child 464 arch/s390/kernel/ptrace.c ret = peek_user(child, addr, data); child 470 arch/s390/kernel/ptrace.c ret = poke_user(child, addr, utmp); child 480 arch/s390/kernel/ptrace.c put_user(child->thread.last_break, child 486 arch/s390/kernel/ptrace.c child->thread.per_flags &= ~PER_FLAG_NO_TE; child 491 arch/s390/kernel/ptrace.c child->thread.per_flags |= PER_FLAG_NO_TE; child 492 arch/s390/kernel/ptrace.c child->thread.per_flags &= ~PER_FLAG_TE_ABORT_RAND; child 495 arch/s390/kernel/ptrace.c if (!MACHINE_HAS_TE || (child->thread.per_flags & PER_FLAG_NO_TE)) child 499 arch/s390/kernel/ptrace.c child->thread.per_flags &= ~PER_FLAG_TE_ABORT_RAND; child 502 arch/s390/kernel/ptrace.c child->thread.per_flags |= PER_FLAG_TE_ABORT_RAND; child 503 arch/s390/kernel/ptrace.c child->thread.per_flags |= PER_FLAG_TE_ABORT_RAND_TEND; child 506 arch/s390/kernel/ptrace.c child->thread.per_flags |= PER_FLAG_TE_ABORT_RAND; child 507 arch/s390/kernel/ptrace.c child->thread.per_flags &= ~PER_FLAG_TE_ABORT_RAND_TEND; child 514 arch/s390/kernel/ptrace.c return ptrace_request(child, request, addr, data); child 536 arch/s390/kernel/ptrace.c static inline __u32 __peek_user_per_compat(struct task_struct *child, child 544 arch/s390/kernel/ptrace.c PER_EVENT_IFETCH : child->thread.per_user.control; child 548 arch/s390/kernel/ptrace.c 0 : child->thread.per_user.start; child 552 arch/s390/kernel/ptrace.c PSW32_ADDR_INSN : child->thread.per_user.end; child 559 arch/s390/kernel/ptrace.c return (__u32) child->thread.per_user.start; child 562 arch/s390/kernel/ptrace.c return (__u32) child->thread.per_user.end; child 565 arch/s390/kernel/ptrace.c return (__u32) child->thread.per_event.cause << 16; child 568 arch/s390/kernel/ptrace.c return (__u32) child->thread.per_event.address; child 571 arch/s390/kernel/ptrace.c return (__u32) child->thread.per_event.paid << 24; child 578 arch/s390/kernel/ptrace.c static u32 __peek_user_compat(struct task_struct *child, addr_t addr) child 585 arch/s390/kernel/ptrace.c struct pt_regs *regs = task_pt_regs(child); child 607 arch/s390/kernel/ptrace.c tmp = *(__u32*)((addr_t) &child->thread.acrs + offset); child 613 arch/s390/kernel/ptrace.c tmp = *(__u32*)((addr_t) &task_pt_regs(child)->orig_gpr2 + 4); child 626 arch/s390/kernel/ptrace.c tmp = child->thread.fpu.fpc; child 636 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.vxrs + 2*offset); child 639 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.fprs + offset); child 646 arch/s390/kernel/ptrace.c tmp = __peek_user_per_compat(child, addr); child 654 arch/s390/kernel/ptrace.c static int peek_user_compat(struct task_struct *child, child 662 arch/s390/kernel/ptrace.c tmp = __peek_user_compat(child, addr); child 669 arch/s390/kernel/ptrace.c static inline void __poke_user_per_compat(struct task_struct *child, child 676 arch/s390/kernel/ptrace.c child->thread.per_user.control = child 680 arch/s390/kernel/ptrace.c child->thread.per_user.start = data; child 683 arch/s390/kernel/ptrace.c child->thread.per_user.end = data; child 689 arch/s390/kernel/ptrace.c static int __poke_user_compat(struct task_struct *child, child 697 arch/s390/kernel/ptrace.c struct pt_regs *regs = task_pt_regs(child); child 704 arch/s390/kernel/ptrace.c mask |= is_ri_task(child) ? PSW32_MASK_RI : 0; child 730 arch/s390/kernel/ptrace.c *(__u32*)((addr_t) &child->thread.acrs + offset) = tmp; child 736 arch/s390/kernel/ptrace.c *(__u32*)((addr_t) &task_pt_regs(child)->orig_gpr2 + 4) = tmp; child 751 arch/s390/kernel/ptrace.c child->thread.fpu.fpc = data; child 761 arch/s390/kernel/ptrace.c child->thread.fpu.vxrs + 2*offset) = tmp; child 764 arch/s390/kernel/ptrace.c child->thread.fpu.fprs + offset) = tmp; child 771 arch/s390/kernel/ptrace.c __poke_user_per_compat(child, addr, data); child 777 arch/s390/kernel/ptrace.c static int poke_user_compat(struct task_struct *child, child 784 arch/s390/kernel/ptrace.c return __poke_user_compat(child, addr, data); child 787 arch/s390/kernel/ptrace.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 798 arch/s390/kernel/ptrace.c return peek_user_compat(child, addr, data); child 802 arch/s390/kernel/ptrace.c return poke_user_compat(child, addr, data); child 814 arch/s390/kernel/ptrace.c ret = peek_user_compat(child, addr, data); child 820 arch/s390/kernel/ptrace.c ret = poke_user_compat(child, addr, utmp); child 830 arch/s390/kernel/ptrace.c put_user(child->thread.last_break, child 834 arch/s390/kernel/ptrace.c return compat_ptrace_request(child, request, addr, data); child 630 arch/s390/kernel/topology.c .child = topology_ctl_table, child 348 arch/s390/mm/cmm.c .child = cmm_table, child 41 arch/s390/mm/pgalloc.c .child = page_table_sysctl, child 76 arch/s390/numa/toptree.c struct toptree *child, *tmp; child 80 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) child 81 arch/s390/numa/toptree.c toptree_free(child); child 102 arch/s390/numa/toptree.c struct toptree *child; child 105 arch/s390/numa/toptree.c list_for_each_entry(child, &cand->children, sibling) child 106 arch/s390/numa/toptree.c cpumask_or(&cand->mask, &cand->mask, &child->mask); child 143 arch/s390/numa/toptree.c struct toptree *child, *tmp; child 145 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) child 146 arch/s390/numa/toptree.c toptree_move(child, target); child 159 arch/s390/numa/toptree.c struct toptree *child, *tmp, *cand_copy; child 166 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) { child 169 arch/s390/numa/toptree.c if (!cpumask_empty(&child->mask)) { child 170 arch/s390/numa/toptree.c tmpchild = toptree_get_child(cand_copy, child->id); child 171 arch/s390/numa/toptree.c toptree_move_children(child, tmpchild); child 173 arch/s390/numa/toptree.c toptree_free(child); child 178 arch/s390/numa/toptree.c toptree_for_each_child(child, cand) child 179 arch/s390/numa/toptree.c toptree_unify(child); child 238 arch/s390/numa/toptree.c struct toptree *child; child 240 arch/s390/numa/toptree.c toptree_for_each_child(child, cand) child 241 arch/s390/numa/toptree.c if (child->id == id) child 242 arch/s390/numa/toptree.c return child; child 243 arch/s390/numa/toptree.c child = toptree_alloc(cand->level-1, id); child 244 arch/s390/numa/toptree.c toptree_insert(child, cand); child 245 arch/s390/numa/toptree.c return child; child 259 arch/s390/numa/toptree.c struct toptree *child, *tmp; child 265 arch/s390/numa/toptree.c list_for_each_entry(child, &context->children, sibling) { child 266 arch/s390/numa/toptree.c tmp = toptree_first(child, level); child 36 arch/s390/numa/toptree.h #define toptree_for_each_child(child, ptree) \ child 37 arch/s390/numa/toptree.h list_for_each_entry(child, &ptree->children, sibling) child 39 arch/s390/numa/toptree.h #define toptree_for_each_child_safe(child, ptmp, ptree) \ child 40 arch/s390/numa/toptree.h list_for_each_entry_safe(child, ptmp, &ptree->children, sibling) child 112 arch/sh/kernel/ptrace_32.c void user_enable_single_step(struct task_struct *child) child 114 arch/sh/kernel/ptrace_32.c unsigned long pc = get_stack_long(child, offsetof(struct pt_regs, pc)); child 116 arch/sh/kernel/ptrace_32.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 118 arch/sh/kernel/ptrace_32.c set_single_step(child, pc); child 121 arch/sh/kernel/ptrace_32.c void user_disable_single_step(struct task_struct *child) child 123 arch/sh/kernel/ptrace_32.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 131 arch/sh/kernel/ptrace_32.c void ptrace_disable(struct task_struct *child) child 133 arch/sh/kernel/ptrace_32.c user_disable_single_step(child); child 368 arch/sh/kernel/ptrace_32.c long arch_ptrace(struct task_struct *child, long request, child 385 arch/sh/kernel/ptrace_32.c tmp = get_stack_long(child, addr); child 388 arch/sh/kernel/ptrace_32.c if (!tsk_used_math(child)) { child 395 arch/sh/kernel/ptrace_32.c ret = init_fpu(child); child 399 arch/sh/kernel/ptrace_32.c tmp = ((unsigned long *)child->thread.xstate) child 403 arch/sh/kernel/ptrace_32.c tmp = !!tsk_used_math(child); child 405 arch/sh/kernel/ptrace_32.c tmp = child->mm->start_code; child 407 arch/sh/kernel/ptrace_32.c tmp = child->mm->start_data; child 409 arch/sh/kernel/ptrace_32.c tmp = child->mm->end_code; child 411 arch/sh/kernel/ptrace_32.c tmp = child->mm->end_code - child->mm->start_code; child 425 arch/sh/kernel/ptrace_32.c ret = put_stack_long(child, addr, data); child 429 arch/sh/kernel/ptrace_32.c ret = init_fpu(child); child 433 arch/sh/kernel/ptrace_32.c set_stopped_child_used_math(child); child 434 arch/sh/kernel/ptrace_32.c ((unsigned long *)child->thread.xstate) child 438 arch/sh/kernel/ptrace_32.c conditional_stopped_child_used_math(data, child); child 444 arch/sh/kernel/ptrace_32.c return copy_regset_to_user(child, &user_sh_native_view, child 449 arch/sh/kernel/ptrace_32.c return copy_regset_from_user(child, &user_sh_native_view, child 455 arch/sh/kernel/ptrace_32.c return copy_regset_to_user(child, &user_sh_native_view, child 460 arch/sh/kernel/ptrace_32.c return copy_regset_from_user(child, &user_sh_native_view, child 467 arch/sh/kernel/ptrace_32.c return copy_regset_to_user(child, &user_sh_native_view, child 472 arch/sh/kernel/ptrace_32.c return copy_regset_from_user(child, &user_sh_native_view, child 478 arch/sh/kernel/ptrace_32.c ret = ptrace_request(child, request, addr, data); child 128 arch/sh/kernel/ptrace_64.c void user_enable_single_step(struct task_struct *child) child 130 arch/sh/kernel/ptrace_64.c struct pt_regs *regs = child->thread.uregs; child 134 arch/sh/kernel/ptrace_64.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 137 arch/sh/kernel/ptrace_64.c void user_disable_single_step(struct task_struct *child) child 139 arch/sh/kernel/ptrace_64.c struct pt_regs *regs = child->thread.uregs; child 143 arch/sh/kernel/ptrace_64.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 384 arch/sh/kernel/ptrace_64.c long arch_ptrace(struct task_struct *child, long request, child 400 arch/sh/kernel/ptrace_64.c tmp = get_stack_long(child, addr); child 404 arch/sh/kernel/ptrace_64.c ret = init_fpu(child); child 408 arch/sh/kernel/ptrace_64.c tmp = get_fpu_long(child, index); child 410 arch/sh/kernel/ptrace_64.c tmp = !!tsk_used_math(child); child 437 arch/sh/kernel/ptrace_64.c long cursr = get_stack_long(child, addr); child 441 arch/sh/kernel/ptrace_64.c ret = put_stack_long(child, addr, data); child 446 arch/sh/kernel/ptrace_64.c ret = init_fpu(child); child 450 arch/sh/kernel/ptrace_64.c ret = put_fpu_long(child, index, data); child 455 arch/sh/kernel/ptrace_64.c return copy_regset_to_user(child, &user_sh64_native_view, child 460 arch/sh/kernel/ptrace_64.c return copy_regset_from_user(child, &user_sh64_native_view, child 466 arch/sh/kernel/ptrace_64.c return copy_regset_to_user(child, &user_sh64_native_view, child 471 arch/sh/kernel/ptrace_64.c return copy_regset_from_user(child, &user_sh64_native_view, child 477 arch/sh/kernel/ptrace_64.c ret = ptrace_request(child, request, addr, data); child 573 arch/sh/kernel/ptrace_64.c void ptrace_disable(struct task_struct *child) child 575 arch/sh/kernel/ptrace_64.c user_disable_single_step(child); child 575 arch/sparc/include/asm/floppy_64.h for (dp = ebus_dp->child; dp; dp = dp->sibling) { child 658 arch/sparc/include/asm/floppy_64.h for (dp = ebus_dp->child; dp; dp = dp->sibling) { child 386 arch/sparc/kernel/ioport.c for (r = root->child; r != NULL; r = r->sibling) { child 916 arch/sparc/kernel/irq_64.c dp = dp->child; child 113 arch/sparc/kernel/of_device_32.c static void of_bus_ambapp_count_cells(struct device_node *child, child 403 arch/sparc/kernel/of_device_32.c scan_tree(dp->child, &op->dev); child 418 arch/sparc/kernel/of_device_32.c scan_tree(root->child, &parent->dev); child 696 arch/sparc/kernel/of_device_64.c scan_tree(dp->child, &op->dev); child 711 arch/sparc/kernel/of_device_64.c scan_tree(root->child, &parent->dev); child 63 arch/sparc/kernel/of_device_common.c for (dp = bus_dp->child; dp; dp = dp->sibling) { child 71 arch/sparc/kernel/of_device_common.c if (dp->child) child 173 arch/sparc/kernel/of_device_common.c void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec) child 21 arch/sparc/kernel/of_device_common.h void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec); child 30 arch/sparc/kernel/of_device_common.h void (*count_cells)(struct device_node *child, child 546 arch/sparc/kernel/pci.c struct device_node *child; child 555 arch/sparc/kernel/pci.c child = NULL; child 557 arch/sparc/kernel/pci.c while ((child = of_get_next_child(node, child)) != NULL) { child 559 arch/sparc/kernel/pci.c pci_info(bus, " * %pOF\n", child); child 560 arch/sparc/kernel/pci.c reg = of_get_property(child, "reg", ®len); child 576 arch/sparc/kernel/pci.c dev = of_create_pci_dev(pbm, child, bus, devfn); child 583 arch/sparc/kernel/pci.c of_scan_pci_bridge(pbm, child, dev); child 39 arch/sparc/kernel/ptrace_32.c void ptrace_disable(struct task_struct *child) child 341 arch/sparc/kernel/ptrace_32.c long arch_ptrace(struct task_struct *child, long request, child 358 arch/sparc/kernel/ptrace_32.c ret = copy_regset_to_user(child, view, REGSET_GENERAL, child 363 arch/sparc/kernel/ptrace_32.c copy_regset_to_user(child, view, REGSET_GENERAL, child 371 arch/sparc/kernel/ptrace_32.c ret = copy_regset_from_user(child, view, REGSET_GENERAL, child 376 arch/sparc/kernel/ptrace_32.c copy_regset_from_user(child, view, REGSET_GENERAL, child 384 arch/sparc/kernel/ptrace_32.c ret = copy_regset_to_user(child, view, REGSET_FP, child 389 arch/sparc/kernel/ptrace_32.c ret = copy_regset_to_user(child, view, REGSET_FP, child 405 arch/sparc/kernel/ptrace_32.c ret = copy_regset_from_user(child, view, REGSET_FP, child 410 arch/sparc/kernel/ptrace_32.c ret = copy_regset_from_user(child, view, REGSET_FP, child 419 arch/sparc/kernel/ptrace_32.c ret = ptrace_readdata(child, addr, addr2p, data); child 429 arch/sparc/kernel/ptrace_32.c ret = ptrace_writedata(child, addr2p, addr, data); child 440 arch/sparc/kernel/ptrace_32.c ret = ptrace_request(child, request, addr, data); child 93 arch/sparc/kernel/ptrace_64.c void ptrace_disable(struct task_struct *child) child 910 arch/sparc/kernel/ptrace_64.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 931 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_GENERAL, child 936 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_GENERAL, child 943 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_GENERAL, child 948 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_GENERAL, child 955 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_FP, child 960 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_FP, child 974 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_FP, child 979 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_FP, child 987 arch/sparc/kernel/ptrace_64.c ret = ptrace_readdata(child, addr, child 997 arch/sparc/kernel/ptrace_64.c ret = ptrace_writedata(child, (char __user *) addr2, child 1008 arch/sparc/kernel/ptrace_64.c ret = compat_ptrace_request(child, request, addr, data); child 1021 arch/sparc/kernel/ptrace_64.c long arch_ptrace(struct task_struct *child, long request, child 1041 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_GENERAL, child 1047 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_GENERAL, child 1055 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_GENERAL, child 1061 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_GENERAL, child 1069 arch/sparc/kernel/ptrace_64.c ret = copy_regset_to_user(child, view, REGSET_FP, child 1076 arch/sparc/kernel/ptrace_64.c ret = copy_regset_from_user(child, view, REGSET_FP, child 1084 arch/sparc/kernel/ptrace_64.c ret = ptrace_readdata(child, addr, addr2p, data); child 1093 arch/sparc/kernel/ptrace_64.c ret = ptrace_writedata(child, addr2p, addr, data); child 1103 arch/sparc/kernel/ptrace_64.c ret = ptrace_request(child, request, addr, data); child 34 arch/um/include/asm/ptrace-generic.h extern long subarch_ptrace(struct task_struct *child, long request, child 36 arch/um/include/asm/ptrace-generic.h extern unsigned long getreg(struct task_struct *child, int regno); child 37 arch/um/include/asm/ptrace-generic.h extern int putreg(struct task_struct *child, int regno, unsigned long value); child 13 arch/um/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 15 arch/um/kernel/ptrace.c child->ptrace |= PT_DTRACE; child 16 arch/um/kernel/ptrace.c child->thread.singlestep_syscall = 0; child 19 arch/um/kernel/ptrace.c SUBARCH_SET_SINGLESTEPPING(child, 1); child 23 arch/um/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 25 arch/um/kernel/ptrace.c child->ptrace &= ~PT_DTRACE; child 26 arch/um/kernel/ptrace.c child->thread.singlestep_syscall = 0; child 29 arch/um/kernel/ptrace.c SUBARCH_SET_SINGLESTEPPING(child, 0); child 36 arch/um/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 38 arch/um/kernel/ptrace.c user_disable_single_step(child); child 41 arch/um/kernel/ptrace.c extern int peek_user(struct task_struct * child, long addr, long data); child 42 arch/um/kernel/ptrace.c extern int poke_user(struct task_struct * child, long addr, long data); child 44 arch/um/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 54 arch/um/kernel/ptrace.c ret = peek_user(child, addr, data); child 59 arch/um/kernel/ptrace.c ret = poke_user(child, addr, data); child 74 arch/um/kernel/ptrace.c __put_user(getreg(child, i), p); child 90 arch/um/kernel/ptrace.c putreg(child, i, tmp); child 98 arch/um/kernel/ptrace.c ret = ptrace_get_thread_area(child, addr, vp); child 102 arch/um/kernel/ptrace.c ret = ptrace_set_thread_area(child, addr, vp); child 106 arch/um/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 108 arch/um/kernel/ptrace.c ret = subarch_ptrace(child, request, addr, data); child 54 arch/unicore32/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 85 arch/unicore32/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 93 arch/unicore32/kernel/ptrace.c ret = ptrace_read_user(child, addr, datap); child 97 arch/unicore32/kernel/ptrace.c ret = ptrace_write_user(child, addr, data); child 101 arch/unicore32/kernel/ptrace.c ret = put_user(task_pt_regs(child)->UCreg_16, child 106 arch/unicore32/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 169 arch/x86/crypto/ghash-clmulni-intel_glue.c struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); child 171 arch/x86/crypto/ghash-clmulni-intel_glue.c desc->tfm = child; child 248 arch/x86/crypto/ghash-clmulni-intel_glue.c struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); child 250 arch/x86/crypto/ghash-clmulni-intel_glue.c desc->tfm = child; child 259 arch/x86/crypto/ghash-clmulni-intel_glue.c struct crypto_ahash *child = &ctx->cryptd_tfm->base; child 262 arch/x86/crypto/ghash-clmulni-intel_glue.c crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 263 arch/x86/crypto/ghash-clmulni-intel_glue.c crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) child 265 arch/x86/crypto/ghash-clmulni-intel_glue.c err = crypto_ahash_setkey(child, key, keylen); child 266 arch/x86/crypto/ghash-clmulni-intel_glue.c crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child) child 86 arch/x86/entry/vdso/vdso32-setup.c .child = abi_table2 child 883 arch/x86/include/asm/processor.h #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_ADDR32)) ? \ child 103 arch/x86/include/asm/ptrace.h convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs); child 85 arch/x86/kernel/itmt.c .child = itmt_kern_table, child 354 arch/x86/kernel/ptrace.c static int putreg(struct task_struct *child, child 364 arch/x86/kernel/ptrace.c return set_segment_reg(child, offset, value); child 367 arch/x86/kernel/ptrace.c return set_flags(child, value); child 378 arch/x86/kernel/ptrace.c if (child->thread.fsbase != value) child 379 arch/x86/kernel/ptrace.c return do_arch_prctl_64(child, ARCH_SET_FS, value); child 387 arch/x86/kernel/ptrace.c if (child->thread.gsbase != value) child 388 arch/x86/kernel/ptrace.c return do_arch_prctl_64(child, ARCH_SET_GS, value); child 393 arch/x86/kernel/ptrace.c *pt_regs_access(task_pt_regs(child), offset) = value; child 721 arch/x86/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 723 arch/x86/kernel/ptrace.c user_disable_single_step(child); child 730 arch/x86/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 747 arch/x86/kernel/ptrace.c tmp = getreg(child, addr); child 751 arch/x86/kernel/ptrace.c tmp = ptrace_get_debugreg(child, addr / sizeof(data)); child 763 arch/x86/kernel/ptrace.c ret = putreg(child, addr, data); child 767 arch/x86/kernel/ptrace.c ret = ptrace_set_debugreg(child, child 773 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, child 780 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, child 787 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, child 794 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, child 802 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, &user_x86_32_view, child 808 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, &user_x86_32_view, child 818 arch/x86/kernel/ptrace.c ret = do_get_thread_area(child, addr, child 825 arch/x86/kernel/ptrace.c ret = do_set_thread_area(child, addr, child 835 arch/x86/kernel/ptrace.c ret = do_arch_prctl_64(child, data, addr); child 840 arch/x86/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 860 arch/x86/kernel/ptrace.c return set_segment_reg(child, \ child 865 arch/x86/kernel/ptrace.c static int putreg32(struct task_struct *child, unsigned regno, u32 value) child 867 arch/x86/kernel/ptrace.c struct pt_regs *regs = task_pt_regs(child); child 900 arch/x86/kernel/ptrace.c if (syscall_get_nr(child, regs) >= 0) child 901 arch/x86/kernel/ptrace.c child->thread_info.status |= TS_I386_REGS_POKED; child 905 arch/x86/kernel/ptrace.c return set_flags(child, value); child 910 arch/x86/kernel/ptrace.c return ptrace_set_debugreg(child, regno / 4, value); child 934 arch/x86/kernel/ptrace.c *val = get_segment_reg(child, \ child 938 arch/x86/kernel/ptrace.c static int getreg32(struct task_struct *child, unsigned regno, u32 *val) child 940 arch/x86/kernel/ptrace.c struct pt_regs *regs = task_pt_regs(child); child 963 arch/x86/kernel/ptrace.c *val = get_flags(child); child 969 arch/x86/kernel/ptrace.c *val = ptrace_get_debugreg(child, regno / 4); child 1044 arch/x86/kernel/ptrace.c static long ia32_arch_ptrace(struct task_struct *child, compat_long_t request, child 1055 arch/x86/kernel/ptrace.c ret = getreg32(child, addr, &val); child 1061 arch/x86/kernel/ptrace.c ret = putreg32(child, addr, data); child 1065 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, &user_x86_32_view, child 1071 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, &user_x86_32_view, child 1077 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, &user_x86_32_view, child 1084 arch/x86/kernel/ptrace.c child, &user_x86_32_view, REGSET_FP, child 1088 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, &user_x86_32_view, child 1094 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, &user_x86_32_view, child 1101 arch/x86/kernel/ptrace.c return arch_ptrace(child, request, addr, data); child 1104 arch/x86/kernel/ptrace.c return compat_ptrace_request(child, request, addr, data); child 1112 arch/x86/kernel/ptrace.c static long x32_arch_ptrace(struct task_struct *child, child 1134 arch/x86/kernel/ptrace.c tmp = getreg(child, addr); child 1138 arch/x86/kernel/ptrace.c tmp = ptrace_get_debugreg(child, addr / sizeof(data)); child 1154 arch/x86/kernel/ptrace.c ret = putreg(child, addr, data); child 1158 arch/x86/kernel/ptrace.c ret = ptrace_set_debugreg(child, child 1164 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, child 1171 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, child 1178 arch/x86/kernel/ptrace.c return copy_regset_to_user(child, child 1185 arch/x86/kernel/ptrace.c return copy_regset_from_user(child, child 1192 arch/x86/kernel/ptrace.c return compat_ptrace_request(child, request, addr, data); child 1200 arch/x86/kernel/ptrace.c long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 1205 arch/x86/kernel/ptrace.c return x32_arch_ptrace(child, request, caddr, cdata); child 1208 arch/x86/kernel/ptrace.c return ia32_arch_ptrace(child, request, caddr, cdata); child 12 arch/x86/kernel/step.c unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs) child 36 arch/x86/kernel/step.c mutex_lock(&child->mm->context.lock); child 37 arch/x86/kernel/step.c if (unlikely(!child->mm->context.ldt || child 38 arch/x86/kernel/step.c seg >= child->mm->context.ldt->nr_entries)) child 41 arch/x86/kernel/step.c desc = &child->mm->context.ldt->entries[seg]; child 49 arch/x86/kernel/step.c mutex_unlock(&child->mm->context.lock); child 56 arch/x86/kernel/step.c static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs) child 60 arch/x86/kernel/step.c unsigned long addr = convert_ip_to_linear(child, regs); child 62 arch/x86/kernel/step.c copied = access_process_vm(child, addr, opcode, sizeof(opcode), child 111 arch/x86/kernel/step.c static int enable_single_step(struct task_struct *child) child 113 arch/x86/kernel/step.c struct pt_regs *regs = task_pt_regs(child); child 126 arch/x86/kernel/step.c if (unlikely(test_tsk_thread_flag(child, TIF_SINGLESTEP))) child 134 arch/x86/kernel/step.c set_tsk_thread_flag(child, TIF_SINGLESTEP); child 150 arch/x86/kernel/step.c if (is_setting_trap_flag(child, regs)) { child 151 arch/x86/kernel/step.c clear_tsk_thread_flag(child, TIF_FORCED_TF); child 160 arch/x86/kernel/step.c return test_tsk_thread_flag(child, TIF_FORCED_TF); child 162 arch/x86/kernel/step.c set_tsk_thread_flag(child, TIF_FORCED_TF); child 198 arch/x86/kernel/step.c static void enable_step(struct task_struct *child, bool block) child 207 arch/x86/kernel/step.c if (enable_single_step(child) && block) child 208 arch/x86/kernel/step.c set_task_blockstep(child, true); child 209 arch/x86/kernel/step.c else if (test_tsk_thread_flag(child, TIF_BLOCKSTEP)) child 210 arch/x86/kernel/step.c set_task_blockstep(child, false); child 213 arch/x86/kernel/step.c void user_enable_single_step(struct task_struct *child) child 215 arch/x86/kernel/step.c enable_step(child, 0); child 218 arch/x86/kernel/step.c void user_enable_block_step(struct task_struct *child) child 220 arch/x86/kernel/step.c enable_step(child, 1); child 223 arch/x86/kernel/step.c void user_disable_single_step(struct task_struct *child) child 228 arch/x86/kernel/step.c if (test_tsk_thread_flag(child, TIF_BLOCKSTEP)) child 229 arch/x86/kernel/step.c set_task_blockstep(child, false); child 232 arch/x86/kernel/step.c clear_tsk_thread_flag(child, TIF_SINGLESTEP); child 235 arch/x86/kernel/step.c if (test_and_clear_tsk_thread_flag(child, TIF_FORCED_TF)) child 236 arch/x86/kernel/step.c task_pt_regs(child)->flags &= ~X86_EFLAGS_TF; child 2280 arch/x86/kvm/mmu.c struct kvm_mmu_page *child; child 2288 arch/x86/kvm/mmu.c child = page_header(ent & PT64_BASE_ADDR_MASK); child 2290 arch/x86/kvm/mmu.c if (child->unsync_children) { child 2291 arch/x86/kvm/mmu.c if (mmu_pages_add(pvec, child, i)) child 2294 arch/x86/kvm/mmu.c ret = __mmu_unsync_walk(child, pvec); child 2302 arch/x86/kvm/mmu.c } else if (child->unsync) { child 2304 arch/x86/kvm/mmu.c if (mmu_pages_add(pvec, child, i)) child 2730 arch/x86/kvm/mmu.c struct kvm_mmu_page *child; child 2739 arch/x86/kvm/mmu.c child = page_header(*sptep & PT64_BASE_ADDR_MASK); child 2740 arch/x86/kvm/mmu.c if (child->role.access == direct_access) child 2743 arch/x86/kvm/mmu.c drop_parent_pte(child, sptep); child 2744 arch/x86/kvm/mmu.c kvm_flush_remote_tlbs_with_address(vcpu->kvm, child->gfn, 1); child 2752 arch/x86/kvm/mmu.c struct kvm_mmu_page *child; child 2761 arch/x86/kvm/mmu.c child = page_header(pte & PT64_BASE_ADDR_MASK); child 2762 arch/x86/kvm/mmu.c drop_parent_pte(child, spte); child 3173 arch/x86/kvm/mmu.c struct kvm_mmu_page *child; child 3176 arch/x86/kvm/mmu.c child = page_header(pte & PT64_BASE_ADDR_MASK); child 3177 arch/x86/kvm/mmu.c drop_parent_pte(child, sptep); child 46 arch/x86/kvm/mmu_audit.c struct kvm_mmu_page *child; child 48 arch/x86/kvm/mmu_audit.c child = page_header(ent[i] & PT64_BASE_ADDR_MASK); child 49 arch/x86/kvm/mmu_audit.c __mmu_spte_walk(vcpu, child, fn, level - 1); child 377 arch/x86/pci/acpi.c struct pci_bus *child; child 378 arch/x86/pci/acpi.c list_for_each_entry(child, &bus->children, node) child 379 arch/x86/pci/acpi.c pcie_bus_configure_settings(child); child 235 arch/x86/pci/i386.c struct pci_bus *child; child 240 arch/x86/pci/i386.c list_for_each_entry(child, &bus->children, node) child 241 arch/x86/pci/i386.c pcibios_allocate_bus_resources(child); child 310 arch/x86/pci/i386.c struct pci_bus *child; child 315 arch/x86/pci/i386.c child = dev->subordinate; child 316 arch/x86/pci/i386.c if (child) child 317 arch/x86/pci/i386.c pcibios_allocate_resources(child, pass); child 344 arch/x86/pci/i386.c struct pci_bus *child; child 349 arch/x86/pci/i386.c child = dev->subordinate; child 350 arch/x86/pci/i386.c if (child) child 351 arch/x86/pci/i386.c pcibios_allocate_rom_resources(child); child 51 arch/x86/um/asm/ptrace.h extern int ptrace_get_thread_area(struct task_struct *child, int idx, child 54 arch/x86/um/asm/ptrace.h extern int ptrace_set_thread_area(struct task_struct *child, int idx, child 70 arch/x86/um/asm/ptrace.h static inline int ptrace_get_thread_area(struct task_struct *child, int idx, child 76 arch/x86/um/asm/ptrace.h static inline int ptrace_set_thread_area(struct task_struct *child, int idx, child 75 arch/x86/um/ptrace_32.c int putreg(struct task_struct *child, int regno, unsigned long value) child 91 arch/x86/um/ptrace_32.c UPT_SYSCALL_NR(&child->thread.regs.regs) = value; child 115 arch/x86/um/ptrace_32.c child->thread.regs.regs.gp[HOST_EFLAGS] |= value; child 120 arch/x86/um/ptrace_32.c child->thread.regs.regs.gp[reg_offsets[regno]] = value; child 124 arch/x86/um/ptrace_32.c int poke_user(struct task_struct *child, long addr, long data) child 130 arch/x86/um/ptrace_32.c return putreg(child, addr, data); child 137 arch/x86/um/ptrace_32.c child->thread.arch.debugregs[addr] = data; child 143 arch/x86/um/ptrace_32.c unsigned long getreg(struct task_struct *child, int regno) child 172 arch/x86/um/ptrace_32.c return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; child 176 arch/x86/um/ptrace_32.c int peek_user(struct task_struct *child, long addr, long data) child 185 arch/x86/um/ptrace_32.c tmp = getreg(child, addr); child 191 arch/x86/um/ptrace_32.c tmp = child->thread.arch.debugregs[addr]; child 196 arch/x86/um/ptrace_32.c static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) child 198 arch/x86/um/ptrace_32.c int err, n, cpu = task_cpu(child); child 213 arch/x86/um/ptrace_32.c static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) child 215 arch/x86/um/ptrace_32.c int n, cpu = task_cpu(child); child 226 arch/x86/um/ptrace_32.c static int get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) child 228 arch/x86/um/ptrace_32.c int err, n, cpu = task_cpu(child); child 242 arch/x86/um/ptrace_32.c static int set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) child 244 arch/x86/um/ptrace_32.c int n, cpu = task_cpu(child); child 255 arch/x86/um/ptrace_32.c long subarch_ptrace(struct task_struct *child, long request, child 262 arch/x86/um/ptrace_32.c ret = get_fpregs(datap, child); child 265 arch/x86/um/ptrace_32.c ret = set_fpregs(datap, child); child 268 arch/x86/um/ptrace_32.c ret = get_fpxregs(datap, child); child 271 arch/x86/um/ptrace_32.c ret = set_fpxregs(datap, child); child 53 arch/x86/um/ptrace_64.c int putreg(struct task_struct *child, int regno, unsigned long value) child 60 arch/x86/um/ptrace_64.c if (test_tsk_thread_flag(child, TIF_IA32)) child 85 arch/x86/um/ptrace_64.c UPT_SYSCALL_NR(&child->thread.regs.regs) = value; child 107 arch/x86/um/ptrace_64.c child->thread.regs.regs.gp[HOST_EFLAGS] |= value; child 114 arch/x86/um/ptrace_64.c child->thread.regs.regs.gp[reg_offsets[regno >> 3]] = value; child 118 arch/x86/um/ptrace_64.c int poke_user(struct task_struct *child, long addr, long data) child 124 arch/x86/um/ptrace_64.c return putreg(child, addr, data); child 131 arch/x86/um/ptrace_64.c child->thread.arch.debugregs[addr] = data; child 137 arch/x86/um/ptrace_64.c unsigned long getreg(struct task_struct *child, int regno) child 141 arch/x86/um/ptrace_64.c if (test_tsk_thread_flag(child, TIF_IA32)) child 178 arch/x86/um/ptrace_64.c return mask & child->thread.regs.regs.gp[reg_offsets[regno >> 3]]; child 181 arch/x86/um/ptrace_64.c int peek_user(struct task_struct *child, long addr, long data) child 191 arch/x86/um/ptrace_64.c tmp = getreg(child, addr); child 196 arch/x86/um/ptrace_64.c tmp = child->thread.arch.debugregs[addr]; child 227 arch/x86/um/ptrace_64.c static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) child 229 arch/x86/um/ptrace_64.c int err, n, cpu = ((struct thread_info *) child->stack)->cpu; child 244 arch/x86/um/ptrace_64.c static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) child 246 arch/x86/um/ptrace_64.c int n, cpu = ((struct thread_info *) child->stack)->cpu; child 257 arch/x86/um/ptrace_64.c long subarch_ptrace(struct task_struct *child, long request, child 265 arch/x86/um/ptrace_64.c ret = get_fpregs(datap, child); child 268 arch/x86/um/ptrace_64.c ret = set_fpregs(datap, child); child 272 arch/x86/um/ptrace_64.c ret = arch_prctl(child, data, (void __user *) addr); child 311 arch/x86/um/tls_32.c int ptrace_set_thread_area(struct task_struct *child, int idx, child 322 arch/x86/um/tls_32.c return set_tls_entry(child, &info, idx, 0); child 350 arch/x86/um/tls_32.c int ptrace_get_thread_area(struct task_struct *child, int idx, child 359 arch/x86/um/tls_32.c ret = get_tls_entry(child, &info, idx); child 73 arch/xtensa/include/asm/pci-bridge.h res->child = NULL; child 226 arch/xtensa/kernel/ptrace.c void user_enable_single_step(struct task_struct *child) child 228 arch/xtensa/kernel/ptrace.c child->ptrace |= PT_SINGLESTEP; child 231 arch/xtensa/kernel/ptrace.c void user_disable_single_step(struct task_struct *child) child 233 arch/xtensa/kernel/ptrace.c child->ptrace &= ~PT_SINGLESTEP; child 240 arch/xtensa/kernel/ptrace.c void ptrace_disable(struct task_struct *child) child 245 arch/xtensa/kernel/ptrace.c static int ptrace_getregs(struct task_struct *child, void __user *uregs) child 247 arch/xtensa/kernel/ptrace.c return copy_regset_to_user(child, &user_xtensa_view, REGSET_GPR, child 251 arch/xtensa/kernel/ptrace.c static int ptrace_setregs(struct task_struct *child, void __user *uregs) child 253 arch/xtensa/kernel/ptrace.c return copy_regset_from_user(child, &user_xtensa_view, REGSET_GPR, child 257 arch/xtensa/kernel/ptrace.c static int ptrace_getxregs(struct task_struct *child, void __user *uregs) child 259 arch/xtensa/kernel/ptrace.c return copy_regset_to_user(child, &user_xtensa_view, REGSET_TIE, child 263 arch/xtensa/kernel/ptrace.c static int ptrace_setxregs(struct task_struct *child, void __user *uregs) child 265 arch/xtensa/kernel/ptrace.c return copy_regset_from_user(child, &user_xtensa_view, REGSET_TIE, child 269 arch/xtensa/kernel/ptrace.c static int ptrace_peekusr(struct task_struct *child, long regno, child 275 arch/xtensa/kernel/ptrace.c regs = task_pt_regs(child); child 336 arch/xtensa/kernel/ptrace.c static int ptrace_pokeusr(struct task_struct *child, long regno, long val) child 339 arch/xtensa/kernel/ptrace.c regs = task_pt_regs(child); child 415 arch/xtensa/kernel/ptrace.c static long ptrace_gethbpregs(struct task_struct *child, long addr, child 428 arch/xtensa/kernel/ptrace.c bp = child->thread.ptrace_wp[idx]; child 430 arch/xtensa/kernel/ptrace.c bp = child->thread.ptrace_bp[idx]; child 449 arch/xtensa/kernel/ptrace.c static long ptrace_sethbpregs(struct task_struct *child, long addr, child 467 arch/xtensa/kernel/ptrace.c bp = child->thread.ptrace_wp[idx]; child 473 arch/xtensa/kernel/ptrace.c bp = child->thread.ptrace_bp[idx]; child 478 arch/xtensa/kernel/ptrace.c bp = ptrace_hbp_create(child, child 483 arch/xtensa/kernel/ptrace.c child->thread.ptrace_wp[idx] = bp; child 485 arch/xtensa/kernel/ptrace.c child->thread.ptrace_bp[idx] = bp; child 498 arch/xtensa/kernel/ptrace.c long arch_ptrace(struct task_struct *child, long request, child 506 arch/xtensa/kernel/ptrace.c ret = ptrace_peekusr(child, addr, datap); child 510 arch/xtensa/kernel/ptrace.c ret = ptrace_pokeusr(child, addr, data); child 514 arch/xtensa/kernel/ptrace.c ret = ptrace_getregs(child, datap); child 518 arch/xtensa/kernel/ptrace.c ret = ptrace_setregs(child, datap); child 522 arch/xtensa/kernel/ptrace.c ret = ptrace_getxregs(child, datap); child 526 arch/xtensa/kernel/ptrace.c ret = ptrace_setxregs(child, datap); child 530 arch/xtensa/kernel/ptrace.c ret = ptrace_gethbpregs(child, addr, datap); child 534 arch/xtensa/kernel/ptrace.c ret = ptrace_sethbpregs(child, addr, datap); child 538 arch/xtensa/kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 408 block/bfq-wf2q.c struct bfq_entity *child; child 411 block/bfq-wf2q.c child = rb_entry(node, struct bfq_entity, rb_node); child 412 block/bfq-wf2q.c if (bfq_gt(entity->min_start, child->min_start)) child 413 block/bfq-wf2q.c entity->min_start = child->min_start; child 905 block/blk-iocost.c struct ioc_gq *child = iocg->ancestors[lvl + 1]; child 909 block/blk-iocost.c parent->child_active_sum += (s32)(active - child->active); child 910 block/blk-iocost.c parent->child_inuse_sum += (s32)(inuse - child->inuse); child 912 block/blk-iocost.c child->active = active; child 913 block/blk-iocost.c child->inuse = inuse; child 984 block/blk-iocost.c struct ioc_gq *child = iocg->ancestors[lvl + 1]; child 987 block/blk-iocost.c u32 active = READ_ONCE(child->active); child 988 block/blk-iocost.c u32 inuse = READ_ONCE(child->inuse); child 220 crypto/aead.c return crypto_aead_setkey(ctx->child, key, keylen); child 228 crypto/aead.c return crypto_aead_setauthsize(ctx->child, authsize); child 322 crypto/aead.c struct crypto_aead *child; child 342 crypto/aead.c child = crypto_spawn_aead(aead_instance_ctx(inst)); child 343 crypto/aead.c err = PTR_ERR(child); child 344 crypto/aead.c if (IS_ERR(child)) child 347 crypto/aead.c ctx->child = child; child 348 crypto/aead.c crypto_aead_set_reqsize(aead, crypto_aead_reqsize(child) + child 366 crypto/aead.c crypto_free_aead(ctx->child); child 31 crypto/ccm.c struct crypto_aead *child; child 55 crypto/ccm.c struct crypto_cipher *child; child 606 crypto/ccm.c struct crypto_aead *child = ctx->child; child 615 crypto/ccm.c crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 616 crypto/ccm.c crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & child 618 crypto/ccm.c err = crypto_aead_setkey(child, key, keylen); child 619 crypto/ccm.c crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & child 639 crypto/ccm.c return crypto_aead_setauthsize(ctx->child, authsize); child 648 crypto/ccm.c struct crypto_aead *child = ctx->child; child 650 crypto/ccm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), child 651 crypto/ccm.c crypto_aead_alignmask(child) + 1); child 675 crypto/ccm.c aead_request_set_tfm(subreq, child); child 718 crypto/ccm.c ctx->child = aead; child 735 crypto/ccm.c crypto_free_aead(ctx->child); child 837 crypto/ccm.c return crypto_cipher_setkey(ctx->child, inkey, keylen); child 858 crypto/ccm.c struct crypto_cipher *tfm = tctx->child; child 884 crypto/ccm.c struct crypto_cipher *tfm = tctx->child; child 906 crypto/ccm.c ctx->child = cipher; child 914 crypto/ccm.c crypto_free_cipher(ctx->child); child 29 crypto/cmac.c struct crypto_cipher *child; child 61 crypto/cmac.c err = crypto_cipher_setkey(ctx->child, inkey, keylen); child 67 crypto/cmac.c crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); child 124 crypto/cmac.c struct crypto_cipher *tfm = tctx->child; child 170 crypto/cmac.c struct crypto_cipher *tfm = tctx->child; child 211 crypto/cmac.c ctx->child = cipher; child 219 crypto/cmac.c crypto_free_cipher(ctx->child); child 67 crypto/cryptd.c struct crypto_sync_skcipher *child; child 76 crypto/cryptd.c struct crypto_shash *child; child 86 crypto/cryptd.c struct crypto_aead *child; child 254 crypto/cryptd.c struct crypto_sync_skcipher *child = ctx->child; child 257 crypto/cryptd.c crypto_sync_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 258 crypto/cryptd.c crypto_sync_skcipher_set_flags(child, child 261 crypto/cryptd.c err = crypto_sync_skcipher_setkey(child, key, keylen); child 263 crypto/cryptd.c crypto_sync_skcipher_get_flags(child) & child 290 crypto/cryptd.c struct crypto_sync_skcipher *child = ctx->child; child 291 crypto/cryptd.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, child); child 296 crypto/cryptd.c skcipher_request_set_sync_tfm(subreq, child); child 318 crypto/cryptd.c struct crypto_sync_skcipher *child = ctx->child; child 319 crypto/cryptd.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, child); child 324 crypto/cryptd.c skcipher_request_set_sync_tfm(subreq, child); child 375 crypto/cryptd.c ctx->child = (struct crypto_sync_skcipher *)cipher; child 385 crypto/cryptd.c crypto_free_sync_skcipher(ctx->child); child 475 crypto/cryptd.c ctx->child = hash; child 486 crypto/cryptd.c crypto_free_shash(ctx->child); child 493 crypto/cryptd.c struct crypto_shash *child = ctx->child; child 496 crypto/cryptd.c crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 497 crypto/cryptd.c crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & child 499 crypto/cryptd.c err = crypto_shash_setkey(child, key, keylen); child 500 crypto/cryptd.c crypto_ahash_set_flags(parent, crypto_shash_get_flags(child) & child 537 crypto/cryptd.c struct crypto_shash *child = ctx->child; child 545 crypto/cryptd.c desc->tfm = child; child 628 crypto/cryptd.c struct crypto_shash *child = ctx->child; child 636 crypto/cryptd.c desc->tfm = child; child 664 crypto/cryptd.c desc->tfm = ctx->child; child 738 crypto/cryptd.c struct crypto_aead *child = ctx->child; child 740 crypto/cryptd.c return crypto_aead_setkey(child, key, keylen); child 747 crypto/cryptd.c struct crypto_aead *child = ctx->child; child 749 crypto/cryptd.c return crypto_aead_setauthsize(child, authsize); child 753 crypto/cryptd.c struct crypto_aead *child, child 770 crypto/cryptd.c aead_request_set_tfm(req, child); child 788 crypto/cryptd.c struct crypto_aead *child = ctx->child; child 792 crypto/cryptd.c cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt); child 798 crypto/cryptd.c struct crypto_aead *child = ctx->child; child 802 crypto/cryptd.c cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt); child 839 crypto/cryptd.c ctx->child = cipher; child 849 crypto/cryptd.c crypto_free_aead(ctx->child); child 992 crypto/cryptd.c return &ctx->child->base; child 1042 crypto/cryptd.c return ctx->child; child 1099 crypto/cryptd.c return ctx->child; child 18 crypto/ctr.c struct crypto_skcipher *child; child 173 crypto/ctr.c struct crypto_skcipher *child = ctx->child; child 185 crypto/ctr.c crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 186 crypto/ctr.c crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & child 188 crypto/ctr.c err = crypto_skcipher_setkey(child, key, keylen); child 189 crypto/ctr.c crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & child 199 crypto/ctr.c struct crypto_skcipher *child = ctx->child; child 214 crypto/ctr.c skcipher_request_set_tfm(subreq, child); child 236 crypto/ctr.c ctx->child = cipher; child 251 crypto/ctr.c crypto_free_skcipher(ctx->child); child 56 crypto/cts.c struct crypto_skcipher *child; child 70 crypto/cts.c struct crypto_skcipher *child = ctx->child; child 72 crypto/cts.c return PTR_ALIGN((u8 *)(rctx + 1) + crypto_skcipher_reqsize(child), child 80 crypto/cts.c struct crypto_skcipher *child = ctx->child; child 83 crypto/cts.c crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 84 crypto/cts.c crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & child 86 crypto/cts.c err = crypto_skcipher_setkey(child, key, keylen); child 87 crypto/cts.c crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & child 157 crypto/cts.c skcipher_request_set_tfm(subreq, ctx->child); child 252 crypto/cts.c skcipher_request_set_tfm(subreq, ctx->child); child 301 crypto/cts.c ctx->child = cipher; child 319 crypto/cts.c crypto_free_skcipher(ctx->child); child 40 crypto/echainiv.c aead_request_set_tfm(subreq, ctx->child); child 97 crypto/echainiv.c aead_request_set_tfm(subreq, ctx->child); child 48 crypto/fips.c .child = crypto_sysctl_table child 34 crypto/gcm.c struct crypto_aead *child; child 49 crypto/gcm.c struct crypto_aead *child; child 729 crypto/gcm.c struct crypto_aead *child = ctx->child; child 738 crypto/gcm.c crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 739 crypto/gcm.c crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & child 741 crypto/gcm.c err = crypto_aead_setkey(child, key, keylen); child 742 crypto/gcm.c crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & child 758 crypto/gcm.c return crypto_aead_setauthsize(ctx->child, authsize); child 767 crypto/gcm.c struct crypto_aead *child = ctx->child; child 769 crypto/gcm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), child 770 crypto/gcm.c crypto_aead_alignmask(child) + 1); child 791 crypto/gcm.c aead_request_set_tfm(subreq, child); child 840 crypto/gcm.c ctx->child = aead; child 857 crypto/gcm.c crypto_free_aead(ctx->child); child 958 crypto/gcm.c struct crypto_aead *child = ctx->child; child 967 crypto/gcm.c crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 968 crypto/gcm.c crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & child 970 crypto/gcm.c err = crypto_aead_setkey(child, key, keylen); child 971 crypto/gcm.c crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & child 985 crypto/gcm.c return crypto_aead_setauthsize(ctx->child, authsize); child 995 crypto/gcm.c u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), child 996 crypto/gcm.c crypto_aead_alignmask(ctx->child) + 1); child 1008 crypto/gcm.c aead_request_set_tfm(subreq, ctx->child); child 1067 crypto/gcm.c ctx->child = aead; child 1089 crypto/gcm.c crypto_free_aead(ctx->child); child 31 crypto/lrw.c struct crypto_skcipher *child; child 72 crypto/lrw.c struct crypto_skcipher *child = ctx->child; child 78 crypto/lrw.c crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 79 crypto/lrw.c crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & child 81 crypto/lrw.c err = crypto_skcipher_setkey(child, key, keylen - bsize); child 82 crypto/lrw.c crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & child 229 crypto/lrw.c skcipher_request_set_tfm(subreq, ctx->child); child 275 crypto/lrw.c ctx->child = cipher; child 289 crypto/lrw.c crypto_free_skcipher(ctx->child); child 33 crypto/pcrypt.c struct crypto_aead *child; child 48 crypto/pcrypt.c return crypto_aead_setkey(ctx->child, key, keylen); child 56 crypto/pcrypt.c return crypto_aead_setauthsize(ctx->child, authsize); child 109 crypto/pcrypt.c aead_request_set_tfm(creq, ctx->child); child 154 crypto/pcrypt.c aead_request_set_tfm(creq, ctx->child); child 188 crypto/pcrypt.c ctx->child = cipher; child 200 crypto/pcrypt.c crypto_free_aead(ctx->child); child 91 crypto/rsa-pkcs1pad.c struct crypto_akcipher *child; child 114 crypto/rsa-pkcs1pad.c err = crypto_akcipher_set_pub_key(ctx->child, key, keylen); child 119 crypto/rsa-pkcs1pad.c err = crypto_akcipher_maxsize(ctx->child); child 135 crypto/rsa-pkcs1pad.c err = crypto_akcipher_set_priv_key(ctx->child, key, keylen); child 140 crypto/rsa-pkcs1pad.c err = crypto_akcipher_maxsize(ctx->child); child 261 crypto/rsa-pkcs1pad.c akcipher_request_set_tfm(&req_ctx->child_req, ctx->child); child 362 crypto/rsa-pkcs1pad.c akcipher_request_set_tfm(&req_ctx->child_req, ctx->child); child 420 crypto/rsa-pkcs1pad.c akcipher_request_set_tfm(&req_ctx->child_req, ctx->child); child 550 crypto/rsa-pkcs1pad.c akcipher_request_set_tfm(&req_ctx->child_req, ctx->child); child 577 crypto/rsa-pkcs1pad.c ctx->child = child_tfm; child 585 crypto/rsa-pkcs1pad.c crypto_free_akcipher(ctx->child); child 64 crypto/seqiv.c aead_request_set_tfm(subreq, ctx->child); child 123 crypto/seqiv.c aead_request_set_tfm(subreq, ctx->child); child 54 crypto/simd.c struct crypto_skcipher *child = &ctx->cryptd_tfm->base; child 57 crypto/simd.c crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 58 crypto/simd.c crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & child 60 crypto/simd.c err = crypto_skcipher_setkey(child, key, key_len); child 61 crypto/simd.c crypto_skcipher_set_flags(tfm, crypto_skcipher_get_flags(child) & child 71 crypto/simd.c struct crypto_skcipher *child; child 78 crypto/simd.c child = &ctx->cryptd_tfm->base; child 80 crypto/simd.c child = cryptd_skcipher_child(ctx->cryptd_tfm); child 82 crypto/simd.c skcipher_request_set_tfm(subreq, child); child 92 crypto/simd.c struct crypto_skcipher *child; child 99 crypto/simd.c child = &ctx->cryptd_tfm->base; child 101 crypto/simd.c child = cryptd_skcipher_child(ctx->cryptd_tfm); child 103 crypto/simd.c skcipher_request_set_tfm(subreq, child); child 297 crypto/simd.c struct crypto_aead *child = &ctx->cryptd_tfm->base; child 300 crypto/simd.c crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 301 crypto/simd.c crypto_aead_set_flags(child, crypto_aead_get_flags(tfm) & child 303 crypto/simd.c err = crypto_aead_setkey(child, key, key_len); child 304 crypto/simd.c crypto_aead_set_flags(tfm, crypto_aead_get_flags(child) & child 312 crypto/simd.c struct crypto_aead *child = &ctx->cryptd_tfm->base; child 314 crypto/simd.c return crypto_aead_setauthsize(child, authsize); child 322 crypto/simd.c struct crypto_aead *child; child 329 crypto/simd.c child = &ctx->cryptd_tfm->base; child 331 crypto/simd.c child = cryptd_aead_child(ctx->cryptd_tfm); child 333 crypto/simd.c aead_request_set_tfm(subreq, child); child 343 crypto/simd.c struct crypto_aead *child; child 350 crypto/simd.c child = &ctx->cryptd_tfm->base; child 352 crypto/simd.c child = cryptd_aead_child(ctx->cryptd_tfm); child 354 crypto/simd.c aead_request_set_tfm(subreq, child); child 28 crypto/xcbc.c struct crypto_cipher *child; child 60 crypto/xcbc.c if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) child 63 crypto/xcbc.c crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); child 64 crypto/xcbc.c crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); child 65 crypto/xcbc.c crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); child 67 crypto/xcbc.c return crypto_cipher_setkey(ctx->child, key1, bs); child 91 crypto/xcbc.c struct crypto_cipher *tfm = tctx->child; child 137 crypto/xcbc.c struct crypto_cipher *tfm = tctx->child; child 177 crypto/xcbc.c ctx->child = cipher; child 185 crypto/xcbc.c crypto_free_cipher(ctx->child); child 24 crypto/xts.c struct crypto_skcipher *child; child 44 crypto/xts.c struct crypto_skcipher *child; child 70 crypto/xts.c child = ctx->child; child 71 crypto/xts.c crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); child 72 crypto/xts.c crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & child 74 crypto/xts.c err = crypto_skcipher_setkey(child, key, keylen); child 75 crypto/xts.c crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & child 185 crypto/xts.c skcipher_request_set_tfm(subreq, ctx->child); child 250 crypto/xts.c skcipher_request_set_tfm(subreq, ctx->child); child 300 crypto/xts.c struct crypto_skcipher *child; child 303 crypto/xts.c child = crypto_spawn_skcipher(&ictx->spawn); child 304 crypto/xts.c if (IS_ERR(child)) child 305 crypto/xts.c return PTR_ERR(child); child 307 crypto/xts.c ctx->child = child; child 311 crypto/xts.c crypto_free_skcipher(ctx->child); child 317 crypto/xts.c crypto_skcipher_set_reqsize(tfm, crypto_skcipher_reqsize(child) + child 327 crypto/xts.c crypto_free_skcipher(ctx->child); child 140 drivers/acpi/acpica/aclocal.h struct acpi_namespace_node *child; /* First child */ child 840 drivers/acpi/acpica/aclocal.h ACPI_PARSE_COMMON union acpi_parse_object *child; child 88 drivers/acpi/acpica/acnamesp.h *child); child 96 drivers/acpi/acpica/acnamesp.h *child); child 264 drivers/acpi/acpica/dsfield.c union acpi_parse_object *child; child 348 drivers/acpi/acpica/dsfield.c child = arg->common.value.arg; child 349 drivers/acpi/acpica/dsfield.c if (child->common.aml_opcode == AML_INT_BYTELIST_OP) { child 350 drivers/acpi/acpica/dsfield.c info->resource_buffer = child->named.data; child 352 drivers/acpi/acpica/dsfield.c (u16)child->named.value.integer; child 357 drivers/acpi/acpica/dsfield.c child->common.value. child 366 drivers/acpi/acpica/dsfield.c child->common. child 276 drivers/acpi/acpica/exdump.c {ACPI_EXD_NODE, ACPI_EXD_NSOFFSET(child), "Child"}, child 113 drivers/acpi/acpica/nsaccess.c acpi_gbl_root_node_struct.child = new_node; child 143 drivers/acpi/acpica/nsalloc.c next_node = parent_node->child; child 162 drivers/acpi/acpica/nsalloc.c parent_node->child = node->peer; child 224 drivers/acpi/acpica/nsalloc.c child_node = parent_node->child; child 227 drivers/acpi/acpica/nsalloc.c parent_node->child = node; child 280 drivers/acpi/acpica/nsalloc.c next_node = parent_node->child; child 285 drivers/acpi/acpica/nsalloc.c if (next_node->child) { child 301 drivers/acpi/acpica/nsalloc.c parent_node->child = NULL; child 354 drivers/acpi/acpica/nsalloc.c if (child_node->child) { child 459 drivers/acpi/acpica/nsalloc.c if (child_node->child) { child 89 drivers/acpi/acpica/nssearch.c node = parent_node->child; child 132 drivers/acpi/acpica/nssearch.c parent_node->child)); child 45 drivers/acpi/acpica/nswalk.c return (parent_node->child); child 280 drivers/acpi/acpica/nswalk.c if (child_node->child) { child 150 drivers/acpi/acpica/nsxfobj.c acpi_handle child, acpi_handle *ret_handle) child 170 drivers/acpi/acpica/nsxfobj.c if (!child) { child 183 drivers/acpi/acpica/nsxfobj.c child_node = acpi_ns_validate_handle(child); child 248 drivers/acpi/acpica/pstree.c union acpi_parse_object *child = NULL; child 259 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 0); child 270 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 1); child 276 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 2); child 282 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 3); child 292 drivers/acpi/acpica/pstree.c return (child); child 188 drivers/acpi/acpica/utinit.c acpi_gbl_root_node_struct.child = NULL; child 32 drivers/acpi/container.c struct acpi_device *child; child 35 drivers/acpi/container.c list_for_each_entry(child, &adev->children, node) child 36 drivers/acpi/container.c if (!acpi_scan_is_offline(child, false)) child 610 drivers/acpi/property.c struct fwnode_handle *child; child 617 drivers/acpi/property.c fwnode_for_each_child_node(fwnode, child) { child 618 drivers/acpi/property.c if (is_acpi_data_node(child)) { child 619 drivers/acpi/property.c if (acpi_data_node_match(child, childname)) child 620 drivers/acpi/property.c return child; child 624 drivers/acpi/property.c status = acpi_get_name(ACPI_HANDLE_FWNODE(child), child 630 drivers/acpi/property.c return child; child 1015 drivers/acpi/property.c struct fwnode_handle *child) child 1021 drivers/acpi/property.c if (!child || is_acpi_device_node(child)) { child 1032 drivers/acpi/property.c if (child) { child 1033 drivers/acpi/property.c adev = to_acpi_device_node(child); child 1036 drivers/acpi/property.c child = NULL; child 1048 drivers/acpi/property.c if (!child || is_acpi_data_node(child)) { child 1070 drivers/acpi/property.c if (child) { child 1071 drivers/acpi/property.c dn = to_acpi_data_node(child); child 1202 drivers/acpi/property.c struct fwnode_handle *child; child 1204 drivers/acpi/property.c fwnode_for_each_child_node(fwnode, child) { child 1207 drivers/acpi/property.c if (fwnode_property_read_u32(child, prop_name, &nr)) child 1211 drivers/acpi/property.c return child; child 346 drivers/acpi/scan.c struct acpi_device *child; child 362 drivers/acpi/scan.c list_for_each_entry(child, &adev->children, node) { child 363 drivers/acpi/scan.c error = acpi_scan_bus_check(child); child 1616 drivers/acpi/scan.c static int acpi_add_single_object(struct acpi_device **child, child 1656 drivers/acpi/scan.c *child = device; child 1966 drivers/acpi/scan.c struct acpi_device *child; child 2015 drivers/acpi/scan.c list_for_each_entry(child, &device->children, node) child 2016 drivers/acpi/scan.c acpi_bus_attach(child); child 2084 drivers/acpi/scan.c struct acpi_device *child; child 2086 drivers/acpi/scan.c list_for_each_entry_reverse(child, &adev->children, node) child 2087 drivers/acpi/scan.c acpi_bus_trim(child); child 391 drivers/ata/libahci_platform.c struct device_node *child; child 483 drivers/ata/libahci_platform.c for_each_child_of_node(dev->of_node, child) { child 487 drivers/ata/libahci_platform.c if (!of_device_is_available(child)) child 490 drivers/ata/libahci_platform.c if (of_property_read_u32(child, "reg", &port)) { child 492 drivers/ata/libahci_platform.c of_node_put(child); child 503 drivers/ata/libahci_platform.c of_platform_device_create(child, NULL, NULL); child 505 drivers/ata/libahci_platform.c port_dev = of_find_device_by_node(child); child 511 drivers/ata/libahci_platform.c of_node_put(child); child 517 drivers/ata/libahci_platform.c rc = ahci_platform_get_phy(hpriv, port, dev, child); child 519 drivers/ata/libahci_platform.c of_node_put(child); child 321 drivers/ata/sata_svw.c for (np = np->child; np != NULL; np = np->sibling) { child 2500 drivers/base/core.c struct device *child; child 2507 drivers/base/core.c while (!error && (child = next_device(&i))) child 2508 drivers/base/core.c error = fn(child, data); child 2530 drivers/base/core.c struct device *child; child 2537 drivers/base/core.c while ((child = prev_device(&i)) && !error) child 2538 drivers/base/core.c error = fn(child, data); child 2565 drivers/base/core.c struct device *child; child 2571 drivers/base/core.c while ((child = next_device(&i))) child 2572 drivers/base/core.c if (match(child, data) && get_device(child)) child 2575 drivers/base/core.c return child; child 2593 drivers/base/core.c struct device *child; child 2599 drivers/base/core.c while ((child = next_device(&i))) child 2600 drivers/base/core.c if (!strcmp(dev_name(child), name) && get_device(child)) child 2603 drivers/base/core.c return child; child 600 drivers/base/property.c struct fwnode_handle *child) child 602 drivers/base/property.c return fwnode_call_ptr_op(fwnode, get_next_child_node, child); child 614 drivers/base/property.c struct fwnode_handle *child) child 616 drivers/base/property.c struct fwnode_handle *next_child = child; child 638 drivers/base/property.c struct fwnode_handle *child) child 648 drivers/base/property.c return fwnode_get_next_child_node(fwnode, child); child 722 drivers/base/property.c struct fwnode_handle *child; child 725 drivers/base/property.c device_for_each_child_node(dev, child) child 531 drivers/base/swnode.c struct fwnode_handle *child) child 534 drivers/base/swnode.c struct swnode *c = to_swnode(child); child 552 drivers/base/swnode.c struct swnode *child; child 557 drivers/base/swnode.c list_for_each_entry(child, &swnode->children, entry) { child 558 drivers/base/swnode.c if (!strcmp(childname, kobject_name(&child->kobj))) { child 559 drivers/base/swnode.c kobject_get(&child->kobj); child 560 drivers/base/swnode.c return &child->fwnode; child 374 drivers/bus/hisi_lpc.c static int hisi_lpc_acpi_set_io_res(struct device *child, child 386 drivers/bus/hisi_lpc.c if (!child || !hostdev) child 390 drivers/bus/hisi_lpc.c adev = to_acpi_device(child); child 393 drivers/bus/hisi_lpc.c dev_dbg(child, "device is not present\n"); child 398 drivers/bus/hisi_lpc.c dev_dbg(child, "has been enumerated\n"); child 409 drivers/bus/hisi_lpc.c dev_dbg(child, "failed to get resources\n"); child 435 drivers/bus/hisi_lpc.c dev_err(child, "translate IO range %pR failed (%d)\n", child 462 drivers/bus/hisi_lpc.c struct acpi_device *child; child 466 drivers/bus/hisi_lpc.c list_for_each_entry(child, &adev->children, node) child 467 drivers/bus/hisi_lpc.c acpi_device_clear_enumerated(child); child 483 drivers/bus/hisi_lpc.c struct acpi_device *child; child 487 drivers/bus/hisi_lpc.c list_for_each_entry(child, &adev->children, node) { child 488 drivers/bus/hisi_lpc.c const char *hid = acpi_device_hid(child); child 495 drivers/bus/hisi_lpc.c ret = hisi_lpc_acpi_set_io_res(&child->dev, &adev->dev, &res, child 548 drivers/bus/hisi_lpc.c ACPI_COMPANION_SET(&pdev->dev, child); child 563 drivers/bus/hisi_lpc.c acpi_device_set_enumerated(child); child 195 drivers/bus/imx-weim.c struct device_node *child; child 217 drivers/bus/imx-weim.c for_each_available_child_of_node(pdev->dev.of_node, child) { child 218 drivers/bus/imx-weim.c ret = weim_timing_setup(&pdev->dev, child, base, devtype, &ts); child 221 drivers/bus/imx-weim.c child); child 295 drivers/bus/qcom-ebi2.c struct device_node *child; child 351 drivers/bus/qcom-ebi2.c for_each_available_child_of_node(np, child) { child 355 drivers/bus/qcom-ebi2.c ret = of_property_read_u32(child, "reg", &csindex); child 366 drivers/bus/qcom-ebi2.c qcom_ebi2_setup_chipselect(child, child 550 drivers/bus/sunxi-rsb.c struct device_node *child, *np = dev->of_node; child 559 drivers/bus/sunxi-rsb.c for_each_available_child_of_node(np, child) { child 561 drivers/bus/sunxi-rsb.c child); child 563 drivers/bus/sunxi-rsb.c ret = of_property_read_u32(child, "reg", &hwaddr); child 566 drivers/bus/sunxi-rsb.c child, ret); child 573 drivers/bus/sunxi-rsb.c child); child 591 drivers/bus/sunxi-rsb.c child, ret); child 595 drivers/bus/sunxi-rsb.c for_each_available_child_of_node(np, child) { child 598 drivers/bus/sunxi-rsb.c dev_dbg(dev, "adding child %pOF\n", child); child 600 drivers/bus/sunxi-rsb.c ret = of_property_read_u32(child, "reg", &hwaddr); child 608 drivers/bus/sunxi-rsb.c rdev = sunxi_rsb_device_create(rsb, child, hwaddr, rtaddr); child 611 drivers/bus/sunxi-rsb.c child, PTR_ERR(rdev)); child 91 drivers/bus/tegra-gmi.c struct device_node *child; child 95 drivers/bus/tegra-gmi.c child = of_get_next_available_child(gmi->dev->of_node, NULL); child 96 drivers/bus/tegra-gmi.c if (!child) { child 109 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-data-width-32bit")) child 112 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-mux-mode")) child 115 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-rdy-active-before-data")) child 118 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-rdy-active-high")) child 121 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-adv-active-high")) child 124 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-oe-active-high")) child 127 drivers/bus/tegra-gmi.c if (of_property_read_bool(child, "nvidia,snor-cs-active-high")) child 131 drivers/bus/tegra-gmi.c err = of_property_read_u32_array(child, "ranges", ranges, 4); child 145 drivers/bus/tegra-gmi.c err = of_property_read_u32(child, "reg", &property); child 165 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) child 170 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) child 175 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-adv-width", &property)) child 180 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-ce-width", &property)) child 185 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-we-width", &property)) child 190 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-oe-width", &property)) child 195 drivers/bus/tegra-gmi.c if (!of_property_read_u32(child, "nvidia,snor-wait-width", &property)) child 201 drivers/bus/tegra-gmi.c of_node_put(child); child 190 drivers/bus/ti-sysc.c struct device_node *child; child 208 drivers/bus/ti-sysc.c child = of_get_next_available_child(np, NULL); child 209 drivers/bus/ti-sysc.c if (!child) child 212 drivers/bus/ti-sysc.c clock = devm_get_clk_from_child(ddata->dev, child, name); child 638 drivers/bus/ti-sysc.c struct device_node *child; child 640 drivers/bus/ti-sysc.c for_each_child_of_node(ddata->dev->of_node, child) child 641 drivers/bus/ti-sysc.c sysc_check_one_child(ddata, child); child 1822 drivers/bus/ti-sysc.c struct device *child, child 1832 drivers/bus/ti-sysc.c clk = clk_get(child, name); child 1843 drivers/bus/ti-sysc.c l = clkdev_create(clk, name, dev_name(child)); child 1853 drivers/bus/ti-sysc.c struct device *child) child 1859 drivers/bus/ti-sysc.c child, child 2015 drivers/bus/ti-sysc.c static void sysc_legacy_idle_quirk(struct sysc *ddata, struct device *child) child 2018 drivers/bus/ti-sysc.c dev_pm_domain_set(child, &sysc_child_pm_domain); child 3687 drivers/cdrom/cdrom.c .child = cdrom_table, child 3698 drivers/cdrom/cdrom.c .child = cdrom_cdrom_table, child 754 drivers/char/hpet.c .child = hpet_table, child 764 drivers/char/hpet.c .child = hpet_root, child 669 drivers/char/ipmi/ipmi_poweroff.c .child = ipmi_table }, child 676 drivers/char/ipmi/ipmi_poweroff.c .child = ipmi_dir_table }, child 281 drivers/char/rtc.c .child = rtc_table, child 290 drivers/char/rtc.c .child = rtc_root, child 371 drivers/clk/at91/sckc.c struct device_node *child = NULL; child 389 drivers/clk/at91/sckc.c child = of_get_compatible_child(np, "atmel,at91sam9x5-clk-slow-osc"); child 390 drivers/clk/at91/sckc.c if (!child) child 393 drivers/clk/at91/sckc.c xtal_name = of_clk_get_parent_name(child, 0); child 394 drivers/clk/at91/sckc.c bypass = of_property_read_bool(child, "atmel,osc-bypass"); child 396 drivers/clk/at91/sckc.c child = of_get_compatible_child(np, "atmel,at91sam9x5-clk-slow"); child 415 drivers/clk/at91/sckc.c if (child) child 416 drivers/clk/at91/sckc.c ret = of_clk_add_hw_provider(child, of_clk_hw_simple_get, child 252 drivers/clk/clk-scpi.c struct device_node *child, *np = dev->of_node; child 259 drivers/clk/clk-scpi.c for_each_available_child_of_node(np, child) child 268 drivers/clk/clk-scpi.c struct device_node *child, *np = dev->of_node; child 274 drivers/clk/clk-scpi.c for_each_available_child_of_node(np, child) { child 275 drivers/clk/clk-scpi.c match = of_match_node(scpi_clk_match, child); child 278 drivers/clk/clk-scpi.c ret = scpi_clk_add(dev, child, match); child 281 drivers/clk/clk-scpi.c of_node_put(child); child 1027 drivers/clk/clk-si5341.c struct device_node *child; child 1035 drivers/clk/clk-si5341.c for_each_child_of_node(np, child) { child 1036 drivers/clk/clk-si5341.c if (of_property_read_u32(child, "reg", &num)) { child 1038 drivers/clk/clk-si5341.c child->name); child 1047 drivers/clk/clk-si5341.c if (!of_property_read_u32(child, "silabs,format", &val)) { child 1073 drivers/clk/clk-si5341.c if (!of_property_read_u32(child, "silabs,common-mode", &val)) { child 1084 drivers/clk/clk-si5341.c if (!of_property_read_u32(child, "silabs,amplitude", &val)) { child 1095 drivers/clk/clk-si5341.c if (of_property_read_bool(child, "silabs,disable-high")) child 1099 drivers/clk/clk-si5341.c of_property_read_bool(child, "silabs,synth-master"); child 1102 drivers/clk/clk-si5341.c of_property_read_bool(child, "always-on"); child 1108 drivers/clk/clk-si5341.c of_node_put(child); child 1159 drivers/clk/clk-si5351.c struct device_node *child, *np = client->dev.of_node; child 1212 drivers/clk/clk-si5351.c for_each_child_of_node(np, child) { child 1213 drivers/clk/clk-si5351.c if (of_property_read_u32(child, "reg", &num)) { child 1215 drivers/clk/clk-si5351.c child); child 1225 drivers/clk/clk-si5351.c if (!of_property_read_u32(child, "silabs,multisynth-source", child 1244 drivers/clk/clk-si5351.c if (!of_property_read_u32(child, "silabs,clock-source", &val)) { child 1276 drivers/clk/clk-si5351.c if (!of_property_read_u32(child, "silabs,drive-strength", child 1293 drivers/clk/clk-si5351.c if (!of_property_read_u32(child, "silabs,disable-state", child 1320 drivers/clk/clk-si5351.c if (!of_property_read_u32(child, "clock-frequency", &val)) child 1324 drivers/clk/clk-si5351.c of_property_read_bool(child, "silabs,pll-master"); child 1327 drivers/clk/clk-si5351.c of_property_read_bool(child, "silabs,pll-reset"); child 1333 drivers/clk/clk-si5351.c of_node_put(child); child 297 drivers/clk/clk.c struct clk_core *child; child 303 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) { child 304 drivers/clk/clk.c ret = __clk_lookup_subtree(name, child); child 1079 drivers/clk/clk.c struct clk_core *child; child 1082 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) { child 1083 drivers/clk/clk.c ret = clk_core_save_context(child); child 1096 drivers/clk/clk.c struct clk_core *child; child 1101 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1102 drivers/clk/clk.c clk_core_restore_context(child); child 1196 drivers/clk/clk.c struct clk_core *child; child 1200 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1201 drivers/clk/clk.c clk_unprepare_unused_subtree(child); child 1226 drivers/clk/clk.c struct clk_core *child; child 1231 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1232 drivers/clk/clk.c clk_disable_unused_subtree(child); child 1507 drivers/clk/clk.c struct clk_core *child; child 1520 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1521 drivers/clk/clk.c __clk_recalc_accuracies(child); child 1584 drivers/clk/clk.c struct clk_core *child; child 1602 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1603 drivers/clk/clk.c __clk_recalc_rates(child, msg); child 1686 drivers/clk/clk.c struct clk_core *child; child 1690 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) child 1691 drivers/clk/clk.c clk_core_update_orphan_status(child, is_orphan); child 1834 drivers/clk/clk.c struct clk_core *child; child 1852 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) { child 1853 drivers/clk/clk.c ret = __clk_speculate_rates(child, new_rate); child 1865 drivers/clk/clk.c struct clk_core *child; child 1875 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) { child 1876 drivers/clk/clk.c child->new_rate = clk_recalc(child, new_rate); child 1877 drivers/clk/clk.c clk_calc_subtree(child, child->new_rate, NULL, 0); child 1975 drivers/clk/clk.c struct clk_core *child, *tmp_clk, *fail_clk = NULL; child 1987 drivers/clk/clk.c hlist_for_each_entry(child, &core->children, child_node) { child 1989 drivers/clk/clk.c if (child->new_parent && child->new_parent != core) child 1991 drivers/clk/clk.c tmp_clk = clk_propagate_rate_change(child, event); child 2012 drivers/clk/clk.c struct clk_core *child; child 2093 drivers/clk/clk.c hlist_for_each_entry_safe(child, tmp, &core->children, child_node) { child 2095 drivers/clk/clk.c if (child->new_parent && child->new_parent != core) child 2097 drivers/clk/clk.c clk_change_rate(child); child 2913 drivers/clk/clk.c struct clk_core *child; child 2917 drivers/clk/clk.c hlist_for_each_entry(child, &c->children, child_node) child 2918 drivers/clk/clk.c clk_summary_show_subtree(s, child, level + 1); child 2967 drivers/clk/clk.c struct clk_core *child; child 2971 drivers/clk/clk.c hlist_for_each_entry(child, &c->children, child_node) { child 2973 drivers/clk/clk.c clk_dump_subtree(s, child, level + 1); child 3870 drivers/clk/clk.c struct clk_core *child; child 3876 drivers/clk/clk.c hlist_for_each_entry(child, &root->children, child_node) child 3877 drivers/clk/clk.c clk_core_evict_parent_cache_subtree(child, target); child 3923 drivers/clk/clk.c struct clk_core *child; child 3927 drivers/clk/clk.c hlist_for_each_entry_safe(child, t, &clk->core->children, child 3929 drivers/clk/clk.c clk_core_set_parent_nolock(child, NULL); child 753 drivers/clk/davinci/pll.c struct device_node *child; child 768 drivers/clk/davinci/pll.c child = of_get_child_by_name(node, "pllout"); child 769 drivers/clk/davinci/pll.c if (of_device_is_available(child)) child 770 drivers/clk/davinci/pll.c of_clk_add_provider(child, of_clk_src_simple_get, clk); child 771 drivers/clk/davinci/pll.c of_node_put(child); child 773 drivers/clk/davinci/pll.c child = of_get_child_by_name(node, "sysclk"); child 774 drivers/clk/davinci/pll.c if (of_device_is_available(child)) { child 782 drivers/clk/davinci/pll.c of_node_put(child); child 789 drivers/clk/davinci/pll.c of_node_put(child); child 807 drivers/clk/davinci/pll.c of_clk_add_provider(child, of_clk_src_onecell_get, clk_data); child 809 drivers/clk/davinci/pll.c of_node_put(child); child 811 drivers/clk/davinci/pll.c child = of_get_child_by_name(node, "auxclk"); child 812 drivers/clk/davinci/pll.c if (of_device_is_available(child)) { child 822 drivers/clk/davinci/pll.c of_clk_add_provider(child, of_clk_src_simple_get, clk); child 824 drivers/clk/davinci/pll.c of_node_put(child); child 826 drivers/clk/davinci/pll.c child = of_get_child_by_name(node, "obsclk"); child 827 drivers/clk/davinci/pll.c if (of_device_is_available(child)) { child 837 drivers/clk/davinci/pll.c of_clk_add_provider(child, of_clk_src_simple_get, clk); child 839 drivers/clk/davinci/pll.c of_node_put(child); child 176 drivers/clk/imx/clk-imx6q.c int parent, child, sel; child 204 drivers/clk/imx/clk-imx6q.c child = clkspec.args[0]; child 206 drivers/clk/imx/clk-imx6q.c if (child != IMX6QDL_CLK_LDB_DI0_SEL && child 207 drivers/clk/imx/clk-imx6q.c child != IMX6QDL_CLK_LDB_DI1_SEL) child 213 drivers/clk/imx/clk-imx6q.c child == IMX6QDL_CLK_LDB_DI1_SEL, parent); child 217 drivers/clk/imx/clk-imx6q.c if (child == IMX6QDL_CLK_LDB_DI0_SEL) child 219 drivers/clk/imx/clk-imx6q.c if (child == IMX6QDL_CLK_LDB_DI1_SEL) child 214 drivers/clk/rockchip/clk.c unsigned long flags, struct rockchip_clk_branch *child, child 226 drivers/clk/rockchip/clk.c if (child && child->branch_type != branch_mux) { child 268 drivers/clk/rockchip/clk.c if (child) { child 274 drivers/clk/rockchip/clk.c frac->mux_frac_idx = match_string(child->parent_names, child 275 drivers/clk/rockchip/clk.c child->num_parents, name); child 279 drivers/clk/rockchip/clk.c frac_mux->reg = base + child->muxdiv_offset; child 280 drivers/clk/rockchip/clk.c frac_mux->shift = child->mux_shift; child 281 drivers/clk/rockchip/clk.c frac_mux->mask = BIT(child->mux_width) - 1; child 282 drivers/clk/rockchip/clk.c frac_mux->flags = child->mux_flags; child 286 drivers/clk/rockchip/clk.c init.name = child->name; child 287 drivers/clk/rockchip/clk.c init.flags = child->flags | CLK_SET_RATE_PARENT; child 289 drivers/clk/rockchip/clk.c init.parent_names = child->parent_names; child 290 drivers/clk/rockchip/clk.c init.num_parents = child->num_parents; child 298 drivers/clk/rockchip/clk.c rockchip_clk_add_lookup(ctx, mux_clk, child->id); child 310 drivers/clk/rockchip/clk.c __func__, name, child->name); child 487 drivers/clk/rockchip/clk.c list->gate_flags, flags, list->child, child 422 drivers/clk/rockchip/clk.h struct rockchip_clk_branch *child; child 594 drivers/clk/rockchip/clk.h .child = ch, \ child 610 drivers/clk/rockchip/clk.h .child = ch, \ child 441 drivers/clk/tegra/clk-emc.c struct device_node *child; child 455 drivers/clk/tegra/clk-emc.c for_each_child_of_node(node, child) { child 458 drivers/clk/tegra/clk-emc.c err = load_one_timing_from_dt(tegra, timing, child); child 460 drivers/clk/tegra/clk-emc.c of_node_put(child); child 62 drivers/clk/ux500/u8500_of_clk.c struct device_node *child = NULL; child 544 drivers/clk/ux500/u8500_of_clk.c for_each_child_of_node(np, child) { child 547 drivers/clk/ux500/u8500_of_clk.c if (of_node_name_eq(child, "prcmu-clock")) { child 550 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, of_clk_src_onecell_get, &clk_data); child 552 drivers/clk/ux500/u8500_of_clk.c if (of_node_name_eq(child, "prcc-periph-clock")) child 553 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, ux500_twocell_get, prcc_pclk); child 555 drivers/clk/ux500/u8500_of_clk.c if (of_node_name_eq(child, "prcc-kernel-clock")) child 556 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, ux500_twocell_get, prcc_kclk); child 558 drivers/clk/ux500/u8500_of_clk.c if (of_node_name_eq(child, "rtc32k-clock")) child 559 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, of_clk_src_simple_get, rtc_clk); child 561 drivers/clk/ux500/u8500_of_clk.c if (of_node_name_eq(child, "smp-twd-clock")) child 562 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, of_clk_src_simple_get, twd_clk); child 2407 drivers/crypto/axis/artpec6_crypto.c struct crypto_shash *child; child 2409 drivers/crypto/axis/artpec6_crypto.c child = crypto_alloc_shash(base_hash_name, 0, child 2412 drivers/crypto/axis/artpec6_crypto.c if (IS_ERR(child)) child 2413 drivers/crypto/axis/artpec6_crypto.c return PTR_ERR(child); child 2415 drivers/crypto/axis/artpec6_crypto.c tfm_ctx->child_hash = child; child 452 drivers/crypto/chelsio/chtls/chtls_cm.c static void reset_listen_child(struct sock *child) child 454 drivers/crypto/chelsio/chtls/chtls_cm.c struct chtls_sock *csk = rcu_dereference_sk_user_data(child); child 460 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_send_reset(child, CPL_ABORT_SEND_RST, skb); child 461 drivers/crypto/chelsio/chtls/chtls_cm.c sock_orphan(child); child 462 drivers/crypto/chelsio/chtls/chtls_cm.c INC_ORPHAN_COUNT(child); child 463 drivers/crypto/chelsio/chtls/chtls_cm.c if (child->sk_state == TCP_CLOSE) child 464 drivers/crypto/chelsio/chtls/chtls_cm.c inet_csk_destroy_sock(child); child 476 drivers/crypto/chelsio/chtls/chtls_cm.c struct sock *child = req->sk; child 481 drivers/crypto/chelsio/chtls/chtls_cm.c sock_hold(child); child 483 drivers/crypto/chelsio/chtls/chtls_cm.c bh_lock_sock(child); child 484 drivers/crypto/chelsio/chtls/chtls_cm.c release_tcp_port(child); child 485 drivers/crypto/chelsio/chtls/chtls_cm.c reset_listen_child(child); child 486 drivers/crypto/chelsio/chtls/chtls_cm.c bh_unlock_sock(child); child 488 drivers/crypto/chelsio/chtls/chtls_cm.c sock_put(child); child 560 drivers/crypto/chelsio/chtls/chtls_cm.c static void cleanup_syn_rcv_conn(struct sock *child, struct sock *parent) child 565 drivers/crypto/chelsio/chtls/chtls_cm.c csk = rcu_dereference_sk_user_data(child); child 582 drivers/crypto/chelsio/chtls/chtls_cm.c struct sock *child = csk->sk; child 584 drivers/crypto/chelsio/chtls/chtls_cm.c cleanup_syn_rcv_conn(child, listen_sk); child 585 drivers/crypto/chelsio/chtls/chtls_cm.c sock_hold(child); child 587 drivers/crypto/chelsio/chtls/chtls_cm.c bh_lock_sock(child); child 588 drivers/crypto/chelsio/chtls/chtls_cm.c release_tcp_port(child); child 589 drivers/crypto/chelsio/chtls/chtls_cm.c reset_listen_child(child); child 590 drivers/crypto/chelsio/chtls/chtls_cm.c bh_unlock_sock(child); child 592 drivers/crypto/chelsio/chtls/chtls_cm.c sock_put(child); child 774 drivers/crypto/chelsio/chtls/chtls_cm.c static void do_abort_syn_rcv(struct sock *child, struct sock *parent) child 782 drivers/crypto/chelsio/chtls/chtls_cm.c cleanup_syn_rcv_conn(child, parent); child 790 drivers/crypto/chelsio/chtls/chtls_cm.c sock_orphan(child); child 791 drivers/crypto/chelsio/chtls/chtls_cm.c percpu_counter_inc((child)->sk_prot->orphan_count); child 792 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_release_resources(child); child 793 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_conn_done(child); child 795 drivers/crypto/chelsio/chtls/chtls_cm.c if (csk_flag(child, CSK_RST_ABORTED)) { child 796 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_release_resources(child); child 797 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_conn_done(child); child 802 drivers/crypto/chelsio/chtls/chtls_cm.c static void pass_open_abort(struct sock *child, struct sock *parent, child 805 drivers/crypto/chelsio/chtls/chtls_cm.c do_abort_syn_rcv(child, parent); child 1382 drivers/crypto/chelsio/chtls/chtls_cm.c static void add_pass_open_to_parent(struct sock *child, struct sock *lsk, child 1391 drivers/crypto/chelsio/chtls/chtls_cm.c csk = child->sk_user_data; child 1400 drivers/crypto/chelsio/chtls/chtls_cm.c add_to_reap_list(child); child 1403 drivers/crypto/chelsio/chtls/chtls_cm.c inet_csk_reqsk_queue_add(lsk, oreq, child); child 1410 drivers/crypto/chelsio/chtls/chtls_cm.c struct sock *child = skb->sk; child 1413 drivers/crypto/chelsio/chtls/chtls_cm.c add_pass_open_to_parent(child, lsk, BLOG_SKB_CB(skb)->cdev); child 1919 drivers/crypto/chelsio/chtls/chtls_cm.c struct sock *child; child 1922 drivers/crypto/chelsio/chtls/chtls_cm.c child = skb->sk; child 1923 drivers/crypto/chelsio/chtls/chtls_cm.c csk = rcu_dereference_sk_user_data(child); child 1927 drivers/crypto/chelsio/chtls/chtls_cm.c do_abort_syn_rcv(child, lsk); child 1928 drivers/crypto/chelsio/chtls/chtls_cm.c send_abort_rpl(child, skb, BLOG_SKB_CB(skb)->cdev, child 231 drivers/dma/altera-msgdma.c struct msgdma_sw_desc *child, *next; child 235 drivers/dma/altera-msgdma.c list_for_each_entry_safe(child, next, &desc->tx_list, node) { child 237 drivers/dma/altera-msgdma.c list_move_tail(&child->node, &mdev->free_list); child 172 drivers/dma/at_hdmac.c struct at_desc *child; child 176 drivers/dma/at_hdmac.c list_for_each_entry(child, &desc->tx_list, desc_node) child 179 drivers/dma/at_hdmac.c child); child 543 drivers/dma/at_hdmac.c struct at_desc *child; child 573 drivers/dma/at_hdmac.c list_for_each_entry(child, &bad_desc->tx_list, desc_node) child 574 drivers/dma/at_hdmac.c atc_dump_lli(atchan, &child->lli); child 223 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c struct axi_dma_desc *child, *_next; child 226 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c list_for_each_entry_safe(child, _next, &desc->xfer_list, xfer_list) { child 227 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c list_del(&child->xfer_list); child 228 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c dma_pool_free(dw->desc_pool, child, child->vd.tx.phys); child 123 drivers/dma/dw-edma/dw-edma-core.c struct dw_edma_burst *child, *_next; child 126 drivers/dma/dw-edma/dw-edma-core.c list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { child 127 drivers/dma/dw-edma/dw-edma-core.c list_del(&child->list); child 128 drivers/dma/dw-edma/dw-edma-core.c kfree(child); child 133 drivers/dma/dw-edma/dw-edma-core.c kfree(child); child 139 drivers/dma/dw-edma/dw-edma-core.c struct dw_edma_chunk *child, *_next; child 145 drivers/dma/dw-edma/dw-edma-core.c list_for_each_entry_safe(child, _next, &desc->chunk->list, list) { child 146 drivers/dma/dw-edma/dw-edma-core.c dw_edma_free_burst(child); child 147 drivers/dma/dw-edma/dw-edma-core.c list_del(&child->list); child 148 drivers/dma/dw-edma/dw-edma-core.c kfree(child); child 153 drivers/dma/dw-edma/dw-edma-core.c kfree(child); child 170 drivers/dma/dw-edma/dw-edma-core.c struct dw_edma_chunk *child; child 182 drivers/dma/dw-edma/dw-edma-core.c child = list_first_entry_or_null(&desc->chunk->list, child 184 drivers/dma/dw-edma/dw-edma-core.c if (!child) child 187 drivers/dma/dw-edma/dw-edma-core.c dw_edma_v0_core_start(child, !desc->xfer_sz); child 188 drivers/dma/dw-edma/dw-edma-core.c desc->xfer_sz += child->ll_region.sz; child 189 drivers/dma/dw-edma/dw-edma-core.c dw_edma_free_burst(child); child 190 drivers/dma/dw-edma/dw-edma-core.c list_del(&child->list); child 191 drivers/dma/dw-edma/dw-edma-core.c kfree(child); child 194 drivers/dma/dw-edma/dw-edma-v0-core.c struct dw_edma_burst *child; child 206 drivers/dma/dw-edma/dw-edma-v0-core.c list_for_each_entry(child, &chunk->burst->list, list) { child 214 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].transfer_size, child->sz); child 216 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].sar_low, lower_32_bits(child->sar)); child 217 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].sar_high, upper_32_bits(child->sar)); child 219 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].dar_low, lower_32_bits(child->dar)); child 220 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].dar_high, upper_32_bits(child->dar)); child 102 drivers/dma/dw/core.c struct dw_desc *child, *_next; child 107 drivers/dma/dw/core.c list_for_each_entry_safe(child, _next, &desc->tx_list, desc_node) { child 108 drivers/dma/dw/core.c list_del(&child->desc_node); child 109 drivers/dma/dw/core.c dma_pool_free(dw->desc_pool, child, child->txd.phys); child 244 drivers/dma/dw/core.c struct dw_desc *child; child 258 drivers/dma/dw/core.c list_for_each_entry(child, &desc->tx_list, desc_node) child 259 drivers/dma/dw/core.c async_tx_ack(&child->txd); child 309 drivers/dma/dw/core.c struct dw_desc *child; child 338 drivers/dma/dw/core.c child = to_dw_desc(active); child 341 drivers/dma/dw/core.c dwc_do_single_block(dwc, child); child 389 drivers/dma/dw/core.c list_for_each_entry(child, &desc->tx_list, desc_node) { child 390 drivers/dma/dw/core.c if (lli_read(child, llp) == llp) { child 396 drivers/dma/dw/core.c desc->residue -= child->len; child 431 drivers/dma/dw/core.c struct dw_desc *child; child 462 drivers/dma/dw/core.c list_for_each_entry(child, &bad_desc->tx_list, desc_node) child 463 drivers/dma/dw/core.c dwc_dump_lli(dwc, child); child 751 drivers/dma/fsl_raid.c struct device_node *child; child 835 drivers/dma/fsl_raid.c for_each_child_of_node(np, child) { child 836 drivers/dma/fsl_raid.c rc = of_device_is_compatible(child, child 839 drivers/dma/fsl_raid.c fsl_re_chan_probe(ofdev, child, ridx++, off); child 410 drivers/dma/fsldma.c struct fsl_desc_sw *child; child 427 drivers/dma/fsldma.c list_for_each_entry(child, &desc->tx_list, node) { child 428 drivers/dma/fsldma.c cookie = dma_cookie_assign(&child->async_tx); child 1216 drivers/dma/fsldma.c struct device_node *child; child 1264 drivers/dma/fsldma.c for_each_child_of_node(op->dev.of_node, child) { child 1265 drivers/dma/fsldma.c if (of_device_is_compatible(child, "fsl,eloplus-dma-channel")) { child 1266 drivers/dma/fsldma.c fsl_dma_chan_probe(fdev, child, child 1271 drivers/dma/fsldma.c if (of_device_is_compatible(child, "fsl,elo-dma-channel")) { child 1272 drivers/dma/fsldma.c fsl_dma_chan_probe(fdev, child, child 345 drivers/dma/mmp_pdma.c struct mmp_pdma_desc_sw *child; child 351 drivers/dma/mmp_pdma.c list_for_each_entry(child, &desc->tx_list, node) { child 352 drivers/dma/mmp_pdma.c cookie = dma_cookie_assign(&child->async_tx); child 351 drivers/dma/qcom/hidma_mgmt.c struct device_node *child; child 360 drivers/dma/qcom/hidma_mgmt.c for_each_available_child_of_node(np, child) { child 363 drivers/dma/qcom/hidma_mgmt.c ret = of_address_to_resource(child, 0, &res[0]); child 367 drivers/dma/qcom/hidma_mgmt.c ret = of_address_to_resource(child, 1, &res[1]); child 371 drivers/dma/qcom/hidma_mgmt.c ret = of_irq_to_resource(child, 0, &res[2]); child 376 drivers/dma/qcom/hidma_mgmt.c pdevinfo.fwnode = &child->fwnode; child 378 drivers/dma/qcom/hidma_mgmt.c pdevinfo.name = child->name; child 390 drivers/dma/qcom/hidma_mgmt.c new_pdev->dev.of_node = child; child 391 drivers/dma/qcom/hidma_mgmt.c of_dma_configure(&new_pdev->dev, child, true); child 396 drivers/dma/qcom/hidma_mgmt.c of_msi_configure(&new_pdev->dev, child); child 404 drivers/dma/qcom/hidma_mgmt.c of_node_put(child); child 414 drivers/dma/qcom/hidma_mgmt.c struct device_node *child; child 416 drivers/dma/qcom/hidma_mgmt.c for_each_matching_node(child, hidma_mgmt_match) { child 418 drivers/dma/qcom/hidma_mgmt.c hidma_mgmt_of_populate_channels(child); child 245 drivers/dma/txx9dmac.c struct txx9dmac_desc *child; child 247 drivers/dma/txx9dmac.c list_for_each_entry(child, &desc->tx_list, desc_node) child 249 drivers/dma/txx9dmac.c child->txd.phys, ddev->descsize, child 264 drivers/dma/txx9dmac.c struct txx9dmac_desc *child; child 269 drivers/dma/txx9dmac.c list_for_each_entry(child, &desc->tx_list, desc_node) child 272 drivers/dma/txx9dmac.c child); child 501 drivers/dma/txx9dmac.c struct txx9dmac_desc *child; child 530 drivers/dma/txx9dmac.c list_for_each_entry(child, &bad_desc->tx_list, desc_node) child 531 drivers/dma/txx9dmac.c txx9dmac_dump_desc(dc, &child->hwdesc); child 540 drivers/dma/txx9dmac.c struct txx9dmac_desc *child; child 572 drivers/dma/txx9dmac.c list_for_each_entry(child, &desc->tx_list, desc_node) child 573 drivers/dma/txx9dmac.c if (desc_read_CHAR(dc, child) == chain) { child 2615 drivers/dma/xilinx/xilinx_dma.c struct device_node *child, *np = pdev->dev.of_node; child 2732 drivers/dma/xilinx/xilinx_dma.c for_each_child_of_node(node, child) { child 2733 drivers/dma/xilinx/xilinx_dma.c err = xilinx_dma_child_probe(xdev, child); child 432 drivers/dma/xilinx/zynqmp_dma.c struct zynqmp_dma_desc_sw *child, *next; child 436 drivers/dma/xilinx/zynqmp_dma.c list_for_each_entry_safe(child, next, &sdesc->tx_list, node) { child 438 drivers/dma/xilinx/zynqmp_dma.c list_move_tail(&child->node, &chan->free_list); child 1127 drivers/edac/altera_edac.c struct device_node *child, *np; child 1139 drivers/edac/altera_edac.c for_each_child_of_node(np, child) { child 1143 drivers/edac/altera_edac.c if (!of_device_is_available(child)) child 1145 drivers/edac/altera_edac.c if (!of_device_is_compatible(child, compat)) child 1148 drivers/edac/altera_edac.c if (validate_parent_available(child)) child 1151 drivers/edac/altera_edac.c irq = a10_get_irq_mask(child); child 1156 drivers/edac/altera_edac.c pdev_id = of_match_node(altr_edac_a10_device_of_match, child); child 1165 drivers/edac/altera_edac.c altr_init_a10_ecc_block(child, BIT(irq), child 1675 drivers/edac/altera_edac.c struct device_node *child; child 1677 drivers/edac/altera_edac.c child = of_find_compatible_node(NULL, NULL, "altr,socfpga-sdmmc-ecc"); child 1678 drivers/edac/altera_edac.c if (!child) child 1681 drivers/edac/altera_edac.c if (!of_device_is_available(child)) child 1684 drivers/edac/altera_edac.c if (validate_parent_available(child)) child 1688 drivers/edac/altera_edac.c rc = altr_init_a10_ecc_block(child, ALTR_A10_SDMMC_IRQ_MASK, child 1697 drivers/edac/altera_edac.c of_node_put(child); child 2172 drivers/edac/altera_edac.c struct device_node *child; child 2270 drivers/edac/altera_edac.c for_each_child_of_node(pdev->dev.of_node, child) { child 2271 drivers/edac/altera_edac.c if (!of_device_is_available(child)) child 2274 drivers/edac/altera_edac.c if (of_device_is_compatible(child, "altr,socfpga-a10-l2-ecc") || child 2275 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-a10-ocram-ecc") || child 2276 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-eth-mac-ecc") || child 2277 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-nand-ecc") || child 2278 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-dma-ecc") || child 2279 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-usb-ecc") || child 2280 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-qspi-ecc") || child 2282 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,sdram-edac-s10") || child 2284 drivers/edac/altera_edac.c of_device_is_compatible(child, "altr,socfpga-sdmmc-ecc")) child 2286 drivers/edac/altera_edac.c altr_edac_a10_device_add(edac, child); child 2289 drivers/edac/altera_edac.c else if (of_device_is_compatible(child, "altr,sdram-edac-a10")) child 1850 drivers/edac/xgene_edac.c struct device_node *child; child 1941 drivers/edac/xgene_edac.c for_each_child_of_node(pdev->dev.of_node, child) { child 1942 drivers/edac/xgene_edac.c if (!of_device_is_available(child)) child 1944 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-mc")) child 1945 drivers/edac/xgene_edac.c xgene_edac_mc_add(edac, child); child 1946 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-pmd")) child 1947 drivers/edac/xgene_edac.c xgene_edac_pmd_add(edac, child, 1); child 1948 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-pmd-v2")) child 1949 drivers/edac/xgene_edac.c xgene_edac_pmd_add(edac, child, 2); child 1950 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-l3")) child 1951 drivers/edac/xgene_edac.c xgene_edac_l3_add(edac, child, 1); child 1952 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-l3-v2")) child 1953 drivers/edac/xgene_edac.c xgene_edac_l3_add(edac, child, 2); child 1954 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-soc")) child 1955 drivers/edac/xgene_edac.c xgene_edac_soc_add(edac, child, 0); child 1956 drivers/edac/xgene_edac.c if (of_device_is_compatible(child, "apm,xgene-edac-soc-v1")) child 1957 drivers/edac/xgene_edac.c xgene_edac_soc_add(edac, child, 1); child 173 drivers/firewire/core-topology.c struct fw_node *node, *child, *local_node, *irm_node; child 220 drivers/firewire/core-topology.c child = fw_node(h); child 254 drivers/firewire/core-topology.c node->ports[i] = child; child 259 drivers/firewire/core-topology.c child->ports[child->color] = node; child 260 drivers/firewire/core-topology.c child->color = card->color; child 261 drivers/firewire/core-topology.c child = fw_node(child->link.next); child 316 drivers/firewire/core-topology.c struct fw_node *node, *next, *child, *parent; child 328 drivers/firewire/core-topology.c child = node->ports[i]; child 329 drivers/firewire/core-topology.c if (!child) child 331 drivers/firewire/core-topology.c if (child->color == card->color) child 332 drivers/firewire/core-topology.c parent = child; child 334 drivers/firewire/core-topology.c fw_node_get(child); child 335 drivers/firewire/core-topology.c list_add_tail(&child->link, &list); child 834 drivers/firmware/arm_scmi/driver.c struct device_node *child, *np = dev->of_node; child 880 drivers/firmware/arm_scmi/driver.c for_each_available_child_of_node(np, child) { child 883 drivers/firmware/arm_scmi/driver.c if (of_property_read_u32(child, "reg", &prot_id)) child 895 drivers/firmware/arm_scmi/driver.c scmi_create_protocol_device(child, info, prot_id); child 40 drivers/firmware/dmi-sysfs.c struct kobject *child; child 453 drivers/firmware/dmi-sysfs.c entry->child = kzalloc(sizeof(*entry->child), GFP_KERNEL); child 454 drivers/firmware/dmi-sysfs.c if (!entry->child) child 456 drivers/firmware/dmi-sysfs.c ret = kobject_init_and_add(entry->child, child 463 drivers/firmware/dmi-sysfs.c ret = sysfs_create_bin_file(entry->child, &dmi_sel_raw_attr); child 470 drivers/firmware/dmi-sysfs.c kobject_del(entry->child); child 472 drivers/firmware/dmi-sysfs.c kfree(entry->child); child 634 drivers/firmware/dmi-sysfs.c kobject_put(entry->child); child 645 drivers/firmware/dmi-sysfs.c kobject_put(entry->child); child 35 drivers/firmware/efi/dev-path-parser.c struct device *parent, struct device **child) child 50 drivers/firmware/efi/dev-path-parser.c *child = bus_find_device(&acpi_bus_type, NULL, &hid_uid, child 52 drivers/firmware/efi/dev-path-parser.c if (!*child) child 55 drivers/firmware/efi/dev-path-parser.c phys_dev = acpi_get_first_physical_node(to_acpi_device(*child)); child 58 drivers/firmware/efi/dev-path-parser.c put_device(*child); child 59 drivers/firmware/efi/dev-path-parser.c *child = phys_dev; child 73 drivers/firmware/efi/dev-path-parser.c struct device *parent, struct device **child) child 84 drivers/firmware/efi/dev-path-parser.c *child = device_find_child(parent, &devfn, match_pci_dev); child 85 drivers/firmware/efi/dev-path-parser.c if (!*child) child 109 drivers/firmware/efi/dev-path-parser.c struct device *parent, struct device **child) child 119 drivers/firmware/efi/dev-path-parser.c *child = get_device(parent); child 162 drivers/firmware/efi/dev-path-parser.c struct device *parent = NULL, *child; child 173 drivers/firmware/efi/dev-path-parser.c ret = parse_acpi_path(*node, parent, &child); child 176 drivers/firmware/efi/dev-path-parser.c ret = parse_pci_path(*node, parent, &child); child 179 drivers/firmware/efi/dev-path-parser.c ret = parse_end_path(*node, parent, &child); child 187 drivers/firmware/efi/dev-path-parser.c parent = child; child 195 drivers/firmware/efi/dev-path-parser.c return child; child 935 drivers/fsi/fsi-sbefifo.c struct platform_device *child; child 988 drivers/fsi/fsi-sbefifo.c child = of_platform_device_create(np, child_name, dev); child 989 drivers/fsi/fsi-sbefifo.c if (!child) child 1004 drivers/fsi/fsi-sbefifo.c struct platform_device *child = to_platform_device(dev); child 1006 drivers/fsi/fsi-sbefifo.c of_device_unregister(child); child 165 drivers/gpio/gpio-ixp4xx.c unsigned int child, child 174 drivers/gpio/gpio-ixp4xx.c if (child == 0) { child 178 drivers/gpio/gpio-ixp4xx.c if (child == 1) { child 182 drivers/gpio/gpio-ixp4xx.c if (child >= 2 && child <= 12) { child 183 drivers/gpio/gpio-ixp4xx.c *parent = child + 17; child 205 drivers/gpio/gpiolib-devres.c struct fwnode_handle *child, child 227 drivers/gpio/gpiolib-devres.c desc = fwnode_get_named_gpiod(child, prop_name, index, flags, child 192 drivers/gpio/gpiolib-of.c struct device_node *child; child 196 drivers/gpio/gpiolib-of.c for_each_child_of_node(np, child) { child 197 drivers/gpio/gpiolib-of.c ret = of_property_read_u32(child, "reg", &cs); child 213 drivers/gpio/gpiolib-of.c if (of_property_read_bool(child, "spi-cs-high")) { child 216 drivers/gpio/gpiolib-of.c of_node_full_name(child)); child 222 drivers/gpio/gpiolib-of.c of_node_full_name(child)); child 225 drivers/gpio/gpiolib-of.c of_node_put(child); child 141 drivers/gpu/drm/arm/display/komeda/komeda_dev.c struct device_node *child, *np = dev->of_node; child 156 drivers/gpu/drm/arm/display/komeda/komeda_dev.c for_each_available_child_of_node(np, child) { child 157 drivers/gpu/drm/arm/display/komeda/komeda_dev.c if (of_node_cmp(child->name, "pipeline") == 0) { child 158 drivers/gpu/drm/arm/display/komeda/komeda_dev.c ret = komeda_parse_pipe_dt(mdev, child); child 161 drivers/gpu/drm/arm/display/komeda/komeda_dev.c of_node_put(child); child 102 drivers/gpu/drm/arm/display/komeda/komeda_drv.c struct device_node *child; child 107 drivers/gpu/drm/arm/display/komeda/komeda_drv.c for_each_available_child_of_node(dev->of_node, child) { child 108 drivers/gpu/drm/arm/display/komeda/komeda_drv.c if (of_node_cmp(child->name, "pipeline") != 0) child 112 drivers/gpu/drm/arm/display/komeda/komeda_drv.c komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 0); child 113 drivers/gpu/drm/arm/display/komeda/komeda_drv.c komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 1); child 183 drivers/gpu/drm/drm_memory.c for (tmp = iomem_resource.child; tmp; tmp = tmp->sibling) { child 529 drivers/gpu/drm/gma500/cdv_intel_lvds.c struct child_device_config *child = dev_priv->child_dev + i; child 535 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (child->device_type != DEVICE_TYPE_INT_LFP && child 536 drivers/gpu/drm/gma500/cdv_intel_lvds.c child->device_type != DEVICE_TYPE_LFP) child 539 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (child->i2c_pin) child 540 drivers/gpu/drm/gma500/cdv_intel_lvds.c *i2c_pin = child->i2c_pin; child 547 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (child->addin_offset) child 557 drivers/gpu/drm/gma500/gtt.c struct resource *r = dev_priv->gtt_mem->child; child 452 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 465 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 467 drivers/gpu/drm/i915/display/intel_bios.c if (child->slave_addr != SLAVE_ADDR1 && child 468 drivers/gpu/drm/i915/display/intel_bios.c child->slave_addr != SLAVE_ADDR2) { child 475 drivers/gpu/drm/i915/display/intel_bios.c if (child->dvo_port != DEVICE_PORT_DVOB && child 476 drivers/gpu/drm/i915/display/intel_bios.c child->dvo_port != DEVICE_PORT_DVOC) { child 483 drivers/gpu/drm/i915/display/intel_bios.c child->slave_addr, child 484 drivers/gpu/drm/i915/display/intel_bios.c (child->dvo_port == DEVICE_PORT_DVOB) ? child 486 drivers/gpu/drm/i915/display/intel_bios.c mapping = &dev_priv->vbt.sdvo_mappings[child->dvo_port - 1]; child 488 drivers/gpu/drm/i915/display/intel_bios.c mapping->dvo_port = child->dvo_port; child 489 drivers/gpu/drm/i915/display/intel_bios.c mapping->slave_addr = child->slave_addr; child 490 drivers/gpu/drm/i915/display/intel_bios.c mapping->dvo_wiring = child->dvo_wiring; child 491 drivers/gpu/drm/i915/display/intel_bios.c mapping->ddc_pin = child->ddc_pin; child 492 drivers/gpu/drm/i915/display/intel_bios.c mapping->i2c_pin = child->i2c_pin; child 504 drivers/gpu/drm/i915/display/intel_bios.c if (child->slave2_addr) { child 1252 drivers/gpu/drm/i915/display/intel_bios.c if (info->child && ddc_pin == info->alternate_ddc_pin) child 1303 drivers/gpu/drm/i915/display/intel_bios.c if (info->child && aux_ch == info->alternate_aux_channel) child 1420 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child, child 1427 drivers/gpu/drm/i915/display/intel_bios.c port = dvo_port_to_port(child->dvo_port); child 1433 drivers/gpu/drm/i915/display/intel_bios.c if (info->child) { child 1439 drivers/gpu/drm/i915/display/intel_bios.c is_dvi = child->device_type & DEVICE_TYPE_TMDS_DVI_SIGNALING; child 1440 drivers/gpu/drm/i915/display/intel_bios.c is_dp = child->device_type & DEVICE_TYPE_DISPLAYPORT_OUTPUT; child 1441 drivers/gpu/drm/i915/display/intel_bios.c is_crt = child->device_type & DEVICE_TYPE_ANALOG_OUTPUT; child 1442 drivers/gpu/drm/i915/display/intel_bios.c is_hdmi = is_dvi && (child->device_type & DEVICE_TYPE_NOT_HDMI_OUTPUT) == 0; child 1443 drivers/gpu/drm/i915/display/intel_bios.c is_edp = is_dp && (child->device_type & DEVICE_TYPE_INTERNAL_CONNECTOR); child 1458 drivers/gpu/drm/i915/display/intel_bios.c info->supports_typec_usb = child->dp_usb_type_c; child 1461 drivers/gpu/drm/i915/display/intel_bios.c info->supports_tbt = child->tbt; child 1465 drivers/gpu/drm/i915/display/intel_bios.c HAS_LSPCON(dev_priv) && child->lspcon, child 1487 drivers/gpu/drm/i915/display/intel_bios.c ddc_pin = map_ddc_pin(dev_priv, child->ddc_pin); child 1499 drivers/gpu/drm/i915/display/intel_bios.c info->alternate_aux_channel = child->aux_channel; child 1506 drivers/gpu/drm/i915/display/intel_bios.c u8 hdmi_level_shift = child->hdmi_level_shifter_value; child 1516 drivers/gpu/drm/i915/display/intel_bios.c switch (child->hdmi_max_data_rate) { child 1518 drivers/gpu/drm/i915/display/intel_bios.c MISSING_CASE(child->hdmi_max_data_rate); child 1538 drivers/gpu/drm/i915/display/intel_bios.c if (bdb_version >= 196 && child->iboost) { child 1539 drivers/gpu/drm/i915/display/intel_bios.c info->dp_boost_level = translate_iboost(child->dp_iboost_level); child 1542 drivers/gpu/drm/i915/display/intel_bios.c info->hdmi_boost_level = translate_iboost(child->hdmi_iboost_level); child 1549 drivers/gpu/drm/i915/display/intel_bios.c switch (child->dp_max_link_rate) { child 1568 drivers/gpu/drm/i915/display/intel_bios.c info->child = child; child 1573 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 1583 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 1585 drivers/gpu/drm/i915/display/intel_bios.c parse_ddi_port(dev_priv, child, bdb_version); child 1594 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 1631 drivers/gpu/drm/i915/display/intel_bios.c expected_size = sizeof(*child); child 1632 drivers/gpu/drm/i915/display/intel_bios.c BUILD_BUG_ON(sizeof(*child) < 39); child 1654 drivers/gpu/drm/i915/display/intel_bios.c child = child_device_ptr(defs, i); child 1655 drivers/gpu/drm/i915/display/intel_bios.c if (!child->device_type) child 1663 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.child_dev = kcalloc(count, sizeof(*child), GFP_KERNEL); child 1672 drivers/gpu/drm/i915/display/intel_bios.c child = child_device_ptr(defs, i); child 1673 drivers/gpu/drm/i915/display/intel_bios.c if (!child->device_type) child 1677 drivers/gpu/drm/i915/display/intel_bios.c child->device_type); child 1684 drivers/gpu/drm/i915/display/intel_bios.c memcpy(dev_priv->vbt.child_dev + count, child, child 1685 drivers/gpu/drm/i915/display/intel_bios.c min_t(size_t, defs->child_dev_size, sizeof(*child))); child 1931 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 1941 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 1945 drivers/gpu/drm/i915/display/intel_bios.c switch (child->device_type) { child 1956 drivers/gpu/drm/i915/display/intel_bios.c if (child->addin_offset) child 1973 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 1980 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 1986 drivers/gpu/drm/i915/display/intel_bios.c if (child->device_type != DEVICE_TYPE_INT_LFP && child 1987 drivers/gpu/drm/i915/display/intel_bios.c child->device_type != DEVICE_TYPE_LFP) child 1990 drivers/gpu/drm/i915/display/intel_bios.c if (intel_gmbus_is_valid_pin(dev_priv, child->i2c_pin)) child 1991 drivers/gpu/drm/i915/display/intel_bios.c *i2c_pin = child->i2c_pin; child 1998 drivers/gpu/drm/i915/display/intel_bios.c if (child->addin_offset) child 2022 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 2051 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 2053 drivers/gpu/drm/i915/display/intel_bios.c if ((child->dvo_port == port_mapping[port].dp || child 2054 drivers/gpu/drm/i915/display/intel_bios.c child->dvo_port == port_mapping[port].hdmi) && child 2055 drivers/gpu/drm/i915/display/intel_bios.c (child->device_type & (DEVICE_TYPE_TMDS_DVI_SIGNALING | child 2072 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 2089 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 2091 drivers/gpu/drm/i915/display/intel_bios.c if (child->dvo_port == port_mapping[port] && child 2092 drivers/gpu/drm/i915/display/intel_bios.c (child->device_type & DEVICE_TYPE_eDP_BITS) == child 2100 drivers/gpu/drm/i915/display/intel_bios.c static bool child_dev_is_dp_dual_mode(const struct child_device_config *child, child 2120 drivers/gpu/drm/i915/display/intel_bios.c if ((child->device_type & DEVICE_TYPE_DP_DUAL_MODE_BITS) != child 2124 drivers/gpu/drm/i915/display/intel_bios.c if (child->dvo_port == port_mapping[port].dp) child 2128 drivers/gpu/drm/i915/display/intel_bios.c if (child->dvo_port == port_mapping[port].hdmi && child 2129 drivers/gpu/drm/i915/display/intel_bios.c child->aux_channel != 0) child 2138 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 2142 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 2144 drivers/gpu/drm/i915/display/intel_bios.c if (child_dev_is_dp_dual_mode(child, port)) child 2161 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child; child 2166 drivers/gpu/drm/i915/display/intel_bios.c child = dev_priv->vbt.child_dev + i; child 2168 drivers/gpu/drm/i915/display/intel_bios.c if (!(child->device_type & DEVICE_TYPE_MIPI_OUTPUT)) child 2171 drivers/gpu/drm/i915/display/intel_bios.c dvo_port = child->dvo_port; child 2201 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child = child 2202 drivers/gpu/drm/i915/display/intel_bios.c i915->vbt.ddi_port_info[port].child; child 2207 drivers/gpu/drm/i915/display/intel_bios.c return child && child->hpd_invert; child 2221 drivers/gpu/drm/i915/display/intel_bios.c const struct child_device_config *child = child 2222 drivers/gpu/drm/i915/display/intel_bios.c i915->vbt.ddi_port_info[port].child; child 2224 drivers/gpu/drm/i915/display/intel_bios.c return HAS_LSPCON(i915) && child && child->lspcon; child 268 drivers/gpu/drm/i915/display/intel_combo_phy.c bool ddi_a_present = i915->vbt.ddi_port_info[PORT_A].child != NULL; child 269 drivers/gpu/drm/i915/display/intel_combo_phy.c bool ddi_d_present = i915->vbt.ddi_port_info[PORT_D].child != NULL; child 715 drivers/gpu/drm/i915/i915_drv.h const struct child_device_config *child; child 3537 drivers/gpu/drm/i915/i915_perf.c .child = oa_table, child 3547 drivers/gpu/drm/i915/i915_perf.c .child = i915_root, child 937 drivers/gpu/drm/i915/i915_request.c struct dma_fence **child = &fence; child 952 drivers/gpu/drm/i915/i915_request.c child = array->fences; child 958 drivers/gpu/drm/i915/i915_request.c fence = *child++; child 998 drivers/gpu/drm/i915/i915_request.c struct dma_fence **child = &fence; child 1007 drivers/gpu/drm/i915/i915_request.c child = array->fences; child 1013 drivers/gpu/drm/i915/i915_request.c fence = *child++; child 224 drivers/gpu/drm/i915/i915_syncmap.c struct i915_syncmap *child) child 227 drivers/gpu/drm/i915/i915_syncmap.c __sync_child(p)[idx] = child; child 59 drivers/gpu/drm/imx/imx-ldb.c struct device_node *child; child 198 drivers/gpu/drm/imx/imx-ldb.c int mux = drm_of_encoder_active_port_id(imx_ldb_ch->child, encoder); child 255 drivers/gpu/drm/imx/imx-ldb.c int mux = drm_of_encoder_active_port_id(imx_ldb_ch->child, encoder); child 428 drivers/gpu/drm/imx/imx-ldb.c ret = imx_drm_encoder_parse_of(drm, encoder, imx_ldb_ch->child); child 545 drivers/gpu/drm/imx/imx-ldb.c struct imx_ldb_channel *channel, struct device_node *child) child 551 drivers/gpu/drm/imx/imx-ldb.c ddc_node = of_parse_phandle(child, "ddc-i2c-bus", 0); child 565 drivers/gpu/drm/imx/imx-ldb.c edidp = of_get_property(child, "edid", child 573 drivers/gpu/drm/imx/imx-ldb.c ret = of_get_drm_display_mode(child, child 590 drivers/gpu/drm/imx/imx-ldb.c struct device_node *child; child 641 drivers/gpu/drm/imx/imx-ldb.c for_each_child_of_node(np, child) { child 645 drivers/gpu/drm/imx/imx-ldb.c ret = of_property_read_u32(child, "reg", &i); child 651 drivers/gpu/drm/imx/imx-ldb.c if (!of_device_is_available(child)) child 667 drivers/gpu/drm/imx/imx-ldb.c ret = drm_of_find_panel_or_bridge(child, child 675 drivers/gpu/drm/imx/imx-ldb.c ret = imx_ldb_panel_ddc(dev, channel, child); child 680 drivers/gpu/drm/imx/imx-ldb.c bus_format = of_get_bus_format(dev, child); child 697 drivers/gpu/drm/imx/imx-ldb.c channel->child = child; child 701 drivers/gpu/drm/imx/imx-ldb.c channel->child = NULL; child 711 drivers/gpu/drm/imx/imx-ldb.c of_node_put(child); child 892 drivers/gpu/drm/mcde/mcde_dsi.c struct device_node *child; child 935 drivers/gpu/drm/mcde/mcde_dsi.c for_each_available_child_of_node(dev->of_node, child) { child 936 drivers/gpu/drm/mcde/mcde_dsi.c panel = of_drm_find_panel(child); child 942 drivers/gpu/drm/mcde/mcde_dsi.c bridge = of_drm_find_bridge(child); child 823 drivers/gpu/drm/msm/adreno/adreno_gpu.c struct device_node *child, *node; child 832 drivers/gpu/drm/msm/adreno/adreno_gpu.c for_each_child_of_node(node, child) { child 835 drivers/gpu/drm/msm/adreno/adreno_gpu.c ret = of_property_read_u32(child, "qcom,gpu-freq", &val); child 182 drivers/gpu/drm/nouveau/nvkm/core/object.c struct nvkm_object *child; child 188 drivers/gpu/drm/nouveau/nvkm/core/object.c list_for_each_entry(child, &object->tree, head) { child 189 drivers/gpu/drm/nouveau/nvkm/core/object.c ret = nvkm_object_fini(child, suspend); child 215 drivers/gpu/drm/nouveau/nvkm/core/object.c list_for_each_entry_continue_reverse(child, &object->tree, head) { child 216 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_init(child); child 224 drivers/gpu/drm/nouveau/nvkm/core/object.c struct nvkm_object *child; child 237 drivers/gpu/drm/nouveau/nvkm/core/object.c list_for_each_entry(child, &object->tree, head) { child 238 drivers/gpu/drm/nouveau/nvkm/core/object.c ret = nvkm_object_init(child); child 248 drivers/gpu/drm/nouveau/nvkm/core/object.c list_for_each_entry_continue_reverse(child, &object->tree, head) child 249 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_fini(child, false); child 260 drivers/gpu/drm/nouveau/nvkm/core/object.c struct nvkm_object *child, *ctemp; child 266 drivers/gpu/drm/nouveau/nvkm/core/object.c list_for_each_entry_safe(child, ctemp, &object->tree, head) { child 267 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_del(&child); child 363 drivers/gpu/drm/omapdrm/dss/base.c struct device_node *child; child 369 drivers/gpu/drm/omapdrm/dss/base.c for_each_available_child_of_node(dev->of_node, child) child 370 drivers/gpu/drm/omapdrm/dss/base.c omapdss_walk_device(dev, child, true); child 1338 drivers/gpu/drm/omapdrm/dss/dss.c struct device *child = data; child 1339 drivers/gpu/drm/omapdrm/dss/dss.c return dev == child; child 188 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c struct device_node *dss, *child; child 199 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c for_each_available_child_of_node(dss, child) { child 200 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (!of_find_property(child, "compatible", NULL)) child 203 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c omapdss_walk_device(child, true); child 30 drivers/gpu/drm/pl111/pl111_vexpress.c struct device_node *child; child 46 drivers/gpu/drm/pl111/pl111_vexpress.c for_each_available_child_of_node(root, child) { child 47 drivers/gpu/drm/pl111/pl111_vexpress.c if (of_device_is_compatible(child, "arm,pl111")) { child 49 drivers/gpu/drm/pl111/pl111_vexpress.c ct_clcd = child; child 52 drivers/gpu/drm/pl111/pl111_vexpress.c if (of_device_is_compatible(child, "arm,hdlcd")) { child 54 drivers/gpu/drm/pl111/pl111_vexpress.c of_node_put(child); child 745 drivers/gpu/drm/tegra/hub.c struct device_node *child = NULL; child 814 drivers/gpu/drm/tegra/hub.c child = of_get_next_child(pdev->dev.of_node, child); child 815 drivers/gpu/drm/tegra/hub.c if (!child) { child 821 drivers/gpu/drm/tegra/hub.c clk = devm_get_clk_from_child(&pdev->dev, child, "dc"); child 825 drivers/gpu/drm/tegra/hub.c of_node_put(child); child 832 drivers/gpu/drm/tegra/hub.c of_node_put(child); child 703 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct dma_fence *child = fence_array->fences[i]; child 705 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = dma_fence_wait(child, true); child 142 drivers/gpu/drm/zte/zx_drm_drv.c struct device_node *child; child 150 drivers/gpu/drm/zte/zx_drm_drv.c for_each_available_child_of_node(parent, child) child 151 drivers/gpu/drm/zte/zx_drm_drv.c component_match_add(dev, &match, compare_of, child); child 42 drivers/gpu/host1x/bus.c struct device_node *child; child 57 drivers/gpu/host1x/bus.c for_each_child_of_node(np, child) { child 58 drivers/gpu/host1x/bus.c if (of_match_node(driver->subdevs, child) && child 59 drivers/gpu/host1x/bus.c of_device_is_available(child)) { child 60 drivers/gpu/host1x/bus.c err = host1x_subdev_add(device, driver, child); child 63 drivers/gpu/host1x/bus.c of_node_put(child); child 192 drivers/hid/hid-elo.c struct usb_device *child = NULL; child 203 drivers/hid/hid-elo.c usb_hub_for_each_child(hub, i, child) { child 204 drivers/hid/hid-elo.c child_vid = le16_to_cpu(child->descriptor.idVendor); child 205 drivers/hid/hid-elo.c child_pid = le16_to_cpu(child->descriptor.idProduct); child 457 drivers/hsi/controllers/omap_ssi_core.c struct device_node *child; child 460 drivers/hsi/controllers/omap_ssi_core.c for_each_available_child_of_node(np, child) child 461 drivers/hsi/controllers/omap_ssi_core.c if (of_device_is_compatible(child, "ti,omap3-ssi-port")) child 484 drivers/hsi/controllers/omap_ssi_core.c struct device_node *child; child 519 drivers/hsi/controllers/omap_ssi_core.c for_each_available_child_of_node(np, child) { child 520 drivers/hsi/controllers/omap_ssi_core.c if (!of_device_is_compatible(child, "ti,omap3-ssi-port")) child 523 drivers/hsi/controllers/omap_ssi_core.c childpdev = of_platform_device_create(child, NULL, &pd->dev); child 314 drivers/hsi/hsi_core.c struct device_node *child; child 319 drivers/hsi/hsi_core.c for_each_available_child_of_node(clients, child) child 320 drivers/hsi/hsi_core.c hsi_add_client_from_dt(port, child); child 1344 drivers/hv/vmbus_drv.c .child = hv_ctl_table child 804 drivers/hwmon/aspeed-pwm-tacho.c struct device_node *child, child 821 drivers/hwmon/aspeed-pwm-tacho.c ret = of_property_read_u8_array(child, "cooling-levels", child 828 drivers/hwmon/aspeed-pwm-tacho.c snprintf(cdev->name, MAX_CDEV_NAME_LEN, "%pOFn%d", child, pwm_port); child 830 drivers/hwmon/aspeed-pwm-tacho.c cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, child 844 drivers/hwmon/aspeed-pwm-tacho.c struct device_node *child, child 851 drivers/hwmon/aspeed-pwm-tacho.c ret = of_property_read_u32(child, "reg", &pwm_port); child 856 drivers/hwmon/aspeed-pwm-tacho.c ret = of_property_count_u8_elems(child, "cooling-levels"); child 859 drivers/hwmon/aspeed-pwm-tacho.c ret = aspeed_create_pwm_cooling(dev, child, priv, pwm_port, child 865 drivers/hwmon/aspeed-pwm-tacho.c count = of_property_count_u8_elems(child, "aspeed,fan-tach-ch"); child 872 drivers/hwmon/aspeed-pwm-tacho.c ret = of_property_read_u8_array(child, "aspeed,fan-tach-ch", child 891 drivers/hwmon/aspeed-pwm-tacho.c struct device_node *np, *child; child 939 drivers/hwmon/aspeed-pwm-tacho.c for_each_child_of_node(np, child) { child 940 drivers/hwmon/aspeed-pwm-tacho.c ret = aspeed_create_fan(dev, child, priv); child 942 drivers/hwmon/aspeed-pwm-tacho.c of_node_put(child); child 662 drivers/hwmon/ina3221.c struct device_node *child, child 669 drivers/hwmon/ina3221.c ret = of_property_read_u32(child, "reg", &val); child 671 drivers/hwmon/ina3221.c dev_err(dev, "missing reg property of %pOFn\n", child); child 674 drivers/hwmon/ina3221.c dev_err(dev, "invalid reg %d of %pOFn\n", val, child); child 681 drivers/hwmon/ina3221.c if (!of_device_is_available(child)) { child 687 drivers/hwmon/ina3221.c of_property_read_string(child, "label", &input->label); child 690 drivers/hwmon/ina3221.c if (!of_property_read_u32(child, "shunt-resistor-micro-ohms", &val)) { child 693 drivers/hwmon/ina3221.c val, child); child 705 drivers/hwmon/ina3221.c struct device_node *child; child 714 drivers/hwmon/ina3221.c for_each_child_of_node(np, child) { child 715 drivers/hwmon/ina3221.c ret = ina3221_probe_child_from_dt(dev, child, ina); child 717 drivers/hwmon/ina3221.c of_node_put(child); child 823 drivers/hwmon/npcm750-pwm-fan.c struct device_node *child, child 839 drivers/hwmon/npcm750-pwm-fan.c ret = of_property_read_u8_array(child, "cooling-levels", child 846 drivers/hwmon/npcm750-pwm-fan.c snprintf(cdev->name, THERMAL_NAME_LENGTH, "%pOFn%d", child, child 849 drivers/hwmon/npcm750-pwm-fan.c cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, child 863 drivers/hwmon/npcm750-pwm-fan.c struct device_node *child, child 871 drivers/hwmon/npcm750-pwm-fan.c ret = of_property_read_u32(child, "reg", &pwm_port); child 879 drivers/hwmon/npcm750-pwm-fan.c ret = of_property_count_u8_elems(child, "cooling-levels"); child 881 drivers/hwmon/npcm750-pwm-fan.c ret = npcm7xx_create_pwm_cooling(dev, child, data, pwm_port, child 887 drivers/hwmon/npcm750-pwm-fan.c fan_cnt = of_property_count_u8_elems(child, "fan-tach-ch"); child 895 drivers/hwmon/npcm750-pwm-fan.c ret = of_property_read_u8_array(child, "fan-tach-ch", fan_ch, fan_cnt); child 911 drivers/hwmon/npcm750-pwm-fan.c struct device_node *np, *child; child 982 drivers/hwmon/npcm750-pwm-fan.c for_each_child_of_node(np, child) { child 983 drivers/hwmon/npcm750-pwm-fan.c ret = npcm7xx_en_pwm_fan(dev, child, data); child 986 drivers/hwmon/npcm750-pwm-fan.c of_node_put(child); child 116 drivers/hwtracing/coresight/coresight.c struct coresight_device *child) child 123 drivers/hwtracing/coresight/coresight.c if (conn->child_dev == child) child 128 drivers/hwtracing/coresight/coresight.c dev_name(&csdev->dev), dev_name(&child->dev)); child 254 drivers/hwtracing/coresight/coresight.c struct coresight_device *child) child 260 drivers/hwtracing/coresight/coresight.c if (!parent || !child) child 264 drivers/hwtracing/coresight/coresight.c outport = coresight_find_link_outport(csdev, child); child 282 drivers/hwtracing/coresight/coresight.c struct coresight_device *child) child 288 drivers/hwtracing/coresight/coresight.c if (!parent || !child) child 292 drivers/hwtracing/coresight/coresight.c outport = coresight_find_link_outport(csdev, child); child 364 drivers/hwtracing/coresight/coresight.c struct coresight_device *csdev, *parent, *child; child 398 drivers/hwtracing/coresight/coresight.c child = list_next_entry(nd, link)->csdev; child 399 drivers/hwtracing/coresight/coresight.c coresight_disable_link(csdev, parent, child); child 418 drivers/hwtracing/coresight/coresight.c struct coresight_device *csdev, *parent, *child; child 452 drivers/hwtracing/coresight/coresight.c child = list_next_entry(nd, link)->csdev; child 453 drivers/hwtracing/coresight/coresight.c ret = coresight_enable_link(csdev, parent, child); child 582 drivers/hwtracing/coresight/coresight.c struct coresight_device *child; child 584 drivers/hwtracing/coresight/coresight.c child = csdev->pdata->conns[i].child_dev; child 585 drivers/hwtracing/coresight/coresight.c if (child && child->type == CORESIGHT_DEV_TYPE_HELPER) child 586 drivers/hwtracing/coresight/coresight.c pm_runtime_get_sync(child->dev.parent); child 601 drivers/hwtracing/coresight/coresight.c struct coresight_device *child; child 603 drivers/hwtracing/coresight/coresight.c child = csdev->pdata->conns[i].child_dev; child 604 drivers/hwtracing/coresight/coresight.c if (child && child->type == CORESIGHT_DEV_TYPE_HELPER) child 605 drivers/hwtracing/coresight/coresight.c pm_runtime_put(child->dev.parent); child 29 drivers/i2c/busses/i2c-pxa-pci.c struct device_node *child; child 44 drivers/i2c/busses/i2c-pxa-pci.c for_each_child_of_node(dev->dev.of_node, child) { child 49 drivers/i2c/busses/i2c-pxa-pci.c ret = of_address_to_resource(child, 0, &r); child 59 drivers/i2c/busses/i2c-pxa-pci.c prop = of_get_property(child, "fast-mode", NULL); child 66 drivers/i2c/busses/i2c-pxa-pci.c if (!child) { child 75 drivers/i2c/busses/i2c-pxa-pci.c of_node_put(child); child 80 drivers/i2c/busses/i2c-pxa-pci.c pdev->dev.of_node = child; child 96 drivers/i2c/i2c-core-slave.c struct device_node *child; child 99 drivers/i2c/i2c-core-slave.c for_each_child_of_node(dev->of_node, child) { child 100 drivers/i2c/i2c-core-slave.c of_property_read_u32(child, "reg", ®); child 102 drivers/i2c/i2c-core-slave.c of_node_put(child); child 356 drivers/i2c/i2c-mux.c struct device_node *mux_node, *child = NULL; child 377 drivers/i2c/i2c-mux.c child = of_node_get(mux_node); child 379 drivers/i2c/i2c-mux.c if (!child) { child 380 drivers/i2c/i2c-mux.c for_each_child_of_node(mux_node, child) { child 381 drivers/i2c/i2c-mux.c ret = of_property_read_u32(child, "reg", ®); child 389 drivers/i2c/i2c-mux.c priv->adap.dev.of_node = child; child 57 drivers/i2c/muxes/i2c-mux-gpio.c struct device_node *adapter_np, *child; child 88 drivers/i2c/muxes/i2c-mux-gpio.c for_each_child_of_node(np, child) { child 89 drivers/i2c/muxes/i2c-mux-gpio.c of_property_read_u32(child, "reg", values + i); child 73 drivers/i2c/muxes/i2c-mux-gpmux.c struct device_node *child; child 115 drivers/i2c/muxes/i2c-mux-gpmux.c for_each_child_of_node(np, child) { child 118 drivers/i2c/muxes/i2c-mux-gpmux.c ret = of_property_read_u32(child, "reg", &chan); child 121 drivers/i2c/muxes/i2c-mux-gpmux.c child); child 83 drivers/i2c/muxes/i2c-mux-reg.c struct device_node *adapter_np, *child; child 129 drivers/i2c/muxes/i2c-mux-reg.c for_each_child_of_node(np, child) { child 130 drivers/i2c/muxes/i2c-mux-reg.c of_property_read_u32(child, "reg", values + i); child 445 drivers/iio/adc/ad7124.c struct device_node *child; child 471 drivers/iio/adc/ad7124.c for_each_available_child_of_node(np, child) { child 472 drivers/iio/adc/ad7124.c ret = of_property_read_u32(child, "reg", &channel); child 476 drivers/iio/adc/ad7124.c ret = of_property_read_u32_array(child, "diff-channels", child 484 drivers/iio/adc/ad7124.c of_property_read_bool(child, "bipolar"); child 486 drivers/iio/adc/ad7124.c ret = of_property_read_u32(child, "adi,reference-select", &tmp); child 493 drivers/iio/adc/ad7124.c of_property_read_bool(child, "adi,buffered-positive"); child 495 drivers/iio/adc/ad7124.c of_property_read_bool(child, "adi,buffered-negative"); child 506 drivers/iio/adc/ad7124.c of_node_put(child); child 170 drivers/iio/adc/fsl-imx25-gcq.c struct device_node *child; child 201 drivers/iio/adc/fsl-imx25-gcq.c for_each_child_of_node(np, child) { child 206 drivers/iio/adc/fsl-imx25-gcq.c ret = of_property_read_u32(child, "reg", ®); child 209 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 216 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 220 drivers/iio/adc/fsl-imx25-gcq.c of_property_read_u32(child, "fsl,adc-refp", &refp); child 221 drivers/iio/adc/fsl-imx25-gcq.c of_property_read_u32(child, "fsl,adc-refn", &refn); child 230 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 243 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 258 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 263 drivers/iio/adc/fsl-imx25-gcq.c of_node_put(child); child 825 drivers/iio/adc/qcom-pm8xxx-xoadc.c struct device_node *child; child 848 drivers/iio/adc/qcom-pm8xxx-xoadc.c for_each_available_child_of_node(np, child) { child 850 drivers/iio/adc/qcom-pm8xxx-xoadc.c ret = pm8xxx_xoadc_parse_channel(adc->dev, child, child 855 drivers/iio/adc/qcom-pm8xxx-xoadc.c of_node_put(child); child 674 drivers/iio/adc/qcom-spmi-adc5.c struct device_node *child; child 703 drivers/iio/adc/qcom-spmi-adc5.c for_each_available_child_of_node(node, child) { child 704 drivers/iio/adc/qcom-spmi-adc5.c ret = adc5_get_dt_channel_data(adc, &prop, child, data); child 706 drivers/iio/adc/qcom-spmi-adc5.c of_node_put(child); child 740 drivers/iio/adc/qcom-spmi-vadc.c struct device_node *child; child 760 drivers/iio/adc/qcom-spmi-vadc.c for_each_available_child_of_node(node, child) { child 761 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_get_dt_channel_data(vadc->dev, &prop, child); child 763 drivers/iio/adc/qcom-spmi-vadc.c of_node_put(child); child 326 drivers/iio/adc/rcar-gyroadc.c struct device_node *child; child 334 drivers/iio/adc/rcar-gyroadc.c for_each_child_of_node(np, child) { child 335 drivers/iio/adc/rcar-gyroadc.c of_id = of_match_node(rcar_gyroadc_child_match, child); child 338 drivers/iio/adc/rcar-gyroadc.c child); child 372 drivers/iio/adc/rcar-gyroadc.c ret = of_property_read_u32(child, "reg", ®); child 376 drivers/iio/adc/rcar-gyroadc.c child); child 384 drivers/iio/adc/rcar-gyroadc.c num_channels, child, reg); child 398 drivers/iio/adc/rcar-gyroadc.c dev->of_node = child; child 1099 drivers/iio/adc/xilinx-xadc-core.c struct device_node *chan_node, *child; child 1150 drivers/iio/adc/xilinx-xadc-core.c for_each_child_of_node(chan_node, child) { child 1152 drivers/iio/adc/xilinx-xadc-core.c of_node_put(child); child 1156 drivers/iio/adc/xilinx-xadc-core.c ret = of_property_read_u32(child, "reg", ®); child 1160 drivers/iio/adc/xilinx-xadc-core.c if (of_property_read_bool(child, "xlnx,bipolar")) child 520 drivers/iio/dac/ad5592r-base.c struct fwnode_handle *child; child 524 drivers/iio/dac/ad5592r-base.c device_for_each_child_node(st->dev, child) { child 525 drivers/iio/dac/ad5592r-base.c ret = fwnode_property_read_u32(child, "reg", ®); child 529 drivers/iio/dac/ad5592r-base.c ret = fwnode_property_read_u32(child, "adi,mode", &tmp); child 533 drivers/iio/dac/ad5592r-base.c fwnode_property_read_u32(child, "adi,off-state", &tmp); child 35 drivers/iio/multiplexer/iio-mux.c struct mux_child *child; child 40 drivers/iio/multiplexer/iio-mux.c struct mux_child *child = &mux->child[idx]; child 59 drivers/iio/multiplexer/iio-mux.c cache = &child->ext_info_cache[i]; child 229 drivers/iio/multiplexer/iio-mux.c devm_kfree(dev, mux->child[idx].ext_info_cache[private].data); child 230 drivers/iio/multiplexer/iio-mux.c mux->child[idx].ext_info_cache[private].data = new; child 231 drivers/iio/multiplexer/iio-mux.c mux->child[idx].ext_info_cache[private].size = len; child 241 drivers/iio/multiplexer/iio-mux.c struct mux_child *child = &mux->child[idx]; child 281 drivers/iio/multiplexer/iio-mux.c child->ext_info_cache = devm_kcalloc(dev, child 283 drivers/iio/multiplexer/iio-mux.c sizeof(*child->ext_info_cache), child 285 drivers/iio/multiplexer/iio-mux.c if (!child->ext_info_cache) child 289 drivers/iio/multiplexer/iio-mux.c child->ext_info_cache[i].size = -1; child 310 drivers/iio/multiplexer/iio-mux.c child->ext_info_cache[i].data = devm_kmemdup(dev, page, ret + 1, child 312 drivers/iio/multiplexer/iio-mux.c if (!child->ext_info_cache[i].data) child 315 drivers/iio/multiplexer/iio-mux.c child->ext_info_cache[i].data[ret] = 0; child 316 drivers/iio/multiplexer/iio-mux.c child->ext_info_cache[i].size = ret; child 380 drivers/iio/multiplexer/iio-mux.c sizeof_priv += sizeof(*mux->child) * children; child 389 drivers/iio/multiplexer/iio-mux.c mux->child = (struct mux_child *)(mux + 1); child 390 drivers/iio/multiplexer/iio-mux.c mux->chan = (struct iio_chan_spec *)(mux->child + children); child 435 drivers/input/gameport/gameport.c struct gameport *gameport, *child = NULL; child 444 drivers/input/gameport/gameport.c child = gameport; child 451 drivers/input/gameport/gameport.c return child; child 553 drivers/input/gameport/gameport.c gameport->parent->child = gameport; child 581 drivers/input/gameport/gameport.c struct gameport *child; child 583 drivers/input/gameport/gameport.c child = gameport_get_pending_child(gameport); child 584 drivers/input/gameport/gameport.c if (child) { child 585 drivers/input/gameport/gameport.c gameport_remove_pending_events(child); child 586 drivers/input/gameport/gameport.c put_device(&child->dev); child 590 drivers/input/gameport/gameport.c gameport->parent->child = NULL; child 615 drivers/input/gameport/gameport.c gameport = gameport->child; child 627 drivers/input/gameport/gameport.c if (gameport->child) { child 633 drivers/input/gameport/gameport.c for (s = gameport; s->child; s = s->child) child 253 drivers/input/joystick/iforce/iforce-main.c iforce->device_memory.child = NULL; child 70 drivers/input/keyboard/adc-keys.c struct fwnode_handle *child; child 84 drivers/input/keyboard/adc-keys.c device_for_each_child_node(dev, child) { child 85 drivers/input/keyboard/adc-keys.c if (fwnode_property_read_u32(child, "press-threshold-microvolt", child 88 drivers/input/keyboard/adc-keys.c fwnode_handle_put(child); child 93 drivers/input/keyboard/adc-keys.c if (fwnode_property_read_u32(child, "linux,code", child 96 drivers/input/keyboard/adc-keys.c fwnode_handle_put(child); child 251 drivers/input/keyboard/cap11xx.c struct device_node *node = dev->of_node, *child; child 280 drivers/input/keyboard/cap11xx.c for_each_child_of_node(node, child) { child 284 drivers/input/keyboard/cap11xx.c of_get_property(child, "label", NULL) ? : child->name; child 286 drivers/input/keyboard/cap11xx.c of_get_property(child, "linux,default-trigger", NULL); child 292 drivers/input/keyboard/cap11xx.c error = of_property_read_u32(child, "reg", ®); child 294 drivers/input/keyboard/cap11xx.c of_node_put(child); child 303 drivers/input/keyboard/cap11xx.c of_node_put(child); child 482 drivers/input/keyboard/gpio_keys.c struct fwnode_handle *child) child 496 drivers/input/keyboard/gpio_keys.c if (child) { child 498 drivers/input/keyboard/gpio_keys.c child, child 697 drivers/input/keyboard/gpio_keys.c struct fwnode_handle *child; child 719 drivers/input/keyboard/gpio_keys.c device_for_each_child_node(dev, child) { child 720 drivers/input/keyboard/gpio_keys.c if (is_of_node(child)) child 722 drivers/input/keyboard/gpio_keys.c irq_of_parse_and_map(to_of_node(child), 0); child 724 drivers/input/keyboard/gpio_keys.c if (fwnode_property_read_u32(child, "linux,code", child 727 drivers/input/keyboard/gpio_keys.c fwnode_handle_put(child); child 731 drivers/input/keyboard/gpio_keys.c fwnode_property_read_string(child, "label", &button->desc); child 733 drivers/input/keyboard/gpio_keys.c if (fwnode_property_read_u32(child, "linux,input-type", child 738 drivers/input/keyboard/gpio_keys.c fwnode_property_read_bool(child, "wakeup-source") || child 740 drivers/input/keyboard/gpio_keys.c fwnode_property_read_bool(child, "gpio-key,wakeup"); child 742 drivers/input/keyboard/gpio_keys.c fwnode_property_read_u32(child, "wakeup-event-action", child 746 drivers/input/keyboard/gpio_keys.c fwnode_property_read_bool(child, "linux,can-disable"); child 748 drivers/input/keyboard/gpio_keys.c if (fwnode_property_read_u32(child, "debounce-interval", child 768 drivers/input/keyboard/gpio_keys.c struct fwnode_handle *child = NULL; child 829 drivers/input/keyboard/gpio_keys.c child = device_get_next_child_node(dev, child); child 830 drivers/input/keyboard/gpio_keys.c if (!child) { child 839 drivers/input/keyboard/gpio_keys.c button, i, child); child 841 drivers/input/keyboard/gpio_keys.c fwnode_handle_put(child); child 849 drivers/input/keyboard/gpio_keys.c fwnode_handle_put(child); child 148 drivers/input/keyboard/gpio_keys_polled.c struct fwnode_handle *child; child 170 drivers/input/keyboard/gpio_keys_polled.c device_for_each_child_node(dev, child) { child 171 drivers/input/keyboard/gpio_keys_polled.c if (fwnode_property_read_u32(child, "linux,code", child 174 drivers/input/keyboard/gpio_keys_polled.c fwnode_handle_put(child); child 178 drivers/input/keyboard/gpio_keys_polled.c fwnode_property_read_string(child, "label", &button->desc); child 180 drivers/input/keyboard/gpio_keys_polled.c if (fwnode_property_read_u32(child, "linux,input-type", child 184 drivers/input/keyboard/gpio_keys_polled.c if (fwnode_property_read_u32(child, "linux,input-value", child 189 drivers/input/keyboard/gpio_keys_polled.c fwnode_property_read_bool(child, "wakeup-source") || child 191 drivers/input/keyboard/gpio_keys_polled.c fwnode_property_read_bool(child, "gpio-key,wakeup"); child 193 drivers/input/keyboard/gpio_keys_polled.c if (fwnode_property_read_u32(child, "debounce-interval", child 232 drivers/input/keyboard/gpio_keys_polled.c struct fwnode_handle *child = NULL; child 291 drivers/input/keyboard/gpio_keys_polled.c fwnode_handle_put(child); child 297 drivers/input/keyboard/gpio_keys_polled.c child = device_get_next_child_node(dev, child); child 298 drivers/input/keyboard/gpio_keys_polled.c if (!child) { child 304 drivers/input/keyboard/gpio_keys_polled.c NULL, child, child 313 drivers/input/keyboard/gpio_keys_polled.c fwnode_handle_put(child); child 354 drivers/input/keyboard/gpio_keys_polled.c fwnode_handle_put(child); child 243 drivers/input/keyboard/mtk-pmic-keys.c struct device_node *node = pdev->dev.of_node, *child; child 276 drivers/input/keyboard/mtk-pmic-keys.c for_each_child_of_node(node, child) { child 281 drivers/input/keyboard/mtk-pmic-keys.c of_node_put(child); child 285 drivers/input/keyboard/mtk-pmic-keys.c error = of_property_read_u32(child, child 291 drivers/input/keyboard/mtk-pmic-keys.c of_node_put(child); child 295 drivers/input/keyboard/mtk-pmic-keys.c if (of_property_read_bool(child, "wakeup-source")) child 300 drivers/input/keyboard/mtk-pmic-keys.c of_node_put(child); child 344 drivers/input/keyboard/qt1050.c struct fwnode_handle *child; child 351 drivers/input/keyboard/qt1050.c device_for_each_child_node(dev, child) { child 355 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, "linux,code", child 366 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, "reg", child 377 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, child 389 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, "microchip,average-samples", child 399 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, "microchip,average-scaling", child 410 drivers/input/keyboard/qt1050.c if (fwnode_property_read_u32(child, "microchip,threshold", child 424 drivers/input/keyboard/qt1050.c fwnode_handle_put(child); child 671 drivers/input/mouse/synaptics.c struct psmouse *child = serio_get_drvdata(ptport); child 673 drivers/input/mouse/synaptics.c if (child && child->state == PSMOUSE_ACTIVATED) { child 677 drivers/input/mouse/synaptics.c if (child->pktsize == 4) child 687 drivers/input/mouse/synaptics.c struct psmouse *child = serio_get_drvdata(priv->pt_port); child 690 drivers/input/mouse/synaptics.c if (child) { child 691 drivers/input/mouse/synaptics.c if (child->pktsize == 4) child 321 drivers/input/serio/serio.c struct serio *serio, *child = NULL; child 330 drivers/input/serio/serio.c child = serio; child 337 drivers/input/serio/serio.c return child; child 555 drivers/input/serio/serio.c struct serio *child; child 557 drivers/input/serio/serio.c while ((child = serio_get_pending_child(serio)) != NULL) { child 558 drivers/input/serio/serio.c serio_remove_pending_events(child); child 559 drivers/input/serio/serio.c put_device(&child->dev); child 786 drivers/iommu/qcom_iommu.c struct device_node *child; child 788 drivers/iommu/qcom_iommu.c for_each_child_of_node(qcom_iommu->dev->of_node, child) child 789 drivers/iommu/qcom_iommu.c if (of_device_is_compatible(child, "qcom,msm-iommu-v1-sec")) child 797 drivers/iommu/qcom_iommu.c struct device_node *child; child 806 drivers/iommu/qcom_iommu.c for_each_child_of_node(dev->of_node, child) child 807 drivers/iommu/qcom_iommu.c max_asid = max(max_asid, get_asid(child)); child 420 drivers/irqchip/irq-gic-v2m.c struct device_node *child; child 422 drivers/irqchip/irq-gic-v2m.c for (child = of_find_matching_node(node, gicv2m_device_id); child; child 423 drivers/irqchip/irq-gic-v2m.c child = of_find_matching_node(child, gicv2m_device_id)) { child 427 drivers/irqchip/irq-gic-v2m.c if (!of_find_property(child, "msi-controller", NULL)) child 430 drivers/irqchip/irq-gic-v2m.c ret = of_address_to_resource(child, 0, &res); child 436 drivers/irqchip/irq-gic-v2m.c if (!of_property_read_u32(child, "arm,msi-base-spi", child 438 drivers/irqchip/irq-gic-v2m.c !of_property_read_u32(child, "arm,msi-num-spis", &nr_spis)) child 442 drivers/irqchip/irq-gic-v2m.c ret = gicv2m_init_one(&child->fwnode, spi_start, nr_spis, child 445 drivers/irqchip/irq-gic-v2m.c of_node_put(child); child 239 drivers/irqchip/irq-mbigen.c struct platform_device *child; child 249 drivers/irqchip/irq-mbigen.c child = of_platform_device_create(np, NULL, parent); child 250 drivers/irqchip/irq-mbigen.c if (!child) { child 255 drivers/irqchip/irq-mbigen.c if (of_property_read_u32(child->dev.of_node, "num-pins", child 262 drivers/irqchip/irq-mbigen.c domain = platform_msi_create_device_domain(&child->dev, num_pins, child 205 drivers/leds/leds-an30259a.c struct device_node *np = client->dev.of_node, *child; child 215 drivers/leds/leds-an30259a.c for_each_available_child_of_node(np, child) { child 218 drivers/leds/leds-an30259a.c ret = of_property_read_u32(child, "reg", &source); child 230 drivers/leds/leds-an30259a.c led->fwnode = of_fwnode_handle(child); child 232 drivers/leds/leds-an30259a.c if (!of_property_read_string(child, "default-state", &str)) { child 241 drivers/leds/leds-an30259a.c of_property_read_string(child, "linux,default-trigger", child 485 drivers/leds/leds-as3645a.c struct fwnode_handle *child; child 488 drivers/leds/leds-as3645a.c fwnode_for_each_child_node(fwnode, child) { child 491 drivers/leds/leds-as3645a.c fwnode_property_read_u32(child, "reg", &id); child 495 drivers/leds/leds-as3645a.c flash->flash_node = child; child 498 drivers/leds/leds-as3645a.c flash->indicator_node = child; child 505 drivers/leds/leds-as3645a.c fwnode_handle_get(child); child 348 drivers/leds/leds-bcm6328.c struct device_node *child; child 394 drivers/leds/leds-bcm6328.c for_each_available_child_of_node(np, child) { child 398 drivers/leds/leds-bcm6328.c if (of_property_read_u32(child, "reg", ®)) child 407 drivers/leds/leds-bcm6328.c if (of_property_read_bool(child, "brcm,hardware-controlled")) child 408 drivers/leds/leds-bcm6328.c rc = bcm6328_hwled(dev, child, reg, mem, lock); child 410 drivers/leds/leds-bcm6328.c rc = bcm6328_led(dev, child, reg, mem, lock, child 414 drivers/leds/leds-bcm6328.c of_node_put(child); child 153 drivers/leds/leds-bcm6358.c struct device_node *child; child 195 drivers/leds/leds-bcm6358.c for_each_available_child_of_node(np, child) { child 199 drivers/leds/leds-bcm6358.c if (of_property_read_u32(child, "reg", ®)) child 208 drivers/leds/leds-bcm6358.c rc = bcm6358_led(dev, child, reg, mem, lock); child 210 drivers/leds/leds-bcm6358.c of_node_put(child); child 184 drivers/leds/leds-cr0014114.c struct fwnode_handle *child; child 188 drivers/leds/leds-cr0014114.c device_for_each_child_node(priv->dev, child) { child 191 drivers/leds/leds-cr0014114.c fwnode_property_read_string(child, "linux,default-trigger", child 198 drivers/leds/leds-cr0014114.c init_data.fwnode = child; child 207 drivers/leds/leds-cr0014114.c fwnode_handle_put(child); child 137 drivers/leds/leds-gpio.c struct fwnode_handle *child; child 149 drivers/leds/leds-gpio.c device_for_each_child_node(dev, child) { child 159 drivers/leds/leds-gpio.c led.gpiod = devm_fwnode_get_gpiod_from_child(dev, NULL, child, child 163 drivers/leds/leds-gpio.c fwnode_handle_put(child); child 169 drivers/leds/leds-gpio.c fwnode_property_read_string(child, "linux,default-trigger", child 172 drivers/leds/leds-gpio.c if (!fwnode_property_read_string(child, "default-state", child 182 drivers/leds/leds-gpio.c if (fwnode_property_present(child, "retain-state-suspended")) child 184 drivers/leds/leds-gpio.c if (fwnode_property_present(child, "retain-state-shutdown")) child 186 drivers/leds/leds-gpio.c if (fwnode_property_present(child, "panic-indicator")) child 189 drivers/leds/leds-gpio.c ret = create_gpio_led(&led, led_dat, dev, child, NULL); child 191 drivers/leds/leds-gpio.c fwnode_handle_put(child); child 172 drivers/leds/leds-is31fl319x.c const struct device_node *child, child 178 drivers/leds/leds-is31fl319x.c if (of_property_read_string(child, "label", &cdev->name)) child 179 drivers/leds/leds-is31fl319x.c cdev->name = child->name; child 181 drivers/leds/leds-is31fl319x.c ret = of_property_read_string(child, "linux,default-trigger", child 187 drivers/leds/leds-is31fl319x.c ret = of_property_read_u32(child, "led-max-microamp", child 202 drivers/leds/leds-is31fl319x.c struct device_node *np = dev->of_node, *child; child 229 drivers/leds/leds-is31fl319x.c for_each_child_of_node(np, child) { child 233 drivers/leds/leds-is31fl319x.c ret = of_property_read_u32(child, "reg", ®); child 253 drivers/leds/leds-is31fl319x.c ret = is31fl319x_parse_child_dt(dev, child, led); child 271 drivers/leds/leds-is31fl319x.c of_node_put(child); child 328 drivers/leds/leds-is31fl32xx.c const struct device_node *child, child 335 drivers/leds/leds-is31fl32xx.c if (of_property_read_string(child, "label", &cdev->name)) child 336 drivers/leds/leds-is31fl32xx.c cdev->name = child->name; child 338 drivers/leds/leds-is31fl32xx.c ret = of_property_read_u32(child, "reg", ®); child 342 drivers/leds/leds-is31fl32xx.c child); child 347 drivers/leds/leds-is31fl32xx.c of_property_read_string(child, "linux,default-trigger", child 372 drivers/leds/leds-is31fl32xx.c struct device_node *child; child 375 drivers/leds/leds-is31fl32xx.c for_each_child_of_node(dev->of_node, child) { child 382 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_parse_child_dt(dev, child, led_data); child 411 drivers/leds/leds-is31fl32xx.c of_node_put(child); child 548 drivers/leds/leds-lm3532.c struct fwnode_handle *child = NULL; child 579 drivers/leds/leds-lm3532.c device_for_each_child_node(priv->dev, child) { child 582 drivers/leds/leds-lm3532.c ret = fwnode_property_read_u32(child, "reg", &control_bank); child 585 drivers/leds/leds-lm3532.c fwnode_handle_put(child); child 596 drivers/leds/leds-lm3532.c ret = fwnode_property_read_u32(child, "ti,led-mode", child 600 drivers/leds/leds-lm3532.c fwnode_handle_put(child); child 604 drivers/leds/leds-lm3532.c if (fwnode_property_present(child, "led-max-microamp") && child 605 drivers/leds/leds-lm3532.c fwnode_property_read_u32(child, "led-max-microamp", child 624 drivers/leds/leds-lm3532.c led->num_leds = fwnode_property_count_u32(child, "led-sources"); child 630 drivers/leds/leds-lm3532.c ret = fwnode_property_read_u32_array(child, "led-sources", child 635 drivers/leds/leds-lm3532.c fwnode_handle_put(child); child 639 drivers/leds/leds-lm3532.c fwnode_property_read_string(child, "linux,default-trigger", child 642 drivers/leds/leds-lm3532.c ret = fwnode_property_read_string(child, "label", &name); child 658 drivers/leds/leds-lm3532.c fwnode_handle_put(child); child 666 drivers/leds/leds-lm3532.c fwnode_handle_put(child); child 361 drivers/leds/leds-lm3601x.c struct fwnode_handle *child = NULL; child 364 drivers/leds/leds-lm3601x.c child = device_get_next_child_node(&led->client->dev, child); child 365 drivers/leds/leds-lm3601x.c if (!child) { child 370 drivers/leds/leds-lm3601x.c ret = fwnode_property_read_u32(child, "reg", &led->led_mode); child 383 drivers/leds/leds-lm3601x.c ret = fwnode_property_read_u32(child, "led-max-microamp", child 391 drivers/leds/leds-lm3601x.c ret = fwnode_property_read_u32(child, "flash-max-microamp", child 399 drivers/leds/leds-lm3601x.c ret = fwnode_property_read_u32(child, "flash-max-timeout-us", child 407 drivers/leds/leds-lm3601x.c *fwnode = child; child 410 drivers/leds/leds-lm3601x.c fwnode_handle_put(child); child 72 drivers/leds/leds-lm36274.c struct fwnode_handle *child = NULL; child 84 drivers/leds/leds-lm36274.c device_for_each_child_node(dev, child) { child 85 drivers/leds/leds-lm36274.c ret = fwnode_property_read_string(child, "label", &name); child 93 drivers/leds/leds-lm36274.c lm36274_data->num_leds = fwnode_property_count_u32(child, "led-sources"); child 97 drivers/leds/leds-lm36274.c ret = fwnode_property_read_u32_array(child, "led-sources", child 105 drivers/leds/leds-lm36274.c fwnode_property_read_string(child, "linux,default-trigger", child 324 drivers/leds/leds-lm3692x.c struct fwnode_handle *child = NULL; child 350 drivers/leds/leds-lm3692x.c child = device_get_next_child_node(&led->client->dev, child); child 351 drivers/leds/leds-lm3692x.c if (!child) { child 356 drivers/leds/leds-lm3692x.c fwnode_property_read_string(child, "linux,default-trigger", child 359 drivers/leds/leds-lm3692x.c ret = fwnode_property_read_u32(child, "reg", &led->led_enable); child 365 drivers/leds/leds-lm3692x.c init_data.fwnode = child; child 195 drivers/leds/leds-lm3697.c struct fwnode_handle *child = NULL; child 216 drivers/leds/leds-lm3697.c device_for_each_child_node(priv->dev, child) { child 217 drivers/leds/leds-lm3697.c ret = fwnode_property_read_u32(child, "reg", &control_bank); child 220 drivers/leds/leds-lm3697.c fwnode_handle_put(child); child 227 drivers/leds/leds-lm3697.c fwnode_handle_put(child); child 234 drivers/leds/leds-lm3697.c child, &led->lmu_data); child 247 drivers/leds/leds-lm3697.c led->num_leds = fwnode_property_count_u32(child, "led-sources"); child 253 drivers/leds/leds-lm3697.c ret = fwnode_property_read_u32_array(child, "led-sources", child 258 drivers/leds/leds-lm3697.c fwnode_handle_put(child); child 267 drivers/leds/leds-lm3697.c child, &led->lmu_data); child 271 drivers/leds/leds-lm3697.c fwnode_property_read_string(child, "linux,default-trigger", child 274 drivers/leds/leds-lm3697.c ret = fwnode_property_read_string(child, "label", &name); child 291 drivers/leds/leds-lm3697.c fwnode_handle_put(child); child 544 drivers/leds/leds-lp55xx-common.c struct device_node *child; child 567 drivers/leds/leds-lp55xx-common.c for_each_child_of_node(np, child) { child 570 drivers/leds/leds-lp55xx-common.c of_property_read_string(child, "chan-name", &cfg[i].name); child 571 drivers/leds/leds-lp55xx-common.c of_property_read_u8(child, "led-cur", &cfg[i].led_current); child 572 drivers/leds/leds-lp55xx-common.c of_property_read_u8(child, "max-cur", &cfg[i].max_current); child 574 drivers/leds/leds-lp55xx-common.c of_get_property(child, "linux,default-trigger", NULL); child 67 drivers/leds/leds-lt3593.c struct fwnode_handle *child; child 88 drivers/leds/leds-lt3593.c child = device_get_next_child_node(dev, NULL); child 90 drivers/leds/leds-lt3593.c fwnode_property_read_string(child, "linux,default-trigger", child 93 drivers/leds/leds-lt3593.c if (!fwnode_property_read_string(child, "default-state", &tmp)) { child 101 drivers/leds/leds-lt3593.c init_data.fwnode = child; child 107 drivers/leds/leds-lt3593.c fwnode_handle_put(child); child 65 drivers/leds/leds-max77650.c struct fwnode_handle *child; child 88 drivers/leds/leds-max77650.c device_for_each_child_node(dev, child) { child 89 drivers/leds/leds-max77650.c rv = fwnode_property_read_u32(child, "reg", ®); child 102 drivers/leds/leds-max77650.c rv = fwnode_property_read_string(child, "label", &label); child 114 drivers/leds/leds-max77650.c fwnode_property_read_string(child, "linux,default-trigger", child 134 drivers/leds/leds-max77650.c fwnode_handle_put(child); child 116 drivers/leds/leds-mc13783.c struct device_node *parent, *child; child 143 drivers/leds/leds-mc13783.c for_each_child_of_node(parent, child) { child 147 drivers/leds/leds-mc13783.c if (of_property_read_u32(child, "reg", &tmp)) child 151 drivers/leds/leds-mc13783.c if (!of_property_read_string(child, "label", &str)) child 153 drivers/leds/leds-mc13783.c if (!of_property_read_string(child, "linux,default-trigger", child 373 drivers/leds/leds-mt6323.c struct device_node *child; child 404 drivers/leds/leds-mt6323.c for_each_available_child_of_node(np, child) { child 405 drivers/leds/leds-mt6323.c ret = of_property_read_u32(child, "reg", ®); child 433 drivers/leds/leds-mt6323.c ret = mt6323_led_set_dt_default(&leds->led[reg]->cdev, child); child 446 drivers/leds/leds-mt6323.c leds->led[reg]->cdev.dev->of_node = child; child 452 drivers/leds/leds-mt6323.c of_node_put(child); child 414 drivers/leds/leds-netxbig.c struct device_node *child; child 481 drivers/leds/leds-netxbig.c for_each_child_of_node(np, child) { child 486 drivers/leds/leds-netxbig.c ret = of_property_read_u32(child, "mode-addr", child 491 drivers/leds/leds-netxbig.c ret = of_property_read_u32(child, "bright-addr", child 496 drivers/leds/leds-netxbig.c ret = of_property_read_u32(child, "max-brightness", child 513 drivers/leds/leds-netxbig.c ret = of_property_count_u32_elems(child, "mode-val"); child 528 drivers/leds/leds-netxbig.c of_property_read_u32_index(child, child 530 drivers/leds/leds-netxbig.c of_property_read_u32_index(child, child 540 drivers/leds/leds-netxbig.c if (!of_property_read_string(child, "label", &string)) child 543 drivers/leds/leds-netxbig.c led->name = child->name; child 545 drivers/leds/leds-netxbig.c if (!of_property_read_string(child, child 558 drivers/leds/leds-netxbig.c of_node_put(child); child 246 drivers/leds/leds-ns2.c struct device_node *child; child 260 drivers/leds/leds-ns2.c for_each_child_of_node(np, child) { child 265 drivers/leds/leds-ns2.c ret = of_get_named_gpio(child, "cmd-gpio", 0); child 269 drivers/leds/leds-ns2.c ret = of_get_named_gpio(child, "slow-gpio", 0); child 273 drivers/leds/leds-ns2.c ret = of_property_read_string(child, "label", &string); child 274 drivers/leds/leds-ns2.c led->name = (ret == 0) ? string : child->name; child 275 drivers/leds/leds-ns2.c ret = of_property_read_string(child, "linux,default-trigger", child 280 drivers/leds/leds-ns2.c ret = of_property_count_u32_elems(child, "modes-map"); child 299 drivers/leds/leds-ns2.c of_property_read_u32_index(child, child 302 drivers/leds/leds-ns2.c of_property_read_u32_index(child, child 305 drivers/leds/leds-ns2.c of_property_read_u32_index(child, child 322 drivers/leds/leds-ns2.c of_node_put(child); child 469 drivers/leds/leds-pca9532.c struct device_node *child; child 486 drivers/leds/leds-pca9532.c for_each_child_of_node(np, child) { child 487 drivers/leds/leds-pca9532.c if (of_property_read_string(child, "label", child 489 drivers/leds/leds-pca9532.c pdata->leds[i].name = child->name; child 490 drivers/leds/leds-pca9532.c of_property_read_u32(child, "type", &pdata->leds[i].type); child 491 drivers/leds/leds-pca9532.c of_property_read_string(child, "linux,default-trigger", child 493 drivers/leds/leds-pca9532.c if (!of_property_read_string(child, "default-state", &state)) { child 500 drivers/leds/leds-pca9532.c of_node_put(child); child 367 drivers/leds/leds-pca955x.c struct fwnode_handle *child; child 384 drivers/leds/leds-pca955x.c device_for_each_child_node(&client->dev, child) { child 389 drivers/leds/leds-pca955x.c res = fwnode_property_read_u32(child, "reg", ®); child 393 drivers/leds/leds-pca955x.c res = fwnode_property_read_string(child, "label", &name); child 394 drivers/leds/leds-pca955x.c if ((res != 0) && is_of_node(child)) child 395 drivers/leds/leds-pca955x.c name = to_of_node(child)->name; child 401 drivers/leds/leds-pca955x.c fwnode_property_read_u32(child, "type", &pdata->leds[reg].type); child 402 drivers/leds/leds-pca955x.c fwnode_property_read_string(child, "linux,default-trigger", child 285 drivers/leds/leds-pca963x.c struct fwnode_handle *child; child 297 drivers/leds/leds-pca963x.c device_for_each_child_node(&client->dev, child) { child 302 drivers/leds/leds-pca963x.c res = fwnode_property_read_u32(child, "reg", ®); child 306 drivers/leds/leds-pca963x.c res = fwnode_property_read_string(child, "label", &led.name); child 307 drivers/leds/leds-pca963x.c if ((res != 0) && is_of_node(child)) child 308 drivers/leds/leds-pca963x.c led.name = to_of_node(child)->name; child 310 drivers/leds/leds-pca963x.c fwnode_property_read_string(child, "linux,default-trigger", child 279 drivers/leds/leds-sc27xx-bltc.c struct device_node *np = dev->of_node, *child; child 308 drivers/leds/leds-sc27xx-bltc.c for_each_child_of_node(np, child) { child 309 drivers/leds/leds-sc27xx-bltc.c err = of_property_read_u32(child, "reg", ®); child 311 drivers/leds/leds-sc27xx-bltc.c of_node_put(child); child 317 drivers/leds/leds-sc27xx-bltc.c of_node_put(child); child 322 drivers/leds/leds-sc27xx-bltc.c priv->leds[reg].fwnode = of_fwnode_handle(child); child 84 drivers/leds/leds-spi-byte.c struct device_node *child; child 99 drivers/leds/leds-spi-byte.c child = of_get_next_child(dev->of_node, NULL); child 105 drivers/leds/leds-spi-byte.c of_property_read_string(child, "label", &name); child 115 drivers/leds/leds-spi-byte.c state = of_get_property(child, "default-state", NULL); child 692 drivers/leds/leds-tca6507.c struct device_node *np = client->dev.of_node, *child; child 706 drivers/leds/leds-tca6507.c for_each_child_of_node(np, child) { child 712 drivers/leds/leds-tca6507.c of_get_property(child, "label", NULL) ? : child->name; child 714 drivers/leds/leds-tca6507.c of_get_property(child, "linux,default-trigger", NULL); child 716 drivers/leds/leds-tca6507.c if (of_property_match_string(child, "compatible", "gpio") >= 0) child 718 drivers/leds/leds-tca6507.c ret = of_property_read_u32(child, "reg", ®); child 105 drivers/leds/leds-ti-lmu-common.c struct fwnode_handle *child, child 110 drivers/leds/leds-ti-lmu-common.c ret = fwnode_property_read_u32(child, "ramp-up-us", child 116 drivers/leds/leds-ti-lmu-common.c ret = fwnode_property_read_u32(child, "ramp-down-us", child 125 drivers/leds/leds-ti-lmu-common.c int ti_lmu_common_get_brt_res(struct device *dev, struct fwnode_handle *child, child 133 drivers/leds/leds-ti-lmu-common.c ret = fwnode_property_read_u32(child, child 196 drivers/leds/leds-tlc591xx.c struct device_node *np = client->dev.of_node, *child; child 229 drivers/leds/leds-tlc591xx.c for_each_child_of_node(np, child) { child 230 drivers/leds/leds-tlc591xx.c err = of_property_read_u32(child, "reg", ®); child 232 drivers/leds/leds-tlc591xx.c of_node_put(child); child 237 drivers/leds/leds-tlc591xx.c of_node_put(child); child 242 drivers/leds/leds-tlc591xx.c of_get_property(child, "label", NULL) ? : child->name; child 244 drivers/leds/leds-tlc591xx.c of_get_property(child, "linux,default-trigger", NULL); child 249 drivers/macintosh/mac_hid.c .child = mac_hid_files, child 260 drivers/macintosh/mac_hid.c .child = mac_hid_dir, child 201 drivers/macintosh/windfarm_smu_sat.c struct device_node *child; child 219 drivers/macintosh/windfarm_smu_sat.c child = NULL; child 220 drivers/macintosh/windfarm_smu_sat.c while ((child = of_get_next_child(dev, child)) != NULL) { child 221 drivers/macintosh/windfarm_smu_sat.c reg = of_get_property(child, "reg", NULL); child 222 drivers/macintosh/windfarm_smu_sat.c loc = of_get_property(child, "location", NULL); child 238 drivers/macintosh/windfarm_smu_sat.c "location %s for %pOF\n", loc, child); child 250 drivers/macintosh/windfarm_smu_sat.c if (of_node_is_type(child, "voltage-sensor")) { child 254 drivers/macintosh/windfarm_smu_sat.c } else if (of_node_is_type(child, "current-sensor")) { child 258 drivers/macintosh/windfarm_smu_sat.c } else if (of_node_is_type(child, "temp-sensor")) { child 706 drivers/mailbox/omap-mailbox.c struct device_node *child; child 742 drivers/mailbox/omap-mailbox.c child = NULL; child 744 drivers/mailbox/omap-mailbox.c child = of_get_next_available_child(node, child); child 745 drivers/mailbox/omap-mailbox.c ret = of_property_read_u32_array(child, "ti,mbox-tx", tmp, child 753 drivers/mailbox/omap-mailbox.c ret = of_property_read_u32_array(child, "ti,mbox-rx", tmp, child 761 drivers/mailbox/omap-mailbox.c finfo->name = child->name; child 763 drivers/mailbox/omap-mailbox.c if (of_find_property(child, "ti,mbox-send-noirq", NULL)) child 224 drivers/md/md.c .child = raid_table, child 234 drivers/md/md.c .child = raid_dir_table, child 144 drivers/md/persistent-data/dm-btree-remove.c unsigned index, struct child *result) child 168 drivers/md/persistent-data/dm-btree-remove.c static void exit_child(struct dm_btree_info *info, struct child *c) child 200 drivers/md/persistent-data/dm-btree-remove.c struct child *l, struct child *r) child 242 drivers/md/persistent-data/dm-btree-remove.c struct child left, right; child 270 drivers/md/persistent-data/dm-btree-remove.c struct child *l, struct child *c, struct child *r, child 301 drivers/md/persistent-data/dm-btree-remove.c struct child *l, struct child *c, struct child *r, child 348 drivers/md/persistent-data/dm-btree-remove.c struct child *l, struct child *c, struct child *r) child 376 drivers/md/persistent-data/dm-btree-remove.c struct child left, center, right; child 417 drivers/md/persistent-data/dm-btree-remove.c struct dm_block *child; child 420 drivers/md/persistent-data/dm-btree-remove.c r = dm_tm_read_lock(info->tm, b, &btree_node_validator, &child); child 424 drivers/md/persistent-data/dm-btree-remove.c memcpy(n, dm_block_data(child), child 426 drivers/md/persistent-data/dm-btree-remove.c dm_tm_unlock(info->tm, child); child 428 drivers/md/persistent-data/dm-btree-remove.c dm_tm_dec(info->tm, dm_block_location(child)); child 416 drivers/media/i2c/adp1653.c struct device_node *child; child 423 drivers/media/i2c/adp1653.c child = of_get_child_by_name(node, "flash"); child 424 drivers/media/i2c/adp1653.c if (!child) child 427 drivers/media/i2c/adp1653.c if (of_property_read_u32(child, "flash-timeout-us", child 431 drivers/media/i2c/adp1653.c if (of_property_read_u32(child, "flash-max-microamp", child 437 drivers/media/i2c/adp1653.c if (of_property_read_u32(child, "led-max-microamp", child 442 drivers/media/i2c/adp1653.c of_node_put(child); child 444 drivers/media/i2c/adp1653.c child = of_get_child_by_name(node, "indicator"); child 445 drivers/media/i2c/adp1653.c if (!child) child 448 drivers/media/i2c/adp1653.c if (of_property_read_u32(child, "led-max-microamp", child 452 drivers/media/i2c/adp1653.c of_node_put(child); child 463 drivers/media/i2c/adp1653.c of_node_put(child); child 1599 drivers/media/i2c/tvp5150.c struct device_node *connectors, *child; child 1633 drivers/media/i2c/tvp5150.c for_each_available_child_of_node(connectors, child) { child 1634 drivers/media/i2c/tvp5150.c ret = of_property_read_u32(child, "input", &input_type); child 1638 drivers/media/i2c/tvp5150.c child); child 1639 drivers/media/i2c/tvp5150.c of_node_put(child); child 1645 drivers/media/i2c/tvp5150.c of_node_put(child); child 1656 drivers/media/i2c/tvp5150.c of_node_put(child); child 1673 drivers/media/i2c/tvp5150.c ret = of_property_read_string(child, "label", &name); child 1677 drivers/media/i2c/tvp5150.c child); child 1678 drivers/media/i2c/tvp5150.c of_node_put(child); child 204 drivers/media/platform/exynos4-is/fimc-is.c struct device_node *i2c_bus, *child; child 212 drivers/media/platform/exynos4-is/fimc-is.c for_each_available_child_of_node(i2c_bus, child) { child 213 drivers/media/platform/exynos4-is/fimc-is.c ret = fimc_is_parse_sensor_config(is, index, child); child 216 drivers/media/platform/exynos4-is/fimc-is.c of_node_put(child); child 1079 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *child; child 1082 drivers/media/platform/s5p-mfc/s5p_mfc.c child = devm_kzalloc(dev, sizeof(*child), GFP_KERNEL); child 1083 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!child) child 1086 drivers/media/platform/s5p-mfc/s5p_mfc.c device_initialize(child); child 1087 drivers/media/platform/s5p-mfc/s5p_mfc.c dev_set_name(child, "%s:%s", dev_name(dev), name); child 1088 drivers/media/platform/s5p-mfc/s5p_mfc.c child->parent = dev; child 1089 drivers/media/platform/s5p-mfc/s5p_mfc.c child->coherent_dma_mask = dev->coherent_dma_mask; child 1090 drivers/media/platform/s5p-mfc/s5p_mfc.c child->dma_mask = dev->dma_mask; child 1091 drivers/media/platform/s5p-mfc/s5p_mfc.c child->release = s5p_mfc_memdev_release; child 1098 drivers/media/platform/s5p-mfc/s5p_mfc.c of_dma_configure(child, dev->of_node, true); child 1100 drivers/media/platform/s5p-mfc/s5p_mfc.c if (device_add(child) == 0) { child 1101 drivers/media/platform/s5p-mfc/s5p_mfc.c ret = of_reserved_mem_device_init_by_idx(child, dev->of_node, child 1104 drivers/media/platform/s5p-mfc/s5p_mfc.c return child; child 1105 drivers/media/platform/s5p-mfc/s5p_mfc.c device_del(child); child 1108 drivers/media/platform/s5p-mfc/s5p_mfc.c put_device(child); child 669 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c struct device_node *child, *np = dev->of_node; child 761 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for_each_child_of_node(np, child) { child 777 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c ret = of_property_read_u32(child, "tsin-num", &tsin->tsin_id); child 792 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->invert_ts_clk = of_property_read_bool(child, child 795 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->serial_not_parallel = of_property_read_bool(child, child 798 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->async_not_sync = of_property_read_bool(child, child 801 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c ret = of_property_read_u32(child, "dvb-card", child 808 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c i2c_bus = of_parse_phandle(child, "i2c-bus", 0); child 824 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->rst_gpio = of_get_named_gpio(child, "reset-gpios", 0); child 929 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c struct device_node *child, *np = fei->dev->of_node; child 932 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for_each_child_of_node(np, child) { child 959 drivers/media/v4l2-core/v4l2-fwnode.c struct fwnode_handle *child; child 982 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_for_each_child_node(fwnode, child) { child 983 drivers/media/v4l2-core/v4l2-fwnode.c if (fwnode_property_read_u32(child, *props, &val)) child 994 drivers/media/v4l2-core/v4l2-fwnode.c if (!child) { child 1001 drivers/media/v4l2-core/v4l2-fwnode.c fwnode = child; child 518 drivers/memory/atmel-ebi.c struct device_node *child, *np = dev->of_node, *smc_np; child 594 drivers/memory/atmel-ebi.c for_each_available_child_of_node(np, child) { child 595 drivers/memory/atmel-ebi.c if (!of_find_property(child, "reg", NULL)) child 598 drivers/memory/atmel-ebi.c ret = atmel_ebi_dev_setup(ebi, child, reg_cells); child 601 drivers/memory/atmel-ebi.c child); child 603 drivers/memory/atmel-ebi.c ret = atmel_ebi_dev_disable(ebi, child); child 273 drivers/memory/jz4780-nemc.c struct device_node *child; child 324 drivers/memory/jz4780-nemc.c for_each_child_of_node(nemc->dev->of_node, child) { child 327 drivers/memory/jz4780-nemc.c while ((prop = of_get_address(child, i++, NULL, NULL))) { child 332 drivers/memory/jz4780-nemc.c child, bank); child 344 drivers/memory/jz4780-nemc.c child); child 348 drivers/memory/jz4780-nemc.c child); child 354 drivers/memory/jz4780-nemc.c if (!jz4780_nemc_configure_bank(nemc, bank, child)) { child 361 drivers/memory/jz4780-nemc.c if (of_platform_device_create(child, NULL, nemc->dev)) child 2032 drivers/memory/omap-gpmc.c struct device_node *child) child 2044 drivers/memory/omap-gpmc.c if (of_property_read_u32(child, "reg", &cs) < 0) { child 2046 drivers/memory/omap-gpmc.c child); child 2050 drivers/memory/omap-gpmc.c if (of_address_to_resource(child, 0, &res) < 0) { child 2052 drivers/memory/omap-gpmc.c child); child 2062 drivers/memory/omap-gpmc.c if (name && of_node_name_eq(child, name)) child 2070 drivers/memory/omap-gpmc.c gpmc_cs_set_name(cs, child->full_name); child 2072 drivers/memory/omap-gpmc.c gpmc_read_settings_dt(child, &gpmc_s); child 2073 drivers/memory/omap-gpmc.c gpmc_read_timings_dt(child, &gpmc_t); child 2115 drivers/memory/omap-gpmc.c if (of_node_name_eq(child, "nand")) { child 2117 drivers/memory/omap-gpmc.c if (!of_property_read_bool(child, "compatible")) { child 2125 drivers/memory/omap-gpmc.c if (of_node_name_eq(child, "onenand")) { child 2127 drivers/memory/omap-gpmc.c if (!of_property_read_bool(child, "compatible")) { child 2135 drivers/memory/omap-gpmc.c if (of_device_is_compatible(child, "ti,omap2-nand")) { child 2138 drivers/memory/omap-gpmc.c of_property_read_u32(child, "nand-bus-width", &val); child 2148 drivers/memory/omap-gpmc.c child); child 2157 drivers/memory/omap-gpmc.c ret = of_property_read_u32(child, "bank-width", child 2162 drivers/memory/omap-gpmc.c child); child 2191 drivers/memory/omap-gpmc.c child); child 2206 drivers/memory/omap-gpmc.c if (!of_platform_device_create(child, NULL, &pdev->dev)) child 2210 drivers/memory/omap-gpmc.c if (of_match_node(of_default_bus_match_table, child)) child 2212 drivers/memory/omap-gpmc.c if (of_platform_default_populate(child, NULL, &pdev->dev)) child 2219 drivers/memory/omap-gpmc.c dev_err(&pdev->dev, "failed to create gpmc child %pOFn\n", child); child 2266 drivers/memory/omap-gpmc.c struct device_node *child; child 2268 drivers/memory/omap-gpmc.c for_each_available_child_of_node(pdev->dev.of_node, child) { child 2269 drivers/memory/omap-gpmc.c ret = gpmc_probe_generic_child(pdev, child); child 2272 drivers/memory/omap-gpmc.c child, ret); child 352 drivers/memory/pl353-smc.c struct device_node *child; child 401 drivers/memory/pl353-smc.c for_each_available_child_of_node(of_node, child) { child 402 drivers/memory/pl353-smc.c match = of_match_node(pl353_smc_supported_children, child); child 416 drivers/memory/pl353-smc.c init(adev, child); child 417 drivers/memory/pl353-smc.c of_platform_device_create(child, NULL, &adev->dev); child 107 drivers/memory/samsung/exynos-srom.c struct device_node *np, *child; child 139 drivers/memory/samsung/exynos-srom.c for_each_child_of_node(np, child) { child 140 drivers/memory/samsung/exynos-srom.c if (exynos_srom_configure_bank(srom, child)) { child 143 drivers/memory/samsung/exynos-srom.c child); child 378 drivers/memory/tegra/mc.c struct device_node *child; child 390 drivers/memory/tegra/mc.c for_each_child_of_node(node, child) { child 393 drivers/memory/tegra/mc.c err = load_one_timing(mc, timing, child); child 395 drivers/memory/tegra/mc.c of_node_put(child); child 949 drivers/memory/tegra/tegra124-emc.c struct device_node *child; child 961 drivers/memory/tegra/tegra124-emc.c for_each_child_of_node(node, child) { child 964 drivers/memory/tegra/tegra124-emc.c err = load_one_timing_from_dt(emc, timing, child); child 966 drivers/memory/tegra/tegra124-emc.c of_node_put(child); child 336 drivers/memory/tegra/tegra20-emc.c struct device_node *child; child 355 drivers/memory/tegra/tegra20-emc.c for_each_child_of_node(node, child) { child 356 drivers/memory/tegra/tegra20-emc.c err = load_one_timing_from_dt(emc, timing++, child); child 358 drivers/memory/tegra/tegra20-emc.c of_node_put(child); child 251 drivers/mfd/dm355evm_msp.c struct device *child; child 294 drivers/mfd/dm355evm_msp.c child = add_child(client, "leds-gpio", child 297 drivers/mfd/dm355evm_msp.c if (IS_ERR(child)) child 298 drivers/mfd/dm355evm_msp.c return PTR_ERR(child); child 320 drivers/mfd/dm355evm_msp.c child = add_child(client, "rtc-dm355evm", child 322 drivers/mfd/dm355evm_msp.c if (IS_ERR(child)) child 323 drivers/mfd/dm355evm_msp.c return PTR_ERR(child); child 328 drivers/mfd/dm355evm_msp.c child = add_child(client, "dm355evm_keys", child 330 drivers/mfd/dm355evm_msp.c if (IS_ERR(child)) child 331 drivers/mfd/dm355evm_msp.c return PTR_ERR(child); child 83 drivers/mfd/mfd-core.c struct acpi_device *parent, *child; child 105 drivers/mfd/mfd-core.c list_for_each_entry(child, &parent->children, node) { child 106 drivers/mfd/mfd-core.c if (!acpi_match_device_ids(child, ids)) { child 107 drivers/mfd/mfd-core.c adev = child; child 115 drivers/mfd/mfd-core.c list_for_each_entry(child, &parent->children, node) { child 116 drivers/mfd/mfd-core.c status = acpi_evaluate_integer(child->handle, child 120 drivers/mfd/mfd-core.c adev = child; child 149 drivers/mfd/omap-usb-host.c struct platform_device *child; child 152 drivers/mfd/omap-usb-host.c child = platform_device_alloc(name, 0); child 154 drivers/mfd/omap-usb-host.c if (!child) { child 159 drivers/mfd/omap-usb-host.c ret = platform_device_add_resources(child, res, num_resources); child 165 drivers/mfd/omap-usb-host.c ret = platform_device_add_data(child, pdata, pdata_size); child 171 drivers/mfd/omap-usb-host.c child->dev.dma_mask = &usbhs_dmamask; child 172 drivers/mfd/omap-usb-host.c dma_set_coherent_mask(&child->dev, DMA_BIT_MASK(32)); child 173 drivers/mfd/omap-usb-host.c child->dev.parent = dev; child 175 drivers/mfd/omap-usb-host.c ret = platform_device_add(child); child 181 drivers/mfd/omap-usb-host.c return child; child 184 drivers/mfd/omap-usb-host.c platform_device_put(child); child 1342 drivers/mfd/stmpe.c struct device_node *child; child 1360 drivers/mfd/stmpe.c for_each_child_of_node(np, child) { child 1361 drivers/mfd/stmpe.c if (of_node_name_eq(child, "stmpe_gpio")) { child 1363 drivers/mfd/stmpe.c } else if (of_node_name_eq(child, "stmpe_keypad")) { child 1365 drivers/mfd/stmpe.c } else if (of_node_name_eq(child, "stmpe_touchscreen")) { child 1367 drivers/mfd/stmpe.c } else if (of_node_name_eq(child, "stmpe_adc")) { child 1369 drivers/mfd/stmpe.c } else if (of_node_name_eq(child, "stmpe_pwm")) { child 1371 drivers/mfd/stmpe.c } else if (of_node_name_eq(child, "stmpe_rotator")) { child 333 drivers/mfd/tc3589x.c struct device_node *child; child 345 drivers/mfd/tc3589x.c for_each_child_of_node(np, child) { child 346 drivers/mfd/tc3589x.c if (of_device_is_compatible(child, "toshiba,tc3589x-gpio")) child 348 drivers/mfd/tc3589x.c if (of_device_is_compatible(child, "toshiba,tc3589x-keypad")) child 711 drivers/mfd/twl-core.c struct device *child; child 714 drivers/mfd/twl-core.c child = add_child(TWL4030_MODULE_GPIO, "twl4030_gpio", child 717 drivers/mfd/twl-core.c if (IS_ERR(child)) child 718 drivers/mfd/twl-core.c return PTR_ERR(child); child 722 drivers/mfd/twl-core.c child = add_child(TWL4030_MODULE_KEYPAD, "twl4030_keypad", child 725 drivers/mfd/twl-core.c if (IS_ERR(child)) child 726 drivers/mfd/twl-core.c return PTR_ERR(child); child 731 drivers/mfd/twl-core.c child = add_child(TWL4030_MODULE_MADC, "twl4030_madc", child 734 drivers/mfd/twl-core.c if (IS_ERR(child)) child 735 drivers/mfd/twl-core.c return PTR_ERR(child); child 746 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_RTC, "twl_rtc", NULL, 0, child 748 drivers/mfd/twl-core.c if (IS_ERR(child)) child 749 drivers/mfd/twl-core.c return PTR_ERR(child); child 753 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_PWM, "twl-pwm", NULL, 0, child 755 drivers/mfd/twl-core.c if (IS_ERR(child)) child 756 drivers/mfd/twl-core.c return PTR_ERR(child); child 760 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_LED, "twl-pwmled", NULL, 0, child 762 drivers/mfd/twl-core.c if (IS_ERR(child)) child 763 drivers/mfd/twl-core.c return PTR_ERR(child); child 791 drivers/mfd/twl-core.c child = add_regulator_linked(TWL4030_REG_VUSB1V5, child 794 drivers/mfd/twl-core.c if (IS_ERR(child)) child 795 drivers/mfd/twl-core.c return PTR_ERR(child); child 797 drivers/mfd/twl-core.c child = add_regulator_linked(TWL4030_REG_VUSB1V8, child 800 drivers/mfd/twl-core.c if (IS_ERR(child)) child 801 drivers/mfd/twl-core.c return PTR_ERR(child); child 803 drivers/mfd/twl-core.c child = add_regulator_linked(TWL4030_REG_VUSB3V1, child 806 drivers/mfd/twl-core.c if (IS_ERR(child)) child 807 drivers/mfd/twl-core.c return PTR_ERR(child); child 811 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_USB, "twl4030_usb", child 817 drivers/mfd/twl-core.c if (IS_ERR(child)) child 818 drivers/mfd/twl-core.c return PTR_ERR(child); child 821 drivers/mfd/twl-core.c if (IS_ENABLED(CONFIG_REGULATOR_TWL4030) && child) { child 822 drivers/mfd/twl-core.c usb1v5.dev_name = dev_name(child); child 823 drivers/mfd/twl-core.c usb1v8.dev_name = dev_name(child); child 824 drivers/mfd/twl-core.c usb3v1.dev_name = dev_name(child); child 829 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_PM_RECEIVER, "twl4030_wdt", NULL, child 831 drivers/mfd/twl-core.c if (IS_ERR(child)) child 832 drivers/mfd/twl-core.c return PTR_ERR(child); child 836 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_PM_MASTER, "twl4030_pwrbutton", child 838 drivers/mfd/twl-core.c if (IS_ERR(child)) child 839 drivers/mfd/twl-core.c return PTR_ERR(child); child 844 drivers/mfd/twl-core.c child = add_child(TWL4030_MODULE_AUDIO_VOICE, "twl4030-audio", child 847 drivers/mfd/twl-core.c if (IS_ERR(child)) child 848 drivers/mfd/twl-core.c return PTR_ERR(child); child 853 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VPLL1, pdata->vpll1, child 855 drivers/mfd/twl-core.c if (IS_ERR(child)) child 856 drivers/mfd/twl-core.c return PTR_ERR(child); child 858 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VIO, pdata->vio, child 860 drivers/mfd/twl-core.c if (IS_ERR(child)) child 861 drivers/mfd/twl-core.c return PTR_ERR(child); child 863 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VDD1, pdata->vdd1, child 865 drivers/mfd/twl-core.c if (IS_ERR(child)) child 866 drivers/mfd/twl-core.c return PTR_ERR(child); child 868 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VDD2, pdata->vdd2, child 870 drivers/mfd/twl-core.c if (IS_ERR(child)) child 871 drivers/mfd/twl-core.c return PTR_ERR(child); child 873 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VMMC1, pdata->vmmc1, child 875 drivers/mfd/twl-core.c if (IS_ERR(child)) child 876 drivers/mfd/twl-core.c return PTR_ERR(child); child 878 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VDAC, pdata->vdac, child 880 drivers/mfd/twl-core.c if (IS_ERR(child)) child 881 drivers/mfd/twl-core.c return PTR_ERR(child); child 883 drivers/mfd/twl-core.c child = add_regulator((features & TWL4030_VAUX2) child 887 drivers/mfd/twl-core.c if (IS_ERR(child)) child 888 drivers/mfd/twl-core.c return PTR_ERR(child); child 890 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VINTANA1, pdata->vintana1, child 892 drivers/mfd/twl-core.c if (IS_ERR(child)) child 893 drivers/mfd/twl-core.c return PTR_ERR(child); child 895 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VINTANA2, pdata->vintana2, child 897 drivers/mfd/twl-core.c if (IS_ERR(child)) child 898 drivers/mfd/twl-core.c return PTR_ERR(child); child 900 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VINTDIG, pdata->vintdig, child 902 drivers/mfd/twl-core.c if (IS_ERR(child)) child 903 drivers/mfd/twl-core.c return PTR_ERR(child); child 909 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VPLL2, pdata->vpll2, child 911 drivers/mfd/twl-core.c if (IS_ERR(child)) child 912 drivers/mfd/twl-core.c return PTR_ERR(child); child 914 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VMMC2, pdata->vmmc2, child 916 drivers/mfd/twl-core.c if (IS_ERR(child)) child 917 drivers/mfd/twl-core.c return PTR_ERR(child); child 919 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VSIM, pdata->vsim, child 921 drivers/mfd/twl-core.c if (IS_ERR(child)) child 922 drivers/mfd/twl-core.c return PTR_ERR(child); child 924 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VAUX1, pdata->vaux1, child 926 drivers/mfd/twl-core.c if (IS_ERR(child)) child 927 drivers/mfd/twl-core.c return PTR_ERR(child); child 929 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VAUX3, pdata->vaux3, child 931 drivers/mfd/twl-core.c if (IS_ERR(child)) child 932 drivers/mfd/twl-core.c return PTR_ERR(child); child 934 drivers/mfd/twl-core.c child = add_regulator(TWL4030_REG_VAUX4, pdata->vaux4, child 936 drivers/mfd/twl-core.c if (IS_ERR(child)) child 937 drivers/mfd/twl-core.c return PTR_ERR(child); child 942 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_MAIN_CHARGE, "twl4030_bci", child 947 drivers/mfd/twl-core.c if (IS_ERR(child)) child 948 drivers/mfd/twl-core.c return PTR_ERR(child); child 952 drivers/mfd/twl-core.c child = add_child(TWL_MODULE_PM_MASTER, "twl4030_power", child 955 drivers/mfd/twl-core.c if (IS_ERR(child)) child 956 drivers/mfd/twl-core.c return PTR_ERR(child); child 118 drivers/misc/sgi-xp/xpc_main.c .child = xpc_sys_xpc_hb_dir}, child 133 drivers/misc/sgi-xp/xpc_main.c .child = xpc_sys_xpc_dir}, child 158 drivers/misc/sram.c struct device_node *np = sram->dev->of_node, *child; child 180 drivers/misc/sram.c for_each_available_child_of_node(np, child) { child 183 drivers/misc/sram.c ret = of_address_to_resource(child, 0, &child_res); child 187 drivers/misc/sram.c child); child 194 drivers/misc/sram.c child); child 203 drivers/misc/sram.c if (of_find_property(child, "export", NULL)) child 206 drivers/misc/sram.c if (of_find_property(child, "pool", NULL)) child 209 drivers/misc/sram.c if (of_find_property(child, "protect-exec", NULL)) child 217 drivers/misc/sram.c ret = of_property_read_string(child, "label", &label); child 221 drivers/misc/sram.c child); child 225 drivers/misc/sram.c label = child->name; child 244 drivers/misc/sram.c child = NULL; child 314 drivers/misc/sram.c of_node_put(child); child 679 drivers/mmc/host/sdhci-acpi.c struct acpi_device *device, *child; child 701 drivers/mmc/host/sdhci-acpi.c list_for_each_entry(child, &device->children, node) child 702 drivers/mmc/host/sdhci-acpi.c if (child->status.present && child->status.enabled) child 703 drivers/mmc/host/sdhci-acpi.c acpi_device_fix_up_power(child); child 240 drivers/mmc/host/sdhci-of-aspeed.c struct device_node *parent, *child; child 270 drivers/mmc/host/sdhci-of-aspeed.c for_each_available_child_of_node(parent, child) { child 273 drivers/mmc/host/sdhci-of-aspeed.c cpdev = of_platform_device_create(child, NULL, &pdev->dev); child 275 drivers/mmc/host/sdhci-of-aspeed.c of_node_put(child); child 1122 drivers/mmc/host/sdhci-pci-core.c struct acpi_device *device, *child; child 1129 drivers/mmc/host/sdhci-pci-core.c list_for_each_entry(child, &device->children, node) child 1130 drivers/mmc/host/sdhci-pci-core.c if (child->status.present && child->status.enabled) child 1131 drivers/mmc/host/sdhci-pci-core.c acpi_device_fix_up_power(child); child 639 drivers/mtd/mtdpart.c struct mtd_part *child, *next; child 642 drivers/mtd/mtdpart.c list_for_each_entry_safe(child, next, &mtd_partitions, list) { child 643 drivers/mtd/mtdpart.c if (child->parent == &priv->mtd) { child 644 drivers/mtd/mtdpart.c err = __mtd_del_partition(child); child 2543 drivers/mtd/nand/raw/brcmnand/brcmnand.c struct device_node *dn = dev->of_node, *child; child 2699 drivers/mtd/nand/raw/brcmnand/brcmnand.c for_each_available_child_of_node(dn, child) { child 2700 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (of_device_is_compatible(child, "brcm,nandcs")) { child 2705 drivers/mtd/nand/raw/brcmnand/brcmnand.c of_node_put(child); child 2712 drivers/mtd/nand/raw/brcmnand/brcmnand.c ret = brcmnand_init_cs(host, child); child 1752 drivers/mtd/nand/raw/omap2.c struct device_node *child = dev->of_node; child 1757 drivers/mtd/nand/raw/omap2.c if (of_property_read_u32(child, "reg", &cs) < 0) { child 1765 drivers/mtd/nand/raw/omap2.c info->elm_of_node = of_parse_phandle(child, "ti,elm-id", 0); child 1767 drivers/mtd/nand/raw/omap2.c info->elm_of_node = of_parse_phandle(child, "elm_id", 0); child 1773 drivers/mtd/nand/raw/omap2.c if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) { child 1801 drivers/mtd/nand/raw/omap2.c if (!of_property_read_string(child, "ti,nand-xfer-type", &s)) { child 2846 drivers/mtd/nand/raw/qcom_nandc.c struct device_node *dn = dev->of_node, *child; child 2850 drivers/mtd/nand/raw/qcom_nandc.c for_each_available_child_of_node(dn, child) { child 2853 drivers/mtd/nand/raw/qcom_nandc.c of_node_put(child); child 2857 drivers/mtd/nand/raw/qcom_nandc.c ret = qcom_nand_host_init_and_register(nandc, host, child); child 1025 drivers/mtd/nand/raw/s3c2410.c struct device_node *np = pdev->dev.of_node, *child; child 1051 drivers/mtd/nand/raw/s3c2410.c for_each_available_child_of_node(np, child) { child 1052 drivers/mtd/nand/raw/s3c2410.c sets->name = (char *)child->name; child 1053 drivers/mtd/nand/raw/s3c2410.c sets->of_node = child; child 1056 drivers/mtd/nand/raw/s3c2410.c of_node_get(child); child 1836 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct device_node *child; child 1850 drivers/mtd/nand/raw/stm32_fmc2_nand.c for_each_child_of_node(dn, child) { child 1851 drivers/mtd/nand/raw/stm32_fmc2_nand.c ret = stm32_fmc2_parse_child(fmc2, child); child 1853 drivers/mtd/nand/raw/stm32_fmc2_nand.c of_node_put(child); child 816 drivers/mtd/nand/raw/vf610_nfc.c struct device_node *child; child 858 drivers/mtd/nand/raw/vf610_nfc.c for_each_available_child_of_node(nfc->dev->of_node, child) { child 859 drivers/mtd/nand/raw/vf610_nfc.c if (of_device_is_compatible(child, "fsl,vf610-nfc-nandcs")) { child 865 drivers/mtd/nand/raw/vf610_nfc.c of_node_put(child); child 869 drivers/mtd/nand/raw/vf610_nfc.c nand_set_flash_node(chip, child); child 759 drivers/mtd/spi-nor/aspeed-smc.c struct device_node *child; child 763 drivers/mtd/spi-nor/aspeed-smc.c for_each_available_child_of_node(np, child) { child 769 drivers/mtd/spi-nor/aspeed-smc.c if (!of_device_is_compatible(child, "jedec,spi-nor")) child 772 drivers/mtd/spi-nor/aspeed-smc.c ret = of_property_read_u32(child, "reg", &cs); child 807 drivers/mtd/spi-nor/aspeed-smc.c spi_nor_set_flash_node(nor, child); child 840 drivers/mtd/spi-nor/aspeed-smc.c of_node_put(child); child 2902 drivers/net/dsa/mv88e6xxx/chip.c struct device_node *child; child 2909 drivers/net/dsa/mv88e6xxx/chip.c child = of_get_child_by_name(np, "mdio"); child 2910 drivers/net/dsa/mv88e6xxx/chip.c err = mv88e6xxx_mdio_register(chip, child, false); child 2918 drivers/net/dsa/mv88e6xxx/chip.c for_each_available_child_of_node(np, child) { child 2919 drivers/net/dsa/mv88e6xxx/chip.c match = of_match_node(mv88e6xxx_mdio_external_match, child); child 2921 drivers/net/dsa/mv88e6xxx/chip.c err = mv88e6xxx_mdio_register(chip, child, true); child 2924 drivers/net/dsa/mv88e6xxx/chip.c of_node_put(child); child 620 drivers/net/dsa/sja1105/sja1105_main.c struct device_node *child; child 622 drivers/net/dsa/sja1105/sja1105_main.c for_each_available_child_of_node(ports_node, child) { child 628 drivers/net/dsa/sja1105/sja1105_main.c if (of_property_read_u32(child, "reg", &index) < 0) { child 631 drivers/net/dsa/sja1105/sja1105_main.c of_node_put(child); child 636 drivers/net/dsa/sja1105/sja1105_main.c phy_mode = of_get_phy_mode(child); child 641 drivers/net/dsa/sja1105/sja1105_main.c of_node_put(child); child 646 drivers/net/dsa/sja1105/sja1105_main.c phy_node = of_parse_phandle(child, "phy-handle", 0); child 648 drivers/net/dsa/sja1105/sja1105_main.c if (!of_phy_is_fixed_link(child)) { child 651 drivers/net/dsa/sja1105/sja1105_main.c of_node_put(child); child 665 drivers/net/dsa/sja1105/sja1105_main.c if (of_property_read_bool(child, "sja1105,role-mac")) child 667 drivers/net/dsa/sja1105/sja1105_main.c else if (of_property_read_bool(child, "sja1105,role-phy")) child 585 drivers/net/ethernet/freescale/gianfar.c struct device_node *child; child 588 drivers/net/ethernet/freescale/gianfar.c for_each_available_child_of_node(np, child) child 589 drivers/net/ethernet/freescale/gianfar.c if (of_node_name_eq(child, "queue-group")) child 647 drivers/net/ethernet/freescale/gianfar.c struct device_node *child = NULL; child 749 drivers/net/ethernet/freescale/gianfar.c for_each_available_child_of_node(np, child) { child 750 drivers/net/ethernet/freescale/gianfar.c if (!of_node_name_eq(child, "queue-group")) child 753 drivers/net/ethernet/freescale/gianfar.c err = gfar_parse_group(child, priv, model); child 1064 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct fwnode_handle *child; child 1066 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c device_for_each_child_node(dsaf_dev->dev, child) { child 1067 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c ret = fwnode_property_read_u32(child, "reg", &port_id); child 1082 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->fw_port = child; child 1100 drivers/net/ethernet/intel/ice/ice_sched.c struct ice_sched_node *child = base->children[i]; child 1102 drivers/net/ethernet/intel/ice/ice_sched.c if (node == child) child 1105 drivers/net/ethernet/intel/ice/ice_sched.c if (child->tx_sched_layer > node->tx_sched_layer) child 1111 drivers/net/ethernet/intel/ice/ice_sched.c if (ice_sched_find_node_in_subtree(hw, child, node)) child 14 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c #define MLXSW_SP_PRIO_CHILD_TO_TCLASS(child) \ child 15 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c MLXSW_SP_PRIO_BAND_TO_TCLASS((child - 1)) child 34 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_alink_stats *child) child 36 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->tx_pkts += child->tx_pkts; child 37 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->tx_bytes += child->tx_bytes; child 38 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->backlog_pkts += child->backlog_pkts; child 39 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->backlog_bytes += child->backlog_bytes; child 40 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->overlimits += child->overlimits; child 41 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->drops += child->drops; child 236 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_qdisc *child = qdisc->children[i]; child 241 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_offload_compile_red(alink, child, i); child 433 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_qdisc *parent, *child; child 446 drivers/net/ethernet/netronome/nfp/abm/qdisc.c child = nfp_abm_qdisc_find(alink, child_handle); child 447 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (child) child 448 drivers/net/ethernet/netronome/nfp/abm/qdisc.c child->use_cnt++; child 450 drivers/net/ethernet/netronome/nfp/abm/qdisc.c child = NFP_QDISC_UNTRACKED; child 451 drivers/net/ethernet/netronome/nfp/abm/qdisc.c parent->children[id] = child; child 2559 drivers/net/ethernet/sun/sunhme.c static struct quattro *quattro_sbus_find(struct platform_device *child) child 2561 drivers/net/ethernet/sun/sunhme.c struct device *parent = child->dev.parent; child 2577 drivers/net/ethernet/sun/sunhme.c qp->quattro_dev = child; child 767 drivers/net/ethernet/sun/sunqe.c static struct sunqec *get_qec(struct platform_device *child) child 769 drivers/net/ethernet/sun/sunqe.c struct platform_device *op = to_platform_device(child->dev.parent); child 236 drivers/net/ethernet/ti/netcp_core.c struct device_node *child; child 250 drivers/net/ethernet/ti/netcp_core.c for_each_available_child_of_node(devices, child) { child 254 drivers/net/ethernet/ti/netcp_core.c if (of_property_read_string(child, "label", &name) < 0) { child 255 drivers/net/ethernet/ti/netcp_core.c snprintf(node_name, sizeof(node_name), "%pOFn", child); child 264 drivers/net/ethernet/ti/netcp_core.c if (!child) { child 271 drivers/net/ethernet/ti/netcp_core.c of_node_put(child); child 279 drivers/net/ethernet/ti/netcp_core.c ret = module->probe(netcp_device, dev, child, child 281 drivers/net/ethernet/ti/netcp_core.c of_node_put(child); child 2153 drivers/net/ethernet/ti/netcp_core.c struct device_node *child, *interfaces; child 2195 drivers/net/ethernet/ti/netcp_core.c for_each_available_child_of_node(interfaces, child) { child 2196 drivers/net/ethernet/ti/netcp_core.c ret = netcp_create_interface(netcp_device, child); child 2199 drivers/net/ethernet/ti/netcp_core.c child); child 162 drivers/net/phy/mdio-bcm-unimac.c struct device_node *child; child 169 drivers/net/phy/mdio-bcm-unimac.c for_each_available_child_of_node(np, child) { child 170 drivers/net/phy/mdio-bcm-unimac.c addr = of_mdio_parse_addr(&bus->dev, child); child 299 drivers/net/phy/mdio_bus.c struct device_node *child; child 304 drivers/net/phy/mdio_bus.c for_each_available_child_of_node(bus->dev.of_node, child) { child 307 drivers/net/phy/mdio_bus.c addr = of_mdio_parse_addr(dev, child); child 312 drivers/net/phy/mdio_bus.c dev->of_node = child; child 313 drivers/net/phy/mdio_bus.c dev->fwnode = of_fwnode_handle(child); child 50 drivers/net/wireless/ti/wlcore/sdio.c static void wl1271_sdio_set_block_size(struct device *child, child 53 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); child 61 drivers/net/wireless/ti/wlcore/sdio.c static int __must_check wl12xx_sdio_raw_read(struct device *child, int addr, child 65 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); child 72 drivers/net/wireless/ti/wlcore/sdio.c dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", child 80 drivers/net/wireless/ti/wlcore/sdio.c dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", child 87 drivers/net/wireless/ti/wlcore/sdio.c dev_err(child->parent, "sdio read failed (%d)\n", ret); child 99 drivers/net/wireless/ti/wlcore/sdio.c static int __must_check wl12xx_sdio_raw_write(struct device *child, int addr, child 103 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); child 117 drivers/net/wireless/ti/wlcore/sdio.c dev_dbg(child->parent, "sdio write 52 addr 0x%x, byte 0x%02x\n", child 120 drivers/net/wireless/ti/wlcore/sdio.c dev_dbg(child->parent, "sdio write 53 addr 0x%x, %zu bytes\n", child 132 drivers/net/wireless/ti/wlcore/sdio.c dev_err(child->parent, "sdio write failed (%d)\n", ret); child 179 drivers/net/wireless/ti/wlcore/sdio.c static int wl12xx_sdio_set_power(struct device *child, bool enable) child 181 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); child 90 drivers/net/wireless/ti/wlcore/spi.c static void wl12xx_spi_reset(struct device *child) child 92 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 99 drivers/net/wireless/ti/wlcore/spi.c dev_err(child->parent, child 118 drivers/net/wireless/ti/wlcore/spi.c static void wl12xx_spi_init(struct device *child) child 120 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 127 drivers/net/wireless/ti/wlcore/spi.c dev_err(child->parent, child 196 drivers/net/wireless/ti/wlcore/spi.c static int wl12xx_spi_read_busy(struct device *child) child 198 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 199 drivers/net/wireless/ti/wlcore/spi.c struct wl1271 *wl = dev_get_drvdata(child); child 227 drivers/net/wireless/ti/wlcore/spi.c dev_err(child->parent, "SPI read busy-word timeout!\n"); child 231 drivers/net/wireless/ti/wlcore/spi.c static int __must_check wl12xx_spi_raw_read(struct device *child, int addr, child 234 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 235 drivers/net/wireless/ti/wlcore/spi.c struct wl1271 *wl = dev_get_drvdata(child); child 274 drivers/net/wireless/ti/wlcore/spi.c wl12xx_spi_read_busy(child)) { child 298 drivers/net/wireless/ti/wlcore/spi.c static int __wl12xx_spi_raw_write(struct device *child, int addr, child 301 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 353 drivers/net/wireless/ti/wlcore/spi.c static int __must_check wl12xx_spi_raw_write(struct device *child, int addr, child 361 drivers/net/wireless/ti/wlcore/spi.c __wl12xx_spi_raw_write(child, addr, buf, len, fixed); child 363 drivers/net/wireless/ti/wlcore/spi.c return __wl12xx_spi_raw_write(child, addr, buf, len, fixed); child 373 drivers/net/wireless/ti/wlcore/spi.c static int wl12xx_spi_set_power(struct device *child, bool enable) child 376 drivers/net/wireless/ti/wlcore/spi.c struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); child 384 drivers/net/wireless/ti/wlcore/spi.c dev_err(child, "Power enable failure\n"); child 388 drivers/net/wireless/ti/wlcore/spi.c dev_err(child, "Power disable failure\n"); child 401 drivers/net/wireless/ti/wlcore/spi.c static void wl12xx_spi_set_block_size(struct device *child, child 184 drivers/net/wireless/ti/wlcore/wlcore_i.h int __must_check (*read)(struct device *child, int addr, void *buf, child 186 drivers/net/wireless/ti/wlcore/wlcore_i.h int __must_check (*write)(struct device *child, int addr, void *buf, child 188 drivers/net/wireless/ti/wlcore/wlcore_i.h void (*reset)(struct device *child); child 189 drivers/net/wireless/ti/wlcore/wlcore_i.h void (*init)(struct device *child); child 190 drivers/net/wireless/ti/wlcore/wlcore_i.h int (*power)(struct device *child, bool enable); child 191 drivers/net/wireless/ti/wlcore/wlcore_i.h void (*set_block_size) (struct device *child, unsigned int blksz); child 761 drivers/nvdimm/namespace_devs.c if ((is_pmem || !ndd->dpa.child) && n == to_allocate) child 97 drivers/nvdimm/nd.h for (res = (ndd)->dpa.child; res; res = res->sibling) child 100 drivers/nvdimm/nd.h for (res = (ndd)->dpa.child, next = res ? res->sibling : NULL; \ child 108 drivers/nvdimm/nd_virtio.c struct bio *child = bio_alloc(GFP_ATOMIC, 0); child 110 drivers/nvdimm/nd_virtio.c if (!child) child 112 drivers/nvdimm/nd_virtio.c bio_copy_dev(child, bio); child 113 drivers/nvdimm/nd_virtio.c child->bi_opf = REQ_PREFLUSH; child 114 drivers/nvdimm/nd_virtio.c child->bi_iter.bi_sector = -1; child 115 drivers/nvdimm/nd_virtio.c bio_chain(child, bio); child 116 drivers/nvdimm/nd_virtio.c submit_bio(child); child 292 drivers/nvmem/core.c struct device_node *parent, *child; child 300 drivers/nvmem/core.c for_each_child_of_node(parent, child) { child 301 drivers/nvmem/core.c addr = of_get_property(child, "reg", &len); child 303 drivers/nvmem/core.c dev_err(dev, "nvmem: invalid reg on %pOF\n", child); child 312 drivers/nvmem/core.c cell->np = of_node_get(child); child 315 drivers/nvmem/core.c cell->name = kasprintf(GFP_KERNEL, "%pOFn", child); child 317 drivers/nvmem/core.c addr = of_get_property(child, "bits", &len); child 45 drivers/of/address.c void (*count_cells)(struct device_node *child, child 333 drivers/of/address.c res->parent = res->child = res->sibling = NULL; child 377 drivers/of/address.c static void of_bus_isa_count_cells(struct device_node *child, child 292 drivers/of/base.c } else if (prev->child) { child 293 drivers/of/base.c np = prev->child; child 736 drivers/of/base.c next = prev ? prev->sibling : node->child; child 743 drivers/of/base.c #define __for_each_child_of_node(parent, child) \ child 744 drivers/of/base.c for (child = __of_get_next_child(parent, NULL); child != NULL; \ child 745 drivers/of/base.c child = __of_get_next_child(parent, child)) child 787 drivers/of/base.c next = prev ? prev->sibling : node->child; child 821 drivers/of/base.c next = node->child; child 851 drivers/of/base.c struct device_node *child; child 853 drivers/of/base.c for_each_child_of_node(parent, child) { child 854 drivers/of/base.c if (of_device_is_compatible(child, compatible)) child 858 drivers/of/base.c return child; child 876 drivers/of/base.c struct device_node *child; child 878 drivers/of/base.c for_each_child_of_node(node, child) child 879 drivers/of/base.c if (of_node_name_eq(child, name)) child 881 drivers/of/base.c return child; child 888 drivers/of/base.c struct device_node *child; child 895 drivers/of/base.c __for_each_child_of_node(parent, child) { child 896 drivers/of/base.c const char *name = kbasename(child->full_name); child 898 drivers/of/base.c return child; child 2196 drivers/of/base.c struct device_node *child, *cache_node; child 2209 drivers/of/base.c for_each_child_of_node(np, child) child 2210 drivers/of/base.c if (of_node_is_type(child, "cache")) child 2211 drivers/of/base.c return child; child 224 drivers/of/dynamic.c np->child = NULL; child 225 drivers/of/dynamic.c np->sibling = np->parent->child; child 226 drivers/of/dynamic.c np->parent->child = np; child 265 drivers/of/dynamic.c if (parent->child == np) child 266 drivers/of/dynamic.c parent->child = np->sibling; child 269 drivers/of/dynamic.c for (prevsib = np->parent->child; child 238 drivers/of/fdt.c np->sibling = dad->child; child 239 drivers/of/fdt.c dad->child = np; child 256 drivers/of/fdt.c struct device_node *child, *next; child 259 drivers/of/fdt.c child = parent->child; child 260 drivers/of/fdt.c while (child) { child 261 drivers/of/fdt.c reverse_nodes(child); child 263 drivers/of/fdt.c child = child->sibling; child 267 drivers/of/fdt.c child = parent->child; child 268 drivers/of/fdt.c parent->child = NULL; child 269 drivers/of/fdt.c while (child) { child 270 drivers/of/fdt.c next = child->sibling; child 272 drivers/of/fdt.c child->sibling = parent->child; child 273 drivers/of/fdt.c parent->child = child; child 274 drivers/of/fdt.c child = next; child 54 drivers/of/irq.c struct device_node *of_irq_find_parent(struct device_node *child) child 59 drivers/of/irq.c if (!of_node_get(child)) child 63 drivers/of/irq.c if (of_property_read_u32(child, "interrupt-parent", &parent)) { child 64 drivers/of/irq.c p = of_get_parent(child); child 71 drivers/of/irq.c of_node_put(child); child 72 drivers/of/irq.c child = p; child 46 drivers/of/of_mdio.c struct device_node *child, u32 addr) child 53 drivers/of/of_mdio.c is_c45 = of_device_is_compatible(child, child 56 drivers/of/of_mdio.c if (!is_c45 && !of_get_phy_id(child, &phy_id)) child 63 drivers/of/of_mdio.c rc = of_irq_get(child, 0); child 75 drivers/of/of_mdio.c if (of_property_read_bool(child, "broken-turn-around")) child 78 drivers/of/of_mdio.c of_property_read_u32(child, "reset-assert-us", child 80 drivers/of/of_mdio.c of_property_read_u32(child, "reset-deassert-us", child 85 drivers/of/of_mdio.c of_node_get(child); child 86 drivers/of/of_mdio.c phy->mdio.dev.of_node = child; child 87 drivers/of/of_mdio.c phy->mdio.dev.fwnode = of_fwnode_handle(child); child 94 drivers/of/of_mdio.c of_node_put(child); child 99 drivers/of/of_mdio.c child, addr); child 104 drivers/of/of_mdio.c struct device_node *child, u32 addr) child 116 drivers/of/of_mdio.c of_node_get(child); child 117 drivers/of/of_mdio.c mdiodev->dev.of_node = child; child 118 drivers/of/of_mdio.c mdiodev->dev.fwnode = of_fwnode_handle(child); child 124 drivers/of/of_mdio.c of_node_put(child); child 129 drivers/of/of_mdio.c child, addr); child 165 drivers/of/of_mdio.c static bool of_mdiobus_child_is_phy(struct device_node *child) child 169 drivers/of/of_mdio.c if (of_get_phy_id(child, &phy_id) != -EINVAL) child 172 drivers/of/of_mdio.c if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c45")) child 175 drivers/of/of_mdio.c if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c22")) child 178 drivers/of/of_mdio.c if (of_match_node(whitelist_phys, child)) { child 181 drivers/of/of_mdio.c child); child 185 drivers/of/of_mdio.c if (!of_find_property(child, "compatible", NULL)) child 201 drivers/of/of_mdio.c struct device_node *child; child 229 drivers/of/of_mdio.c for_each_available_child_of_node(np, child) { child 230 drivers/of/of_mdio.c addr = of_mdio_parse_addr(&mdio->dev, child); child 236 drivers/of/of_mdio.c if (of_mdiobus_child_is_phy(child)) child 237 drivers/of/of_mdio.c rc = of_mdiobus_register_phy(mdio, child, addr); child 239 drivers/of/of_mdio.c rc = of_mdiobus_register_device(mdio, child, addr); child 253 drivers/of/of_mdio.c for_each_available_child_of_node(np, child) { child 255 drivers/of/of_mdio.c if (of_find_property(child, "reg", NULL)) child 265 drivers/of/of_mdio.c child, addr); child 267 drivers/of/of_mdio.c if (of_mdiobus_child_is_phy(child)) { child 268 drivers/of/of_mdio.c rc = of_mdiobus_register_phy(mdio, child, addr); child 484 drivers/of/overlay.c struct device_node *child; child 497 drivers/of/overlay.c for_each_child_of_node(overlay_node, child) { child 498 drivers/of/overlay.c ret = add_changeset_node(ovcs, target, child); child 501 drivers/of/overlay.c target->np, child, ret); child 502 drivers/of/overlay.c of_node_put(child); child 1080 drivers/of/overlay.c struct device_node *child; child 1085 drivers/of/overlay.c for_each_child_of_node(tree, child) { child 1086 drivers/of/overlay.c if (find_node(child, np)) { child 1087 drivers/of/overlay.c of_node_put(child); child 187 drivers/of/pdt.c dp->child = of_pdt_build_tree(dp, of_pdt_prom_ops->getchild(node)); child 208 drivers/of/pdt.c of_root->child = of_pdt_build_tree(of_root, child 352 drivers/of/platform.c struct device_node *child; child 396 drivers/of/platform.c for_each_child_of_node(bus, child) { child 397 drivers/of/platform.c pr_debug(" create child: %pOF\n", child); child 398 drivers/of/platform.c rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); child 400 drivers/of/platform.c of_node_put(child); child 421 drivers/of/platform.c struct device_node *child; child 434 drivers/of/platform.c } else for_each_child_of_node(root, child) { child 435 drivers/of/platform.c if (!of_match_node(matches, child)) child 437 drivers/of/platform.c rc = of_platform_bus_create(child, matches, NULL, parent, false); child 439 drivers/of/platform.c of_node_put(child); child 473 drivers/of/platform.c struct device_node *child; child 483 drivers/of/platform.c for_each_child_of_node(root, child) { child 484 drivers/of/platform.c rc = of_platform_bus_create(child, matches, lookup, parent, true); child 486 drivers/of/platform.c of_node_put(child); child 883 drivers/of/property.c struct fwnode_handle *child) child 886 drivers/of/property.c to_of_node(child))); child 894 drivers/of/property.c struct device_node *child; child 896 drivers/of/property.c for_each_available_child_of_node(node, child) child 897 drivers/of/property.c if (of_node_name_eq(child, childname)) child 898 drivers/of/property.c return of_fwnode_handle(child); child 43 drivers/of/resolver.c struct device_node *child; child 68 drivers/of/resolver.c for_each_child_of_node(overlay, child) child 69 drivers/of/resolver.c adjust_overlay_phandles(child, phandle_delta); child 162 drivers/of/resolver.c struct device_node *child, *overlay_child; child 206 drivers/of/resolver.c for_each_child_of_node(local_fixups, child) { child 209 drivers/of/resolver.c if (!node_name_cmp(child, overlay_child)) { child 215 drivers/of/resolver.c of_node_put(child); child 219 drivers/of/resolver.c err = adjust_local_phandle_references(child, overlay_child, child 222 drivers/of/resolver.c of_node_put(child); child 265 drivers/of/resolver.c struct device_node *child, *local_fixups, *refnode; child 299 drivers/of/resolver.c for_each_child_of_node(overlay, child) { child 300 drivers/of/resolver.c if (of_node_name_eq(child, "__fixups__")) child 301 drivers/of/resolver.c overlay_fixups = child; child 210 drivers/of/unittest.c struct device_node *child; child 213 drivers/of/unittest.c for_each_child_of_node(np, child) { child 214 drivers/of/unittest.c if (child->parent != np) { child 216 drivers/of/unittest.c child, np); child 221 drivers/of/unittest.c rc = of_unittest_check_node_linkage(child); child 229 drivers/of/unittest.c of_node_put(child); child 1014 drivers/of/unittest.c struct device_node *np, *child, *grandchild; child 1067 drivers/of/unittest.c for_each_child_of_node(np, child) { child 1068 drivers/of/unittest.c for_each_child_of_node(child, grandchild) { child 1078 drivers/of/unittest.c for_each_child_of_node(np, child) { child 1079 drivers/of/unittest.c for_each_child_of_node(child, grandchild) child 1102 drivers/of/unittest.c struct device_node *child; child 1105 drivers/of/unittest.c for_each_child_of_node(np, child) child 1106 drivers/of/unittest.c child->parent = dup; child 1149 drivers/of/unittest.c struct device_node *next, *dup, *child; child 1168 drivers/of/unittest.c child = np->child; child 1169 drivers/of/unittest.c np->child = NULL; child 1173 drivers/of/unittest.c np->sibling = np->parent->child; child 1174 drivers/of/unittest.c np->parent->child = np; child 1181 drivers/of/unittest.c while (child) { child 1182 drivers/of/unittest.c next = child->sibling; child 1183 drivers/of/unittest.c attach_node_and_children(child); child 1184 drivers/of/unittest.c child = next; child 1246 drivers/of/unittest.c np = unittest_data_node->child; child 1962 drivers/of/unittest.c struct device_node *np = client->dev.of_node, *child; child 1974 drivers/of/unittest.c for_each_child_of_node(np, child) { child 1975 drivers/of/unittest.c if (of_property_read_u32(child, "reg", ®)) child 2414 drivers/of/unittest.c pprev = &overlay_base_root->child; child 2415 drivers/of/unittest.c for (np = overlay_base_root->child; np; np = np->sibling) { child 2427 drivers/of/unittest.c pprev = &overlay_base_root->child; child 2428 drivers/of/unittest.c for (np = overlay_base_root->child; np; np = np->sibling) { child 2457 drivers/of/unittest.c for (np = overlay_base_root->child; np; np = np->sibling) child 2462 drivers/of/unittest.c for (last_sibling = np = of_root->child; np; np = np->sibling) child 2466 drivers/of/unittest.c last_sibling->sibling = overlay_base_root->child; child 2468 drivers/of/unittest.c of_root->child = overlay_base_root->child; child 43 drivers/parisc/gsc.h void (*choose)(struct parisc_device *child, void *ctrl)); child 170 drivers/parisc/lba_pci.c lba_dump_res(r->child, d+2); child 575 drivers/parisc/lba_pci.c struct resource *tmp = root->child; child 645 drivers/parisc/lba_pci.c for (tmp = iomem_resource.child; tmp; tmp = tmp->sibling) { child 693 drivers/parisc/lba_pci.c struct pci_bus *child; child 698 drivers/parisc/lba_pci.c list_for_each_entry(child, &bus->children, node) child 699 drivers/parisc/lba_pci.c pcibios_allocate_bus_resources(child); child 1111 drivers/parisc/lba_pci.c r->parent = r->sibling = r->child = NULL; child 1123 drivers/parisc/lba_pci.c r->parent = r->sibling = r->child = NULL; child 1146 drivers/parisc/lba_pci.c r->parent = r->sibling = r->child = NULL; child 238 drivers/parport/procfs.c #define PARPORT_PORT_DIR(CHILD) { .procname = NULL, .mode = 0555, .child = CHILD } child 240 drivers/parport/procfs.c .mode = 0555, .child = CHILD } child 241 drivers/parport/procfs.c #define PARPORT_DEV_DIR(CHILD) { .procname = "dev", .mode = 0555, .child = CHILD } child 243 drivers/parport/procfs.c .mode = 0555, .child = NULL } child 402 drivers/parport/procfs.c .child = NULL child 461 drivers/parport/procfs.c .child = parport_default_sysctl_table.vars child 491 drivers/parport/procfs.c t->vars[5].child = t->device_dir; child 498 drivers/parport/procfs.c t->port_dir[0].child = t->vars; child 499 drivers/parport/procfs.c t->parport_dir[0].child = t->port_dir; child 500 drivers/parport/procfs.c t->dev_dir[0].child = t->parport_dir; child 531 drivers/parport/procfs.c t->dev_dir[0].child = t->parport_dir; child 532 drivers/parport/procfs.c t->parport_dir[0].child = t->port_dir; child 534 drivers/parport/procfs.c t->port_dir[0].child = t->devices_root_dir; child 535 drivers/parport/procfs.c t->devices_root_dir[0].child = t->device_dir; child 538 drivers/parport/procfs.c t->device_dir[0].child = t->vars; child 345 drivers/pci/bus.c struct pci_bus *child; child 358 drivers/pci/bus.c child = dev->subordinate; child 359 drivers/pci/bus.c if (child) child 360 drivers/pci/bus.c pci_bus_add_devices(child); child 324 drivers/pci/controller/dwc/pcie-designware-host.c struct pci_bus *child; child 505 drivers/pci/controller/dwc/pcie-designware-host.c list_for_each_entry(child, &pp->root_bus->children, node) child 506 drivers/pci/controller/dwc/pcie-designware-host.c pcie_bus_configure_settings(child); child 1025 drivers/pci/controller/dwc/pcie-tegra194.c struct pci_bus *child, *root_bus = NULL; child 1037 drivers/pci/controller/dwc/pcie-tegra194.c list_for_each_entry(child, &pp->root_bus->children, node) { child 1039 drivers/pci/controller/dwc/pcie-tegra194.c if (child->parent == pp->root_bus) { child 1040 drivers/pci/controller/dwc/pcie-tegra194.c root_bus = child; child 809 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port, struct device_node *child) child 817 drivers/pci/controller/pci-mvebu.c if (of_property_read_u32(child, "marvell,pcie-port", &port->port)) { child 819 drivers/pci/controller/pci-mvebu.c child); child 823 drivers/pci/controller/pci-mvebu.c if (of_property_read_u32(child, "marvell,pcie-lane", &port->lane)) child 833 drivers/pci/controller/pci-mvebu.c port->devfn = of_pci_get_devfn(child); child 853 drivers/pci/controller/pci-mvebu.c reset_gpio = of_get_named_gpio_flags(child, "reset-gpios", 0, &flags); child 871 drivers/pci/controller/pci-mvebu.c child); child 889 drivers/pci/controller/pci-mvebu.c port->clk = of_clk_get_by_name(child, NULL); child 1013 drivers/pci/controller/pci-mvebu.c struct pci_bus *bus, *child; child 1043 drivers/pci/controller/pci-mvebu.c list_for_each_entry(child, &bus->children, node) child 1044 drivers/pci/controller/pci-mvebu.c pcie_bus_configure_settings(child); child 1057 drivers/pci/controller/pci-mvebu.c struct device_node *child; child 1079 drivers/pci/controller/pci-mvebu.c for_each_available_child_of_node(np, child) { child 1082 drivers/pci/controller/pci-mvebu.c ret = mvebu_pcie_parse_port(pcie, port, child); child 1084 drivers/pci/controller/pci-mvebu.c of_node_put(child); child 1090 drivers/pci/controller/pci-mvebu.c port->dn = child; child 1098 drivers/pci/controller/pci-mvebu.c child = port->dn; child 1099 drivers/pci/controller/pci-mvebu.c if (!child) child 1106 drivers/pci/controller/pci-mvebu.c port->base = mvebu_pcie_map_registers(pdev, child, port); child 2768 drivers/pci/controller/pci-tegra.c struct pci_bus *child; child 2825 drivers/pci/controller/pci-tegra.c list_for_each_entry(child, &host->bus->children, node) child 2826 drivers/pci/controller/pci-tegra.c pcie_bus_configure_settings(child); child 121 drivers/pci/controller/pci-versatile.c struct pci_bus *bus, *child; child 215 drivers/pci/controller/pci-versatile.c list_for_each_entry(child, &bus->children, node) child 216 drivers/pci/controller/pci-versatile.c pcie_bus_configure_settings(child); child 611 drivers/pci/controller/pci-xgene.c struct pci_bus *bus, *child; child 665 drivers/pci/controller/pci-xgene.c list_for_each_entry(child, &bus->children, node) child 666 drivers/pci/controller/pci-xgene.c pcie_bus_configure_settings(child); child 811 drivers/pci/controller/pcie-altera.c struct pci_bus *child; child 873 drivers/pci/controller/pcie-altera.c list_for_each_entry(child, &bus->children, node) child 874 drivers/pci/controller/pcie-altera.c pcie_bus_configure_settings(child); child 1490 drivers/pci/controller/pcie-iproc.c struct pci_bus *child; child 1564 drivers/pci/controller/pcie-iproc.c list_for_each_entry(child, &host->bus->children, node) child 1565 drivers/pci/controller/pcie-iproc.c pcie_bus_configure_settings(child); child 1022 drivers/pci/controller/pcie-mediatek.c struct device_node *node = dev->of_node, *child; child 1060 drivers/pci/controller/pcie-mediatek.c for_each_available_child_of_node(node, child) { child 1063 drivers/pci/controller/pcie-mediatek.c err = of_pci_get_devfn(child); child 1071 drivers/pci/controller/pcie-mediatek.c err = mtk_pcie_parse_port(pcie, child, slot); child 862 drivers/pci/controller/pcie-mobiveil.c struct pci_bus *child; child 939 drivers/pci/controller/pcie-mobiveil.c list_for_each_entry(child, &bus->children, node) child 940 drivers/pci/controller/pcie-mobiveil.c pcie_bus_configure_settings(child); child 461 drivers/pci/controller/pcie-rcar.c struct pci_bus *bus, *child; child 489 drivers/pci/controller/pcie-rcar.c list_for_each_entry(child, &bus->children, node) child 490 drivers/pci/controller/pcie-rcar.c pcie_bus_configure_settings(child); child 951 drivers/pci/controller/pcie-rockchip-host.c struct pci_bus *bus, *child; child 1065 drivers/pci/controller/pcie-rockchip-host.c list_for_each_entry(child, &bus->children, node) child 1066 drivers/pci/controller/pcie-rockchip-host.c pcie_bus_configure_settings(child); child 821 drivers/pci/controller/pcie-xilinx-nwl.c struct pci_bus *child; child 888 drivers/pci/controller/pcie-xilinx-nwl.c list_for_each_entry(child, &bus->children, node) child 889 drivers/pci/controller/pcie-xilinx-nwl.c pcie_bus_configure_settings(child); child 619 drivers/pci/controller/pcie-xilinx.c struct pci_bus *bus, *child; child 681 drivers/pci/controller/pcie-xilinx.c list_for_each_entry(child, &bus->children, node) child 682 drivers/pci/controller/pcie-xilinx.c pcie_bus_configure_settings(child); child 536 drivers/pci/controller/vmd.c vmd->dev->resource[VMD_MEMBAR1].child = &vmd->resources[1]; child 537 drivers/pci/controller/vmd.c vmd->dev->resource[VMD_MEMBAR2].child = &vmd->resources[2]; child 542 drivers/pci/controller/vmd.c vmd->dev->resource[VMD_MEMBAR1].child = NULL; child 543 drivers/pci/controller/vmd.c vmd->dev->resource[VMD_MEMBAR2].child = NULL; child 572 drivers/pci/controller/vmd.c struct pci_bus *child; child 709 drivers/pci/controller/vmd.c list_for_each_entry(child, &vmd->bus->children, node) child 710 drivers/pci/controller/vmd.c pcie_bus_configure_settings(child); child 668 drivers/pci/hotplug/acpiphp_glue.c struct pci_dev *child, *tmp; child 672 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe_reverse(child, tmp, &bus->devices, bus_list) child 673 drivers/pci/hotplug/acpiphp_glue.c trim_stale_devices(child); child 72 drivers/pci/hotplug/cpqphp_pci.c struct pci_bus *child; child 101 drivers/pci/hotplug/cpqphp_pci.c child = func->pci_dev->subordinate; child 102 drivers/pci/hotplug/cpqphp_pci.c if (child) child 103 drivers/pci/hotplug/cpqphp_pci.c pci_bus_add_devices(child); child 733 drivers/pci/hotplug/ibmphp_core.c struct pci_bus *child; child 765 drivers/pci/hotplug/ibmphp_core.c child = func->dev->subordinate; child 766 drivers/pci/hotplug/ibmphp_core.c if (child) child 767 drivers/pci/hotplug/ibmphp_core.c pci_bus_add_devices(child); child 131 drivers/pci/hotplug/pnv_php.c struct device_node *child; child 133 drivers/pci/hotplug/pnv_php.c for_each_child_of_node(dn, child) { child 134 drivers/pci/hotplug/pnv_php.c pnv_php_rmv_pdns(child); child 136 drivers/pci/hotplug/pnv_php.c pci_remove_device_node_info(child); child 185 drivers/pci/hotplug/pnv_php.c php_slot->dn->child = NULL; child 197 drivers/pci/hotplug/pnv_php.c struct device_node *child, *next; child 200 drivers/pci/hotplug/pnv_php.c for_each_child_of_node(parent, child) child 201 drivers/pci/hotplug/pnv_php.c pnv_php_reverse_nodes(child); child 204 drivers/pci/hotplug/pnv_php.c child = parent->child; child 205 drivers/pci/hotplug/pnv_php.c parent->child = NULL; child 206 drivers/pci/hotplug/pnv_php.c while (child) { child 207 drivers/pci/hotplug/pnv_php.c next = child->sibling; child 209 drivers/pci/hotplug/pnv_php.c child->sibling = parent->child; child 210 drivers/pci/hotplug/pnv_php.c parent->child = child; child 211 drivers/pci/hotplug/pnv_php.c child = next; child 218 drivers/pci/hotplug/pnv_php.c struct device_node *child; child 221 drivers/pci/hotplug/pnv_php.c for_each_child_of_node(dn, child) { child 222 drivers/pci/hotplug/pnv_php.c ret = of_changeset_attach_node(ocs, child); child 224 drivers/pci/hotplug/pnv_php.c of_node_put(child); child 228 drivers/pci/hotplug/pnv_php.c ret = pnv_php_populate_changeset(ocs, child); child 230 drivers/pci/hotplug/pnv_php.c of_node_put(child); child 303 drivers/pci/hotplug/pnv_php.c php_slot->dn->child = NULL; child 321 drivers/pci/hotplug/pnv_php.c php_slot->dn->child = NULL; child 640 drivers/pci/hotplug/pnv_php.c if (dn->child && PCI_DN(dn->child)) child 641 drivers/pci/hotplug/pnv_php.c php_slot->slot_no = PCI_SLOT(PCI_DN(dn->child)->devfn); child 964 drivers/pci/hotplug/pnv_php.c struct device_node *child; child 970 drivers/pci/hotplug/pnv_php.c for_each_child_of_node(dn, child) { child 971 drivers/pci/hotplug/pnv_php.c pnv_php_register_one(child); child 972 drivers/pci/hotplug/pnv_php.c pnv_php_register(child); child 992 drivers/pci/hotplug/pnv_php.c struct device_node *child; child 995 drivers/pci/hotplug/pnv_php.c for_each_child_of_node(dn, child) { child 996 drivers/pci/hotplug/pnv_php.c pnv_php_unregister(child); child 997 drivers/pci/hotplug/pnv_php.c pnv_php_unregister_one(child); child 92 drivers/pci/hotplug/rpaphp_pci.c if (!slot->dn->child) { child 84 drivers/pci/hotplug/rpaphp_slot.c struct device_node *child; child 99 drivers/pci/hotplug/rpaphp_slot.c for_each_child_of_node(slot->dn, child) { child 100 drivers/pci/hotplug/rpaphp_slot.c retval = of_property_read_u32(child, "ibm,my-drc-index", &my_index); child 102 drivers/pci/hotplug/rpaphp_slot.c slotno = PCI_SLOT(PCI_DN(child)->devfn); child 103 drivers/pci/hotplug/rpaphp_slot.c of_node_put(child); child 82 drivers/pci/iov.c struct pci_bus *child; child 87 drivers/pci/iov.c child = pci_find_bus(pci_domain_nr(bus), busnr); child 88 drivers/pci/iov.c if (child) child 89 drivers/pci/iov.c return child; child 91 drivers/pci/iov.c child = pci_add_new_bus(bus, NULL, busnr); child 92 drivers/pci/iov.c if (!child) child 95 drivers/pci/iov.c pci_bus_insert_busn_res(child, busnr, busnr); child 97 drivers/pci/iov.c return child; child 4708 drivers/pci/pci.c struct pci_dev *child; child 4737 drivers/pci/pci.c child = list_first_entry(&dev->subordinate->devices, struct pci_dev, child 4785 drivers/pci/pci.c if (!pci_device_is_present(child)) { child 4786 drivers/pci/pci.c pci_dbg(child, "waiting additional %d ms to become accessible\n", delay); child 152 drivers/pci/pcie/aspm.c struct pci_dev *child; child 156 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) child 157 drivers/pci/pcie/aspm.c pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, child 182 drivers/pci/pcie/aspm.c struct pci_dev *child; child 186 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 187 drivers/pci/pcie/aspm.c pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); child 193 drivers/pci/pcie/aspm.c pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); child 242 drivers/pci/pcie/aspm.c struct pci_dev *child, *parent = link->pdev; child 248 drivers/pci/pcie/aspm.c child = list_entry(linkbus->devices.next, struct pci_dev, bus_list); child 249 drivers/pci/pcie/aspm.c BUG_ON(!pci_is_pcie(child)); child 252 drivers/pci/pcie/aspm.c pcie_capability_read_word(child, PCI_EXP_LNKSTA, ®16); child 266 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 267 drivers/pci/pcie/aspm.c pcie_capability_read_word(child, PCI_EXP_LNKCTL, child 280 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 281 drivers/pci/pcie/aspm.c pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); child 282 drivers/pci/pcie/aspm.c child_reg[PCI_FUNC(child->devfn)] = reg16; child 287 drivers/pci/pcie/aspm.c pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); child 304 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) child 305 drivers/pci/pcie/aspm.c pcie_capability_write_word(child, PCI_EXP_LNKCTL, child 306 drivers/pci/pcie/aspm.c child_reg[PCI_FUNC(child->devfn)]); child 488 drivers/pci/pcie/aspm.c struct pci_dev *child; child 490 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) child 491 drivers/pci/pcie/aspm.c if (PCI_FUNC(child->devfn) == 0) child 492 drivers/pci/pcie/aspm.c return child; child 548 drivers/pci/pcie/aspm.c struct pci_dev *child = link->downstream, *parent = link->pdev; child 561 drivers/pci/pcie/aspm.c pcie_get_aspm_reg(child, &dwreg); child 578 drivers/pci/pcie/aspm.c pcie_get_aspm_reg(child, &dwreg); child 635 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 636 drivers/pci/pcie/aspm.c if (pci_pcie_type(child) == PCI_EXP_TYPE_PCI_BRIDGE) { child 643 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 646 drivers/pci/pcie/aspm.c &link->acceptable[PCI_FUNC(child->devfn)]; child 648 drivers/pci/pcie/aspm.c if (pci_pcie_type(child) != PCI_EXP_TYPE_ENDPOINT && child 649 drivers/pci/pcie/aspm.c pci_pcie_type(child) != PCI_EXP_TYPE_LEG_END) child 652 drivers/pci/pcie/aspm.c pcie_capability_read_dword(child, PCI_EXP_DEVCAP, ®32); child 660 drivers/pci/pcie/aspm.c pcie_aspm_check_latency(child); child 679 drivers/pci/pcie/aspm.c struct pci_dev *child = link->downstream, *parent = link->pdev; child 699 drivers/pci/pcie/aspm.c pci_clear_and_set_dword(child, dw_cap_ptr + PCI_L1SS_CTL1, child 708 drivers/pci/pcie/aspm.c pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, child 719 drivers/pci/pcie/aspm.c pci_write_config_dword(child, dw_cap_ptr + PCI_L1SS_CTL2, child 732 drivers/pci/pcie/aspm.c pci_clear_and_set_dword(child, dw_cap_ptr + PCI_L1SS_CTL1, child 751 drivers/pci/pcie/aspm.c pci_clear_and_set_dword(child, dw_cap_ptr + PCI_L1SS_CTL1, child 764 drivers/pci/pcie/aspm.c struct pci_dev *child = link->downstream, *parent = link->pdev; child 775 drivers/pci/pcie/aspm.c if (parent->current_state != PCI_D0 || child->current_state != PCI_D0) { child 804 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) child 805 drivers/pci/pcie/aspm.c pcie_config_aspm_dev(child, dwstream); child 828 drivers/pci/pcie/aspm.c struct pci_dev *child; child 835 drivers/pci/pcie/aspm.c list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { child 836 drivers/pci/pcie/aspm.c if (!pci_is_pcie(child)) child 852 drivers/pci/pcie/aspm.c pcie_capability_read_dword(child, PCI_EXP_DEVCAP, ®32); child 854 drivers/pci/pcie/aspm.c pci_info(child, "disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'\n"); child 980 drivers/pci/pcie/aspm.c struct pci_dev *child; child 984 drivers/pci/pcie/aspm.c list_for_each_entry(child, &linkbus->devices, bus_list) { child 985 drivers/pci/pcie/aspm.c if ((pci_pcie_type(child) != PCI_EXP_TYPE_ENDPOINT) && child 986 drivers/pci/pcie/aspm.c (pci_pcie_type(child) != PCI_EXP_TYPE_LEG_END)) child 988 drivers/pci/pcie/aspm.c pcie_aspm_check_latency(child); child 397 drivers/pci/probe.c static void pci_read_bridge_io(struct pci_bus *child) child 399 drivers/pci/probe.c struct pci_dev *dev = child->self; child 413 drivers/pci/probe.c res = child->resource[0]; child 437 drivers/pci/probe.c static void pci_read_bridge_mmio(struct pci_bus *child) child 439 drivers/pci/probe.c struct pci_dev *dev = child->self; child 445 drivers/pci/probe.c res = child->resource[1]; child 459 drivers/pci/probe.c static void pci_read_bridge_mmio_pref(struct pci_bus *child) child 461 drivers/pci/probe.c struct pci_dev *dev = child->self; child 468 drivers/pci/probe.c res = child->resource[2]; child 512 drivers/pci/probe.c void pci_read_bridge_bases(struct pci_bus *child) child 514 drivers/pci/probe.c struct pci_dev *dev = child->self; child 518 drivers/pci/probe.c if (pci_is_root_bus(child)) /* It's a host bus, nothing to read */ child 522 drivers/pci/probe.c &child->busn_res, child 525 drivers/pci/probe.c pci_bus_remove_resources(child); child 527 drivers/pci/probe.c child->resource[i] = &dev->resource[PCI_BRIDGE_RESOURCES+i]; child 529 drivers/pci/probe.c pci_read_bridge_io(child); child 530 drivers/pci/probe.c pci_read_bridge_mmio(child); child 531 drivers/pci/probe.c pci_read_bridge_mmio_pref(child); child 534 drivers/pci/probe.c pci_bus_for_each_resource(child->parent, res, i) { child 536 drivers/pci/probe.c pci_bus_add_resource(child, res, child 984 drivers/pci/probe.c struct pci_bus *child; child 989 drivers/pci/probe.c child = pci_alloc_bus(parent); child 990 drivers/pci/probe.c if (!child) child 993 drivers/pci/probe.c child->parent = parent; child 994 drivers/pci/probe.c child->ops = parent->ops; child 995 drivers/pci/probe.c child->msi = parent->msi; child 996 drivers/pci/probe.c child->sysdata = parent->sysdata; child 997 drivers/pci/probe.c child->bus_flags = parent->bus_flags; child 1003 drivers/pci/probe.c child->dev.class = &pcibus_class; child 1004 drivers/pci/probe.c dev_set_name(&child->dev, "%04x:%02x", pci_domain_nr(child), busnr); child 1007 drivers/pci/probe.c child->number = child->busn_res.start = busnr; child 1008 drivers/pci/probe.c child->primary = parent->busn_res.start; child 1009 drivers/pci/probe.c child->busn_res.end = 0xff; child 1012 drivers/pci/probe.c child->dev.parent = parent->bridge; child 1016 drivers/pci/probe.c child->self = bridge; child 1017 drivers/pci/probe.c child->bridge = get_device(&bridge->dev); child 1018 drivers/pci/probe.c child->dev.parent = child->bridge; child 1019 drivers/pci/probe.c pci_set_bus_of_node(child); child 1020 drivers/pci/probe.c pci_set_bus_speed(child); child 1028 drivers/pci/probe.c child->bus_flags |= PCI_BUS_FLAGS_NO_EXTCFG; child 1029 drivers/pci/probe.c pci_info(child, "extended config space not accessible\n"); child 1034 drivers/pci/probe.c child->resource[i] = &bridge->resource[PCI_BRIDGE_RESOURCES+i]; child 1035 drivers/pci/probe.c child->resource[i]->name = child->name; child 1037 drivers/pci/probe.c bridge->subordinate = child; child 1040 drivers/pci/probe.c pci_set_bus_msi_domain(child); child 1041 drivers/pci/probe.c ret = device_register(&child->dev); child 1044 drivers/pci/probe.c pcibios_add_bus(child); child 1046 drivers/pci/probe.c if (child->ops->add_bus) { child 1047 drivers/pci/probe.c ret = child->ops->add_bus(child); child 1049 drivers/pci/probe.c dev_err(&child->dev, "failed to add bus: %d\n", ret); child 1053 drivers/pci/probe.c pci_create_legacy_files(child); child 1055 drivers/pci/probe.c return child; child 1061 drivers/pci/probe.c struct pci_bus *child; child 1063 drivers/pci/probe.c child = pci_alloc_child_bus(parent, dev, busnr); child 1064 drivers/pci/probe.c if (child) { child 1066 drivers/pci/probe.c list_add_tail(&child->node, &parent->children); child 1069 drivers/pci/probe.c return child; child 1150 drivers/pci/probe.c struct pci_bus *child; child 1215 drivers/pci/probe.c child = pci_find_bus(pci_domain_nr(bus), secondary); child 1216 drivers/pci/probe.c if (!child) { child 1217 drivers/pci/probe.c child = pci_add_new_bus(bus, dev, secondary); child 1218 drivers/pci/probe.c if (!child) child 1220 drivers/pci/probe.c child->primary = primary; child 1221 drivers/pci/probe.c pci_bus_insert_busn_res(child, secondary, subordinate); child 1222 drivers/pci/probe.c child->bridge_ctl = bctl; child 1225 drivers/pci/probe.c cmax = pci_scan_child_bus(child); child 1270 drivers/pci/probe.c child = pci_find_bus(pci_domain_nr(bus), next_busnr); child 1271 drivers/pci/probe.c if (!child) { child 1272 drivers/pci/probe.c child = pci_add_new_bus(bus, dev, next_busnr); child 1273 drivers/pci/probe.c if (!child) child 1275 drivers/pci/probe.c pci_bus_insert_busn_res(child, next_busnr, child 1283 drivers/pci/probe.c | ((unsigned int)(child->primary) << 0) child 1284 drivers/pci/probe.c | ((unsigned int)(child->busn_res.start) << 8) child 1285 drivers/pci/probe.c | ((unsigned int)(child->busn_res.end) << 16); child 1300 drivers/pci/probe.c child->bridge_ctl = bctl; child 1301 drivers/pci/probe.c max = pci_scan_child_bus_extend(child, available_buses); child 1343 drivers/pci/probe.c pci_bus_update_busn_res_end(child, max); child 1347 drivers/pci/probe.c sprintf(child->name, child 1349 drivers/pci/probe.c pci_domain_nr(bus), child->number); child 1353 drivers/pci/probe.c if ((child->busn_res.end > bus->busn_res.end) || child 1354 drivers/pci/probe.c (child->number > bus->busn_res.end) || child 1355 drivers/pci/probe.c (child->number < bus->number) || child 1356 drivers/pci/probe.c (child->busn_res.end < bus->number)) { child 1358 drivers/pci/probe.c &child->busn_res); child 2933 drivers/pci/probe.c struct pci_bus *bus, *child; child 2955 drivers/pci/probe.c list_for_each_entry(child, &bus->children, node) child 2956 drivers/pci/probe.c pcie_bus_configure_settings(child); child 68 drivers/pci/remove.c struct pci_dev *child, *tmp; child 77 drivers/pci/remove.c list_for_each_entry_safe_reverse(child, tmp, child 79 drivers/pci/remove.c pci_stop_bus_device(child); child 88 drivers/pci/remove.c struct pci_dev *child, *tmp; child 91 drivers/pci/remove.c list_for_each_entry_safe(child, tmp, child 93 drivers/pci/remove.c pci_remove_bus_device(child); child 131 drivers/pci/remove.c struct pci_dev *child, *tmp; child 138 drivers/pci/remove.c list_for_each_entry_safe_reverse(child, tmp, child 140 drivers/pci/remove.c pci_stop_bus_device(child); child 149 drivers/pci/remove.c struct pci_dev *child, *tmp; child 156 drivers/pci/remove.c list_for_each_entry_safe(child, tmp, child 158 drivers/pci/remove.c pci_remove_bus_device(child); child 112 drivers/pci/search.c struct pci_bus *child; child 119 drivers/pci/search.c child = pci_do_find_bus(tmp, busnr); child 120 drivers/pci/search.c if (child) child 121 drivers/pci/search.c return child; child 1414 drivers/pci/setup-bus.c struct pci_bus *child; child 1419 drivers/pci/setup-bus.c child = dev->subordinate; child 1420 drivers/pci/setup-bus.c if (child) child 1421 drivers/pci/setup-bus.c pci_bus_allocate_dev_resources(child); child 1427 drivers/pci/setup-bus.c struct pci_bus *child; child 1439 drivers/pci/setup-bus.c list_for_each_entry(child, &b->children, node) child 1440 drivers/pci/setup-bus.c pci_bus_allocate_resources(child); child 2093 drivers/pci/setup-bus.c if (res->child) child 126 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c struct device_node *node = dev->of_node, *child; child 151 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c for_each_available_child_of_node(node, child) { child 155 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c if (of_property_read_u32(child, "reg", &id)) { child 157 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c child); child 175 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c p->phy = devm_phy_create(dev, child, &cygnus_pcie_phy_ops); child 200 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c of_node_put(child); child 624 drivers/phy/broadcom/phy-brcm-sata.c struct device_node *dn = dev->of_node, *child; child 659 drivers/phy/broadcom/phy-brcm-sata.c for_each_available_child_of_node(dn, child) { child 663 drivers/phy/broadcom/phy-brcm-sata.c if (of_property_read_u32(child, "reg", &id)) { child 665 drivers/phy/broadcom/phy-brcm-sata.c child); child 684 drivers/phy/broadcom/phy-brcm-sata.c port->phy = devm_phy_create(dev, child, &phy_ops); child 686 drivers/phy/broadcom/phy-brcm-sata.c if (!of_property_read_string(child, "brcm,rxaeq-mode", child 690 drivers/phy/broadcom/phy-brcm-sata.c of_property_read_u32(child, "brcm,rxaeq-value", child 692 drivers/phy/broadcom/phy-brcm-sata.c port->ssc_en = of_property_read_bool(child, "brcm,enable-ssc"); child 713 drivers/phy/broadcom/phy-brcm-sata.c of_node_put(child); child 146 drivers/phy/cadence/phy-cadence-sierra.c struct device_node *child) child 148 drivers/phy/cadence/phy-cadence-sierra.c if (of_property_read_u32(child, "reg", &inst->mlane)) child 151 drivers/phy/cadence/phy-cadence-sierra.c if (of_property_read_u32(child, "cdns,num-lanes", &inst->num_lanes)) child 154 drivers/phy/cadence/phy-cadence-sierra.c if (of_property_read_u32(child, "cdns,phy-type", &inst->phy_type)) child 170 drivers/phy/cadence/phy-cadence-sierra.c struct device_node *dn = dev->of_node, *child; child 229 drivers/phy/cadence/phy-cadence-sierra.c for_each_available_child_of_node(dn, child) { child 233 drivers/phy/cadence/phy-cadence-sierra.c of_reset_control_get_exclusive_by_index(child, 0); child 237 drivers/phy/cadence/phy-cadence-sierra.c child->full_name); child 243 drivers/phy/cadence/phy-cadence-sierra.c ret = cdns_sierra_get_optional(&sp->phys[node], child); child 246 drivers/phy/cadence/phy-cadence-sierra.c child->name); child 251 drivers/phy/cadence/phy-cadence-sierra.c gphy = devm_phy_create(dev, child, &ops); child 282 drivers/phy/cadence/phy-cadence-sierra.c of_node_put(child); child 116 drivers/phy/hisilicon/phy-hisi-inno-usb2.c struct device_node *child; child 140 drivers/phy/hisilicon/phy-hisi-inno-usb2.c for_each_child_of_node(np, child) { child 144 drivers/phy/hisilicon/phy-hisi-inno-usb2.c rst = of_reset_control_get_exclusive(child, NULL); child 150 drivers/phy/hisilicon/phy-hisi-inno-usb2.c phy = devm_phy_create(dev, child, &hisi_inno_phy_ops); child 168 drivers/phy/marvell/phy-armada38x-comphy.c struct device_node *child; child 185 drivers/phy/marvell/phy-armada38x-comphy.c for_each_available_child_of_node(pdev->dev.of_node, child) { child 190 drivers/phy/marvell/phy-armada38x-comphy.c ret = of_property_read_u32(child, "reg", &val); child 202 drivers/phy/marvell/phy-armada38x-comphy.c phy = devm_phy_create(&pdev->dev, child, &a38x_comphy_ops); child 204 drivers/phy/marvell/phy-armada38x-comphy.c of_node_put(child); child 190 drivers/phy/marvell/phy-berlin-sata.c struct device_node *child; child 231 drivers/phy/marvell/phy-berlin-sata.c for_each_available_child_of_node(dev->of_node, child) { child 234 drivers/phy/marvell/phy-berlin-sata.c if (of_property_read_u32(child, "reg", &phy_id)) { child 236 drivers/phy/marvell/phy-berlin-sata.c child); child 242 drivers/phy/marvell/phy-berlin-sata.c dev_err(dev, "invalid reg in node %pOFn\n", child); child 275 drivers/phy/marvell/phy-berlin-sata.c of_node_put(child); child 266 drivers/phy/marvell/phy-mvebu-a3700-comphy.c struct device_node *child; child 268 drivers/phy/marvell/phy-mvebu-a3700-comphy.c for_each_available_child_of_node(pdev->dev.of_node, child) { child 274 drivers/phy/marvell/phy-mvebu-a3700-comphy.c ret = of_property_read_u32(child, "reg", &lane_id); child 288 drivers/phy/marvell/phy-mvebu-a3700-comphy.c of_node_put(child); child 292 drivers/phy/marvell/phy-mvebu-a3700-comphy.c phy = devm_phy_create(&pdev->dev, child, child 295 drivers/phy/marvell/phy-mvebu-a3700-comphy.c of_node_put(child); child 983 drivers/phy/marvell/phy-mvebu-cp110-comphy.c struct device_node *child; child 1019 drivers/phy/marvell/phy-mvebu-cp110-comphy.c for_each_available_child_of_node(pdev->dev.of_node, child) { child 1024 drivers/phy/marvell/phy-mvebu-cp110-comphy.c ret = of_property_read_u32(child, "reg", &val); child 1038 drivers/phy/marvell/phy-mvebu-cp110-comphy.c of_node_put(child); child 1043 drivers/phy/marvell/phy-mvebu-cp110-comphy.c phy = devm_phy_create(&pdev->dev, child, &mvebu_comphy_ops); child 1045 drivers/phy/marvell/phy-mvebu-cp110-comphy.c of_node_put(child); child 134 drivers/phy/phy-core.c struct device_node *child; child 140 drivers/phy/phy-core.c for_each_child_of_node(phy_provider->children, child) child 141 drivers/phy/phy-core.c if (child == node) child 2016 drivers/phy/qualcomm/phy-qcom-qmp.c struct device_node *child; child 2089 drivers/phy/qualcomm/phy-qcom-qmp.c for_each_available_child_of_node(dev->of_node, child) { child 2091 drivers/phy/qualcomm/phy-qcom-qmp.c ret = qcom_qmp_phy_create(dev, child, id); child 2102 drivers/phy/qualcomm/phy-qcom-qmp.c ret = phy_pipe_clk_register(qmp, child); child 2121 drivers/phy/qualcomm/phy-qcom-qmp.c of_node_put(child); child 203 drivers/phy/rockchip/phy-rockchip-usb.c struct device_node *child) child 216 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->np = child; child 218 drivers/phy/rockchip/phy-rockchip-usb.c if (of_property_read_u32(child, "reg", ®_offset)) { child 220 drivers/phy/rockchip/phy-rockchip-usb.c child); child 224 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->reset = of_reset_control_get(child, "phy-reset"); child 230 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->clk = of_clk_get_by_name(child, "phyclk"); child 273 drivers/phy/rockchip/phy-rockchip-usb.c err = of_clk_add_provider(child, of_clk_src_simple_get, child 284 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->phy = devm_phy_create(base->dev, child, &ops); child 462 drivers/phy/rockchip/phy-rockchip-usb.c struct device_node *child; child 490 drivers/phy/rockchip/phy-rockchip-usb.c for_each_available_child_of_node(dev->of_node, child) { child 491 drivers/phy/rockchip/phy-rockchip-usb.c err = rockchip_usb_phy_init(phy_base, child); child 493 drivers/phy/rockchip/phy-rockchip-usb.c of_node_put(child); child 109 drivers/phy/socionext/phy-uniphier-usb2.c struct device_node *parent, *child; child 132 drivers/phy/socionext/phy-uniphier-usb2.c for_each_child_of_node(dev->of_node, child) { child 149 drivers/phy/socionext/phy-uniphier-usb2.c priv->phy = devm_phy_create(dev, child, &uniphier_u2phy_ops); child 156 drivers/phy/socionext/phy-uniphier-usb2.c ret = of_property_read_u32(child, "reg", &data_idx); child 166 drivers/phy/socionext/phy-uniphier-usb2.c child->full_name); child 179 drivers/phy/socionext/phy-uniphier-usb2.c of_node_put(child); child 855 drivers/phy/st/phy-miphy28lp.c static int miphy28lp_get_resource_byname(struct device_node *child, child 860 drivers/phy/st/phy-miphy28lp.c index = of_property_match_string(child, "reg-names", rname); child 864 drivers/phy/st/phy-miphy28lp.c return of_address_to_resource(child, index, res); child 868 drivers/phy/st/phy-miphy28lp.c struct device_node *child, char *rname, child 874 drivers/phy/st/phy-miphy28lp.c ret = miphy28lp_get_resource_byname(child, rname, &res); child 1193 drivers/phy/st/phy-miphy28lp.c struct device_node *child, *np = pdev->dev.of_node; child 1221 drivers/phy/st/phy-miphy28lp.c for_each_child_of_node(np, child) { child 1233 drivers/phy/st/phy-miphy28lp.c phy = devm_phy_create(&pdev->dev, child, &miphy28lp_ops); child 1243 drivers/phy/st/phy-miphy28lp.c ret = miphy28lp_of_probe(child, miphy_phy); child 1247 drivers/phy/st/phy-miphy28lp.c ret = miphy28lp_probe_resets(child, miphy_dev->phys[port]); child 1259 drivers/phy/st/phy-miphy28lp.c of_node_put(child); child 313 drivers/phy/st/phy-stm32-usbphyc.c struct device_node *child, *np = dev->of_node; child 359 drivers/phy/st/phy-stm32-usbphyc.c for_each_child_of_node(np, child) { child 365 drivers/phy/st/phy-stm32-usbphyc.c phy = devm_phy_create(dev, child, &stm32_usbphyc_phy_ops); child 393 drivers/phy/st/phy-stm32-usbphyc.c ret = of_property_read_u32(child, "reg", &index); child 426 drivers/phy/st/phy-stm32-usbphyc.c of_node_put(child); child 647 drivers/pinctrl/freescale/pinctrl-imx.c struct device_node *child; child 670 drivers/pinctrl/freescale/pinctrl-imx.c for_each_child_of_node(np, child) { child 671 drivers/pinctrl/freescale/pinctrl-imx.c func->group_names[i] = child->name; child 676 drivers/pinctrl/freescale/pinctrl-imx.c of_node_put(child); child 685 drivers/pinctrl/freescale/pinctrl-imx.c imx_pinctrl_parse_groups(child, grp, ipctl, i++); child 723 drivers/pinctrl/freescale/pinctrl-imx.c struct device_node *child; child 762 drivers/pinctrl/freescale/pinctrl-imx.c for_each_child_of_node(np, child) child 763 drivers/pinctrl/freescale/pinctrl-imx.c pctl->num_groups += of_get_child_count(child); child 770 drivers/pinctrl/freescale/pinctrl-imx.c for_each_child_of_node(np, child) child 771 drivers/pinctrl/freescale/pinctrl-imx.c imx_pinctrl_parse_functions(child, ipctl, i++); child 509 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct device_node *child; child 532 drivers/pinctrl/freescale/pinctrl-imx1-core.c for_each_child_of_node(np, child) { child 533 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->groups[i] = child->name; child 535 drivers/pinctrl/freescale/pinctrl-imx1-core.c ret = imx1_pinctrl_parse_groups(child, grp, info, i++); child 537 drivers/pinctrl/freescale/pinctrl-imx1-core.c of_node_put(child); child 549 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct device_node *child; child 558 drivers/pinctrl/freescale/pinctrl-imx1-core.c for_each_child_of_node(np, child) { child 560 drivers/pinctrl/freescale/pinctrl-imx1-core.c ngroups += of_get_child_count(child); child 580 drivers/pinctrl/freescale/pinctrl-imx1-core.c for_each_child_of_node(np, child) { child 581 drivers/pinctrl/freescale/pinctrl-imx1-core.c ret = imx1_pinctrl_parse_functions(child, info, ifunc++); child 583 drivers/pinctrl/freescale/pinctrl-imx1-core.c of_node_put(child); child 400 drivers/pinctrl/freescale/pinctrl-mxs.c struct device_node *child; child 408 drivers/pinctrl/freescale/pinctrl-mxs.c child = of_get_next_child(np, NULL); child 409 drivers/pinctrl/freescale/pinctrl-mxs.c if (!child) { child 416 drivers/pinctrl/freescale/pinctrl-mxs.c for_each_child_of_node(np, child) { child 417 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_device_is_compatible(child, gpio_compat)) child 421 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_property_read_u32(child, "reg", &val)) child 423 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { child 424 drivers/pinctrl/freescale/pinctrl-mxs.c fn = child->name; child 445 drivers/pinctrl/freescale/pinctrl-mxs.c for_each_child_of_node(np, child) { child 446 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_device_is_compatible(child, gpio_compat)) child 448 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_property_read_u32(child, "reg", &val)) child 450 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { child 457 drivers/pinctrl/freescale/pinctrl-mxs.c of_node_get(child); child 467 drivers/pinctrl/freescale/pinctrl-mxs.c for (child2 = of_get_next_child(np, child); child 477 drivers/pinctrl/freescale/pinctrl-mxs.c f->name = fn = child->name; child 485 drivers/pinctrl/freescale/pinctrl-mxs.c for_each_child_of_node(np, child) { child 486 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_device_is_compatible(child, gpio_compat)) child 488 drivers/pinctrl/freescale/pinctrl-mxs.c if (of_property_read_u32(child, "reg", &val)) { child 489 drivers/pinctrl/freescale/pinctrl-mxs.c ret = mxs_pinctrl_parse_group(pdev, child, child 492 drivers/pinctrl/freescale/pinctrl-mxs.c of_node_put(child); child 498 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { child 505 drivers/pinctrl/freescale/pinctrl-mxs.c of_node_put(child); child 508 drivers/pinctrl/freescale/pinctrl-mxs.c fn = child->name; child 511 drivers/pinctrl/freescale/pinctrl-mxs.c ret = mxs_pinctrl_parse_group(pdev, child, idxg++, child 514 drivers/pinctrl/freescale/pinctrl-mxs.c of_node_put(child); child 1127 drivers/pinctrl/pinctrl-at91.c struct device_node *child; child 1129 drivers/pinctrl/pinctrl-at91.c for_each_child_of_node(np, child) { child 1130 drivers/pinctrl/pinctrl-at91.c if (of_device_is_compatible(child, gpio_compat)) { child 1131 drivers/pinctrl/pinctrl-at91.c if (of_device_is_available(child)) child 1135 drivers/pinctrl/pinctrl-at91.c info->ngroups += of_get_child_count(child); child 1225 drivers/pinctrl/pinctrl-at91.c struct device_node *child; child 1248 drivers/pinctrl/pinctrl-at91.c for_each_child_of_node(np, child) { child 1249 drivers/pinctrl/pinctrl-at91.c func->groups[i] = child->name; child 1251 drivers/pinctrl/pinctrl-at91.c ret = at91_pinctrl_parse_groups(child, grp, info, i++); child 1253 drivers/pinctrl/pinctrl-at91.c of_node_put(child); child 1276 drivers/pinctrl/pinctrl-at91.c struct device_node *child; child 1327 drivers/pinctrl/pinctrl-at91.c for_each_child_of_node(np, child) { child 1328 drivers/pinctrl/pinctrl-at91.c if (of_device_is_compatible(child, gpio_compat)) child 1330 drivers/pinctrl/pinctrl-at91.c ret = at91_pinctrl_parse_functions(child, info, i++); child 1333 drivers/pinctrl/pinctrl-at91.c of_node_put(child); child 1354 drivers/pinctrl/pinctrl-pistachio.c struct device_node *child; child 1357 drivers/pinctrl/pinctrl-pistachio.c child = of_get_child_by_name(node, child_name); child 1358 drivers/pinctrl/pinctrl-pistachio.c if (!child) { child 1364 drivers/pinctrl/pinctrl-pistachio.c if (!of_find_property(child, "gpio-controller", NULL)) { child 1367 drivers/pinctrl/pinctrl-pistachio.c of_node_put(child); child 1372 drivers/pinctrl/pinctrl-pistachio.c irq = irq_of_parse_and_map(child, 0); child 1375 drivers/pinctrl/pinctrl-pistachio.c of_node_put(child); child 1385 drivers/pinctrl/pinctrl-pistachio.c bank->gpio_chip.of_node = child; child 2466 drivers/pinctrl/pinctrl-rockchip.c struct device_node *child; child 2468 drivers/pinctrl/pinctrl-rockchip.c for_each_child_of_node(np, child) { child 2469 drivers/pinctrl/pinctrl-rockchip.c if (of_match_node(rockchip_bank_match, child)) child 2473 drivers/pinctrl/pinctrl-rockchip.c info->ngroups += of_get_child_count(child); child 2547 drivers/pinctrl/pinctrl-rockchip.c struct device_node *child; child 2569 drivers/pinctrl/pinctrl-rockchip.c for_each_child_of_node(np, child) { child 2570 drivers/pinctrl/pinctrl-rockchip.c func->groups[i] = child->name; child 2572 drivers/pinctrl/pinctrl-rockchip.c ret = rockchip_pinctrl_parse_groups(child, grp, info, i++); child 2574 drivers/pinctrl/pinctrl-rockchip.c of_node_put(child); child 2587 drivers/pinctrl/pinctrl-rockchip.c struct device_node *child; child 2612 drivers/pinctrl/pinctrl-rockchip.c for_each_child_of_node(np, child) { child 2613 drivers/pinctrl/pinctrl-rockchip.c if (of_match_node(rockchip_bank_match, child)) child 2616 drivers/pinctrl/pinctrl-rockchip.c ret = rockchip_pinctrl_parse_functions(child, info, i++); child 2619 drivers/pinctrl/pinctrl-rockchip.c of_node_put(child); child 858 drivers/pinctrl/pinctrl-rza1.c struct device_node *child; child 867 drivers/pinctrl/pinctrl-rza1.c for_each_child_of_node(np, child) { child 868 drivers/pinctrl/pinctrl-rza1.c of_pins = of_find_property(child, "pinmux", NULL); child 870 drivers/pinctrl/pinctrl-rza1.c of_node_put(child); child 990 drivers/pinctrl/pinctrl-rza1.c struct device_node *child; child 1027 drivers/pinctrl/pinctrl-rza1.c for_each_child_of_node(np, child) { child 1028 drivers/pinctrl/pinctrl-rza1.c ret = rza1_parse_pinmux_node(rza1_pctl, child, mux_conf, child 1031 drivers/pinctrl/pinctrl-rza1.c of_node_put(child); child 1160 drivers/pinctrl/pinctrl-rza1.c struct device_node *child; child 1163 drivers/pinctrl/pinctrl-rza1.c for_each_child_of_node(np, child) { child 1164 drivers/pinctrl/pinctrl-rza1.c if (!of_property_read_bool(child, "gpio-controller")) child 1254 drivers/pinctrl/pinctrl-rza1.c struct device_node *child; child 1273 drivers/pinctrl/pinctrl-rza1.c for_each_child_of_node(np, child) { child 1274 drivers/pinctrl/pinctrl-rza1.c if (!of_property_read_bool(child, "gpio-controller")) child 1277 drivers/pinctrl/pinctrl-rza1.c ret = rza1_parse_gpiochip(rza1_pctl, child, &gpio_chips[i], child 1280 drivers/pinctrl/pinctrl-rza1.c of_node_put(child); child 403 drivers/pinctrl/pinctrl-rzn1.c struct device_node *child; child 413 drivers/pinctrl/pinctrl-rzn1.c for_each_child_of_node(np, child) { child 414 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_dt_node_to_map_one(pctldev, child, map, num_maps); child 416 drivers/pinctrl/pinctrl-rzn1.c of_node_put(child); child 739 drivers/pinctrl/pinctrl-rzn1.c struct device_node *child; child 745 drivers/pinctrl/pinctrl-rzn1.c for_each_child_of_node(np, child) { child 746 drivers/pinctrl/pinctrl-rzn1.c if (of_property_count_u32_elems(child, RZN1_PINS_PROP) > 0) child 759 drivers/pinctrl/pinctrl-rzn1.c struct device_node *child; child 792 drivers/pinctrl/pinctrl-rzn1.c for_each_child_of_node(np, child) { child 793 drivers/pinctrl/pinctrl-rzn1.c func->groups[i] = child->name; child 796 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_pinctrl_parse_groups(child, grp, ipctl); child 798 drivers/pinctrl/pinctrl-rzn1.c of_node_put(child); child 815 drivers/pinctrl/pinctrl-rzn1.c struct device_node *child; child 833 drivers/pinctrl/pinctrl-rzn1.c for_each_child_of_node(np, child) child 834 drivers/pinctrl/pinctrl-rzn1.c maxgroups += rzn1_pinctrl_count_function_groups(child); child 843 drivers/pinctrl/pinctrl-rzn1.c for_each_child_of_node(np, child) { child 844 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_pinctrl_parse_functions(child, ipctl, i++); child 846 drivers/pinctrl/pinctrl-rzn1.c of_node_put(child); child 1035 drivers/pinctrl/pinctrl-st.c struct device_node *child; child 1036 drivers/pinctrl/pinctrl-st.c for_each_child_of_node(np, child) { child 1037 drivers/pinctrl/pinctrl-st.c if (of_property_read_bool(child, "gpio-controller")) { child 1041 drivers/pinctrl/pinctrl-st.c info->ngroups += of_get_child_count(child); child 1243 drivers/pinctrl/pinctrl-st.c struct device_node *child; child 1261 drivers/pinctrl/pinctrl-st.c for_each_child_of_node(np, child) { child 1262 drivers/pinctrl/pinctrl-st.c func->groups[i] = child->name; child 1265 drivers/pinctrl/pinctrl-st.c ret = st_pctl_dt_parse_groups(child, grp, info, i++); child 1267 drivers/pinctrl/pinctrl-st.c of_node_put(child); child 1566 drivers/pinctrl/pinctrl-st.c struct device_node *child; child 1625 drivers/pinctrl/pinctrl-st.c for_each_child_of_node(np, child) { child 1626 drivers/pinctrl/pinctrl-st.c if (of_property_read_bool(child, "gpio-controller")) { child 1628 drivers/pinctrl/pinctrl-st.c ret = st_gpiolib_register_bank(info, bank, child); child 1630 drivers/pinctrl/pinctrl-st.c of_node_put(child); child 1642 drivers/pinctrl/pinctrl-st.c st_parse_syscfgs(info, bank, child); child 1645 drivers/pinctrl/pinctrl-st.c ret = st_pctl_parse_functions(child, info, child 1649 drivers/pinctrl/pinctrl-st.c of_node_put(child); child 753 drivers/pinctrl/pinctrl-tb10x.c struct device_node *child; child 784 drivers/pinctrl/pinctrl-tb10x.c for_each_child_of_node(of_node, child) { child 787 drivers/pinctrl/pinctrl-tb10x.c if (!of_property_read_string(child, "abilis,function", child 789 drivers/pinctrl/pinctrl-tb10x.c state->pinfuncs[state->pinfuncnt].name = child->name; child 264 drivers/pinctrl/sh-pfc/pinctrl.c struct device_node *child; child 272 drivers/pinctrl/sh-pfc/pinctrl.c for_each_child_of_node(np, child) { child 273 drivers/pinctrl/sh-pfc/pinctrl.c ret = sh_pfc_dt_subnode_to_map(pctldev, child, map, num_maps, child 276 drivers/pinctrl/sh-pfc/pinctrl.c of_node_put(child); child 880 drivers/pinctrl/sprd/pinctrl-sprd.c struct device_node *child; child 885 drivers/pinctrl/sprd/pinctrl-sprd.c for_each_child_of_node(np, child) { child 886 drivers/pinctrl/sprd/pinctrl-sprd.c cnt = of_get_child_count(child); child 898 drivers/pinctrl/sprd/pinctrl-sprd.c struct device_node *child, *sub_child; child 926 drivers/pinctrl/sprd/pinctrl-sprd.c for_each_child_of_node(np, child) { child 927 drivers/pinctrl/sprd/pinctrl-sprd.c ret = sprd_pinctrl_parse_groups(child, sprd_pctl, grp); child 929 drivers/pinctrl/sprd/pinctrl-sprd.c of_node_put(child); child 936 drivers/pinctrl/sprd/pinctrl-sprd.c if (of_get_child_count(child) > 0) { child 937 drivers/pinctrl/sprd/pinctrl-sprd.c for_each_child_of_node(child, sub_child) { child 942 drivers/pinctrl/sprd/pinctrl-sprd.c of_node_put(child); child 1362 drivers/pinctrl/stm32/pinctrl-stm32.c struct device_node *child; child 1456 drivers/pinctrl/stm32/pinctrl-stm32.c for_each_available_child_of_node(np, child) child 1457 drivers/pinctrl/stm32/pinctrl-stm32.c if (of_property_read_bool(child, "gpio-controller")) child 1469 drivers/pinctrl/stm32/pinctrl-stm32.c for_each_available_child_of_node(np, child) { child 1470 drivers/pinctrl/stm32/pinctrl-stm32.c if (of_property_read_bool(child, "gpio-controller")) { child 1471 drivers/pinctrl/stm32/pinctrl-stm32.c ret = stm32_gpiolib_register_bank(pctl, child); child 1473 drivers/pinctrl/stm32/pinctrl-stm32.c of_node_put(child); child 34 drivers/platform/x86/dell-smbios-wmi.c struct device *child; child 6856 drivers/platform/x86/thinkpad_acpi.c struct acpi_device *device, *child; child 6863 drivers/platform/x86/thinkpad_acpi.c list_for_each_entry(child, &device->children, node) { child 6864 drivers/platform/x86/thinkpad_acpi.c acpi_status status = acpi_evaluate_object(child->handle, "_BCL", child 1543 drivers/power/supply/charger-manager.c struct device_node *child; child 1561 drivers/power/supply/charger-manager.c for_each_child_of_node(np, child) { child 1565 drivers/power/supply/charger-manager.c of_property_read_string(child, "cm-regulator-name", child 1569 drivers/power/supply/charger-manager.c chg_regs->num_cables = of_get_child_count(child); child 1576 drivers/power/supply/charger-manager.c of_node_put(child); child 1582 drivers/power/supply/charger-manager.c for_each_child_of_node(child, _child) { child 510 drivers/power/supply/lp8727_charger.c struct device_node *child; child 524 drivers/power/supply/lp8727_charger.c for_each_child_of_node(np, child) { child 525 drivers/power/supply/lp8727_charger.c of_property_read_string(child, "charger-type", &type); child 528 drivers/power/supply/lp8727_charger.c pdata->ac = lp8727_parse_charge_pdata(dev, child); child 531 drivers/power/supply/lp8727_charger.c pdata->usb = lp8727_parse_charge_pdata(dev, child); child 18 drivers/pwm/sysfs.c struct device child; child 24 drivers/pwm/sysfs.c static struct pwm_export *child_to_pwm_export(struct device *child) child 26 drivers/pwm/sysfs.c return container_of(child, struct pwm_export, child); child 29 drivers/pwm/sysfs.c static struct pwm_device *child_to_pwm_device(struct device *child) child 31 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 36 drivers/pwm/sysfs.c static ssize_t period_show(struct device *child, child 40 drivers/pwm/sysfs.c const struct pwm_device *pwm = child_to_pwm_device(child); child 48 drivers/pwm/sysfs.c static ssize_t period_store(struct device *child, child 52 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 71 drivers/pwm/sysfs.c static ssize_t duty_cycle_show(struct device *child, child 75 drivers/pwm/sysfs.c const struct pwm_device *pwm = child_to_pwm_device(child); child 83 drivers/pwm/sysfs.c static ssize_t duty_cycle_store(struct device *child, child 87 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 106 drivers/pwm/sysfs.c static ssize_t enable_show(struct device *child, child 110 drivers/pwm/sysfs.c const struct pwm_device *pwm = child_to_pwm_device(child); child 118 drivers/pwm/sysfs.c static ssize_t enable_store(struct device *child, child 122 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 154 drivers/pwm/sysfs.c static ssize_t polarity_show(struct device *child, child 158 drivers/pwm/sysfs.c const struct pwm_device *pwm = child_to_pwm_device(child); child 177 drivers/pwm/sysfs.c static ssize_t polarity_store(struct device *child, child 181 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 203 drivers/pwm/sysfs.c static ssize_t capture_show(struct device *child, child 207 drivers/pwm/sysfs.c struct pwm_device *pwm = child_to_pwm_device(child); child 234 drivers/pwm/sysfs.c static void pwm_export_release(struct device *child) child 236 drivers/pwm/sysfs.c struct pwm_export *export = child_to_pwm_export(child); child 259 drivers/pwm/sysfs.c export->child.release = pwm_export_release; child 260 drivers/pwm/sysfs.c export->child.parent = parent; child 261 drivers/pwm/sysfs.c export->child.devt = MKDEV(0, 0); child 262 drivers/pwm/sysfs.c export->child.groups = pwm_groups; child 263 drivers/pwm/sysfs.c dev_set_name(&export->child, "pwm%u", pwm->hwpwm); child 265 drivers/pwm/sysfs.c ret = device_register(&export->child); child 268 drivers/pwm/sysfs.c put_device(&export->child); child 280 drivers/pwm/sysfs.c static int pwm_unexport_match(struct device *child, void *data) child 282 drivers/pwm/sysfs.c return child_to_pwm_device(child) == data; child 287 drivers/pwm/sysfs.c struct device *child; child 293 drivers/pwm/sysfs.c child = device_find_child(parent, pwm, pwm_unexport_match); child 294 drivers/pwm/sysfs.c if (!child) child 303 drivers/pwm/sysfs.c put_device(child); child 304 drivers/pwm/sysfs.c device_unregister(child); child 381 drivers/pwm/sysfs.c struct device *child; child 387 drivers/pwm/sysfs.c child = device_find_child(parent, pwm, pwm_unexport_match); child 388 drivers/pwm/sysfs.c if (!child) child 391 drivers/pwm/sysfs.c export = child_to_pwm_export(child); child 392 drivers/pwm/sysfs.c put_device(child); /* for device_find_child() */ child 376 drivers/regulator/core.c struct device_node *child = NULL; child 378 drivers/regulator/core.c for_each_child_of_node(parent, child) { child 379 drivers/regulator/core.c regnode = of_parse_phandle(child, prop_name, 0); child 382 drivers/regulator/core.c regnode = of_get_child_regulator(child, prop_name); child 392 drivers/regulator/core.c of_node_put(child); child 164 drivers/regulator/mc13xxx-regulator-core.c struct device_node *parent, *child; child 183 drivers/regulator/mc13xxx-regulator-core.c for_each_child_of_node(parent, child) { child 189 drivers/regulator/mc13xxx-regulator-core.c if (of_node_name_eq(child, child 193 drivers/regulator/mc13xxx-regulator-core.c &pdev->dev, child, child 195 drivers/regulator/mc13xxx-regulator-core.c p->node = child; child 206 drivers/regulator/mc13xxx-regulator-core.c "Unknown regulator: %pOFn\n", child); child 332 drivers/regulator/of_regulator.c struct device_node *child; child 355 drivers/regulator/of_regulator.c for_each_child_of_node(node, child) { child 356 drivers/regulator/of_regulator.c name = of_get_property(child, child 359 drivers/regulator/of_regulator.c name = child->name; child 369 drivers/regulator/of_regulator.c of_get_regulator_init_data(dev, child, child 374 drivers/regulator/of_regulator.c child); child 375 drivers/regulator/of_regulator.c of_node_put(child); child 378 drivers/regulator/of_regulator.c match->of_node = of_node_get(child); child 392 drivers/regulator/of_regulator.c struct device_node *search, *child; child 414 drivers/regulator/of_regulator.c for_each_available_child_of_node(search, child) { child 415 drivers/regulator/of_regulator.c name = of_get_property(child, "regulator-compatible", NULL); child 417 drivers/regulator/of_regulator.c name = child->name; child 421 drivers/regulator/of_regulator.c return of_node_get(child); child 435 drivers/regulator/of_regulator.c struct device_node *child; child 438 drivers/regulator/of_regulator.c child = regulator_of_get_init_node(dev, desc); child 439 drivers/regulator/of_regulator.c if (!child) child 442 drivers/regulator/of_regulator.c init_data = of_get_regulator_init_data(dev, child, desc); child 444 drivers/regulator/of_regulator.c dev_err(dev, "failed to parse DT for regulator %pOFn\n", child); child 451 drivers/regulator/of_regulator.c ret = desc->of_parse_cb(child, desc, config); child 454 drivers/regulator/of_regulator.c of_node_put(child); child 459 drivers/regulator/of_regulator.c child); child 464 drivers/regulator/of_regulator.c *node = child; child 469 drivers/regulator/of_regulator.c of_node_put(child); child 1362 drivers/remoteproc/qcom_q6v5_mss.c struct device_node *child; child 1367 drivers/remoteproc/qcom_q6v5_mss.c child = of_get_child_by_name(qproc->dev->of_node, "mba"); child 1368 drivers/remoteproc/qcom_q6v5_mss.c node = of_parse_phandle(child, "memory-region", 0); child 1385 drivers/remoteproc/qcom_q6v5_mss.c child = of_get_child_by_name(qproc->dev->of_node, "mpss"); child 1386 drivers/remoteproc/qcom_q6v5_mss.c node = of_parse_phandle(child, "memory-region", 0); child 1341 drivers/rpmsg/qcom_glink_native.c struct device_node *child; child 1346 drivers/rpmsg/qcom_glink_native.c for_each_available_child_of_node(node, child) { child 1348 drivers/rpmsg/qcom_glink_native.c ret = of_property_read_string(child, key, &name); child 1353 drivers/rpmsg/qcom_glink_native.c return child; child 998 drivers/rpmsg/qcom_smd.c struct device_node *child; child 1003 drivers/rpmsg/qcom_smd.c for_each_available_child_of_node(edge_node, child) { child 1005 drivers/rpmsg/qcom_smd.c ret = of_property_read_string(child, key, &name); child 1010 drivers/rpmsg/qcom_smd.c return child; child 329 drivers/sbus/char/bbc_i2c.c for (dp = op->dev.of_node->child; child 1041 drivers/sbus/char/envctrl.c dp = op->dev.of_node->child; child 206 drivers/sbus/char/openprom.c dp = dp->child; child 516 drivers/sbus/char/openprom.c dp = dp->child; child 745 drivers/scsi/libsas/sas_expander.c struct domain_device *child, child 752 drivers/scsi/libsas/sas_expander.c child->pathways = 0; child 764 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr)) { child 766 drivers/scsi/libsas/sas_expander.c child->min_linkrate = min(parent->min_linkrate, child 768 drivers/scsi/libsas/sas_expander.c child->max_linkrate = max(parent->max_linkrate, child 770 drivers/scsi/libsas/sas_expander.c child->pathways++; child 774 drivers/scsi/libsas/sas_expander.c child->linkrate = min(parent_phy->linkrate, child->max_linkrate); child 775 drivers/scsi/libsas/sas_expander.c child->pathways = min(child->pathways, parent->pathways); child 783 drivers/scsi/libsas/sas_expander.c struct domain_device *child = NULL; child 790 drivers/scsi/libsas/sas_expander.c child = sas_alloc_device(); child 791 drivers/scsi/libsas/sas_expander.c if (!child) child 795 drivers/scsi/libsas/sas_expander.c child->parent = parent; child 796 drivers/scsi/libsas/sas_expander.c child->port = parent->port; child 797 drivers/scsi/libsas/sas_expander.c child->iproto = phy->attached_iproto; child 798 drivers/scsi/libsas/sas_expander.c memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); child 799 drivers/scsi/libsas/sas_expander.c sas_hash_addr(child->hashed_sas_addr, child->sas_addr); child 809 drivers/scsi/libsas/sas_expander.c sas_ex_get_linkrate(parent, child, phy); child 810 drivers/scsi/libsas/sas_expander.c sas_device_set_phy(child, phy->port); child 814 drivers/scsi/libsas/sas_expander.c if (child->linkrate > parent->min_linkrate) { child 815 drivers/scsi/libsas/sas_expander.c struct sas_phy *cphy = child->phy; child 827 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id); child 832 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id, ret); child 836 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id); child 837 drivers/scsi/libsas/sas_expander.c child->linkrate = child->min_linkrate; child 839 drivers/scsi/libsas/sas_expander.c res = sas_get_ata_info(child, phy); child 843 drivers/scsi/libsas/sas_expander.c sas_init_dev(child); child 844 drivers/scsi/libsas/sas_expander.c res = sas_ata_init(child); child 852 drivers/scsi/libsas/sas_expander.c child->rphy = rphy; child 855 drivers/scsi/libsas/sas_expander.c list_add_tail(&child->disco_list_node, &parent->port->disco_list); child 857 drivers/scsi/libsas/sas_expander.c res = sas_discover_sata(child); child 860 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 867 drivers/scsi/libsas/sas_expander.c child->dev_type = SAS_END_DEVICE; child 872 drivers/scsi/libsas/sas_expander.c child->tproto = phy->attached_tproto; child 873 drivers/scsi/libsas/sas_expander.c sas_init_dev(child); child 875 drivers/scsi/libsas/sas_expander.c child->rphy = rphy; child 878 drivers/scsi/libsas/sas_expander.c sas_fill_in_rphy(child, rphy); child 880 drivers/scsi/libsas/sas_expander.c list_add_tail(&child->disco_list_node, &parent->port->disco_list); child 882 drivers/scsi/libsas/sas_expander.c res = sas_discover_end_dev(child); child 885 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 896 drivers/scsi/libsas/sas_expander.c list_add_tail(&child->siblings, &parent_ex->children); child 897 drivers/scsi/libsas/sas_expander.c return child; child 900 drivers/scsi/libsas/sas_expander.c sas_rphy_free(child->rphy); child 901 drivers/scsi/libsas/sas_expander.c list_del(&child->disco_list_node); child 903 drivers/scsi/libsas/sas_expander.c list_del(&child->dev_list_node); child 909 drivers/scsi/libsas/sas_expander.c sas_put_device(child); child 942 drivers/scsi/libsas/sas_expander.c struct domain_device *child = NULL; child 955 drivers/scsi/libsas/sas_expander.c child = sas_alloc_device(); child 956 drivers/scsi/libsas/sas_expander.c if (!child) child 978 drivers/scsi/libsas/sas_expander.c child->rphy = rphy; child 981 drivers/scsi/libsas/sas_expander.c child->dev_type = phy->attached_dev_type; child 983 drivers/scsi/libsas/sas_expander.c child->parent = parent; child 984 drivers/scsi/libsas/sas_expander.c child->port = port; child 985 drivers/scsi/libsas/sas_expander.c child->iproto = phy->attached_iproto; child 986 drivers/scsi/libsas/sas_expander.c child->tproto = phy->attached_tproto; child 987 drivers/scsi/libsas/sas_expander.c memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); child 988 drivers/scsi/libsas/sas_expander.c sas_hash_addr(child->hashed_sas_addr, child->sas_addr); child 989 drivers/scsi/libsas/sas_expander.c sas_ex_get_linkrate(parent, child, phy); child 993 drivers/scsi/libsas/sas_expander.c sas_init_dev(child); child 994 drivers/scsi/libsas/sas_expander.c sas_fill_in_rphy(child, rphy); child 998 drivers/scsi/libsas/sas_expander.c list_add_tail(&child->dev_list_node, &parent->port->dev_list); child 1001 drivers/scsi/libsas/sas_expander.c res = sas_discover_expander(child); child 1005 drivers/scsi/libsas/sas_expander.c list_del(&child->dev_list_node); child 1007 drivers/scsi/libsas/sas_expander.c sas_put_device(child); child 1012 drivers/scsi/libsas/sas_expander.c list_add_tail(&child->siblings, &parent->ex_dev.children); child 1013 drivers/scsi/libsas/sas_expander.c return child; child 1020 drivers/scsi/libsas/sas_expander.c struct domain_device *child = NULL; child 1085 drivers/scsi/libsas/sas_expander.c child = sas_ex_discover_end_dev(dev, phy_id); child 1101 drivers/scsi/libsas/sas_expander.c child = sas_ex_discover_expander(dev, phy_id); child 1107 drivers/scsi/libsas/sas_expander.c if (!child) child 1139 drivers/scsi/libsas/sas_expander.c struct domain_device *child; child 1142 drivers/scsi/libsas/sas_expander.c list_for_each_entry(child, &ex->children, siblings) { child 1143 drivers/scsi/libsas/sas_expander.c if (!dev_is_expander(child->dev_type)) child 1146 drivers/scsi/libsas/sas_expander.c sas_find_sub_addr(child, sub_addr); child 1151 drivers/scsi/libsas/sas_expander.c if (sas_find_sub_addr(child, s2) && child 1156 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 1160 drivers/scsi/libsas/sas_expander.c sas_ex_disable_port(child, s2); child 1247 drivers/scsi/libsas/sas_expander.c static void sas_print_parent_topology_bug(struct domain_device *child, child 1255 drivers/scsi/libsas/sas_expander.c struct domain_device *parent = child->parent; child 1262 drivers/scsi/libsas/sas_expander.c ex_type[child->dev_type], child 1263 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 1267 drivers/scsi/libsas/sas_expander.c sas_route_char(child, child_phy)); child 1270 drivers/scsi/libsas/sas_expander.c static int sas_check_eeds(struct domain_device *child, child 1275 drivers/scsi/libsas/sas_expander.c struct domain_device *parent = child->parent; child 1282 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 1288 drivers/scsi/libsas/sas_expander.c memcpy(parent->port->disc.eeds_b, child->sas_addr, child 1293 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr))) child 1298 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr)))) child 1305 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), child 1314 drivers/scsi/libsas/sas_expander.c static int sas_check_parent_topology(struct domain_device *child) child 1316 drivers/scsi/libsas/sas_expander.c struct expander_device *child_ex = &child->ex_dev; child 1321 drivers/scsi/libsas/sas_expander.c if (!child->parent) child 1324 drivers/scsi/libsas/sas_expander.c if (!dev_is_expander(child->parent->dev_type)) child 1327 drivers/scsi/libsas/sas_expander.c parent_ex = &child->parent->ex_dev; child 1337 drivers/scsi/libsas/sas_expander.c if (SAS_ADDR(parent_phy->attached_sas_addr) != SAS_ADDR(child->sas_addr)) child 1342 drivers/scsi/libsas/sas_expander.c switch (child->parent->dev_type) { child 1344 drivers/scsi/libsas/sas_expander.c if (child->dev_type == SAS_FANOUT_EXPANDER_DEVICE) { child 1347 drivers/scsi/libsas/sas_expander.c sas_print_parent_topology_bug(child, parent_phy, child_phy); child 1352 drivers/scsi/libsas/sas_expander.c res = sas_check_eeds(child, parent_phy, child_phy); child 1354 drivers/scsi/libsas/sas_expander.c sas_print_parent_topology_bug(child, parent_phy, child_phy); child 1363 drivers/scsi/libsas/sas_expander.c sas_print_parent_topology_bug(child, parent_phy, child_phy); child 1371 drivers/scsi/libsas/sas_expander.c sas_print_parent_topology_bug(child, parent_phy, child_phy); child 1522 drivers/scsi/libsas/sas_expander.c struct domain_device *child, child 1547 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr))) { child 1865 drivers/scsi/libsas/sas_expander.c struct domain_device *child, *n; child 1867 drivers/scsi/libsas/sas_expander.c list_for_each_entry_safe(child, n, &ex->children, siblings) { child 1868 drivers/scsi/libsas/sas_expander.c set_bit(SAS_DEV_GONE, &child->state); child 1869 drivers/scsi/libsas/sas_expander.c if (dev_is_expander(child->dev_type)) child 1870 drivers/scsi/libsas/sas_expander.c sas_unregister_ex_tree(port, child); child 1872 drivers/scsi/libsas/sas_expander.c sas_unregister_dev(port, child); child 1882 drivers/scsi/libsas/sas_expander.c struct domain_device *child, *n, *found = NULL; child 1884 drivers/scsi/libsas/sas_expander.c list_for_each_entry_safe(child, n, child 1886 drivers/scsi/libsas/sas_expander.c if (SAS_ADDR(child->sas_addr) == child 1888 drivers/scsi/libsas/sas_expander.c set_bit(SAS_DEV_GONE, &child->state); child 1889 drivers/scsi/libsas/sas_expander.c if (dev_is_expander(child->dev_type)) child 1890 drivers/scsi/libsas/sas_expander.c sas_unregister_ex_tree(parent->port, child); child 1892 drivers/scsi/libsas/sas_expander.c sas_unregister_dev(parent->port, child); child 1893 drivers/scsi/libsas/sas_expander.c found = child; child 1914 drivers/scsi/libsas/sas_expander.c struct domain_device *child; child 1917 drivers/scsi/libsas/sas_expander.c list_for_each_entry(child, &ex_root->children, siblings) { child 1918 drivers/scsi/libsas/sas_expander.c if (dev_is_expander(child->dev_type)) { child 1920 drivers/scsi/libsas/sas_expander.c rphy_to_expander_device(child->rphy); child 1923 drivers/scsi/libsas/sas_expander.c res = sas_discover_bfs_by_root_level(child, child 1926 drivers/scsi/libsas/sas_expander.c res = sas_ex_discover_devices(child, -1); child 1953 drivers/scsi/libsas/sas_expander.c struct domain_device *child; child 1968 drivers/scsi/libsas/sas_expander.c list_for_each_entry(child, &dev->ex_dev.children, siblings) { child 1969 drivers/scsi/libsas/sas_expander.c if (SAS_ADDR(child->sas_addr) == child 1971 drivers/scsi/libsas/sas_expander.c if (dev_is_expander(child->dev_type)) child 1972 drivers/scsi/libsas/sas_expander.c res = sas_discover_bfs_by_root(child); child 27 drivers/scsi/scsi_sysctl.c .child = scsi_table }, child 34 drivers/scsi/scsi_sysctl.c .child = scsi_dir_table }, child 53 drivers/scsi/scsi_transport_srp.c struct device **child = data; child 56 drivers/scsi/scsi_transport_srp.c WARN_ON_ONCE(*child); child 57 drivers/scsi/scsi_transport_srp.c *child = dev; child 64 drivers/scsi/scsi_transport_srp.c struct device *child = NULL; child 66 drivers/scsi/scsi_transport_srp.c WARN_ON_ONCE(device_for_each_child(&shost->shost_gendev, &child, child 68 drivers/scsi/scsi_transport_srp.c return child ? dev_to_rport(child) : NULL; child 215 drivers/sh/clk/core.c int clk_reparent(struct clk *child, struct clk *parent) child 217 drivers/sh/clk/core.c list_del_init(&child->sibling); child 219 drivers/sh/clk/core.c list_add(&child->sibling, &parent->children); child 220 drivers/sh/clk/core.c child->parent = parent; child 608 drivers/soc/bcm/bcm2835-power.c int parent, child; child 653 drivers/soc/bcm/bcm2835-power.c &power->domains[domain_deps[i].child].base); child 1902 drivers/soc/mediatek/mtk-pmic-wrap.c if (np->child) child 1903 drivers/soc/mediatek/mtk-pmic-wrap.c of_slave_id = of_match_node(of_slave_match_tbl, np->child); child 474 drivers/soc/qcom/qcom_aoss.c struct device_node *np, *child; child 487 drivers/soc/qcom/qcom_aoss.c for_each_available_child_of_node(np, child) { child 488 drivers/soc/qcom/qcom_aoss.c if (!of_find_property(child, "#cooling-cells", NULL)) child 491 drivers/soc/qcom/qcom_aoss.c child); child 148 drivers/soc/samsung/pm_domains.c struct of_phandle_args child, parent; child 150 drivers/soc/samsung/pm_domains.c child.np = np; child 151 drivers/soc/samsung/pm_domains.c child.args_count = 0; child 158 drivers/soc/samsung/pm_domains.c if (of_genpd_add_subdomain(&parent, &child)) child 160 drivers/soc/samsung/pm_domains.c parent.np, child.np); child 163 drivers/soc/samsung/pm_domains.c parent.np, child.np); child 1083 drivers/soc/tegra/pmc.c struct device_node *np, *child; child 1090 drivers/soc/tegra/pmc.c for_each_child_of_node(np, child) { child 1091 drivers/soc/tegra/pmc.c err = tegra_powergate_add(pmc, child); child 1093 drivers/soc/tegra/pmc.c of_node_put(child); child 1122 drivers/soc/tegra/pmc.c struct device_node *np, *child; child 1128 drivers/soc/tegra/pmc.c for_each_child_of_node(np, child) { child 1129 drivers/soc/tegra/pmc.c of_genpd_del_provider(child); child 1131 drivers/soc/tegra/pmc.c genpd = of_genpd_remove_last(child); child 741 drivers/soc/ti/knav_dma.c struct device_node *child; child 767 drivers/soc/ti/knav_dma.c for_each_child_of_node(node, child) { child 768 drivers/soc/ti/knav_dma.c ret = dma_init(node, child); child 1089 drivers/soc/ti/knav_qmss_queue.c struct device_node *child; child 1093 drivers/soc/ti/knav_qmss_queue.c for_each_child_of_node(regions, child) { child 1100 drivers/soc/ti/knav_qmss_queue.c region->name = knav_queue_find_name(child); child 1101 drivers/soc/ti/knav_qmss_queue.c of_property_read_u32(child, "id", ®ion->id); child 1102 drivers/soc/ti/knav_qmss_queue.c ret = of_property_read_u32_array(child, "region-spec", temp, 2); child 1112 drivers/soc/ti/knav_qmss_queue.c if (!of_get_property(child, "link-index", NULL)) { child 1117 drivers/soc/ti/knav_qmss_queue.c ret = of_property_read_u32(child, "link-index", child 1402 drivers/soc/ti/knav_qmss_queue.c struct device_node *child; child 1406 drivers/soc/ti/knav_qmss_queue.c for_each_child_of_node(qmgrs, child) { child 1413 drivers/soc/ti/knav_qmss_queue.c ret = of_property_read_u32_array(child, "managed-queues", child 1428 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1433 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1438 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1443 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1449 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1456 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1503 drivers/soc/ti/knav_qmss_queue.c struct device_node *child; child 1505 drivers/soc/ti/knav_qmss_queue.c for_each_child_of_node(pdsps, child) { child 1511 drivers/soc/ti/knav_qmss_queue.c pdsp->name = knav_queue_find_name(child); child 1513 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1516 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1519 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1522 drivers/soc/ti/knav_qmss_queue.c knav_queue_map_reg(kdev, child, child 1540 drivers/soc/ti/knav_qmss_queue.c of_property_read_u32(child, "id", &pdsp->id); child 103 drivers/spi/spi-orion.c struct orion_child_options child[ORION_NUM_CHIPSELECTS]; child 442 drivers/spi/spi-orion.c vaddr = orion_spi->child[cs].direct_access.vaddr; child 755 drivers/spi/spi-orion.c dir_acc = &spi->child[cs].direct_access; child 2115 drivers/spi/spi.c struct device *child; child 2117 drivers/spi/spi.c child = device_find_child(&ctlr->dev, NULL, match_true); child 2119 drivers/spi/spi.c child ? to_spi_device(child)->modalias : NULL); child 2128 drivers/spi/spi.c struct device *child; child 2136 drivers/spi/spi.c child = device_find_child(&ctlr->dev, NULL, match_true); child 2137 drivers/spi/spi.c if (child) { child 2139 drivers/spi/spi.c device_unregister(child); child 2140 drivers/spi/spi.c put_device(child); child 374 drivers/staging/mt7621-pci/pci-mt7621.c struct device_node *node = dev->of_node, *child; child 400 drivers/staging/mt7621-pci/pci-mt7621.c for_each_available_child_of_node(node, child) { child 403 drivers/staging/mt7621-pci/pci-mt7621.c err = of_pci_get_devfn(child); child 405 drivers/staging/mt7621-pci/pci-mt7621.c of_node_put(child); child 412 drivers/staging/mt7621-pci/pci-mt7621.c err = mt7621_pcie_parse_port(pcie, child, slot); child 414 drivers/staging/mt7621-pci/pci-mt7621.c of_node_put(child); child 3174 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct platform_device *child; child 3183 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c child = platform_device_register_full(&pdevinfo); child 3184 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (IS_ERR(child)) { child 3186 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c child = NULL; child 3189 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c return child; child 487 drivers/thermal/of-thermal.c struct device_node *np, *child, *sensor_np; child 501 drivers/thermal/of-thermal.c for_each_available_child_of_node(np, child) { child 506 drivers/thermal/of-thermal.c ret = of_parse_phandle_with_args(child, "thermal-sensors", child 522 drivers/thermal/of-thermal.c tzd = thermal_zone_of_add_sensor(child, sensor_np, child 528 drivers/thermal/of-thermal.c of_node_put(child); child 857 drivers/thermal/of-thermal.c struct device_node *child = NULL, *gchild; child 900 drivers/thermal/of-thermal.c child = of_get_child_by_name(np, "trips"); child 903 drivers/thermal/of-thermal.c if (!child) child 906 drivers/thermal/of-thermal.c tz->ntrips = of_get_child_count(child); child 917 drivers/thermal/of-thermal.c for_each_child_of_node(child, gchild) { child 923 drivers/thermal/of-thermal.c of_node_put(child); child 926 drivers/thermal/of-thermal.c child = of_get_child_by_name(np, "cooling-maps"); child 929 drivers/thermal/of-thermal.c if (!child) child 932 drivers/thermal/of-thermal.c tz->num_tbps = of_get_child_count(child); child 943 drivers/thermal/of-thermal.c for_each_child_of_node(child, gchild) { child 951 drivers/thermal/of-thermal.c of_node_put(child); child 975 drivers/thermal/of-thermal.c of_node_put(child); child 1015 drivers/thermal/of-thermal.c struct device_node *np, *child; child 1025 drivers/thermal/of-thermal.c for_each_available_child_of_node(np, child) { child 1031 drivers/thermal/of-thermal.c tz = thermal_of_build_thermal_zone(child); child 1034 drivers/thermal/of-thermal.c child, child 1052 drivers/thermal/of-thermal.c if (!of_property_read_u32(child, "sustainable-power", &prop)) child 1062 drivers/thermal/of-thermal.c zone = thermal_zone_device_register(child->name, tz->ntrips, child 1068 drivers/thermal/of-thermal.c pr_err("Failed to build %pOFn zone %ld\n", child, child 1081 drivers/thermal/of-thermal.c of_node_put(child); child 1100 drivers/thermal/of-thermal.c struct device_node *np, *child; child 1108 drivers/thermal/of-thermal.c for_each_available_child_of_node(np, child) { child 1111 drivers/thermal/of-thermal.c zone = thermal_zone_get_zone_by_name(child->name); child 428 drivers/thunderbolt/property.c const struct tb_property_dir *child; child 435 drivers/thunderbolt/property.c child = property->value.dir; child 436 drivers/thunderbolt/property.c ret = __tb_property_format_dir(child, block, dir_end, child 440 drivers/thunderbolt/property.c entry->length = tb_property_dir_length(child, false, child 875 drivers/tty/tty_ldisc.c .child = tty_table, child 884 drivers/tty/tty_ldisc.c .child = tty_dir_table, child 177 drivers/usb/common/ulpi.c struct device_node *np = NULL, *child; child 189 drivers/usb/common/ulpi.c child = of_get_next_available_child(np, NULL); child 191 drivers/usb/common/ulpi.c if (!child) child 194 drivers/usb/common/ulpi.c ulpi->dev.of_node = child; child 700 drivers/usb/core/hub.c if (port_dev && port_dev->child) child 701 drivers/usb/core/hub.c pm_wakeup_event(&port_dev->child->dev, 0); child 1114 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 1318 drivers/usb/core/hub.c if (hub->ports[i]->child) child 1319 drivers/usb/core/hub.c usb_disconnect(&hub->ports[i]->child); child 1906 drivers/usb/core/hub.c if (hub->ports[i]->child == NULL) child 1910 drivers/usb/core/hub.c hub->ports[i]->child->devnum; child 2006 drivers/usb/core/hub.c if (hub->ports[i]->child) child 2007 drivers/usb/core/hub.c recursively_mark_NOTATTACHED(hub->ports[i]->child); child 2165 drivers/usb/core/hub.c if (hub->ports[i]->child) child 2166 drivers/usb/core/hub.c usb_disconnect(&hub->ports[i]->child); child 3650 drivers/usb/core/hub.c udev = port_dev->child; child 3709 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 3776 drivers/usb/core/hub.c udev = hub->ports[i]->child; child 4281 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 4363 drivers/usb/core/hub.c if (port_dev->child && set_state) child 4364 drivers/usb/core/hub.c usb_set_device_state(port_dev->child, USB_STATE_NOTATTACHED); child 4923 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 4966 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 4973 drivers/usb/core/hub.c usb_disconnect(&port_dev->child); child 5116 drivers/usb/core/hub.c port_dev->child = udev; child 5126 drivers/usb/core/hub.c port_dev->child = NULL; child 5193 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 5283 drivers/usb/core/hub.c struct usb_device *udev = port_dev->child; child 6012 drivers/usb/core/hub.c return hub->ports[port1 - 1]->child; child 94 drivers/usb/core/hub.h struct usb_device *child; child 110 drivers/usb/core/port.c struct usb_device *udev = port_dev->child; child 197 drivers/usb/core/port.c struct usb_device *udev = port_dev->child; child 298 drivers/usb/core/port.c if (port_dev->child) child 299 drivers/usb/core/port.c usb_disable_usb2_hardware_lpm(port_dev->child); child 515 drivers/usb/core/port.c peer_hdev = upstream->peer->child; child 200 drivers/usb/dwc3/dwc3-st.c struct device_node *node = dev->of_node, *child; child 254 drivers/usb/dwc3/dwc3-st.c child = of_get_child_by_name(node, "dwc3"); child 255 drivers/usb/dwc3/dwc3-st.c if (!child) { child 268 drivers/usb/dwc3/dwc3-st.c child_pdev = of_find_device_by_node(child); child 276 drivers/usb/dwc3/dwc3-st.c of_node_put(child); child 298 drivers/usb/dwc3/dwc3-st.c of_node_put(child); child 82 drivers/usb/gadget/function/uvc_configfs.c const struct uvcg_config_group_type **child; child 88 drivers/usb/gadget/function/uvc_configfs.c for (child = type->children; child && *child; ++child) { child 89 drivers/usb/gadget/function/uvc_configfs.c ret = uvcg_config_create_group(group, *child); child 114 drivers/usb/gadget/function/uvc_configfs.c struct config_group *child, *n; child 116 drivers/usb/gadget/function/uvc_configfs.c list_for_each_entry_safe(child, n, &group->default_groups, group_entry) { child 117 drivers/usb/gadget/function/uvc_configfs.c list_del(&child->group_entry); child 118 drivers/usb/gadget/function/uvc_configfs.c uvcg_config_remove_children(child); child 119 drivers/usb/gadget/function/uvc_configfs.c config_item_put(&child->cg_item); child 52 drivers/usb/host/ehci-exynos.c struct device_node *child; child 70 drivers/usb/host/ehci-exynos.c for_each_available_child_of_node(dev->of_node, child) { child 71 drivers/usb/host/ehci-exynos.c ret = of_property_read_u32(child, "reg", &phy_number); child 74 drivers/usb/host/ehci-exynos.c of_node_put(child); child 80 drivers/usb/host/ehci-exynos.c of_node_put(child); child 84 drivers/usb/host/ehci-exynos.c phy = devm_of_phy_get(dev, child, NULL); child 89 drivers/usb/host/ehci-exynos.c of_node_put(child); child 94 drivers/usb/host/ehci-exynos.c of_node_put(child); child 41 drivers/usb/host/ohci-exynos.c struct device_node *child; child 59 drivers/usb/host/ohci-exynos.c for_each_available_child_of_node(dev->of_node, child) { child 60 drivers/usb/host/ohci-exynos.c ret = of_property_read_u32(child, "reg", &phy_number); child 63 drivers/usb/host/ohci-exynos.c of_node_put(child); child 69 drivers/usb/host/ohci-exynos.c of_node_put(child); child 73 drivers/usb/host/ohci-exynos.c phy = devm_of_phy_get(dev, child, NULL); child 78 drivers/usb/host/ohci-exynos.c of_node_put(child); child 83 drivers/usb/host/ohci-exynos.c of_node_put(child); child 227 drivers/usb/misc/usb251xb.c static int usb251xb_check_dev_children(struct device *dev, void *child) child 230 drivers/usb/misc/usb251xb.c return device_for_each_child(dev, child, child 234 drivers/usb/misc/usb251xb.c return (dev == child); child 370 drivers/video/backlight/lp855x_bl.c struct device_node *child; child 377 drivers/video/backlight/lp855x_bl.c for_each_child_of_node(node, child) { child 378 drivers/video/backlight/lp855x_bl.c of_property_read_u8(child, "rom-addr", &rom[i].addr); child 379 drivers/video/backlight/lp855x_bl.c of_property_read_u8(child, "rom-val", &rom[i].val); child 134 drivers/video/fbdev/aty/radeon_monitor.c dp = dp->child; child 1195 drivers/video/fbdev/omap2/omapfb/dss/dss.c struct device *child = data; child 1196 drivers/video/fbdev/omap2/omapfb/dss/dss.c return dev == child; child 181 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c struct device_node *dss, *child; child 194 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c for_each_available_child_of_node(dss, child) { child 195 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (!of_find_property(child, "compatible", NULL)) child 198 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c omapdss_walk_device(child, true); child 1741 drivers/video/fbdev/riva/fbdev.c for (; dp != NULL; dp = dp->child) { child 97 drivers/xen/balloon.c .child = balloon_table, child 106 drivers/xen/balloon.c .child = balloon_root, child 518 fs/affs/namei.c static struct dentry *affs_get_parent(struct dentry *child) child 523 fs/affs/namei.c bh = affs_bread(child->d_sb, d_inode(child)->i_ino); child 527 fs/affs/namei.c parent = affs_iget(child->d_sb, child 528 fs/affs/namei.c be32_to_cpu(AFFS_TAIL(child->d_sb, bh)->parent)); child 74 fs/autofs/expire.c static struct dentry *positive_after(struct dentry *p, struct dentry *child) child 76 fs/autofs/expire.c if (child) child 77 fs/autofs/expire.c child = list_next_entry(child, d_child); child 79 fs/autofs/expire.c child = list_first_entry(&p->d_subdirs, struct dentry, d_child); child 81 fs/autofs/expire.c list_for_each_entry_from(child, &p->d_subdirs, d_child) { child 82 fs/autofs/expire.c spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); child 83 fs/autofs/expire.c if (simple_positive(child)) { child 84 fs/autofs/expire.c dget_dlock(child); child 85 fs/autofs/expire.c spin_unlock(&child->d_lock); child 86 fs/autofs/expire.c return child; child 88 fs/autofs/expire.c spin_unlock(&child->d_lock); child 64 fs/befs/linuxvfs.c static struct dentry *befs_get_parent(struct dentry *child); child 666 fs/befs/linuxvfs.c static struct dentry *befs_get_parent(struct dentry *child) child 669 fs/befs/linuxvfs.c struct befs_inode_info *befs_ino = BEFS_I(d_inode(child)); child 671 fs/befs/linuxvfs.c parent = befs_iget(child->d_sb, child 24 fs/bfs/dir.c static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino); child 26 fs/bfs/dir.c const struct qstr *child, child 267 fs/bfs/dir.c static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino) child 269 fs/bfs/dir.c const unsigned char *name = child->name; child 270 fs/bfs/dir.c int namelen = child->len; child 322 fs/bfs/dir.c const struct qstr *child, child 328 fs/bfs/dir.c const unsigned char *name = child->name; child 329 fs/bfs/dir.c int namelen = child->len; child 1877 fs/btrfs/ctree.c struct extent_buffer *child; child 1883 fs/btrfs/ctree.c child = btrfs_read_node_slot(mid, 0); child 1884 fs/btrfs/ctree.c if (IS_ERR(child)) { child 1885 fs/btrfs/ctree.c ret = PTR_ERR(child); child 1890 fs/btrfs/ctree.c btrfs_tree_lock(child); child 1891 fs/btrfs/ctree.c btrfs_set_lock_blocking_write(child); child 1892 fs/btrfs/ctree.c ret = btrfs_cow_block(trans, root, child, mid, 0, &child); child 1894 fs/btrfs/ctree.c btrfs_tree_unlock(child); child 1895 fs/btrfs/ctree.c free_extent_buffer(child); child 1899 fs/btrfs/ctree.c ret = tree_mod_log_insert_root(root->node, child, 1); child 1901 fs/btrfs/ctree.c rcu_assign_pointer(root->node, child); child 1904 fs/btrfs/ctree.c btrfs_tree_unlock(child); child 155 fs/btrfs/export.c static struct dentry *btrfs_get_parent(struct dentry *child) child 157 fs/btrfs/export.c struct inode *dir = d_inode(child); child 224 fs/btrfs/export.c struct dentry *child) child 226 fs/btrfs/export.c struct inode *inode = d_inode(child); child 940 fs/btrfs/ioctl.c static inline int btrfs_may_create(struct inode *dir, struct dentry *child) child 942 fs/btrfs/ioctl.c if (d_really_is_positive(child)) child 288 fs/ceph/export.c struct dentry *child, u64 ino) child 301 fs/ceph/export.c if (child) { child 302 fs/ceph/export.c req->r_inode = d_inode(child); child 303 fs/ceph/export.c ihold(d_inode(child)); child 333 fs/ceph/export.c static struct dentry *ceph_get_parent(struct dentry *child) child 335 fs/ceph/export.c struct inode *inode = d_inode(child); child 342 fs/ceph/export.c if (!d_is_dir(child)) { child 372 fs/ceph/export.c dn = __get_parent(child->d_sb, child, 0); child 376 fs/ceph/export.c child, ceph_vinop(inode), (long)PTR_ERR_OR_ZERO(dn)); child 408 fs/ceph/export.c struct dentry *child) child 410 fs/ceph/export.c struct inode *inode = d_inode(child); child 500 fs/ceph/export.c child, ceph_vinop(inode), err); child 505 fs/ceph/export.c struct dentry *child) child 509 fs/ceph/export.c struct inode *inode = d_inode(child); child 513 fs/ceph/export.c return __get_snap_name(parent, name, child); child 538 fs/ceph/export.c child, ceph_vinop(inode), name); child 541 fs/ceph/export.c child, ceph_vinop(inode), err); child 1694 fs/ceph/mds_client.c struct dentry *child; child 1701 fs/ceph/mds_client.c list_for_each_entry(child, &dentry->d_subdirs, d_child) { child 1702 fs/ceph/mds_client.c if (d_really_is_positive(child)) { child 409 fs/ceph/snap.c struct ceph_snap_realm *child; child 414 fs/ceph/snap.c list_for_each_entry(child, &realm->children, child_item) child 415 fs/ceph/snap.c rebuild_snap_realms(child, dirty_realms); child 974 fs/ceph/snap.c struct ceph_snap_realm *child = child 977 fs/ceph/snap.c if (!child) child 979 fs/ceph/snap.c adjust_snap_realm_parent(mdsc, child, realm->ino); child 733 fs/cifs/cifsfs.c struct dentry *child; child 756 fs/cifs/cifsfs.c child = lookup_one_len_unlocked(p, dentry, s - p); child 758 fs/cifs/cifsfs.c dentry = child; child 46 fs/coda/sysctl.c .child = coda_table child 635 fs/configfs/dir.c struct dentry *child; child 648 fs/configfs/dir.c child = sd->s_dentry; child 650 fs/configfs/dir.c inode_lock(d_inode(child)); child 653 fs/configfs/dir.c d_inode(child)->i_flags |= S_DEAD; child 654 fs/configfs/dir.c dont_mount(child); child 656 fs/configfs/dir.c inode_unlock(d_inode(child)); child 658 fs/configfs/dir.c d_delete(child); child 659 fs/configfs/dir.c dput(child); child 683 fs/configfs/dir.c struct dentry *child, *parent = parent_group->cg_item.ci_dentry; child 689 fs/configfs/dir.c child = d_alloc_name(parent, group->cg_item.ci_name); child 690 fs/configfs/dir.c if (child) { child 691 fs/configfs/dir.c d_add(child, NULL); child 694 fs/configfs/dir.c &group->cg_item, child, frag); child 696 fs/configfs/dir.c sd = child->d_fsdata; child 699 fs/configfs/dir.c BUG_ON(d_inode(child)); child 700 fs/configfs/dir.c d_drop(child); child 701 fs/configfs/dir.c dput(child); child 408 fs/crypto/policy.c int fscrypt_has_permitted_context(struct inode *parent, struct inode *child) child 414 fs/crypto/policy.c if (!S_ISREG(child->i_mode) && !S_ISDIR(child->i_mode) && child 415 fs/crypto/policy.c !S_ISLNK(child->i_mode)) child 423 fs/crypto/policy.c if (!IS_ENCRYPTED(child)) child 444 fs/crypto/policy.c err = fscrypt_get_encryption_info(child); child 452 fs/crypto/policy.c err = fscrypt_get_policy(child, &child_policy); child 469 fs/crypto/policy.c int fscrypt_inherit_context(struct inode *parent, struct inode *child, child 488 fs/crypto/policy.c res = parent->i_sb->s_cop->set_context(child, &ctx, ctxsize, fs_data); child 491 fs/crypto/policy.c return preload ? fscrypt_get_encryption_info(child): 0; child 1335 fs/dcache.c struct dentry *child = this_parent; child 1336 fs/dcache.c this_parent = child->d_parent; child 1338 fs/dcache.c spin_unlock(&child->d_lock); child 1346 fs/dcache.c next = child->d_child.next; child 1349 fs/dcache.c child = list_entry(next, struct dentry, d_child); child 1350 fs/dcache.c } while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED)); child 757 fs/debugfs/inode.c struct dentry *child, *parent; child 772 fs/debugfs/inode.c list_for_each_entry(child, &parent->d_subdirs, d_child) { child 773 fs/debugfs/inode.c if (!simple_positive(child)) child 777 fs/debugfs/inode.c if (!list_empty(&child->d_subdirs)) { child 780 fs/debugfs/inode.c parent = child; child 786 fs/debugfs/inode.c if (!__debugfs_remove(child, parent)) child 801 fs/debugfs/inode.c child = parent; child 805 fs/debugfs/inode.c if (child != dentry) child 809 fs/debugfs/inode.c if (!__debugfs_remove(child, parent)) child 79 fs/devpts/inode.c .child = pty_table, child 88 fs/devpts/inode.c .child = pty_kern_table, child 110 fs/efs/namei.c struct dentry *efs_get_parent(struct dentry *child) child 115 fs/efs/namei.c ino = efs_find_entry(d_inode(child), "..", 2); child 117 fs/efs/namei.c parent = d_obtain_alias(efs_iget(child->d_sb, ino)); child 24 fs/exportfs/expfs.c static int get_name(const struct path *path, char *name, struct dentry *child); child 28 fs/exportfs/expfs.c char *name, struct dentry *child) child 34 fs/exportfs/expfs.c return nop->get_name(dir, name, child); child 36 fs/exportfs/expfs.c return get_name(&path, name, child); child 277 fs/exportfs/expfs.c static int get_name(const struct path *path, char *name, struct dentry *child) child 286 fs/exportfs/expfs.c .dentry = child, child 341 fs/ext2/dir.c const struct qstr *child, struct page **res_page) child 343 fs/ext2/dir.c const char *name = child->name; child 344 fs/ext2/dir.c int namelen = child->len; child 417 fs/ext2/dir.c ino_t ext2_inode_by_name(struct inode *dir, const struct qstr *child) child 423 fs/ext2/dir.c de = ext2_find_entry (dir, child, &page); child 771 fs/ext2/ext2.h struct dentry *ext2_get_parent(struct dentry *child); child 78 fs/ext2/namei.c struct dentry *ext2_get_parent(struct dentry *child) child 81 fs/ext2/namei.c unsigned long ino = ext2_inode_by_name(d_inode(child), &dotdot); child 84 fs/ext2/namei.c return d_obtain_alias(ext2_iget(child->d_sb, ino)); child 3207 fs/ext4/ext4.h extern struct dentry *ext4_get_parent(struct dentry *child); child 1733 fs/ext4/namei.c struct dentry *ext4_get_parent(struct dentry *child) child 1740 fs/ext4/namei.c bh = ext4_find_entry(d_inode(child), &dotdot, &de, NULL); child 1748 fs/ext4/namei.c if (!ext4_valid_inum(child->d_sb, ino)) { child 1749 fs/ext4/namei.c EXT4_ERROR_INODE(d_inode(child), child 1754 fs/ext4/namei.c return d_obtain_alias(ext4_iget(child->d_sb, ino, EXT4_IGET_NORMAL)); child 353 fs/f2fs/dir.c const struct qstr *child, struct page **res_page) child 361 fs/f2fs/dir.c utf8_validate(F2FS_I_SB(dir)->s_encoding, child)) { child 367 fs/f2fs/dir.c err = fscrypt_setup_filename(dir, child, 1, &fname); child 2960 fs/f2fs/f2fs.h struct dentry *f2fs_get_parent(struct dentry *child); child 2988 fs/f2fs/f2fs.h const struct qstr *child, struct page **res_page); child 363 fs/f2fs/namei.c struct dentry *f2fs_get_parent(struct dentry *child) child 367 fs/f2fs/namei.c unsigned long ino = f2fs_inode_by_name(d_inode(child), &dotdot, &page); child 373 fs/f2fs/namei.c return d_obtain_alias(f2fs_iget(child->d_sb, ino)); child 91 fs/fscache/main.c .child = fscache_sysctls, child 1523 fs/fuse/dev.c outarg.child, &name); child 777 fs/fuse/inode.c static struct dentry *fuse_get_parent(struct dentry *child) child 779 fs/fuse/inode.c struct inode *child_inode = d_inode(child); child 86 fs/gfs2/export.c struct dentry *child) child 89 fs/gfs2/export.c struct inode *inode = d_inode(child); child 126 fs/gfs2/export.c static struct dentry *gfs2_get_parent(struct dentry *child) child 128 fs/gfs2/export.c return d_obtain_alias(gfs2_lookupi(d_inode(child), &gfs2_qdotdot, 1)); child 44 fs/isofs/export.c static struct dentry *isofs_export_get_parent(struct dentry *child) child 48 fs/isofs/export.c struct inode *child_inode = d_inode(child); child 135 fs/jffs2/super.c static struct dentry *jffs2_get_parent(struct dentry *child) child 140 fs/jffs2/super.c BUG_ON(!d_is_dir(child)); child 142 fs/jffs2/super.c f = JFFS2_INODE_INFO(d_inode(child)); child 149 fs/jffs2/super.c return d_obtain_alias(jffs2_iget(child->d_sb, pino)); child 3885 fs/jfs/jfs_dmap.c int child, parent, nparent; child 3934 fs/jfs/jfs_dmap.c for (child = le32_to_cpu(dtp->leafidx), child 3936 fs/jfs/jfs_dmap.c nparent > 0; nparent >>= 2, child = parent) { child 3938 fs/jfs/jfs_dmap.c parent = (child - 1) >> 2; child 3943 fs/jfs/jfs_dmap.c for (i = 0, cp = tp + child, cp1 = tp + parent; child 115 fs/kernfs/mount.c static struct dentry *kernfs_get_parent_dentry(struct dentry *child) child 117 fs/kernfs/mount.c struct kernfs_node *kn = kernfs_dentry_node(child); child 119 fs/kernfs/mount.c return d_obtain_alias(kernfs_get_inode(child->d_sb, kn->parent)); child 150 fs/kernfs/mount.c static struct kernfs_node *find_next_ancestor(struct kernfs_node *child, child 153 fs/kernfs/mount.c if (child == parent) { child 158 fs/kernfs/mount.c while (child->parent != parent) { child 159 fs/kernfs/mount.c if (!child->parent) child 161 fs/kernfs/mount.c child = child->parent; child 164 fs/kernfs/mount.c return child; child 336 fs/libfs.c struct dentry *child; child 340 fs/libfs.c list_for_each_entry(child, &dentry->d_subdirs, d_child) { child 341 fs/libfs.c spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); child 342 fs/libfs.c if (simple_positive(child)) { child 343 fs/libfs.c spin_unlock(&child->d_lock); child 346 fs/libfs.c spin_unlock(&child->d_lock); child 603 fs/lockd/svc.c .child = nlm_sysctls, child 612 fs/lockd/svc.c .child = nlm_sysctl_dir, child 2574 fs/namei.c struct dentry *child, *parent; child 2585 fs/namei.c child = d_hash_and_lookup(parent, &this); child 2586 fs/namei.c if (!child) child 2589 fs/namei.c path->dentry = child; child 2830 fs/namei.c static inline int may_create(struct inode *dir, struct dentry *child) child 2833 fs/namei.c audit_inode_child(dir, child, AUDIT_TYPE_CHILD_CREATE); child 2834 fs/namei.c if (child->d_inode) child 3430 fs/namei.c struct dentry *child = NULL; child 3443 fs/namei.c child = d_alloc(dentry, &slash_name); child 3444 fs/namei.c if (unlikely(!child)) child 3446 fs/namei.c error = dir->i_op->tmpfile(dir, child, mode); child 3450 fs/namei.c inode = child->d_inode; child 3459 fs/namei.c return child; child 3462 fs/namei.c dput(child); child 3471 fs/namei.c struct dentry *child; child 3479 fs/namei.c child = vfs_tmpfile(path.dentry, op->mode, op->open_flag); child 3480 fs/namei.c error = PTR_ERR(child); child 3481 fs/namei.c if (IS_ERR(child)) child 3484 fs/namei.c path.dentry = child; child 3485 fs/namei.c audit_inode(nd->name, child, 0); child 3491 fs/namei.c error = finish_open(file, child, NULL); child 2049 fs/namespace.c struct mount *child, *p; child 2093 fs/namespace.c hlist_for_each_entry_safe(child, n, &tree_list, mnt_hash) { child 2095 fs/namespace.c hlist_del_init(&child->mnt_hash); child 2096 fs/namespace.c q = __lookup_mnt(&child->mnt_parent->mnt, child 2097 fs/namespace.c child->mnt_mountpoint); child 2099 fs/namespace.c mnt_change_mountpoint(child, smp, q); child 2101 fs/namespace.c if (child->mnt_parent->mnt_ns->user_ns != user_ns) child 2102 fs/namespace.c lock_mnt_tree(child); child 2103 fs/namespace.c child->mnt.mnt_flags &= ~MNT_LOCKED; child 2104 fs/namespace.c commit_tree(child); child 2113 fs/namespace.c child = hlist_entry(tree_list.first, struct mount, mnt_hash); child 2114 fs/namespace.c child->mnt_parent->mnt_ns->pending_mounts = 0; child 2115 fs/namespace.c umount_tree(child, UMOUNT_SYNC); child 2236 fs/namespace.c struct mount *child; child 2237 fs/namespace.c list_for_each_entry(child, &mnt->mnt_mounts, mnt_child) { child 2238 fs/namespace.c if (!is_subdir(child->mnt_mountpoint, dentry)) child 2241 fs/namespace.c if (child->mnt.mnt_flags & MNT_LOCKED) child 3853 fs/namespace.c struct mount *child; child 3886 fs/namespace.c list_for_each_entry(child, &mnt->mnt_mounts, mnt_child) { child 3887 fs/namespace.c struct inode *inode = child->mnt_mountpoint->d_inode; child 3889 fs/namespace.c if (!(child->mnt.mnt_flags & MNT_LOCKED)) child 182 fs/nfs/blocklayout/dev.c struct pnfs_block_dev *child = &dev->children[i]; child 184 fs/nfs/blocklayout/dev.c if (child->start > offset || child 185 fs/nfs/blocklayout/dev.c child->start + child->len <= offset) child 188 fs/nfs/blocklayout/dev.c child->map(child, offset - child->start, map); child 199 fs/nfs/blocklayout/dev.c struct pnfs_block_dev *child; child 220 fs/nfs/blocklayout/dev.c child = &dev->children[chunk_idx]; child 221 fs/nfs/blocklayout/dev.c child->map(child, disk_offset, map); child 44 fs/nfs/nfs4sysctl.c .child = nfs4_cb_sysctls, child 53 fs/nfs/nfs4sysctl.c .child = nfs4_cb_sysctl_dir, child 39 fs/nfs/sysctl.c .child = nfs_cb_sysctls, child 48 fs/nfs/sysctl.c .child = nfs_cb_sysctl_dir, child 433 fs/nfsd/nfs4recover.c purge_old(struct dentry *parent, struct dentry *child, struct nfsd_net *nn) child 438 fs/nfsd/nfs4recover.c if (child->d_name.len != HEXDIR_LEN - 1) { child 440 fs/nfsd/nfs4recover.c __func__, child); child 444 fs/nfsd/nfs4recover.c name.data = kmemdup_nul(child->d_name.name, child->d_name.len, GFP_KERNEL); child 454 fs/nfsd/nfs4recover.c status = vfs_rmdir(d_inode(parent), child); child 457 fs/nfsd/nfs4recover.c child); child 488 fs/nfsd/nfs4recover.c load_recdir(struct dentry *parent, struct dentry *child, struct nfsd_net *nn) child 493 fs/nfsd/nfs4recover.c if (child->d_name.len != HEXDIR_LEN - 1) { child 495 fs/nfsd/nfs4recover.c __func__, child); child 499 fs/nfsd/nfs4recover.c name.data = kmemdup_nul(child->d_name.name, child->d_name.len, GFP_KERNEL); child 972 fs/nilfs2/btree.c struct nilfs_btree_node *root, *child; child 976 fs/nilfs2/btree.c child = nilfs_btree_get_sib_node(path, level); child 981 fs/nilfs2/btree.c nilfs_btree_node_move_right(root, child, n, child 993 fs/nilfs2/btree.c *keyp = nilfs_btree_node_get_key(child, 0); child 1393 fs/nilfs2/btree.c struct nilfs_btree_node *root, *child; child 1399 fs/nilfs2/btree.c child = nilfs_btree_get_nonroot_node(path, level); child 1405 fs/nilfs2/btree.c n = nilfs_btree_node_get_nchildren(child); child 1406 fs/nilfs2/btree.c nilfs_btree_node_move_left(root, child, n, child 436 fs/nilfs2/namei.c static struct dentry *nilfs_get_parent(struct dentry *child) child 443 fs/nilfs2/namei.c ino = nilfs_inode_by_name(d_inode(child), &dotdot); child 447 fs/nilfs2/namei.c root = NILFS_I(d_inode(child))->i_root; child 449 fs/nilfs2/namei.c inode = nilfs_iget(child->d_sb, root, ino); child 123 fs/notify/fsnotify.c struct dentry *child; child 129 fs/notify/fsnotify.c list_for_each_entry(child, &alias->d_subdirs, d_child) { child 130 fs/notify/fsnotify.c if (!child->d_inode) child 133 fs/notify/fsnotify.c spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); child 135 fs/notify/fsnotify.c child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; child 137 fs/notify/fsnotify.c child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; child 138 fs/notify/fsnotify.c spin_unlock(&child->d_lock); child 39 fs/ntfs/sysctl.c .child = ntfs_sysctls child 131 fs/ocfs2/export.c static struct dentry *ocfs2_get_parent(struct dentry *child) child 136 fs/ocfs2/export.c struct inode *dir = d_inode(child); child 139 fs/ocfs2/export.c trace_ocfs2_get_parent(child, child->d_name.len, child->d_name.name, child 20 fs/ocfs2/namei.h struct dentry *ocfs2_get_parent(struct dentry *child); child 2519 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *child, int len, const char *name, child 2521 fs/ocfs2/ocfs2_trace.h TP_ARGS(child, len, name, ino), child 2523 fs/ocfs2/ocfs2_trace.h __field(void *, child) child 2529 fs/ocfs2/ocfs2_trace.h __entry->child = child; child 2534 fs/ocfs2/ocfs2_trace.h TP_printk("%p %.*s %llu", __entry->child, __entry->len, child 4341 fs/ocfs2/refcounttree.c static inline int ocfs2_may_create(struct inode *dir, struct dentry *child) child 4343 fs/ocfs2/refcounttree.c if (d_really_is_positive(child)) child 678 fs/ocfs2/stackglue.c .child = ocfs2_nm_table child 689 fs/ocfs2/stackglue.c .child = ocfs2_mod_table child 700 fs/ocfs2/stackglue.c .child = ocfs2_kern_table child 184 fs/openpromfs/inode.c struct device_node *dp, *child; child 202 fs/openpromfs/inode.c child = dp->child; child 203 fs/openpromfs/inode.c while (child) { child 204 fs/openpromfs/inode.c const char *node_name = kbasename(child->full_name); child 210 fs/openpromfs/inode.c ent_data.node = child; child 211 fs/openpromfs/inode.c ino = child->unique_id; child 214 fs/openpromfs/inode.c child = child->sibling; child 270 fs/openpromfs/inode.c struct device_node *child; child 292 fs/openpromfs/inode.c child = dp->child; child 293 fs/openpromfs/inode.c while (i && child) { child 294 fs/openpromfs/inode.c child = child->sibling; child 297 fs/openpromfs/inode.c while (child) { child 299 fs/openpromfs/inode.c kbasename(child->full_name), child 300 fs/openpromfs/inode.c strlen(kbasename(child->full_name)), child 301 fs/openpromfs/inode.c child->unique_id, DT_DIR)) child 305 fs/openpromfs/inode.c child = child->sibling; child 821 fs/overlayfs/export.c struct dentry *child) child 227 fs/pnode.c struct mount *child; child 261 fs/pnode.c child = copy_tree(last_source, last_source->mnt.mnt_root, type); child 262 fs/pnode.c if (IS_ERR(child)) child 263 fs/pnode.c return PTR_ERR(child); child 265 fs/pnode.c mnt_set_mountpoint(m, mp, child); child 270 fs/pnode.c last_source = child; child 271 fs/pnode.c hlist_add_head(&child->mnt_hash, list); child 272 fs/pnode.c return count_mounts(m->mnt_ns, child); child 339 fs/pnode.c struct mount *child; child 344 fs/pnode.c child = list_first_entry(&mnt->mnt_mounts, struct mount, mnt_child); child 345 fs/pnode.c if (child->mnt_mountpoint != mnt->mnt.mnt_root) child 348 fs/pnode.c return child; child 371 fs/pnode.c struct mount *m, *child, *topper; child 388 fs/pnode.c child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint); child 389 fs/pnode.c if (!child) child 395 fs/pnode.c topper = find_topper(child); child 398 fs/pnode.c else if (!list_empty(&child->mnt_mounts)) child 401 fs/pnode.c if (do_refcount_check(child, count)) child 415 fs/pnode.c struct mount *m, *child; child 421 fs/pnode.c child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint); child 422 fs/pnode.c if (child) child 423 fs/pnode.c child->mnt.mnt_flags &= ~MNT_LOCKED; child 445 fs/pnode.c struct mount *child; child 457 fs/pnode.c list_for_each_entry(child, &mnt->mnt_mounts, mnt_child) { child 458 fs/pnode.c if (child->mnt_mountpoint == mnt->mnt.mnt_root) child 460 fs/pnode.c if (!list_empty(&child->mnt_umounting) && IS_MNT_MARKED(child)) child 484 fs/pnode.c struct mount *mnt, *child, *tmp; child 486 fs/pnode.c list_for_each_entry_safe(child, tmp, &mnt->mnt_mounts, mnt_child) { child 488 fs/pnode.c if (child->mnt_mountpoint == mnt->mnt.mnt_root) child 489 fs/pnode.c list_move_tail(&child->mnt_umounting, to_restore); child 491 fs/pnode.c umount_one(child, to_umount); child 559 fs/pnode.c struct mount *child = __lookup_mnt(&m->mnt, child 561 fs/pnode.c if (!child) child 564 fs/pnode.c if (!list_empty(&child->mnt_umounting)) { child 574 fs/pnode.c } else if (child->mnt.mnt_flags & MNT_UMOUNT) { child 581 fs/pnode.c list_add_tail(&child->mnt_umounting, &visited); child 586 fs/pnode.c while (__propagate_umount(child, child 589 fs/pnode.c child = child->mnt_parent; child 590 fs/pnode.c if (list_empty(&child->mnt_umounting)) child 1886 fs/proc/base.c struct dentry *child, *dir = file->f_path.dentry; child 1892 fs/proc/base.c child = d_hash_and_lookup(dir, &qname); child 1893 fs/proc/base.c if (!child) { child 1895 fs/proc/base.c child = d_alloc_parallel(dir, &qname, &wq); child 1896 fs/proc/base.c if (IS_ERR(child)) child 1898 fs/proc/base.c if (d_in_lookup(child)) { child 1900 fs/proc/base.c res = instantiate(child, task, ptr); child 1901 fs/proc/base.c d_lookup_done(child); child 1903 fs/proc/base.c dput(child); child 1904 fs/proc/base.c child = res; child 1905 fs/proc/base.c if (IS_ERR(child)) child 1910 fs/proc/base.c inode = d_inode(child); child 1913 fs/proc/base.c dput(child); child 37 fs/proc/proc_sysctl.c return head->ctl_table[0].child == sysctl_mount_point; child 42 fs/proc/proc_sysctl.c dir->header.ctl_table[0].child = sysctl_mount_point; child 48 fs/proc/proc_sysctl.c dir->header.ctl_table[0].child = NULL; child 693 fs/proc/proc_sysctl.c struct dentry *child, *dir = file->f_path.dentry; child 703 fs/proc/proc_sysctl.c child = d_lookup(dir, &qname); child 704 fs/proc/proc_sysctl.c if (!child) { child 706 fs/proc/proc_sysctl.c child = d_alloc_parallel(dir, &qname, &wq); child 707 fs/proc/proc_sysctl.c if (IS_ERR(child)) child 709 fs/proc/proc_sysctl.c if (d_in_lookup(child)) { child 713 fs/proc/proc_sysctl.c d_lookup_done(child); child 714 fs/proc/proc_sysctl.c dput(child); child 717 fs/proc/proc_sysctl.c d_set_d_op(child, &proc_sys_dentry_operations); child 718 fs/proc/proc_sysctl.c res = d_splice_alias(inode, child); child 719 fs/proc/proc_sysctl.c d_lookup_done(child); child 722 fs/proc/proc_sysctl.c dput(child); child 725 fs/proc/proc_sysctl.c dput(child); child 726 fs/proc/proc_sysctl.c child = res; child 730 fs/proc/proc_sysctl.c inode = d_inode(child); child 733 fs/proc/proc_sysctl.c dput(child); child 1132 fs/proc/proc_sysctl.c if (table->child) child 1424 fs/proc/proc_sysctl.c if (entry->child) child 1425 fs/proc/proc_sysctl.c nr_subheaders += count_subheaders(entry->child); child 1443 fs/proc/proc_sysctl.c if (entry->child) child 1460 fs/proc/proc_sysctl.c if (entry->child) child 1486 fs/proc/proc_sysctl.c if (!entry->child) child 1495 fs/proc/proc_sysctl.c set, entry->child); child 1537 fs/proc/proc_sysctl.c while (table->procname && table->child && !table[1].procname) { child 1541 fs/proc/proc_sysctl.c table = table->child; child 2951 fs/quota/dquot.c .child = fs_dqstats_table, child 2960 fs/quota/dquot.c .child = fs_table, child 400 fs/reiserfs/namei.c struct dentry *reiserfs_get_parent(struct dentry *child) child 406 fs/reiserfs/namei.c struct inode *dir = d_inode(child); child 98 fs/squashfs/export.c static struct dentry *squashfs_get_parent(struct dentry *child) child 100 fs/squashfs/export.c struct inode *inode = d_inode(child); child 563 fs/tracefs/inode.c struct dentry *child, *parent; child 578 fs/tracefs/inode.c list_for_each_entry(child, &parent->d_subdirs, d_child) { child 579 fs/tracefs/inode.c if (!simple_positive(child)) child 583 fs/tracefs/inode.c if (!list_empty(&child->d_subdirs)) { child 586 fs/tracefs/inode.c parent = child; child 592 fs/tracefs/inode.c if (!__tracefs_remove(child, parent)) child 607 fs/tracefs/inode.c child = parent; child 611 fs/tracefs/inode.c if (child != dentry) child 615 fs/tracefs/inode.c if (!__tracefs_remove(child, parent)) child 1566 fs/ubifs/debug.c struct ubifs_znode *znode, *child; child 1587 fs/ubifs/debug.c child = zbr->znode; child 1588 fs/ubifs/debug.c if (!child) { child 1589 fs/ubifs/debug.c child = ubifs_load_znode(c, zbr, znode, 0); child 1590 fs/ubifs/debug.c if (IS_ERR(child)) { child 1591 fs/ubifs/debug.c err = PTR_ERR(child); child 1596 fs/ubifs/debug.c znode = child; child 1634 fs/ubifs/debug.c child = zbr->znode; child 1635 fs/ubifs/debug.c if (!child) { child 1636 fs/ubifs/debug.c child = ubifs_load_znode(c, zbr, znode, idx); child 1637 fs/ubifs/debug.c if (IS_ERR(child)) { child 1638 fs/ubifs/debug.c err = PTR_ERR(child); child 1641 fs/ubifs/debug.c zbr->znode = child; child 1643 fs/ubifs/debug.c znode = child; child 1654 fs/ubifs/debug.c child = zbr->znode; child 1655 fs/ubifs/debug.c if (!child) { child 1656 fs/ubifs/debug.c child = ubifs_load_znode(c, zbr, znode, 0); child 1657 fs/ubifs/debug.c if (IS_ERR(child)) { child 1658 fs/ubifs/debug.c err = PTR_ERR(child); child 1661 fs/ubifs/debug.c zbr->znode = child; child 1663 fs/ubifs/debug.c znode = child; child 175 fs/ubifs/tnc_misc.c struct ubifs_znode *child; child 177 fs/ubifs/tnc_misc.c child = ubifs_tnc_find_child(znode, 0); child 178 fs/ubifs/tnc_misc.c if (!child) child 180 fs/ubifs/tnc_misc.c znode = child; child 161 fs/udf/namei.c const struct qstr *child, child 179 fs/udf/namei.c int isdotdot = child->len == 2 && child 180 fs/udf/namei.c child->name[0] == '.' && child->name[1] == '.'; child 279 fs/udf/namei.c if (udf_match(flen, fname, child->len, child->name)) child 1213 fs/udf/namei.c static struct dentry *udf_get_parent(struct dentry *child) child 1221 fs/udf/namei.c if (!udf_find_entry(d_inode(child), &dotdot, &fibh, &cfi)) child 1229 fs/udf/namei.c inode = udf_iget(child->d_sb, &tloc); child 129 fs/ufs/super.c static struct dentry *ufs_get_parent(struct dentry *child) child 134 fs/ufs/super.c ino = ufs_inode_by_name(d_inode(child), &dot_dot); child 137 fs/ufs/super.c return d_obtain_alias(ufs_iget(child->d_sb, ino)); child 1082 fs/xfs/libxfs/xfs_da_btree.c xfs_dablk_t child; child 1110 fs/xfs/libxfs/xfs_da_btree.c child = be32_to_cpu(btree[0].before); child 1111 fs/xfs/libxfs/xfs_da_btree.c ASSERT(child != 0); child 1112 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, dp, child, -1, &bp, child 1134 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_shrink_inode(args, child, bp); child 208 fs/xfs/xfs_export.c struct dentry *child) child 213 fs/xfs/xfs_export.c error = xfs_lookup(XFS_I(d_inode(child)), &xfs_name_dotdot, &cip, NULL); child 201 fs/xfs/xfs_sysctl.c .child = xfs_table child 210 fs/xfs/xfs_sysctl.c .child = xfs_dir_table child 568 include/acpi/acpixf.h acpi_handle child, child 17 include/crypto/internal/geniv.h struct crypto_aead *child; child 1067 include/linux/acpi.h struct fwnode_handle *child); child 1188 include/linux/acpi.h struct fwnode_handle *child) child 474 include/linux/compat.h extern int compat_ptrace_request(struct task_struct *child, child 478 include/linux/compat.h extern long compat_arch_ptrace(struct task_struct *child, compat_long_t request, child 201 include/linux/exportfs.h struct dentry *child); child 202 include/linux/exportfs.h struct dentry * (*get_parent)(struct dentry *child); child 374 include/linux/fscrypt.h struct inode *child) child 380 include/linux/fscrypt.h struct inode *child, child 88 include/linux/fwnode.h struct fwnode_handle *child); child 40 include/linux/gameport.h struct gameport *parent, *child; child 182 include/linux/gpio/consumer.h struct fwnode_handle *child, child 544 include/linux/gpio/consumer.h struct fwnode_handle *child, child 556 include/linux/gpio/consumer.h struct fwnode_handle *child, child 560 include/linux/gpio/consumer.h return devm_fwnode_get_index_gpiod_from_child(dev, con_id, 0, child, child 26 include/linux/ioport.h struct resource *parent, *sibling, *child; child 41 include/linux/leds-ti-lmu-common.h struct fwnode_handle *child, child 44 include/linux/leds-ti-lmu-common.h int ti_lmu_common_get_brt_res(struct device *dev, struct fwnode_handle *child, child 191 include/linux/livepatch.h void klp_copy_process(struct task_struct *child); child 226 include/linux/livepatch.h static inline void klp_copy_process(struct task_struct *child) {} child 1468 include/linux/lsm_hooks.h int (*ptrace_access_check)(struct task_struct *child, child 37 include/linux/mfd/smsc.h static inline int smsc_read(struct device *child, unsigned int reg, child 40 include/linux/mfd/smsc.h struct smsc *smsc = dev_get_drvdata(child->parent); child 45 include/linux/mfd/smsc.h static inline int smsc_write(struct device *child, unsigned int reg, child 48 include/linux/mfd/smsc.h struct smsc *smsc = dev_get_drvdata(child->parent); child 60 include/linux/of.h struct device_node *child; child 1244 include/linux/of.h #define for_each_child_of_node(parent, child) \ child 1245 include/linux/of.h for (child = of_get_next_child(parent, NULL); child != NULL; \ child 1246 include/linux/of.h child = of_get_next_child(parent, child)) child 1247 include/linux/of.h #define for_each_available_child_of_node(parent, child) \ child 1248 include/linux/of.h for (child = of_get_next_available_child(parent, NULL); child != NULL; \ child 1249 include/linux/of.h child = of_get_next_available_child(parent, child)) child 1261 include/linux/of.h struct device_node *child; child 1264 include/linux/of.h for_each_child_of_node(np, child) child 1272 include/linux/of.h struct device_node *child; child 1275 include/linux/of.h for_each_available_child_of_node(np, child) child 36 include/linux/of_graph.h #define for_each_endpoint_of_node(parent, child) \ child 37 include/linux/of_graph.h for (child = of_graph_get_next_endpoint(parent, NULL); child != NULL; \ child 38 include/linux/of_graph.h child = of_graph_get_next_endpoint(parent, child)) child 50 include/linux/of_irq.h extern struct device_node *of_irq_find_parent(struct device_node *child); child 76 include/linux/of_irq.h static inline void *of_irq_find_parent(struct device_node *child) child 1014 include/linux/pci.h void pci_read_bridge_bases(struct pci_bus *child); child 898 include/linux/perf_event.h extern int perf_event_init_task(struct task_struct *child); child 899 include/linux/perf_event.h extern void perf_event_exit_task(struct task_struct *child); child 1359 include/linux/perf_event.h static inline int perf_event_init_task(struct task_struct *child) { return 0; } child 1360 include/linux/perf_event.h static inline void perf_event_exit_task(struct task_struct *child) { } child 87 include/linux/property.h const struct fwnode_handle *fwnode, struct fwnode_handle *child); child 89 include/linux/property.h const struct fwnode_handle *fwnode, struct fwnode_handle *child); child 91 include/linux/property.h #define fwnode_for_each_child_node(fwnode, child) \ child 92 include/linux/property.h for (child = fwnode_get_next_child_node(fwnode, NULL); child; \ child 93 include/linux/property.h child = fwnode_get_next_child_node(fwnode, child)) child 95 include/linux/property.h #define fwnode_for_each_available_child_node(fwnode, child) \ child 96 include/linux/property.h for (child = fwnode_get_next_available_child_node(fwnode, NULL); child;\ child 97 include/linux/property.h child = fwnode_get_next_available_child_node(fwnode, child)) child 100 include/linux/property.h struct device *dev, struct fwnode_handle *child); child 102 include/linux/property.h #define device_for_each_child_node(dev, child) \ child 103 include/linux/property.h for (child = device_get_next_child_node(dev, NULL); child; \ child 104 include/linux/property.h child = device_get_next_child_node(dev, child)) child 370 include/linux/property.h #define fwnode_graph_for_each_endpoint(fwnode, child) \ child 371 include/linux/property.h for (child = NULL; \ child 372 include/linux/property.h (child = fwnode_graph_get_next_endpoint(fwnode, child)); ) child 56 include/linux/ptrace.h extern long arch_ptrace(struct task_struct *child, long request, child 61 include/linux/ptrace.h extern int ptrace_request(struct task_struct *child, long request, child 64 include/linux/ptrace.h extern void __ptrace_link(struct task_struct *child, child 67 include/linux/ptrace.h extern void __ptrace_unlink(struct task_struct *child); child 97 include/linux/ptrace.h static inline int ptrace_reparented(struct task_struct *child) child 99 include/linux/ptrace.h return !same_thread_group(child->real_parent, child->parent); child 102 include/linux/ptrace.h static inline void ptrace_unlink(struct task_struct *child) child 104 include/linux/ptrace.h if (unlikely(child->ptrace)) child 105 include/linux/ptrace.h __ptrace_unlink(child); child 208 include/linux/ptrace.h static inline void ptrace_init_task(struct task_struct *child, bool ptrace) child 210 include/linux/ptrace.h INIT_LIST_HEAD(&child->ptrace_entry); child 211 include/linux/ptrace.h INIT_LIST_HEAD(&child->ptraced); child 212 include/linux/ptrace.h child->jobctl = 0; child 213 include/linux/ptrace.h child->ptrace = 0; child 214 include/linux/ptrace.h child->parent = child->real_parent; child 217 include/linux/ptrace.h child->ptrace = current->ptrace; child 218 include/linux/ptrace.h __ptrace_link(child, current->parent, current->ptracer_cred); child 220 include/linux/ptrace.h if (child->ptrace & PT_SEIZED) child 221 include/linux/ptrace.h task_set_jobctl_pending(child, JOBCTL_TRAP_STOP); child 223 include/linux/ptrace.h sigaddset(&child->pending.signal, SIGSTOP); child 226 include/linux/ptrace.h child->ptracer_cred = NULL; child 124 include/linux/rbtree_augmented.h RBSTRUCT *child; \ child 127 include/linux/rbtree_augmented.h child = rb_entry(node->RBFIELD.rb_left, RBSTRUCT, RBFIELD); \ child 128 include/linux/rbtree_augmented.h if (child->RBAUGMENTED > max) \ child 129 include/linux/rbtree_augmented.h max = child->RBAUGMENTED; \ child 132 include/linux/rbtree_augmented.h child = rb_entry(node->RBFIELD.rb_right, RBSTRUCT, RBFIELD); \ child 133 include/linux/rbtree_augmented.h if (child->RBAUGMENTED > max) \ child 134 include/linux/rbtree_augmented.h max = child->RBAUGMENTED; \ child 201 include/linux/rbtree_augmented.h struct rb_node *child = node->rb_right; child 216 include/linux/rbtree_augmented.h __rb_change_child(node, child, parent, root); child 217 include/linux/rbtree_augmented.h if (child) { child 218 include/linux/rbtree_augmented.h child->__rb_parent_color = pc; child 223 include/linux/rbtree_augmented.h } else if (!child) { child 231 include/linux/rbtree_augmented.h struct rb_node *successor = child, *child2; child 233 include/linux/rbtree_augmented.h tmp = child->rb_left; child 270 include/linux/rbtree_augmented.h WRITE_ONCE(successor->rb_right, child); child 271 include/linux/rbtree_augmented.h rb_set_parent(child, successor); child 1486 include/linux/sched.h #define clear_stopped_child_used_math(child) do { (child)->flags &= ~PF_USED_MATH; } while (0) child 1487 include/linux/sched.h #define set_stopped_child_used_math(child) do { (child)->flags |= PF_USED_MATH; } while (0) child 1491 include/linux/sched.h #define conditional_stopped_child_used_math(condition, child) \ child 1492 include/linux/sched.h do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0) child 1496 include/linux/sched.h #define copy_to_stopped_child_used_math(child) \ child 1497 include/linux/sched.h do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= current->flags & PF_USED_MATH; } while (0) child 74 include/linux/sched/topology.h struct sched_domain __rcu *child; /* bottom domain must be null terminated */ child 135 include/linux/security.h extern int cap_ptrace_access_check(struct task_struct *child, unsigned int mode); child 259 include/linux/security.h int security_ptrace_access_check(struct task_struct *child, unsigned int mode); child 508 include/linux/security.h static inline int security_ptrace_access_check(struct task_struct *child, child 511 include/linux/security.h return cap_ptrace_access_check(child, mode); child 84 include/linux/sh_clk.h int clk_reparent(struct clk *child, struct clk *parent); child 129 include/linux/sysctl.h struct ctl_table *child; /* Deprecated */ child 730 include/linux/usb.h #define usb_hub_for_each_child(hdev, port1, child) \ child 731 include/linux/usb.h for (port1 = 1, child = usb_hub_find_child(hdev, port1); \ child 733 include/linux/usb.h child = usb_hub_find_child(hdev, ++port1)) \ child 734 include/linux/usb.h if (!child) continue; else child 136 include/linux/user_namespace.h const struct user_namespace *child); child 169 include/linux/user_namespace.h const struct user_namespace *child) child 265 include/net/inet_connection_sock.h struct sock *child); child 268 include/net/inet_connection_sock.h struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child, child 239 include/net/inet_hashtables.h int __inet_inherit_port(const struct sock *sk, struct sock *child); child 380 include/net/tcp.h int tcp_child_process(struct sock *parent, struct sock *child, child 933 include/net/xfrm.h struct dst_entry *child; child 962 include/net/xfrm.h return xdst->child; child 969 include/net/xfrm.h static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) child 971 include/net/xfrm.h xdst->child = child; child 1872 include/net/xfrm.h if (!x->xso.offload_handle && !xdst->child->xfrm) child 1875 include/net/xfrm.h !xdst->child->xfrm) child 289 include/trace/events/sched.h TP_PROTO(struct task_struct *parent, struct task_struct *child), child 291 include/trace/events/sched.h TP_ARGS(parent, child), child 303 include/trace/events/sched.h memcpy(__entry->child_comm, child->comm, TASK_COMM_LEN); child 304 include/trace/events/sched.h __entry->child_pid = child->pid; child 841 include/uapi/linux/fuse.h uint64_t child; child 232 ipc/ipc_sysctl.c .child = ipc_kern_table, child 103 ipc/mq_sysctl.c .child = mq_sysctls, child 112 ipc/mq_sysctl.c .child = mq_sysctl_dir, child 25 kernel/bpf/lpm_trie.c struct lpm_trie_node __rcu *child[2]; child 267 kernel/bpf/lpm_trie.c node = rcu_dereference(node->child[next_bit]); child 336 kernel/bpf/lpm_trie.c RCU_INIT_POINTER(new_node->child[0], NULL); child 337 kernel/bpf/lpm_trie.c RCU_INIT_POINTER(new_node->child[1], NULL); child 357 kernel/bpf/lpm_trie.c slot = &node->child[next_bit]; child 372 kernel/bpf/lpm_trie.c new_node->child[0] = node->child[0]; child 373 kernel/bpf/lpm_trie.c new_node->child[1] = node->child[1]; child 389 kernel/bpf/lpm_trie.c rcu_assign_pointer(new_node->child[next_bit], node); child 406 kernel/bpf/lpm_trie.c rcu_assign_pointer(im_node->child[0], node); child 407 kernel/bpf/lpm_trie.c rcu_assign_pointer(im_node->child[1], new_node); child 409 kernel/bpf/lpm_trie.c rcu_assign_pointer(im_node->child[0], new_node); child 410 kernel/bpf/lpm_trie.c rcu_assign_pointer(im_node->child[1], node); child 467 kernel/bpf/lpm_trie.c trim = &node->child[next_bit]; child 482 kernel/bpf/lpm_trie.c if (rcu_access_pointer(node->child[0]) && child 483 kernel/bpf/lpm_trie.c rcu_access_pointer(node->child[1])) { child 496 kernel/bpf/lpm_trie.c !node->child[0] && !node->child[1]) { child 497 kernel/bpf/lpm_trie.c if (node == rcu_access_pointer(parent->child[0])) child 499 kernel/bpf/lpm_trie.c *trim2, rcu_access_pointer(parent->child[1])); child 502 kernel/bpf/lpm_trie.c *trim2, rcu_access_pointer(parent->child[0])); child 512 kernel/bpf/lpm_trie.c if (node->child[0]) child 513 kernel/bpf/lpm_trie.c rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); child 514 kernel/bpf/lpm_trie.c else if (node->child[1]) child 515 kernel/bpf/lpm_trie.c rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); child 610 kernel/bpf/lpm_trie.c if (rcu_access_pointer(node->child[0])) { child 611 kernel/bpf/lpm_trie.c slot = &node->child[0]; child 615 kernel/bpf/lpm_trie.c if (rcu_access_pointer(node->child[1])) { child 616 kernel/bpf/lpm_trie.c slot = &node->child[1]; child 675 kernel/bpf/lpm_trie.c node = rcu_dereference(node->child[next_bit]); child 687 kernel/bpf/lpm_trie.c if (rcu_dereference(parent->child[0]) == node) { child 688 kernel/bpf/lpm_trie.c search_root = rcu_dereference(parent->child[1]); child 711 kernel/bpf/lpm_trie.c node = rcu_dereference(node->child[0]); child 714 kernel/bpf/lpm_trie.c node = rcu_dereference(node->child[0]); child 716 kernel/bpf/lpm_trie.c node = rcu_dereference(next_node->child[1]); child 705 kernel/cgroup/cgroup.c #define cgroup_for_each_live_child(child, cgrp) \ child 706 kernel/cgroup/cgroup.c list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \ child 708 kernel/cgroup/cgroup.c cgroup_is_dead(child); })) \ child 800 kernel/cgroup/cgroup.c struct cgroup *child = NULL; child 808 kernel/cgroup/cgroup.c if (!child) { child 811 kernel/cgroup/cgroup.c if (cgroup_is_threaded(child)) child 825 kernel/cgroup/cgroup.c child = cgrp; child 3279 kernel/cgroup/cgroup.c struct cgroup *cgrp, *child; child 3334 kernel/cgroup/cgroup.c cgroup_for_each_live_child(child, cgrp) { child 3335 kernel/cgroup/cgroup.c if (child->subtree_control & (1 << ssid)) { child 4377 kernel/cgroup/cgroup.c struct cgroup_subsys_state *child; child 4381 kernel/cgroup/cgroup.c css_for_each_child(child, css) { child 4382 kernel/cgroup/cgroup.c if (child->flags & CSS_ONLINE) { child 5951 kernel/cgroup/cgroup.c void cgroup_fork(struct task_struct *child) child 5953 kernel/cgroup/cgroup.c RCU_INIT_POINTER(child->cgroups, &init_css_set); child 5954 kernel/cgroup/cgroup.c INIT_LIST_HEAD(&child->cg_list); child 5965 kernel/cgroup/cgroup.c int cgroup_can_fork(struct task_struct *child) child 5971 kernel/cgroup/cgroup.c ret = ss->can_fork(child); child 5983 kernel/cgroup/cgroup.c ss->cancel_fork(child); child 5996 kernel/cgroup/cgroup.c void cgroup_cancel_fork(struct task_struct *child) child 6003 kernel/cgroup/cgroup.c ss->cancel_fork(child); child 6016 kernel/cgroup/cgroup.c void cgroup_post_fork(struct task_struct *child) child 6047 kernel/cgroup/cgroup.c if (list_empty(&child->cg_list)) { child 6050 kernel/cgroup/cgroup.c css_set_move_task(child, NULL, cset, false); child 6058 kernel/cgroup/cgroup.c if (unlikely(cgroup_task_freeze(child))) { child 6059 kernel/cgroup/cgroup.c spin_lock(&child->sighand->siglock); child 6060 kernel/cgroup/cgroup.c WARN_ON_ONCE(child->frozen); child 6061 kernel/cgroup/cgroup.c child->jobctl |= JOBCTL_TRAP_FREEZE; child 6062 kernel/cgroup/cgroup.c spin_unlock(&child->sighand->siglock); child 6081 kernel/cgroup/cgroup.c ss->fork(child); child 260 kernel/cgroup/legacy_freezer.c struct freezer *child = css_freezer(pos); child 262 kernel/cgroup/legacy_freezer.c if ((child->state & CGROUP_FREEZER_ONLINE) && child 263 kernel/cgroup/legacy_freezer.c !(child->state & CGROUP_FROZEN)) { child 4677 kernel/events/core.c struct perf_event *child, *tmp; child 4716 kernel/events/core.c list_for_each_entry(child, &event->child_list, child_list) { child 4722 kernel/events/core.c ctx = READ_ONCE(child->ctx); child 4749 kernel/events/core.c if (tmp == child) { child 4750 kernel/events/core.c perf_remove_from_context(child, DETACH_GROUP); child 4751 kernel/events/core.c list_move(&child->child_list, &free_list); child 4766 kernel/events/core.c list_for_each_entry_safe(child, tmp, &free_list, child_list) { child 4767 kernel/events/core.c void *var = &child->ctx->refcount; child 4769 kernel/events/core.c list_del(&child->child_list); child 4770 kernel/events/core.c free_event(child); child 4797 kernel/events/core.c struct perf_event *child; child 4813 kernel/events/core.c list_for_each_entry(child, &event->child_list, child_list) { child 4814 kernel/events/core.c (void)perf_event_read(child, false); child 4815 kernel/events/core.c total += perf_event_count(child); child 4816 kernel/events/core.c *enabled += child->total_time_enabled; child 4817 kernel/events/core.c *running += child->total_time_running; child 4887 kernel/events/core.c struct perf_event *leader = event->group_leader, *child; child 4910 kernel/events/core.c list_for_each_entry(child, &leader->child_list, child_list) { child 4911 kernel/events/core.c ret = __perf_read_group_add(child, read_format, values); child 5046 kernel/events/core.c struct perf_event *child; child 5052 kernel/events/core.c list_for_each_entry(child, &event->child_list, child_list) child 5053 kernel/events/core.c func(child); child 11493 kernel/events/core.c struct task_struct *child) child 11499 kernel/events/core.c perf_event_read_event(child_event, child); child 11516 kernel/events/core.c struct task_struct *child) child 11552 kernel/events/core.c sync_child_event(child_event, child); child 11570 kernel/events/core.c static void perf_event_exit_task_context(struct task_struct *child, int ctxn) child 11575 kernel/events/core.c WARN_ON_ONCE(child != current); child 11577 kernel/events/core.c child_ctx = perf_pin_task_context(child, ctxn); child 11605 kernel/events/core.c RCU_INIT_POINTER(child->perf_event_ctxp[ctxn], NULL); child 11621 kernel/events/core.c perf_event_task(child, child_ctx, 0); child 11624 kernel/events/core.c perf_event_exit_event(child_event, child_ctx, child); child 11637 kernel/events/core.c void perf_event_exit_task(struct task_struct *child) child 11642 kernel/events/core.c mutex_lock(&child->perf_event_mutex); child 11643 kernel/events/core.c list_for_each_entry_safe(event, tmp, &child->perf_event_list, child 11654 kernel/events/core.c mutex_unlock(&child->perf_event_mutex); child 11657 kernel/events/core.c perf_event_exit_task_context(child, ctxn); child 11665 kernel/events/core.c perf_event_task(child, NULL, 0); child 11794 kernel/events/core.c struct task_struct *child, child 11813 kernel/events/core.c child, child 11909 kernel/events/core.c struct task_struct *child, child 11917 kernel/events/core.c child, NULL, child_ctx); child 11927 kernel/events/core.c child, leader, child_ctx); child 11952 kernel/events/core.c struct task_struct *child, int ctxn, child 11963 kernel/events/core.c child_ctx = child->perf_event_ctxp[ctxn]; child 11971 kernel/events/core.c child_ctx = alloc_perf_context(parent_ctx->pmu, child); child 11975 kernel/events/core.c child->perf_event_ctxp[ctxn] = child_ctx; child 11979 kernel/events/core.c child, child_ctx); child 11990 kernel/events/core.c static int perf_event_init_context(struct task_struct *child, int ctxn) child 12030 kernel/events/core.c child, ctxn, &inherited_all); child 12046 kernel/events/core.c child, ctxn, &inherited_all); child 12054 kernel/events/core.c child_ctx = child->perf_event_ctxp[ctxn]; child 12088 kernel/events/core.c int perf_event_init_task(struct task_struct *child) child 12092 kernel/events/core.c memset(child->perf_event_ctxp, 0, sizeof(child->perf_event_ctxp)); child 12093 kernel/events/core.c mutex_init(&child->perf_event_mutex); child 12094 kernel/events/core.c INIT_LIST_HEAD(&child->perf_event_list); child 12097 kernel/events/core.c ret = perf_event_init_context(child, ctxn); child 12099 kernel/events/core.c perf_event_free_task(child); child 1252 kernel/fork.c static int wait_for_vfork_done(struct task_struct *child, child 1264 kernel/fork.c task_lock(child); child 1265 kernel/fork.c child->vfork_done = NULL; child 1266 kernel/fork.c task_unlock(child); child 1269 kernel/fork.c put_task_struct(child); child 2649 kernel/fork.c struct task_struct *leader, *parent, *child; child 2656 kernel/fork.c list_for_each_entry(child, &parent->children, sibling) { child 2657 kernel/fork.c res = visitor(child, data); child 2661 kernel/fork.c leader = child; child 2670 kernel/fork.c child = leader; child 2671 kernel/fork.c parent = child->real_parent; child 1108 kernel/irq/irqdomain.c struct irq_data *child) child 1113 kernel/irq/irqdomain.c irq_data_get_node(child)); child 1115 kernel/irq/irqdomain.c child->parent_data = irq_data; child 1116 kernel/irq/irqdomain.c irq_data->irq = child->irq; child 1117 kernel/irq/irqdomain.c irq_data->common = child->common; child 612 kernel/livepatch/transition.c void klp_copy_process(struct task_struct *child) child 614 kernel/livepatch/transition.c child->patch_state = current->patch_state; child 1425 kernel/locking/lockdep.c static inline struct lock_list *get_lock_parent(struct lock_list *child) child 1427 kernel/locking/lockdep.c return child->parent; child 1430 kernel/locking/lockdep.c static inline int get_lock_depth(struct lock_list *child) child 1435 kernel/locking/lockdep.c while ((parent = get_lock_parent(child))) { child 1436 kernel/locking/lockdep.c child = parent; child 67 kernel/ptrace.c void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, child 70 kernel/ptrace.c BUG_ON(!list_empty(&child->ptrace_entry)); child 71 kernel/ptrace.c list_add(&child->ptrace_entry, &new_parent->ptraced); child 72 kernel/ptrace.c child->parent = new_parent; child 73 kernel/ptrace.c child->ptracer_cred = get_cred(ptracer_cred); child 82 kernel/ptrace.c static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) child 84 kernel/ptrace.c __ptrace_link(child, new_parent, current_cred()); child 115 kernel/ptrace.c void __ptrace_unlink(struct task_struct *child) child 118 kernel/ptrace.c BUG_ON(!child->ptrace); child 120 kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); child 122 kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_EMU); child 125 kernel/ptrace.c child->parent = child->real_parent; child 126 kernel/ptrace.c list_del_init(&child->ptrace_entry); child 127 kernel/ptrace.c old_cred = child->ptracer_cred; child 128 kernel/ptrace.c child->ptracer_cred = NULL; child 131 kernel/ptrace.c spin_lock(&child->sighand->siglock); child 132 kernel/ptrace.c child->ptrace = 0; child 137 kernel/ptrace.c task_clear_jobctl_pending(child, JOBCTL_TRAP_MASK); child 138 kernel/ptrace.c task_clear_jobctl_trapping(child); child 144 kernel/ptrace.c if (!(child->flags & PF_EXITING) && child 145 kernel/ptrace.c (child->signal->flags & SIGNAL_STOP_STOPPED || child 146 kernel/ptrace.c child->signal->group_stop_count)) { child 147 kernel/ptrace.c child->jobctl |= JOBCTL_STOP_PENDING; child 156 kernel/ptrace.c if (!(child->jobctl & JOBCTL_STOP_SIGMASK)) child 157 kernel/ptrace.c child->jobctl |= SIGSTOP; child 166 kernel/ptrace.c if (child->jobctl & JOBCTL_STOP_PENDING || task_is_traced(child)) child 167 kernel/ptrace.c ptrace_signal_wake_up(child, true); child 169 kernel/ptrace.c spin_unlock(&child->sighand->siglock); child 229 kernel/ptrace.c static int ptrace_check_attach(struct task_struct *child, bool ignore_state) child 241 kernel/ptrace.c if (child->ptrace && child->parent == current) { child 242 kernel/ptrace.c WARN_ON(child->state == __TASK_TRACED); child 247 kernel/ptrace.c if (ignore_state || ptrace_freeze_traced(child)) child 253 kernel/ptrace.c if (!wait_task_inactive(child, __TASK_TRACED)) { child 259 kernel/ptrace.c WARN_ON(child->state == __TASK_TRACED); child 549 kernel/ptrace.c static int ptrace_detach(struct task_struct *child, unsigned int data) child 555 kernel/ptrace.c ptrace_disable(child); child 562 kernel/ptrace.c WARN_ON(!child->ptrace || child->exit_state); child 567 kernel/ptrace.c child->exit_code = data; child 568 kernel/ptrace.c __ptrace_detach(current, child); child 571 kernel/ptrace.c proc_ptrace_connector(child, PTRACE_DETACH); child 645 kernel/ptrace.c static int ptrace_setoptions(struct task_struct *child, unsigned long data) child 666 kernel/ptrace.c flags = child->ptrace; child 669 kernel/ptrace.c child->ptrace = flags; child 674 kernel/ptrace.c static int ptrace_getsiginfo(struct task_struct *child, kernel_siginfo_t *info) child 679 kernel/ptrace.c if (lock_task_sighand(child, &flags)) { child 681 kernel/ptrace.c if (likely(child->last_siginfo != NULL)) { child 682 kernel/ptrace.c copy_siginfo(info, child->last_siginfo); child 685 kernel/ptrace.c unlock_task_sighand(child, &flags); child 690 kernel/ptrace.c static int ptrace_setsiginfo(struct task_struct *child, const kernel_siginfo_t *info) child 695 kernel/ptrace.c if (lock_task_sighand(child, &flags)) { child 697 kernel/ptrace.c if (likely(child->last_siginfo != NULL)) { child 698 kernel/ptrace.c copy_siginfo(child->last_siginfo, info); child 701 kernel/ptrace.c unlock_task_sighand(child, &flags); child 706 kernel/ptrace.c static int ptrace_peek_siginfo(struct task_struct *child, child 731 kernel/ptrace.c pending = &child->signal->shared_pending; child 733 kernel/ptrace.c pending = &child->pending; child 740 kernel/ptrace.c spin_lock_irq(&child->sighand->siglock); child 748 kernel/ptrace.c spin_unlock_irq(&child->sighand->siglock); child 806 kernel/ptrace.c static int ptrace_resume(struct task_struct *child, long request, child 815 kernel/ptrace.c set_tsk_thread_flag(child, TIF_SYSCALL_TRACE); child 817 kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); child 821 kernel/ptrace.c set_tsk_thread_flag(child, TIF_SYSCALL_EMU); child 823 kernel/ptrace.c clear_tsk_thread_flag(child, TIF_SYSCALL_EMU); child 829 kernel/ptrace.c user_enable_block_step(child); child 833 kernel/ptrace.c user_enable_single_step(child); child 835 kernel/ptrace.c user_disable_single_step(child); child 853 kernel/ptrace.c spin_lock_irq(&child->sighand->siglock); child 854 kernel/ptrace.c child->exit_code = data; child 855 kernel/ptrace.c wake_up_state(child, __TASK_TRACED); child 857 kernel/ptrace.c spin_unlock_irq(&child->sighand->siglock); child 909 kernel/ptrace.c ptrace_get_syscall_info_entry(struct task_struct *child, struct pt_regs *regs, child 916 kernel/ptrace.c info->entry.nr = syscall_get_nr(child, regs); child 917 kernel/ptrace.c syscall_get_arguments(child, regs, args); child 926 kernel/ptrace.c ptrace_get_syscall_info_seccomp(struct task_struct *child, struct pt_regs *regs, child 936 kernel/ptrace.c ptrace_get_syscall_info_entry(child, regs, info); child 938 kernel/ptrace.c info->seccomp.ret_data = child->ptrace_message; child 945 kernel/ptrace.c ptrace_get_syscall_info_exit(struct task_struct *child, struct pt_regs *regs, child 949 kernel/ptrace.c info->exit.rval = syscall_get_error(child, regs); child 952 kernel/ptrace.c info->exit.rval = syscall_get_return_value(child, regs); child 959 kernel/ptrace.c ptrace_get_syscall_info(struct task_struct *child, unsigned long user_size, child 962 kernel/ptrace.c struct pt_regs *regs = task_pt_regs(child); child 965 kernel/ptrace.c .arch = syscall_get_arch(child), child 978 kernel/ptrace.c switch (child->last_siginfo ? child->last_siginfo->si_code : 0) { child 980 kernel/ptrace.c switch (child->ptrace_message) { child 982 kernel/ptrace.c actual_size = ptrace_get_syscall_info_entry(child, regs, child 986 kernel/ptrace.c actual_size = ptrace_get_syscall_info_exit(child, regs, child 992 kernel/ptrace.c actual_size = ptrace_get_syscall_info_seccomp(child, regs, child 1002 kernel/ptrace.c int ptrace_request(struct task_struct *child, long request, child 1005 kernel/ptrace.c bool seized = child->ptrace & PT_SEIZED; child 1015 kernel/ptrace.c return generic_ptrace_peekdata(child, addr, data); child 1018 kernel/ptrace.c return generic_ptrace_pokedata(child, addr, data); child 1024 kernel/ptrace.c ret = ptrace_setoptions(child, data); child 1027 kernel/ptrace.c ret = put_user(child->ptrace_message, datalp); child 1031 kernel/ptrace.c ret = ptrace_peek_siginfo(child, addr, data); child 1035 kernel/ptrace.c ret = ptrace_getsiginfo(child, &siginfo); child 1043 kernel/ptrace.c ret = ptrace_setsiginfo(child, &siginfo); child 1054 kernel/ptrace.c if (test_tsk_restore_sigmask(child)) child 1055 kernel/ptrace.c mask = &child->saved_sigmask; child 1057 kernel/ptrace.c mask = &child->blocked; child 1087 kernel/ptrace.c spin_lock_irq(&child->sighand->siglock); child 1088 kernel/ptrace.c child->blocked = new_set; child 1089 kernel/ptrace.c spin_unlock_irq(&child->sighand->siglock); child 1091 kernel/ptrace.c clear_tsk_restore_sigmask(child); child 1108 kernel/ptrace.c if (unlikely(!seized || !lock_task_sighand(child, &flags))) child 1117 kernel/ptrace.c if (likely(task_set_jobctl_pending(child, JOBCTL_TRAP_STOP))) child 1118 kernel/ptrace.c ptrace_signal_wake_up(child, child->jobctl & JOBCTL_LISTENING); child 1120 kernel/ptrace.c unlock_task_sighand(child, &flags); child 1133 kernel/ptrace.c if (unlikely(!seized || !lock_task_sighand(child, &flags))) child 1136 kernel/ptrace.c si = child->last_siginfo; child 1138 kernel/ptrace.c child->jobctl |= JOBCTL_LISTENING; child 1143 kernel/ptrace.c if (child->jobctl & JOBCTL_TRAP_NOTIFY) child 1144 kernel/ptrace.c ptrace_signal_wake_up(child, true); child 1147 kernel/ptrace.c unlock_task_sighand(child, &flags); child 1151 kernel/ptrace.c ret = ptrace_detach(child, data); child 1156 kernel/ptrace.c struct mm_struct *mm = get_task_mm(child); child 1192 kernel/ptrace.c return ptrace_resume(child, request, data); child 1195 kernel/ptrace.c if (child->exit_state) /* already dead */ child 1197 kernel/ptrace.c return ptrace_resume(child, request, SIGKILL); child 1212 kernel/ptrace.c ret = ptrace_regset(child, request, addr, &kiov); child 1219 kernel/ptrace.c ret = ptrace_get_syscall_info(child, addr, datavp); child 1224 kernel/ptrace.c ret = seccomp_get_filter(child, addr, datavp); child 1228 kernel/ptrace.c ret = seccomp_get_metadata(child, addr, datavp); child 1239 kernel/ptrace.c #define arch_ptrace_attach(child) do { } while (0) child 1245 kernel/ptrace.c struct task_struct *child; child 1255 kernel/ptrace.c child = find_get_task_by_vpid(pid); child 1256 kernel/ptrace.c if (!child) { child 1262 kernel/ptrace.c ret = ptrace_attach(child, request, addr, data); child 1268 kernel/ptrace.c arch_ptrace_attach(child); child 1272 kernel/ptrace.c ret = ptrace_check_attach(child, request == PTRACE_KILL || child 1277 kernel/ptrace.c ret = arch_ptrace(child, request, addr, data); child 1279 kernel/ptrace.c ptrace_unfreeze_traced(child); child 1282 kernel/ptrace.c put_task_struct(child); child 1311 kernel/ptrace.c int compat_ptrace_request(struct task_struct *child, compat_long_t request, child 1322 kernel/ptrace.c ret = ptrace_access_vm(child, addr, &word, sizeof(word), child 1332 kernel/ptrace.c ret = ptrace_access_vm(child, addr, &data, sizeof(data), child 1338 kernel/ptrace.c ret = put_user((compat_ulong_t) child->ptrace_message, datap); child 1342 kernel/ptrace.c ret = ptrace_getsiginfo(child, &siginfo); child 1353 kernel/ptrace.c ret = ptrace_setsiginfo(child, &siginfo); child 1375 kernel/ptrace.c ret = ptrace_regset(child, request, addr, &kiov); child 1383 kernel/ptrace.c ret = ptrace_request(child, request, addr, data); child 1392 kernel/ptrace.c struct task_struct *child; child 1400 kernel/ptrace.c child = find_get_task_by_vpid(pid); child 1401 kernel/ptrace.c if (!child) { child 1407 kernel/ptrace.c ret = ptrace_attach(child, request, addr, data); child 1413 kernel/ptrace.c arch_ptrace_attach(child); child 1417 kernel/ptrace.c ret = ptrace_check_attach(child, request == PTRACE_KILL || child 1420 kernel/ptrace.c ret = compat_arch_ptrace(child, request, addr, data); child 1422 kernel/ptrace.c ptrace_unfreeze_traced(child); child 1426 kernel/ptrace.c put_task_struct(child); child 70 kernel/resource.c if (p->child) child 71 kernel/resource.c return p->child; child 94 kernel/resource.c for (p = p->child; p && l < *pos; p = r_next(m, p, &l)) child 197 kernel/resource.c p = &root->child; child 217 kernel/resource.c p = &old->parent->child; child 223 kernel/resource.c if (release_child || !(tmp->child)) { child 226 kernel/resource.c for (chd = tmp->child;; chd = chd->sibling) { child 231 kernel/resource.c *p = tmp->child; child 247 kernel/resource.c p = r->child; child 248 kernel/resource.c r->child = NULL; child 356 kernel/resource.c for (p = iomem_resource.child; p; p = next_resource(p, siblings_only)) { child 547 kernel/resource.c for (p = iomem_resource.child; p ; p = p->sibling) { child 597 kernel/resource.c struct resource *this = root->child; child 687 kernel/resource.c if (old->child) { child 768 kernel/resource.c for (res = root->child; res; res = res->sibling) { child 813 kernel/resource.c new->child = first; child 819 kernel/resource.c if (parent->child == first) { child 820 kernel/resource.c parent->child = new; child 822 kernel/resource.c next = parent->child; child 951 kernel/resource.c tmp = parent->child; child 960 kernel/resource.c for (tmp = res->child; tmp; tmp = tmp->sibling) child 1197 kernel/resource.c p = &parent->child; child 1209 kernel/resource.c p = &res->child; child 1269 kernel/resource.c p = &parent->child; child 1301 kernel/resource.c p = &res->child; child 1332 kernel/resource.c new_res->child = NULL; child 1519 kernel/resource.c res->child = NULL; child 1539 kernel/resource.c for (p = p->child; p ; p = r_next(NULL, p, &l)) { child 1595 kernel/resource.c for (p = p->child; p ; p = r_next(NULL, p, &l)) { child 713 kernel/sched/core.c struct task_group *parent, *child; child 722 kernel/sched/core.c list_for_each_entry_rcu(child, &parent->children, siblings) { child 723 kernel/sched/core.c parent = child; child 733 kernel/sched/core.c child = parent; child 202 kernel/sched/debug.c .child = sd_ctl_dir, child 226 kernel/sched/debug.c if (entry->child) child 227 kernel/sched/debug.c sd_free_ctl_entry(&entry->child); child 287 kernel/sched/debug.c entry->child = sd_alloc_ctl_domain_table(sd); child 310 kernel/sched/debug.c WARN_ON(sd_ctl_dir[0].child); child 311 kernel/sched/debug.c sd_ctl_dir[0].child = cpu_entries; child 342 kernel/sched/debug.c if (e->child) child 343 kernel/sched/debug.c sd_free_ctl_entry(&e->child); child 350 kernel/sched/debug.c e->child = sd_alloc_ctl_cpu_table(i); child 5793 kernel/sched/fair.c sd = sd->child; child 5799 kernel/sched/fair.c sd = sd->child; child 5806 kernel/sched/fair.c sd = sd->child; child 7812 kernel/sched/fair.c struct sched_domain *child = sd->child; child 7821 kernel/sched/fair.c if (!child) { child 7830 kernel/sched/fair.c if (child->flags & SD_OVERLAP) { child 7867 kernel/sched/fair.c group = child->groups; child 7875 kernel/sched/fair.c } while (group != child->groups); child 8232 kernel/sched/fair.c struct sched_domain *child = env->sd->child; child 8236 kernel/sched/fair.c bool prefer_sibling = child && child->flags & SD_PREFER_SIBLING; child 2430 kernel/sched/rt.c struct task_group *child; child 2465 kernel/sched/rt.c list_for_each_entry_rcu(child, &tg->children, siblings) { child 2466 kernel/sched/rt.c period = ktime_to_ns(child->rt_bandwidth.rt_period); child 2467 kernel/sched/rt.c runtime = child->rt_bandwidth.rt_runtime; child 2469 kernel/sched/rt.c if (child == d->tg) { child 1346 kernel/sched/sched.h #define for_each_lower_domain(sd) for (; sd; sd = sd->child) child 90 kernel/sched/topology.c if (group == sd->groups && sd->child && child 91 kernel/sched/topology.c !cpumask_equal(sched_domain_span(sd->child), child 675 kernel/sched/topology.c parent->parent->child = tmp; child 693 kernel/sched/topology.c sd->child = NULL; child 857 kernel/sched/topology.c if (!sibling->child) child 861 kernel/sched/topology.c if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) child 889 kernel/sched/topology.c if (sd->child) child 890 kernel/sched/topology.c cpumask_copy(sg_span, sched_domain_span(sd->child)); child 1060 kernel/sched/topology.c struct sched_domain *child = sd->child; child 1064 kernel/sched/topology.c if (child) child 1065 kernel/sched/topology.c cpu = cpumask_first(sched_domain_span(child)); child 1079 kernel/sched/topology.c if (child) { child 1080 kernel/sched/topology.c cpumask_copy(sched_group_span(sg), sched_domain_span(child)); child 1317 kernel/sched/topology.c struct sched_domain *child, int dflags, int cpu) child 1367 kernel/sched/topology.c .child = child, child 1386 kernel/sched/topology.c if (sd->child) child 1387 kernel/sched/topology.c sd->child->flags &= ~SD_PREFER_SIBLING; child 1857 kernel/sched/topology.c struct sched_domain *child, int dflags, int cpu) child 1859 kernel/sched/topology.c struct sched_domain *sd = sd_init(tl, cpu_map, child, dflags, cpu); child 1861 kernel/sched/topology.c if (child) { child 1862 kernel/sched/topology.c sd->level = child->level + 1; child 1864 kernel/sched/topology.c child->parent = sd; child 1866 kernel/sched/topology.c if (!cpumask_subset(sched_domain_span(child), child 1871 kernel/sched/topology.c child->name, sd->name); child 1876 kernel/sched/topology.c sched_domain_span(child)); child 317 kernel/seccomp.c struct seccomp_filter *child) child 322 kernel/seccomp.c for (; child; child = child->prev) child 323 kernel/seccomp.c if (child == parent) child 278 kernel/sysctl.c .child = kern_table, child 283 kernel/sysctl.c .child = vm_table, child 288 kernel/sysctl.c .child = fs_table, child 293 kernel/sysctl.c .child = debug_table, child 298 kernel/sysctl.c .child = dev_table, child 775 kernel/sysctl.c .child = random_table, child 780 kernel/sysctl.c .child = usermodehelper_table, child 786 kernel/sysctl.c .child = firmware_config_table, child 1172 kernel/sysctl.c .child = key_sysctls, child 1860 kernel/sysctl.c .child = inotify_table, child 1867 kernel/sysctl.c .child = epoll_table, child 1920 kernel/sysctl.c .child = sysctl_mount_point, child 47 kernel/sysctl_binary.c const struct bin_table *child; child 1248 kernel/sysctl_binary.c if (table->child) { child 1250 kernel/sysctl_binary.c table = table->child; child 709 kernel/trace/trace_events.c struct dentry *child; child 713 kernel/trace/trace_events.c list_for_each_entry(child, &dir->d_subdirs, d_child) { child 714 kernel/trace/trace_events.c if (d_really_is_positive(child)) /* probably unneeded */ child 715 kernel/trace/trace_events.c d_inode(child)->i_private = NULL; child 1221 kernel/user_namespace.c const struct user_namespace *child) child 1224 kernel/user_namespace.c for (ns = child; ns->level > ancestor->level; ns = ns->parent) child 120 kernel/utsname_sysctl.c .child = uts_kern_table, child 1561 lib/assoc_array.c struct assoc_array_node *child; child 1573 lib/assoc_array.c child = assoc_array_ptr_to_node(ptr); child 1574 lib/assoc_array.c new_n->nr_leaves_on_branch += child->nr_leaves_on_branch; child 1576 lib/assoc_array.c if (child->nr_leaves_on_branch <= nr_free + 1) { child 1579 lib/assoc_array.c slot, child->nr_leaves_on_branch, nr_free + 1, child 1592 lib/assoc_array.c struct assoc_array_ptr *p = child->slots[i]; child 1602 lib/assoc_array.c kfree(child); child 1605 lib/assoc_array.c slot, child->nr_leaves_on_branch, nr_free + 1, child 541 lib/btree.c unsigned long *key, int level, unsigned long *child, int fill) child 552 lib/btree.c mempool_free(child, head->mempool); child 558 lib/btree.c BUG_ON(bval(geo, parent, i) != child); child 566 lib/btree.c child, fill, child 576 lib/btree.c child, fill, child 684 lib/btree.c unsigned long *child; child 687 lib/btree.c child = bval(geo, node, i); child 688 lib/btree.c if (!child) child 691 lib/btree.c count = __btree_for_each(head, geo, child, opaque, child 694 lib/btree.c func(child, opaque, bkey(geo, node, i), count++, child 483 lib/radix-tree.c struct radix_tree_node *child; child 495 lib/radix-tree.c child = rcu_dereference_raw(node->slots[0]); child 496 lib/radix-tree.c if (!child) child 507 lib/radix-tree.c if (radix_tree_is_internal_node(child)) child 508 lib/radix-tree.c entry_to_node(child)->parent = NULL; child 517 lib/radix-tree.c root->xa_head = (void __rcu *)child; child 540 lib/radix-tree.c if (!radix_tree_is_internal_node(child)) { child 611 lib/radix-tree.c struct radix_tree_node *node = NULL, *child; child 618 lib/radix-tree.c shift = radix_tree_load_root(root, &child, &maxindex); child 626 lib/radix-tree.c child = rcu_dereference_raw(root->xa_head); child 631 lib/radix-tree.c if (child == NULL) { child 633 lib/radix-tree.c child = radix_tree_node_alloc(gfp, node, root, shift, child 635 lib/radix-tree.c if (!child) child 637 lib/radix-tree.c rcu_assign_pointer(*slot, node_to_entry(child)); child 640 lib/radix-tree.c } else if (!radix_tree_is_internal_node(child)) child 644 lib/radix-tree.c node = entry_to_node(child); child 645 lib/radix-tree.c offset = radix_tree_descend(node, &child, index); child 668 lib/radix-tree.c struct radix_tree_node *child = entry_to_node(node); child 671 lib/radix-tree.c void *entry = rcu_dereference_raw(child->slots[offset]); child 672 lib/radix-tree.c if (xa_is_node(entry) && child->shift) { child 673 lib/radix-tree.c child = entry_to_node(entry); child 679 lib/radix-tree.c struct radix_tree_node *old = child; child 680 lib/radix-tree.c offset = child->offset + 1; child 681 lib/radix-tree.c child = child->parent; child 1167 lib/radix-tree.c struct radix_tree_node *node, *child; child 1187 lib/radix-tree.c radix_tree_load_root(root, &child, &maxindex); child 1190 lib/radix-tree.c if (!child) child 1193 lib/radix-tree.c if (!radix_tree_is_internal_node(child)) { child 1203 lib/radix-tree.c node = entry_to_node(child); child 1204 lib/radix-tree.c offset = radix_tree_descend(node, &child, index); child 1207 lib/radix-tree.c !tag_get(node, tag, offset) : !child) { child 1229 lib/radix-tree.c child = rcu_dereference_raw(node->slots[offset]); child 1232 lib/radix-tree.c if (!child) child 1234 lib/radix-tree.c if (child == RADIX_TREE_RETRY) child 1236 lib/radix-tree.c } while (node->shift && radix_tree_is_internal_node(child)); child 1489 lib/radix-tree.c struct radix_tree_node *node = NULL, *child; child 1495 lib/radix-tree.c shift = radix_tree_load_root(root, &child, &maxindex); child 1506 lib/radix-tree.c child = rcu_dereference_raw(root->xa_head); child 1513 lib/radix-tree.c if (child == NULL) { child 1515 lib/radix-tree.c child = radix_tree_node_alloc(gfp, node, root, shift, child 1517 lib/radix-tree.c if (!child) child 1519 lib/radix-tree.c all_tag_set(child, IDR_FREE); child 1520 lib/radix-tree.c rcu_assign_pointer(*slot, node_to_entry(child)); child 1523 lib/radix-tree.c } else if (!radix_tree_is_internal_node(child)) child 1526 lib/radix-tree.c node = entry_to_node(child); child 1527 lib/radix-tree.c offset = radix_tree_descend(node, &child, start); child 1541 lib/radix-tree.c child = rcu_dereference_raw(node->slots[offset]); child 123 lib/test_sysctl.c .child = test_table, child 133 lib/test_sysctl.c .child = test_sysctl_table, child 3556 mm/memcontrol.c struct mem_cgroup *parent, *child; child 3591 mm/memcontrol.c child = mem_cgroup_from_css(css); child 3592 mm/memcontrol.c BUG_ON(child->kmemcg_id != kmemcg_id); child 3593 mm/memcontrol.c child->kmemcg_id = parent->kmemcg_id; child 3294 mm/shmem.c static struct dentry *shmem_get_parent(struct dentry *child) child 105 net/core/dst.c struct dst_entry *child = NULL; child 113 net/core/dst.c child = xdst->child; child 131 net/core/dst.c dst = child; child 3661 net/core/pktgen.c pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; child 284 net/dccp/dccp.h int dccp_child_process(struct sock *parent, struct sock *child, child 143 net/dccp/minisocks.c struct sock *child = NULL; child 192 net/dccp/minisocks.c child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL, child 194 net/dccp/minisocks.c if (child) { child 195 net/dccp/minisocks.c child = inet_csk_complete_hashdance(sk, child, req, own_req); child 207 net/dccp/minisocks.c return child; child 217 net/dccp/minisocks.c int dccp_child_process(struct sock *parent, struct sock *child, child 221 net/dccp/minisocks.c const int state = child->sk_state; child 223 net/dccp/minisocks.c if (!sock_owned_by_user(child)) { child 224 net/dccp/minisocks.c ret = dccp_rcv_state_process(child, skb, dccp_hdr(skb), child 228 net/dccp/minisocks.c if (state == DCCP_RESPOND && child->sk_state != state) child 235 net/dccp/minisocks.c __sk_add_backlog(child, skb); child 238 net/dccp/minisocks.c bh_unlock_sock(child); child 239 net/dccp/minisocks.c sock_put(child); child 925 net/ipv4/inet_connection_sock.c struct sock *child) child 927 net/ipv4/inet_connection_sock.c sk->sk_prot->disconnect(child, O_NONBLOCK); child 929 net/ipv4/inet_connection_sock.c sock_orphan(child); child 934 net/ipv4/inet_connection_sock.c BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req); child 943 net/ipv4/inet_connection_sock.c RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL); child 945 net/ipv4/inet_connection_sock.c inet_csk_destroy_sock(child); child 950 net/ipv4/inet_connection_sock.c struct sock *child) child 956 net/ipv4/inet_connection_sock.c inet_child_forget(sk, req, child); child 957 net/ipv4/inet_connection_sock.c child = NULL; child 959 net/ipv4/inet_connection_sock.c req->sk = child; child 969 net/ipv4/inet_connection_sock.c return child; child 973 net/ipv4/inet_connection_sock.c struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child, child 979 net/ipv4/inet_connection_sock.c if (inet_csk_reqsk_queue_add(sk, req, child)) child 980 net/ipv4/inet_connection_sock.c return child; child 983 net/ipv4/inet_connection_sock.c bh_unlock_sock(child); child 984 net/ipv4/inet_connection_sock.c sock_put(child); child 1008 net/ipv4/inet_connection_sock.c struct sock *child = req->sk; child 1011 net/ipv4/inet_connection_sock.c bh_lock_sock(child); child 1012 net/ipv4/inet_connection_sock.c WARN_ON(sock_owned_by_user(child)); child 1013 net/ipv4/inet_connection_sock.c sock_hold(child); child 1015 net/ipv4/inet_connection_sock.c inet_child_forget(sk, req, child); child 1017 net/ipv4/inet_connection_sock.c bh_unlock_sock(child); child 1019 net/ipv4/inet_connection_sock.c sock_put(child); child 128 net/ipv4/inet_hashtables.c int __inet_inherit_port(const struct sock *sk, struct sock *child) child 131 net/ipv4/inet_hashtables.c unsigned short port = inet_sk(child)->inet_num; child 167 net/ipv4/inet_hashtables.c inet_bind_hash(child, tb, port); child 206 net/ipv4/syncookies.c struct sock *child; child 209 net/ipv4/syncookies.c child = icsk->icsk_af_ops->syn_recv_sock(sk, skb, req, dst, child 211 net/ipv4/syncookies.c if (child) { child 213 net/ipv4/syncookies.c tcp_sk(child)->tsoffset = tsoff; child 214 net/ipv4/syncookies.c sock_rps_save_rxhash(child, skb); child 215 net/ipv4/syncookies.c if (inet_csk_reqsk_queue_add(sk, req, child)) child 216 net/ipv4/syncookies.c return child; child 218 net/ipv4/syncookies.c bh_unlock_sock(child); child 219 net/ipv4/syncookies.c sock_put(child); child 238 net/ipv4/tcp_fastopen.c struct sock *child; child 241 net/ipv4/tcp_fastopen.c child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL, child 243 net/ipv4/tcp_fastopen.c if (!child) child 254 net/ipv4/tcp_fastopen.c tp = tcp_sk(child); child 269 net/ipv4/tcp_fastopen.c inet_csk_reset_xmit_timer(child, ICSK_TIME_RETRANS, child 275 net/ipv4/tcp_fastopen.c tcp_init_transfer(child, BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB); child 279 net/ipv4/tcp_fastopen.c tcp_fastopen_add_skb(child, skb); child 286 net/ipv4/tcp_fastopen.c return child; child 346 net/ipv4/tcp_fastopen.c struct sock *child; child 383 net/ipv4/tcp_fastopen.c child = tcp_fastopen_create_child(sk, skb, req); child 384 net/ipv4/tcp_fastopen.c if (child) { child 395 net/ipv4/tcp_fastopen.c return child; child 573 net/ipv4/tcp_minisocks.c struct sock *child; child 770 net/ipv4/tcp_minisocks.c child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL, child 772 net/ipv4/tcp_minisocks.c if (!child) child 775 net/ipv4/tcp_minisocks.c sock_rps_save_rxhash(child, skb); child 776 net/ipv4/tcp_minisocks.c tcp_synack_rtt_meas(child, req); child 778 net/ipv4/tcp_minisocks.c return inet_csk_complete_hashdance(sk, child, req, own_req); child 818 net/ipv4/tcp_minisocks.c int tcp_child_process(struct sock *parent, struct sock *child, child 822 net/ipv4/tcp_minisocks.c int state = child->sk_state; child 825 net/ipv4/tcp_minisocks.c sk_mark_napi_id(child, skb); child 827 net/ipv4/tcp_minisocks.c tcp_segs_in(tcp_sk(child), skb); child 828 net/ipv4/tcp_minisocks.c if (!sock_owned_by_user(child)) { child 829 net/ipv4/tcp_minisocks.c ret = tcp_rcv_state_process(child, skb); child 831 net/ipv4/tcp_minisocks.c if (state == TCP_SYN_RECV && child->sk_state != state) child 838 net/ipv4/tcp_minisocks.c __sk_add_backlog(child, skb); child 841 net/ipv4/tcp_minisocks.c bh_unlock_sock(child); child 842 net/ipv4/tcp_minisocks.c sock_put(child); child 1711 net/ipv6/ip6_fib.c struct fib6_node *child; child 1746 net/ipv6/ip6_fib.c child = NULL; child 1748 net/ipv6/ip6_fib.c child = fn_r, children |= 1; child 1750 net/ipv6/ip6_fib.c child = fn_l, children |= 2; child 1779 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, child); child 1781 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, child); child 1786 net/ipv6/ip6_fib.c if (child) child 1787 net/ipv6/ip6_fib.c rcu_assign_pointer(child->parent, pn); child 1795 net/ipv6/ip6_fib.c if (!child) { child 1803 net/ipv6/ip6_fib.c w->node = child; child 182 net/netfilter/nft_xfrm.c dst = ((const struct xfrm_dst *)dst)->child, i++) { child 94 net/netfilter/xt_policy.c dst = ((struct xfrm_dst *)dst)->child, i++) { child 88 net/sched/sch_cbs.c struct Qdisc *child, child 94 net/sched/sch_cbs.c err = child->ops->enqueue(skb, child, to_free); child 160 net/sched/sch_cbs.c static struct sk_buff *cbs_child_dequeue(struct Qdisc *sch, struct Qdisc *child) child 164 net/sched/sch_cbs.c skb = child->ops->dequeue(child); child 198 net/sched/sch_multiq.c struct Qdisc *child = q->queues[i]; child 201 net/sched/sch_multiq.c qdisc_purge_queue(child); child 202 net/sched/sch_multiq.c removed[n_removed++] = child; child 214 net/sched/sch_multiq.c struct Qdisc *child, *old; child 215 net/sched/sch_multiq.c child = qdisc_create_dflt(sch->dev_queue, child 219 net/sched/sch_multiq.c if (child) { child 222 net/sched/sch_multiq.c q->queues[i] = child; child 223 net/sched/sch_multiq.c if (child != &noop_qdisc) child 224 net/sched/sch_multiq.c qdisc_hash_add(child, true); child 61 net/sched/sch_red.c struct Qdisc *child = q->qdisc; child 66 net/sched/sch_red.c child->qstats.backlog); child 97 net/sched/sch_red.c ret = qdisc_enqueue(skb, child, to_free); child 116 net/sched/sch_red.c struct Qdisc *child = q->qdisc; child 118 net/sched/sch_red.c skb = child->dequeue(child); child 133 net/sched/sch_red.c struct Qdisc *child = q->qdisc; child 135 net/sched/sch_red.c return child->ops->peek(child); child 194 net/sched/sch_red.c struct Qdisc *old_child = NULL, *child = NULL; child 220 net/sched/sch_red.c child = fifo_create_dflt(sch, &bfifo_qdisc_ops, ctl->limit, child 222 net/sched/sch_red.c if (IS_ERR(child)) child 223 net/sched/sch_red.c return PTR_ERR(child); child 226 net/sched/sch_red.c qdisc_hash_add(child, true); child 232 net/sched/sch_red.c if (child) { child 235 net/sched/sch_red.c q->qdisc = child; child 284 net/sched/sch_sfb.c struct Qdisc *child = q->qdisc; child 402 net/sched/sch_sfb.c ret = qdisc_enqueue(skb, child, to_free); child 426 net/sched/sch_sfb.c struct Qdisc *child = q->qdisc; child 429 net/sched/sch_sfb.c skb = child->dequeue(q->qdisc); child 444 net/sched/sch_sfb.c struct Qdisc *child = q->qdisc; child 446 net/sched/sch_sfb.c return child->ops->peek(child); child 492 net/sched/sch_sfb.c struct Qdisc *child, *old; child 514 net/sched/sch_sfb.c child = fifo_create_dflt(sch, &pfifo_qdisc_ops, limit, extack); child 515 net/sched/sch_sfb.c if (IS_ERR(child)) child 516 net/sched/sch_sfb.c return PTR_ERR(child); child 518 net/sched/sch_sfb.c if (child != &noop_qdisc) child 519 net/sched/sch_sfb.c qdisc_hash_add(child, true); child 524 net/sched/sch_sfb.c q->qdisc = child; child 417 net/sched/sch_taprio.c struct Qdisc *child; child 422 net/sched/sch_taprio.c child = q->qdiscs[queue]; child 423 net/sched/sch_taprio.c if (unlikely(!child)) child 438 net/sched/sch_taprio.c return qdisc_enqueue(skb, child, to_free); child 459 net/sched/sch_taprio.c struct Qdisc *child = q->qdiscs[i]; child 463 net/sched/sch_taprio.c if (unlikely(!child)) child 466 net/sched/sch_taprio.c skb = child->ops->peek(child); child 493 net/sched/sch_taprio.c struct Qdisc *child = q->qdiscs[i]; child 495 net/sched/sch_taprio.c if (unlikely(!child)) child 498 net/sched/sch_taprio.c skb = child->ops->peek(child); child 544 net/sched/sch_taprio.c struct Qdisc *child = q->qdiscs[i]; child 550 net/sched/sch_taprio.c if (unlikely(!child)) child 554 net/sched/sch_taprio.c skb = child->ops->dequeue(child); child 560 net/sched/sch_taprio.c skb = child->ops->peek(child); child 592 net/sched/sch_taprio.c skb = child->ops->dequeue(child); child 618 net/sched/sch_taprio.c struct Qdisc *child = q->qdiscs[i]; child 620 net/sched/sch_taprio.c if (unlikely(!child)) child 623 net/sched/sch_taprio.c skb = child->ops->dequeue(child); child 299 net/sched/sch_tbf.c struct Qdisc *child = NULL; child 377 net/sched/sch_tbf.c child = fifo_create_dflt(sch, &bfifo_qdisc_ops, qopt->limit, child 379 net/sched/sch_tbf.c if (IS_ERR(child)) { child 380 net/sched/sch_tbf.c err = PTR_ERR(child); child 385 net/sched/sch_tbf.c qdisc_hash_add(child, true); child 389 net/sched/sch_tbf.c if (child) { child 392 net/sched/sch_tbf.c q->qdisc = child; child 685 net/sunrpc/rpcb_clnt.c struct rpc_task *child; child 796 net/sunrpc/rpcb_clnt.c child = rpcb_call_async(rpcb_clnt, map, proc); child 798 net/sunrpc/rpcb_clnt.c if (IS_ERR(child)) { child 806 net/sunrpc/rpcb_clnt.c rpc_put_task(child); child 823 net/sunrpc/rpcb_clnt.c static void rpcb_getport_done(struct rpc_task *child, void *data) child 827 net/sunrpc/rpcb_clnt.c int status = child->tk_status; child 852 net/sunrpc/rpcb_clnt.c child->tk_pid, status, map->r_port); child 182 net/sunrpc/sysctl.c .child = debug_table child 214 net/sunrpc/xprtrdma/svc_rdma.c .child = svcrdma_parm_table child 223 net/sunrpc/xprtrdma/svc_rdma.c .child = svcrdma_table child 150 net/sunrpc/xprtrdma/transport.c .child = xr_tunables_table child 157 net/sunrpc/xprtsock.c .child = xs_tunables_table child 1003 net/vmw_vsock/virtio_transport_common.c struct sock *child; child 1015 net/vmw_vsock/virtio_transport_common.c child = __vsock_create(sock_net(sk), NULL, sk, GFP_KERNEL, child 1017 net/vmw_vsock/virtio_transport_common.c if (!child) { child 1024 net/vmw_vsock/virtio_transport_common.c lock_sock_nested(child, SINGLE_DEPTH_NESTING); child 1026 net/vmw_vsock/virtio_transport_common.c child->sk_state = TCP_ESTABLISHED; child 1028 net/vmw_vsock/virtio_transport_common.c vchild = vsock_sk(child); child 1035 net/vmw_vsock/virtio_transport_common.c vsock_enqueue_accept(sk, child); child 1038 net/vmw_vsock/virtio_transport_common.c release_sock(child); child 272 net/xfrm/xfrm_device.c (!xdst->child->xfrm)) { child 47 net/xfrm/xfrm_output.c struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); child 50 net/xfrm/xfrm_output.c return child; child 136 scripts/dtc/checks.c struct node *child; child 142 scripts/dtc/checks.c for_each_child(node, child) child 143 scripts/dtc/checks.c check_nodes_props(c, dti, child); child 270 scripts/dtc/checks.c struct node *child, *child2; child 272 scripts/dtc/checks.c for_each_child(node, child) child 273 scripts/dtc/checks.c for (child2 = child->next_sibling; child 276 scripts/dtc/checks.c if (streq(child->name, child2->name)) child 997 scripts/dtc/checks.c struct node *child; child 998 scripts/dtc/checks.c for_each_child(node, child) { child 999 scripts/dtc/checks.c if (strprefixeq(child->name, node->basenamelen, "i2c-bus")) child 1066 scripts/dtc/checks.c struct node *child; child 1071 scripts/dtc/checks.c for_each_child(node, child) { child 1073 scripts/dtc/checks.c for_each_property(child, prop) { child 1182 scripts/dtc/checks.c struct node *child; child 1191 scripts/dtc/checks.c for_each_child(node, child) { child 1192 scripts/dtc/checks.c prop = get_property(child, "reg"); child 1623 scripts/dtc/checks.c struct node *child; child 1625 scripts/dtc/checks.c for_each_child(node, child) { child 1626 scripts/dtc/checks.c if (!(strprefixeq(child->name, child->basenamelen, "endpoint") || child 1627 scripts/dtc/checks.c get_property(child, "remote-endpoint"))) child 1647 scripts/dtc/checks.c struct node *child; child 1652 scripts/dtc/checks.c for_each_child(node, child) { child 1653 scripts/dtc/checks.c struct property *prop = get_property(child, "reg"); child 33 scripts/dtc/dtc.c struct node *child; child 44 scripts/dtc/dtc.c for_each_child(tree, child) child 45 scripts/dtc/dtc.c fill_fullpaths(child, tree->fullpath); child 215 scripts/dtc/dtc.h void add_child(struct node *parent, struct node *child); child 240 scripts/dtc/flattree.c struct node *child; child 286 scripts/dtc/flattree.c for_each_child(tree, child) { child 287 scripts/dtc/flattree.c flatten_tree(child, emit, etarget, strbuf, vi); child 749 scripts/dtc/flattree.c struct node *child; child 762 scripts/dtc/flattree.c child = unflatten_tree(dtbuf,strbuf, flatname, flags); child 763 scripts/dtc/flattree.c add_child(node, child); child 159 scripts/dtc/libfdt/fdt_overlay.c int child; child 170 scripts/dtc/libfdt/fdt_overlay.c fdt_for_each_subnode(child, fdto, node) { child 171 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_adjust_node_phandles(fdto, child, delta); child 92 scripts/dtc/livetree.c struct node *child; child 100 scripts/dtc/livetree.c for_each_child(new, child) { child 101 scripts/dtc/livetree.c child->parent = new; child 298 scripts/dtc/livetree.c void add_child(struct node *parent, struct node *child) child 302 scripts/dtc/livetree.c child->next_sibling = NULL; child 303 scripts/dtc/livetree.c child->parent = parent; child 309 scripts/dtc/livetree.c *p = child; child 328 scripts/dtc/livetree.c struct node *child; child 331 scripts/dtc/livetree.c for_each_child(node, child) child 332 scripts/dtc/livetree.c delete_node(child); child 503 scripts/dtc/livetree.c struct node *child; child 505 scripts/dtc/livetree.c for_each_child(node, child) child 506 scripts/dtc/livetree.c if (streq(child->name, nodename)) child 507 scripts/dtc/livetree.c return child; child 515 scripts/dtc/livetree.c struct node *child; child 528 scripts/dtc/livetree.c for_each_child(tree, child) { child 529 scripts/dtc/livetree.c if (p && (strlen(child->name) == p-path) && child 530 scripts/dtc/livetree.c strprefixeq(path, p - path, child->name)) child 531 scripts/dtc/livetree.c return get_node_by_path(child, p+1); child 532 scripts/dtc/livetree.c else if (!p && streq(path, child->name)) child 533 scripts/dtc/livetree.c return child; child 541 scripts/dtc/livetree.c struct node *child, *node; child 550 scripts/dtc/livetree.c for_each_child(tree, child) { child 551 scripts/dtc/livetree.c node = get_node_by_label(child, label); child 561 scripts/dtc/livetree.c struct node *child, *node; child 574 scripts/dtc/livetree.c for_each_child(tree, child) { child 575 scripts/dtc/livetree.c node = get_node_by_phandle(child, phandle); child 284 scripts/dtc/treesource.c struct node *child; child 312 scripts/dtc/treesource.c for_each_child(tree, child) { child 314 scripts/dtc/treesource.c write_tree_source_node(f, child, level+1); child 179 scripts/dtc/yamltree.c struct node *child; child 193 scripts/dtc/yamltree.c for_each_child(tree, child) { child 195 scripts/dtc/yamltree.c (yaml_char_t *)YAML_STR_TAG, (yaml_char_t*)child->name, child 196 scripts/dtc/yamltree.c strlen(child->name), 1, 0, YAML_PLAIN_SCALAR_STYLE); child 198 scripts/dtc/yamltree.c yaml_tree(child, emitter); child 232 scripts/kconfig/conf.c struct menu *child; child 267 scripts/kconfig/conf.c for (child = menu->list; child; child = child->next) { child 268 scripts/kconfig/conf.c if (!menu_is_visible(child)) child 270 scripts/kconfig/conf.c if (!child->sym) { child 271 scripts/kconfig/conf.c printf("%*c %s\n", indent, '*', menu_get_prompt(child)); child 275 scripts/kconfig/conf.c if (child->sym == def_sym) { child 280 scripts/kconfig/conf.c printf(" %d. %s", cnt, menu_get_prompt(child)); child 281 scripts/kconfig/conf.c if (child->sym->name) child 282 scripts/kconfig/conf.c printf(" (%s)", child->sym->name); child 283 scripts/kconfig/conf.c if (!sym_has_value(child->sym)) child 322 scripts/kconfig/conf.c for (child = menu->list; child; child = child->next) { child 323 scripts/kconfig/conf.c if (!child->sym || !menu_is_visible(child)) child 328 scripts/kconfig/conf.c if (!child) child 331 scripts/kconfig/conf.c print_help(child); child 334 scripts/kconfig/conf.c sym_set_choice_value(sym, child->sym); child 335 scripts/kconfig/conf.c for (child = child->list; child; child = child->next) { child 337 scripts/kconfig/conf.c conf(child); child 348 scripts/kconfig/conf.c struct menu *child; child 405 scripts/kconfig/conf.c for (child = menu->list; child; child = child->next) child 406 scripts/kconfig/conf.c conf(child); child 414 scripts/kconfig/conf.c struct menu *child; child 446 scripts/kconfig/conf.c for (child = menu->list; child; child = child->next) child 447 scripts/kconfig/conf.c check_conf(child); child 1090 scripts/kconfig/gconf.c struct menu *child; child 1096 scripts/kconfig/gconf.c for (child = menu->list; child; child = child->next) { child 1097 scripts/kconfig/gconf.c if (menu_is_visible(child) child 1098 scripts/kconfig/gconf.c && child->sym == def_sym) child 1099 scripts/kconfig/gconf.c def_menu = child; child 1217 scripts/kconfig/gconf.c GtkTreeIter *child = &iter; child 1221 scripts/kconfig/gconf.c valid = gtk_tree_model_iter_children(model2, child, parent); child 1225 scripts/kconfig/gconf.c gtk_tree_model_get(model2, child, 6, &menu, -1); child 1228 scripts/kconfig/gconf.c memcpy(&found, child, sizeof(GtkTreeIter)); child 1232 scripts/kconfig/gconf.c ret = gtktree_iter_find_node(child, tofind); child 1236 scripts/kconfig/gconf.c valid = gtk_tree_model_iter_next(model2, child); child 1337 scripts/kconfig/gconf.c struct menu *child; child 1345 scripts/kconfig/gconf.c for (child = menu->list; child; child = child->next) { child 1346 scripts/kconfig/gconf.c prop = child->prompt; child 1347 scripts/kconfig/gconf.c sym = child->sym; child 1354 scripts/kconfig/gconf.c && !(child->flags & MENU_ROOT) && (tree == tree1)) child 1357 scripts/kconfig/gconf.c if ((view_mode == SPLIT_VIEW) && (child->flags & MENU_ROOT) child 1361 scripts/kconfig/gconf.c if ((opt_mode == OPT_NORMAL && menu_is_visible(child)) || child 1362 scripts/kconfig/gconf.c (opt_mode == OPT_PROMPT && menu_has_prompt(child)) || child 1363 scripts/kconfig/gconf.c (opt_mode == OPT_ALL && menu_get_prompt(child))) child 1364 scripts/kconfig/gconf.c place_node(child, fill_row(child)); child 1366 scripts/kconfig/gconf.c printf("%*c%s: ", indent, ' ', menu_get_prompt(child)); child 1367 scripts/kconfig/gconf.c printf("%s", child->flags & MENU_ROOT ? "rootmenu | " : ""); child 1395 scripts/kconfig/gconf.c display_tree(child); child 1427 scripts/kconfig/gconf.c struct menu *child; child 1431 scripts/kconfig/gconf.c for (child = menu->list; child; child = child->next) { child 1432 scripts/kconfig/gconf.c if (child->prompt && child->prompt->type == P_MENU) { child 1434 scripts/kconfig/gconf.c fixup_rootmenu(child); child 1437 scripts/kconfig/gconf.c fixup_rootmenu(child); child 469 scripts/kconfig/mconf.c struct menu *child; child 533 scripts/kconfig/mconf.c for (child = menu->list; child; child = child->next) { child 534 scripts/kconfig/mconf.c if (menu_is_visible(child) && child->sym == def_sym) child 535 scripts/kconfig/mconf.c def_menu = child; child 638 scripts/kconfig/mconf.c for (child = menu->list; child; child = child->next) child 639 scripts/kconfig/mconf.c build_conf(child); child 798 scripts/kconfig/mconf.c struct menu *child; child 808 scripts/kconfig/mconf.c for (child = menu->list; child; child = child->next) { child 809 scripts/kconfig/mconf.c if (!menu_is_visible(child)) child 811 scripts/kconfig/mconf.c if (child->sym) child 812 scripts/kconfig/mconf.c item_make("%s", menu_get_prompt(child)); child 814 scripts/kconfig/mconf.c item_make("*** %s ***", menu_get_prompt(child)); child 817 scripts/kconfig/mconf.c item_set_data(child); child 818 scripts/kconfig/mconf.c if (child->sym == active) child 820 scripts/kconfig/mconf.c if (child->sym == sym_get_choice_value(menu->sym)) child 833 scripts/kconfig/mconf.c child = item_data(); child 834 scripts/kconfig/mconf.c if (!child->sym) child 837 scripts/kconfig/mconf.c sym_set_tristate_value(child->sym, yes); child 842 scripts/kconfig/mconf.c child = item_data(); child 843 scripts/kconfig/mconf.c show_help(child); child 844 scripts/kconfig/mconf.c active = child->sym; child 615 scripts/kconfig/menu.c struct menu *child; child 617 scripts/kconfig/menu.c for (child = menu->list; child; child = child->next) { child 618 scripts/kconfig/menu.c if (menu_is_visible(child)) child 626 scripts/kconfig/menu.c struct menu *child; child 651 scripts/kconfig/menu.c for (child = menu->list; child; child = child->next) { child 652 scripts/kconfig/menu.c if (menu_is_visible(child)) { child 739 scripts/kconfig/nconf.c struct menu *child; child 800 scripts/kconfig/nconf.c for (child = menu->list; child; child = child->next) { child 801 scripts/kconfig/nconf.c if (menu_is_visible(child) && child->sym == def_sym) child 802 scripts/kconfig/nconf.c def_menu = child; child 916 scripts/kconfig/nconf.c for (child = menu->list; child; child = child->next) child 917 scripts/kconfig/nconf.c build_conf(child); child 1234 scripts/kconfig/nconf.c struct menu *child = NULL; child 1250 scripts/kconfig/nconf.c for (i = 0, child = menu->list; child; child = child->next) { child 1251 scripts/kconfig/nconf.c if (!show_all_items && !menu_is_visible(child)) child 1254 scripts/kconfig/nconf.c if (child->sym == sym_get_choice_value(menu->sym)) child 1255 scripts/kconfig/nconf.c item_make(child, ':', "<X> %s", child 1256 scripts/kconfig/nconf.c menu_get_prompt(child)); child 1257 scripts/kconfig/nconf.c else if (child->sym) child 1258 scripts/kconfig/nconf.c item_make(child, ':', " %s", child 1259 scripts/kconfig/nconf.c menu_get_prompt(child)); child 1261 scripts/kconfig/nconf.c item_make(child, ':', "*** %s ***", child 1262 scripts/kconfig/nconf.c menu_get_prompt(child)); child 1264 scripts/kconfig/nconf.c if (child->sym == active){ child 1328 scripts/kconfig/nconf.c child = item_data(); child 1329 scripts/kconfig/nconf.c if (!child || !menu_is_visible(child) || !child->sym) child 1335 scripts/kconfig/nconf.c sym_set_tristate_value(child->sym, yes); child 1339 scripts/kconfig/nconf.c show_help(child); child 1340 scripts/kconfig/nconf.c active = child->sym; child 579 scripts/kconfig/qconf.cc struct menu* child; child 597 scripts/kconfig/qconf.cc for (child = menu->list; child; child = child->next) { child 599 scripts/kconfig/qconf.cc type = child->prompt ? child->prompt->type : P_UNKNOWN; child 603 scripts/kconfig/qconf.cc if (!(child->flags & MENU_ROOT)) child 607 scripts/kconfig/qconf.cc if (child->flags & MENU_ROOT) child 614 scripts/kconfig/qconf.cc visible = menu_is_visible(child); child 615 scripts/kconfig/qconf.cc if (!menuSkip(child)) { child 616 scripts/kconfig/qconf.cc if (!child->sym && !child->list && !child->prompt) child 618 scripts/kconfig/qconf.cc if (!item || item->menu != child) child 619 scripts/kconfig/qconf.cc item = new ConfigItem(parent, last, child, visible); child 624 scripts/kconfig/qconf.cc updateMenuList(item, child); child 631 scripts/kconfig/qconf.cc if (item && item->menu == child) { child 644 scripts/kconfig/qconf.cc struct menu* child; child 662 scripts/kconfig/qconf.cc for (child = menu->list; child; child = child->next) { child 664 scripts/kconfig/qconf.cc type = child->prompt ? child->prompt->type : P_UNKNOWN; child 668 scripts/kconfig/qconf.cc if (!(child->flags & MENU_ROOT)) child 672 scripts/kconfig/qconf.cc if (child->flags & MENU_ROOT) child 679 scripts/kconfig/qconf.cc visible = menu_is_visible(child); child 680 scripts/kconfig/qconf.cc if (!menuSkip(child)) { child 681 scripts/kconfig/qconf.cc if (!child->sym && !child->list && !child->prompt) child 683 scripts/kconfig/qconf.cc if (!item || item->menu != child) child 684 scripts/kconfig/qconf.cc item = new ConfigItem(parent, last, child, visible); child 689 scripts/kconfig/qconf.cc updateMenuList(item, child); child 696 scripts/kconfig/qconf.cc if (item && item->menu == child) { child 1832 scripts/kconfig/qconf.cc struct menu *child; child 1836 scripts/kconfig/qconf.cc for (child = menu->list; child; child = child->next) { child 1837 scripts/kconfig/qconf.cc if (child->prompt && child->prompt->type == P_MENU) { child 1839 scripts/kconfig/qconf.cc fixup_rootmenu(child); child 1842 scripts/kconfig/qconf.cc fixup_rootmenu(child); child 152 scripts/kconfig/qconf.h return (ConfigItem *)Parent::child(0); child 160 scripts/kconfig/qconf.h ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1); child 1419 security/apparmor/apparmorfs.c struct aa_profile *child; child 1425 security/apparmor/apparmorfs.c list_for_each_entry(child, &profile->base.profiles, base.list) child 1426 security/apparmor/apparmorfs.c __aafs_profile_rmdir(child); child 1583 security/apparmor/apparmorfs.c struct aa_profile *child; child 1673 security/apparmor/apparmorfs.c list_for_each_entry(child, &profile->base.profiles, base.list) { child 1674 security/apparmor/apparmorfs.c error = __aafs_profile_mkdir(child, prof_child_dir(profile)); child 1804 security/apparmor/apparmorfs.c struct aa_profile *child; child 1811 security/apparmor/apparmorfs.c list_for_each_entry(child, &ns->base.profiles, base.list) child 1812 security/apparmor/apparmorfs.c __aafs_profile_rmdir(child); child 1913 security/apparmor/apparmorfs.c struct aa_profile *child; child 1937 security/apparmor/apparmorfs.c list_for_each_entry(child, &ns->base.profiles, base.list) { child 1938 security/apparmor/apparmorfs.c error = __aafs_profile_mkdir(child, ns_subprofs_dir(ns)); child 84 security/apparmor/include/policy_ns.h const char *aa_ns_name(struct aa_ns *parent, struct aa_ns *child, bool subns); child 2121 security/apparmor/label.c struct aa_ns *child; child 2128 security/apparmor/label.c list_for_each_entry(child, &ns->sub_ns, base.list) { child 2129 security/apparmor/label.c mutex_lock_nested(&child->lock, child->level); child 2130 security/apparmor/label.c __aa_labelset_update_subtree(child); child 2131 security/apparmor/label.c mutex_unlock(&child->lock); child 105 security/apparmor/lsm.c static int apparmor_ptrace_access_check(struct task_struct *child, child 112 security/apparmor/lsm.c tracee = aa_get_task_label(child); child 742 security/apparmor/policy.c struct aa_profile *child, *tmp; child 748 security/apparmor/policy.c list_for_each_entry_safe(child, tmp, &lh, base.list) { child 751 security/apparmor/policy.c list_del_init(&child->base.list); child 752 security/apparmor/policy.c p = __find_child(&new->base.profiles, child->base.name); child 755 security/apparmor/policy.c __replace_profile(child, p); child 762 security/apparmor/policy.c p = aa_deref_parent(child); child 763 security/apparmor/policy.c rcu_assign_pointer(child->parent, aa_get_profile(new)); child 764 security/apparmor/policy.c list_add_rcu(&child->base.list, &new->base.profiles); child 133 security/commoncap.c int cap_ptrace_access_check(struct task_struct *child, unsigned int mode) child 141 security/commoncap.c child_cred = __task_cred(child); child 696 security/security.c int security_ptrace_access_check(struct task_struct *child, unsigned int mode) child 698 security/security.c return call_int_hook(ptrace_access_check, 0, child, mode); child 2126 security/selinux/hooks.c static int selinux_ptrace_access_check(struct task_struct *child, child 2130 security/selinux/hooks.c u32 csid = task_sid(child); child 273 security/yama/yama_lsm.c struct task_struct *child) child 276 security/yama/yama_lsm.c struct task_struct *walker = child; child 278 security/yama/yama_lsm.c if (!parent || !child) child 354 security/yama/yama_lsm.c static int yama_ptrace_access_check(struct task_struct *child, child 367 security/yama/yama_lsm.c if (!pid_alive(child)) child 369 security/yama/yama_lsm.c if (!rc && !task_is_descendant(current, child) && child 370 security/yama/yama_lsm.c !ptracer_exception_found(current, child) && child 371 security/yama/yama_lsm.c !ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) child 377 security/yama/yama_lsm.c if (!ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) child 389 security/yama/yama_lsm.c report_access("attach", child, current); child 156 sound/aoa/soundbus/i2sbus/core.c struct device_node *child, *sound = NULL; child 179 sound/aoa/soundbus/i2sbus/core.c for_each_child_of_node(np, child) { child 180 sound/aoa/soundbus/i2sbus/core.c if (of_node_name_eq(child, "sound")) { child 182 sound/aoa/soundbus/i2sbus/core.c sound = child; child 244 sound/soc/fsl/imx-audmux.c struct device_node *child; child 246 sound/soc/fsl/imx-audmux.c for_each_available_child_of_node(of_node, child) { child 255 sound/soc/fsl/imx-audmux.c ret = of_property_read_u32(child, "fsl,audmux-port", &port); child 258 sound/soc/fsl/imx-audmux.c child); child 261 sound/soc/fsl/imx-audmux.c if (!of_property_read_bool(child, "fsl,port-config")) { child 263 sound/soc/fsl/imx-audmux.c child); child 267 sound/soc/fsl/imx-audmux.c for (i = 0; (ret = of_property_read_u32_index(child, child 282 sound/soc/fsl/imx-audmux.c i, child); child 289 sound/soc/fsl/imx-audmux.c child); child 126 tools/include/linux/rbtree_augmented.h RBSTRUCT *child; \ child 129 tools/include/linux/rbtree_augmented.h child = rb_entry(node->RBFIELD.rb_left, RBSTRUCT, RBFIELD); \ child 130 tools/include/linux/rbtree_augmented.h if (child->RBAUGMENTED > max) \ child 131 tools/include/linux/rbtree_augmented.h max = child->RBAUGMENTED; \ child 134 tools/include/linux/rbtree_augmented.h child = rb_entry(node->RBFIELD.rb_right, RBSTRUCT, RBFIELD); \ child 135 tools/include/linux/rbtree_augmented.h if (child->RBAUGMENTED > max) \ child 136 tools/include/linux/rbtree_augmented.h max = child->RBAUGMENTED; \ child 190 tools/include/linux/rbtree_augmented.h struct rb_node *child = node->rb_right; child 205 tools/include/linux/rbtree_augmented.h __rb_change_child(node, child, parent, root); child 206 tools/include/linux/rbtree_augmented.h if (child) { child 207 tools/include/linux/rbtree_augmented.h child->__rb_parent_color = pc; child 212 tools/include/linux/rbtree_augmented.h } else if (!child) { child 220 tools/include/linux/rbtree_augmented.h struct rb_node *successor = child, *child2; child 222 tools/include/linux/rbtree_augmented.h tmp = child->rb_left; child 259 tools/include/linux/rbtree_augmented.h WRITE_ONCE(successor->rb_right, child); child 260 tools/include/linux/rbtree_augmented.h rb_set_parent(child, successor); child 60 tools/lib/traceevent/plugins/plugin_function.c static void add_child(struct func_stack *stack, const char *child, int pos) child 64 tools/lib/traceevent/plugins/plugin_function.c if (!child) child 86 tools/lib/traceevent/plugins/plugin_function.c stack->stack[pos] = strdup(child); child 89 tools/lib/traceevent/plugins/plugin_function.c static int add_and_get_index(const char *parent, const char *child, int cpu) child 115 tools/lib/traceevent/plugins/plugin_function.c add_child(&fstack[cpu], child, i+1); child 122 tools/lib/traceevent/plugins/plugin_function.c add_child(&fstack[cpu], child, 1); child 32 tools/perf/arch/x86/tests/bp-modify.c int child = fork(); child 34 tools/perf/arch/x86/tests/bp-modify.c if (child == 0) { child 52 tools/perf/arch/x86/tests/bp-modify.c return child; child 61 tools/perf/arch/x86/tests/bp-modify.c pid_t child; child 65 tools/perf/arch/x86/tests/bp-modify.c child = spawn_child(); child 67 tools/perf/arch/x86/tests/bp-modify.c waitpid(child, &status, 0); child 81 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_POKEUSER, child, child 88 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_POKEUSER, child, child 95 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_POKEUSER, child, child 101 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_CONT, child, NULL, NULL)) { child 106 tools/perf/arch/x86/tests/bp-modify.c waitpid(child, &status, 0); child 112 tools/perf/arch/x86/tests/bp-modify.c rip = ptrace(PTRACE_PEEKUSER, child, child 123 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { child 138 tools/perf/arch/x86/tests/bp-modify.c pid_t child; child 142 tools/perf/arch/x86/tests/bp-modify.c child = spawn_child(); child 144 tools/perf/arch/x86/tests/bp-modify.c waitpid(child, &status, 0); child 158 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_POKEUSER, child, child 165 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_POKEUSER, child, child 171 tools/perf/arch/x86/tests/bp-modify.c if (!ptrace(PTRACE_POKEUSER, child, child 177 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_CONT, child, NULL, NULL)) { child 182 tools/perf/arch/x86/tests/bp-modify.c waitpid(child, &status, 0); child 188 tools/perf/arch/x86/tests/bp-modify.c rip = ptrace(PTRACE_PEEKUSER, child, child 199 tools/perf/arch/x86/tests/bp-modify.c if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { child 755 tools/perf/builtin-report.c struct task *child; child 765 tools/perf/builtin-report.c list_for_each_entry(child, &task->children, list) child 766 tools/perf/builtin-report.c task__print_level(child, fp, level + 1); child 878 tools/perf/builtin-sched.c struct thread *child, *parent; child 880 tools/perf/builtin-sched.c child = machine__findnew_thread(machine, event->fork.pid, child 885 tools/perf/builtin-sched.c if (child == NULL || parent == NULL) { child 887 tools/perf/builtin-sched.c child, parent); child 894 tools/perf/builtin-sched.c printf("... child: %s/%d\n", thread__comm_str(child), child->tid); child 898 tools/perf/builtin-sched.c register_pid(sched, child->tid, thread__comm_str(child)); child 900 tools/perf/builtin-sched.c thread__put(child); child 2194 tools/perf/builtin-trace.c struct thread *child = machine__find_thread(trace->host, ret, ret); child 2196 tools/perf/builtin-trace.c if (child != NULL) { child 2198 tools/perf/builtin-trace.c if (child->comm_set) child 2199 tools/perf/builtin-trace.c fprintf(trace->output, " (%s)", thread__comm_str(child)); child 2200 tools/perf/builtin-trace.c thread__put(child); child 339 tools/perf/tests/builtin-test.c int status, err = -1, child = dont_fork ? 0 : fork(); child 342 tools/perf/tests/builtin-test.c if (child < 0) { child 348 tools/perf/tests/builtin-test.c if (!child) { child 179 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); child 183 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 193 tools/perf/ui/browsers/hists.c n += callchain_node__count_rows_rb_tree(child); child 274 tools/perf/ui/browsers/hists.c struct hist_entry *child; child 286 tools/perf/ui/browsers/hists.c child = rb_entry(node, struct hist_entry, rb_node); child 287 tools/perf/ui/browsers/hists.c percent = hist_entry__get_percent_limit(child); child 289 tools/perf/ui/browsers/hists.c if (!child->filtered && percent >= hb->min_pcnt) { child 292 tools/perf/ui/browsers/hists.c if (include_children && child->unfolded) child 293 tools/perf/ui/browsers/hists.c count += hierarchy_count_rows(hb, child, true); child 330 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); child 334 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 337 tools/perf/ui/browsers/hists.c chain->has_children = chain->list.next != &child->val || child 338 tools/perf/ui/browsers/hists.c !RB_EMPTY_ROOT(&child->rb_root); child 340 tools/perf/ui/browsers/hists.c chain->has_children = chain->list.next == &child->val && child 341 tools/perf/ui/browsers/hists.c !RB_EMPTY_ROOT(&child->rb_root); child 344 tools/perf/ui/browsers/hists.c callchain_node__init_have_children_rb_tree(child); child 467 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); child 471 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 478 tools/perf/ui/browsers/hists.c n += callchain_node__set_folding_rb_tree(child, unfold); child 520 tools/perf/ui/browsers/hists.c struct hist_entry *child; child 524 tools/perf/ui/browsers/hists.c child = rb_entry(nd, struct hist_entry, rb_node); child 525 tools/perf/ui/browsers/hists.c percent = hist_entry__get_percent_limit(child); child 526 tools/perf/ui/browsers/hists.c if (!child->filtered && percent >= hb->min_pcnt) child 845 tools/perf/ui/browsers/hists.c struct callchain_node *child; child 853 tools/perf/ui/browsers/hists.c child = rb_entry(node, struct callchain_node, rb_node); child 854 tools/perf/ui/browsers/hists.c return callchain_cumul_hits(child) != parent_total; child 873 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(node, struct callchain_node, rb_node); child 880 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->parent_val, list) { child 890 tools/perf/ui/browsers/hists.c row += hist_browser__show_callchain_list(browser, child, child 903 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 913 tools/perf/ui/browsers/hists.c row += hist_browser__show_callchain_list(browser, child, child 977 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(node, struct callchain_node, rb_node); child 992 tools/perf/ui/browsers/hists.c callchain_node__scnprintf_value(child, buf, sizeof(buf), total); child 1000 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->parent_val, list) { child 1016 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 1066 tools/perf/ui/browsers/hists.c struct callchain_node *child = rb_entry(node, struct callchain_node, rb_node); child 1073 tools/perf/ui/browsers/hists.c list_for_each_entry(chain, &child->val, list) { child 1083 tools/perf/ui/browsers/hists.c row += hist_browser__show_callchain_list(browser, child, child 1099 tools/perf/ui/browsers/hists.c row += hist_browser__show_callchain_graph(browser, &child->rb_root, child 1101 tools/perf/ui/browsers/hists.c child->children_hit, child 475 tools/perf/ui/gtk/hists.c GtkTreeIter child; child 480 tools/perf/ui/gtk/hists.c gtk_tree_store_append(store, &child, &iter); child 481 tools/perf/ui/gtk/hists.c gtk_tree_store_set(store, &child, col_idx, buf, -1); child 113 tools/perf/ui/stdio/hist.c struct callchain_node *child = NULL; child 129 tools/perf/ui/stdio/hist.c child = rb_entry(node, struct callchain_node, rb_node); child 130 tools/perf/ui/stdio/hist.c cumul = callchain_cumul_hits(child); child 132 tools/perf/ui/stdio/hist.c cumul_count += callchain_cumul_counts(child); child 152 tools/perf/ui/stdio/hist.c list_for_each_entry(chain, &child->val, list) { child 153 tools/perf/ui/stdio/hist.c ret += ipchain__fprintf_graph(fp, child, chain, depth, child 160 tools/perf/ui/stdio/hist.c new_total = child->children_hit; child 164 tools/perf/ui/stdio/hist.c ret += __callchain__fprintf_graph(fp, &child->rb_root, new_total, child 182 tools/perf/ui/stdio/hist.c if (callchain_param.value == CCVAL_COUNT && child && child->parent) { child 183 tools/perf/ui/stdio/hist.c rem_node.count = child->parent->children_count - cumul_count; child 417 tools/perf/util/callchain.c struct callchain_node *child; child 421 tools/perf/util/callchain.c child = rb_entry(n, struct callchain_node, rb_node_in); child 424 tools/perf/util/callchain.c __sort_chain_flat(rb_root, child, min_hit); child 447 tools/perf/util/callchain.c struct callchain_node *child; child 453 tools/perf/util/callchain.c child = rb_entry(n, struct callchain_node, rb_node_in); child 456 tools/perf/util/callchain.c __sort_chain_graph_abs(child, min_hit); child 457 tools/perf/util/callchain.c if (callchain_cumul_hits(child) >= min_hit) child 458 tools/perf/util/callchain.c rb_insert_callchain(&node->rb_root, child, child 475 tools/perf/util/callchain.c struct callchain_node *child; child 483 tools/perf/util/callchain.c child = rb_entry(n, struct callchain_node, rb_node_in); child 486 tools/perf/util/callchain.c __sort_chain_graph_rel(child, min_percent); child 487 tools/perf/util/callchain.c if (callchain_cumul_hits(child) >= min_hit) child 488 tools/perf/util/callchain.c rb_insert_callchain(&node->rb_root, child, child 541 tools/perf/util/callchain.c struct callchain_node *child; child 548 tools/perf/util/callchain.c child = rb_entry(n, struct callchain_node, rb_node_in); child 549 tools/perf/util/callchain.c child->parent = new; child 1000 tools/perf/util/callchain.c struct callchain_node *child; child 1023 tools/perf/util/callchain.c child = container_of(n, struct callchain_node, rb_node_in); child 1025 tools/perf/util/callchain.c rb_erase(&child->rb_node_in, &src->rb_root_in); child 1027 tools/perf/util/callchain.c err = merge_chain_branch(cursor, dst, child); child 1031 tools/perf/util/callchain.c free(child); child 1258 tools/perf/util/callchain.c struct callchain_node *child; child 1263 tools/perf/util/callchain.c child = rb_entry(n, struct callchain_node, rb_node_in); child 1266 tools/perf/util/callchain.c callchain_node_branch_counts_cumul(child, branch_count, child 1271 tools/perf/util/callchain.c callchain_counts_value(child, branch_count, child 1457 tools/perf/util/callchain.c struct callchain_node *child; child 1474 tools/perf/util/callchain.c child = container_of(n, struct callchain_node, rb_node_in); child 1476 tools/perf/util/callchain.c rb_erase(&child->rb_node_in, &node->rb_root_in); child 1478 tools/perf/util/callchain.c free_callchain_node(child); child 1479 tools/perf/util/callchain.c free(child); child 1493 tools/perf/util/callchain.c struct callchain_node *child; child 1499 tools/perf/util/callchain.c child = container_of(n, struct callchain_node, rb_node_in); child 1501 tools/perf/util/callchain.c child_hits += decay_callchain_node(child); child 320 tools/perf/util/hist.c struct hist_entry *child; child 323 tools/perf/util/hist.c child = rb_entry(node, struct hist_entry, rb_node); child 326 tools/perf/util/hist.c if (hists__decay_entry(hists, child)) child 327 tools/perf/util/hist.c hists__delete_entry(hists, child); child 1976 tools/perf/util/hist.c struct hist_entry *child; child 1983 tools/perf/util/hist.c child = rb_entry(node, struct hist_entry, rb_node); child 1985 tools/perf/util/hist.c while (node && child->filtered) { child 1987 tools/perf/util/hist.c child = rb_entry(node, struct hist_entry, rb_node); child 1991 tools/perf/util/hist.c percent = hist_entry__get_percent_limit(child); child 1392 tools/perf/util/probe-finder.c bool externs = !af->child; child 1426 tools/perf/util/probe-finder.c if (af->child && dwarf_haspc(die_mem, af->pf.addr)) child 1486 tools/perf/util/probe-finder.c af->child = true; child 1493 tools/perf/util/probe-finder.c af->child = false; child 106 tools/perf/util/probe-finder.h bool child; /* Search child scopes */ child 125 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c child(wr_size, wr); child 61 tools/testing/selftests/breakpoints/step_after_suspend_test.c child(cpu); child 181 tools/testing/selftests/capabilities/test_execve.c pid_t child = fork(); child 182 tools/testing/selftests/capabilities/test_execve.c if (child == 0) { child 185 tools/testing/selftests/capabilities/test_execve.c } else if (child > 0) { child 187 tools/testing/selftests/capabilities/test_execve.c if (waitpid(child, &status, 0) != child || child 107 tools/testing/selftests/cgroup/test_core.c char *grandparent = NULL, *parent = NULL, *child = NULL; child 111 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); child 112 tools/testing/selftests/cgroup/test_core.c if (!parent || !child || !grandparent) child 121 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 127 tools/testing/selftests/cgroup/test_core.c if (cg_read_strcmp(child, "cgroup.type", "domain invalid\n")) child 130 tools/testing/selftests/cgroup/test_core.c if (!cg_enter_current(child)) child 140 tools/testing/selftests/cgroup/test_core.c if (child) child 141 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 146 tools/testing/selftests/cgroup/test_core.c free(child); child 159 tools/testing/selftests/cgroup/test_core.c char *parent = NULL, *child = NULL; child 162 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_parent/cg_test_child"); child 163 tools/testing/selftests/cgroup/test_core.c if (!parent || !child) child 169 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 172 tools/testing/selftests/cgroup/test_core.c if (cg_write(child, "cgroup.type", "threaded")) child 181 tools/testing/selftests/cgroup/test_core.c if (child) child 182 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 185 tools/testing/selftests/cgroup/test_core.c free(child); child 198 tools/testing/selftests/cgroup/test_core.c char *parent = NULL, *child = NULL; child 207 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_parent/cg_test_child"); child 208 tools/testing/selftests/cgroup/test_core.c if (!parent || !child) child 214 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 220 tools/testing/selftests/cgroup/test_core.c if (cg_write(child, "cgroup.type", "threaded")) child 234 tools/testing/selftests/cgroup/test_core.c if (child) child 235 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 238 tools/testing/selftests/cgroup/test_core.c free(child); child 250 tools/testing/selftests/cgroup/test_core.c char *parent = NULL, *child = NULL; child 253 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_parent/cg_test_child"); child 254 tools/testing/selftests/cgroup/test_core.c if (!parent || !child) child 260 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 263 tools/testing/selftests/cgroup/test_core.c if (!cg_write(child, "cgroup.subtree_control", "+memory")) child 269 tools/testing/selftests/cgroup/test_core.c if (child) child 270 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 273 tools/testing/selftests/cgroup/test_core.c free(child); child 285 tools/testing/selftests/cgroup/test_core.c char *parent = NULL, *child = NULL; child 288 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_parent/cg_test_child"); child 289 tools/testing/selftests/cgroup/test_core.c if (!parent || !child) child 295 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 301 tools/testing/selftests/cgroup/test_core.c if (cg_write(child, "cgroup.subtree_control", "+memory")) child 310 tools/testing/selftests/cgroup/test_core.c if (child) child 311 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 314 tools/testing/selftests/cgroup/test_core.c free(child); child 326 tools/testing/selftests/cgroup/test_core.c char *parent = NULL, *child = NULL; child 329 tools/testing/selftests/cgroup/test_core.c child = cg_name(root, "cg_test_parent/cg_test_child"); child 330 tools/testing/selftests/cgroup/test_core.c if (!parent || !child) child 336 tools/testing/selftests/cgroup/test_core.c if (cg_create(child)) child 348 tools/testing/selftests/cgroup/test_core.c if (child) child 349 tools/testing/selftests/cgroup/test_core.c cg_destroy(child); child 352 tools/testing/selftests/cgroup/test_core.c free(child); child 459 tools/testing/selftests/cgroup/test_freezer.c char *parent, *child = NULL; child 466 tools/testing/selftests/cgroup/test_freezer.c child = cg_name(parent, "cg_test_mkdir_B"); child 467 tools/testing/selftests/cgroup/test_freezer.c if (!child) child 476 tools/testing/selftests/cgroup/test_freezer.c if (cg_create(child)) child 479 tools/testing/selftests/cgroup/test_freezer.c pid = cg_run_nowait(child, child_fn, NULL); child 483 tools/testing/selftests/cgroup/test_freezer.c if (cg_wait_for_proc_count(child, 1)) child 486 tools/testing/selftests/cgroup/test_freezer.c if (cg_check_frozen(child, true)) child 495 tools/testing/selftests/cgroup/test_freezer.c if (child) child 496 tools/testing/selftests/cgroup/test_freezer.c cg_destroy(child); child 497 tools/testing/selftests/cgroup/test_freezer.c free(child); child 513 tools/testing/selftests/cgroup/test_freezer.c char *parent, *child = NULL; child 519 tools/testing/selftests/cgroup/test_freezer.c child = cg_name(parent, "cg_test_rmdir_B"); child 520 tools/testing/selftests/cgroup/test_freezer.c if (!child) child 526 tools/testing/selftests/cgroup/test_freezer.c if (cg_create(child)) child 532 tools/testing/selftests/cgroup/test_freezer.c if (cg_destroy(child)) child 538 tools/testing/selftests/cgroup/test_freezer.c if (cg_create(child)) child 541 tools/testing/selftests/cgroup/test_freezer.c if (cg_check_frozen(child, true)) child 547 tools/testing/selftests/cgroup/test_freezer.c if (child) child 548 tools/testing/selftests/cgroup/test_freezer.c cg_destroy(child); child 549 tools/testing/selftests/cgroup/test_freezer.c free(child); child 29 tools/testing/selftests/cgroup/test_memcontrol.c char *parent, *child, *parent2 = NULL, *child2 = NULL; child 35 tools/testing/selftests/cgroup/test_memcontrol.c child = cg_name(root, "memcg_test_0/memcg_test_1"); child 36 tools/testing/selftests/cgroup/test_memcontrol.c if (!parent || !child) child 45 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_create(child)) child 48 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_read_strstr(child, "cgroup.controllers", "memory")) child 79 tools/testing/selftests/cgroup/test_memcontrol.c cg_destroy(child); child 84 tools/testing/selftests/cgroup/test_memcontrol.c free(child); child 1010 tools/testing/selftests/cgroup/test_memcontrol.c char *parent, *child; child 1013 tools/testing/selftests/cgroup/test_memcontrol.c child = cg_name(root, "memcg_test_0/memcg_test_1"); child 1015 tools/testing/selftests/cgroup/test_memcontrol.c if (!parent || !child) child 1021 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_create(child)) child 1027 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_write(child, "memory.max", "50M")) child 1030 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_write(child, "memory.swap.max", "0")) child 1033 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_write(child, "memory.oom.group", "1")) child 1037 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); child 1038 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); child 1039 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(child, alloc_anon, (void *)MB(100))) child 1042 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_test_proc_killed(child)) child 1045 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_read_key_long(child, "memory.events", "oom_kill ") <= 0) child 1054 tools/testing/selftests/cgroup/test_memcontrol.c if (child) child 1055 tools/testing/selftests/cgroup/test_memcontrol.c cg_destroy(child); child 1058 tools/testing/selftests/cgroup/test_memcontrol.c free(child); child 1072 tools/testing/selftests/cgroup/test_memcontrol.c char *parent, *child; child 1075 tools/testing/selftests/cgroup/test_memcontrol.c child = cg_name(root, "memcg_test_0/memcg_test_1"); child 1077 tools/testing/selftests/cgroup/test_memcontrol.c if (!parent || !child) child 1083 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_create(child)) child 1096 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); child 1097 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); child 1099 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(child, alloc_anon, (void *)MB(100))) child 1102 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_test_proc_killed(child)) child 1110 tools/testing/selftests/cgroup/test_memcontrol.c if (child) child 1111 tools/testing/selftests/cgroup/test_memcontrol.c cg_destroy(child); child 1114 tools/testing/selftests/cgroup/test_memcontrol.c free(child); child 70 tools/testing/selftests/exec/execveat.c pid_t child; child 79 tools/testing/selftests/exec/execveat.c child = fork(); child 80 tools/testing/selftests/exec/execveat.c if (child < 0) { child 84 tools/testing/selftests/exec/execveat.c if (child == 0) { child 92 tools/testing/selftests/exec/execveat.c rc = waitpid(child, &status, 0); child 93 tools/testing/selftests/exec/execveat.c if (rc != child) { child 94 tools/testing/selftests/exec/execveat.c printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); child 99 tools/testing/selftests/exec/execveat.c child, status); child 105 tools/testing/selftests/exec/execveat.c child, WEXITSTATUS(status), expected_rc, expected_rc2); child 57 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c pthread_t child; child 82 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c if (pthread_create(&child, NULL, blocking_child, NULL)) { child 126 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c pthread_join(child, NULL); child 185 tools/testing/selftests/mount/unprivileged-remount-test.c pid_t child; child 187 tools/testing/selftests/mount/unprivileged-remount-test.c child = fork(); child 188 tools/testing/selftests/mount/unprivileged-remount-test.c if (child == -1) { child 192 tools/testing/selftests/mount/unprivileged-remount-test.c if (child != 0) { /* parent */ child 195 tools/testing/selftests/mount/unprivileged-remount-test.c pid = waitpid(child, &status, 0); child 200 tools/testing/selftests/mount/unprivileged-remount-test.c if (pid != child) { child 202 tools/testing/selftests/mount/unprivileged-remount-test.c child, pid); child 259 tools/testing/selftests/mount/unprivileged-remount-test.c pid_t child; child 265 tools/testing/selftests/mount/unprivileged-remount-test.c child = fork(); child 266 tools/testing/selftests/mount/unprivileged-remount-test.c if (child == -1) { child 270 tools/testing/selftests/mount/unprivileged-remount-test.c if (child != 0) { /* parent */ child 273 tools/testing/selftests/mount/unprivileged-remount-test.c pid = waitpid(child, &status, 0); child 278 tools/testing/selftests/mount/unprivileged-remount-test.c if (pid != child) { child 280 tools/testing/selftests/mount/unprivileged-remount-test.c child, pid); child 50 tools/testing/selftests/nsfs/pidns.c pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); child 66 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c exit(child()); child 440 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = child(info); child 55 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c int trace_gpr(pid_t child) child 60 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(start_trace(child)); child 61 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(show_gpr(child, gpr)); child 63 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(show_fpr(child, fpr)); child 65 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(write_gpr(child, GPR_3)); child 66 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(write_fpr(child, FPR_3_REP)); child 67 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c FAIL_IF(stop_trace(child)); child 314 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = child(info); child 51 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c int trace_tar(pid_t child) child 55 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(start_trace(child)); child 56 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(show_tar_registers(child, reg)); child 61 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(stop_trace(child)); child 65 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c int trace_tar_write(pid_t child) child 67 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(start_trace(child)); child 68 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2)); child 72 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c FAIL_IF(stop_trace(child)); child 87 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c int trace_tm_gpr(pid_t child) child 92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(start_trace(child)); child 93 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(show_gpr(child, gpr)); child 95 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(show_fpr(child, fpr)); child 97 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(show_ckpt_fpr(child, fpr)); child 99 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(show_ckpt_gpr(child, gpr)); child 101 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(write_ckpt_gpr(child, GPR_3)); child 102 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(write_ckpt_fpr(child, FPR_3_REP)); child 105 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c FAIL_IF(stop_trace(child)); child 93 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c int trace_tm_spd_gpr(pid_t child) child 98 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(start_trace(child)); child 99 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(show_gpr(child, gpr)); child 101 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(show_fpr(child, fpr)); child 103 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(show_ckpt_fpr(child, fpr)); child 105 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(show_ckpt_gpr(child, gpr)); child 107 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(write_ckpt_gpr(child, GPR_3)); child 108 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(write_ckpt_fpr(child, FPR_3_REP)); child 112 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c FAIL_IF(stop_trace(child)); child 101 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c int trace_tm_spd_tar(pid_t child) child 105 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c FAIL_IF(start_trace(child)); child 106 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c FAIL_IF(show_tar_registers(child, regs)); child 111 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c FAIL_IF(show_tm_checkpointed_state(child, regs)); child 116 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4)); child 122 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c FAIL_IF(stop_trace(child)); child 96 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c int trace_tm_spd_vsx(pid_t child) child 101 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(start_trace(child)); child 102 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(show_vsx(child, vsx)); child 104 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(show_vmx(child, vmx)); child 106 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(show_vsx_ckpt(child, vsx)); child 108 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(show_vmx_ckpt(child, vmx)); child 116 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(write_vsx_ckpt(child, vsx)); child 117 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(write_vmx_ckpt(child, vmx)); child 121 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c FAIL_IF(stop_trace(child)); child 97 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c int trace_tm_spr(pid_t child) child 99 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c FAIL_IF(start_trace(child)); child 100 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs)); child 106 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c FAIL_IF(stop_trace(child)); child 90 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c int trace_tm_tar(pid_t child) child 94 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c FAIL_IF(start_trace(child)); child 95 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c FAIL_IF(show_tar_registers(child, regs)); child 100 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c FAIL_IF(show_tm_checkpointed_state(child, regs)); child 105 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4)); child 110 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c FAIL_IF(stop_trace(child)); child 84 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c int trace_tm_vsx(pid_t child) child 89 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(start_trace(child)); child 90 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(show_vsx(child, vsx)); child 92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(show_vmx(child, vmx)); child 94 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(show_vsx_ckpt(child, vsx)); child 96 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(show_vmx_ckpt(child, vmx)); child 103 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(write_vsx_ckpt(child, vsx)); child 104 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(write_vmx_ckpt(child, vmx)); child 106 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c FAIL_IF(stop_trace(child)); child 37 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c int trace_vsx(pid_t child) child 42 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(start_trace(child)); child 43 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(show_vsx(child, vsx)); child 45 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(show_vmx(child, vmx)); child 52 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(write_vsx(child, vsx)); child 53 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(write_vmx(child, vmx)); child 54 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c FAIL_IF(stop_trace(child)); child 60 tools/testing/selftests/powerpc/ptrace/ptrace.h int start_trace(pid_t child) child 64 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_ATTACH, child, NULL, NULL); child 69 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = waitpid(child, NULL, 0); child 70 tools/testing/selftests/powerpc/ptrace/ptrace.h if (ret != child) { child 77 tools/testing/selftests/powerpc/ptrace/ptrace.h int stop_trace(pid_t child) child 81 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_DETACH, child, NULL, NULL); child 89 tools/testing/selftests/powerpc/ptrace/ptrace.h int cont_trace(pid_t child) child 93 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_CONT, child, NULL, NULL); child 101 tools/testing/selftests/powerpc/ptrace/ptrace.h int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], child 107 tools/testing/selftests/powerpc/ptrace/ptrace.h FAIL_IF(start_trace(child)); child 112 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, type, &iov); child 116 tools/testing/selftests/powerpc/ptrace/ptrace.h FAIL_IF(stop_trace(child)); child 121 tools/testing/selftests/powerpc/ptrace/ptrace.h long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], child 127 tools/testing/selftests/powerpc/ptrace/ptrace.h FAIL_IF(start_trace(child)); child 132 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, type, &iov); child 134 tools/testing/selftests/powerpc/ptrace/ptrace.h FAIL_IF(stop_trace(child)); child 140 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_tar_registers(pid_t child, unsigned long *out) child 154 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov); child 162 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov); child 170 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov); child 185 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_tar_registers(pid_t child, unsigned long tar, child 202 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov); child 209 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov); child 216 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov); child 229 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_tm_checkpointed_state(pid_t child, unsigned long *out) child 244 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov); child 252 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CPPR, &iov); child 260 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CDSCR, &iov); child 276 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_ckpt_tar_registers(pid_t child, unsigned long tar, child 293 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov); child 300 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov); child 307 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CDSCR, &iov); child 321 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_fpr(pid_t child, unsigned long *fpr) child 327 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs); child 340 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_fpr(pid_t child, unsigned long val) child 346 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs); child 355 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETFPREGS, child, NULL, regs); child 363 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_ckpt_fpr(pid_t child, unsigned long *fpr) child 373 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); child 387 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_ckpt_fpr(pid_t child, unsigned long val) child 397 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); child 406 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CFPR, &iov); child 415 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_gpr(pid_t child, unsigned long *gpr) child 426 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGS, child, NULL, regs); child 440 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_gpr(pid_t child, unsigned long val) child 451 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGS, child, NULL, regs); child 460 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGS, child, NULL, regs); child 468 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_ckpt_gpr(pid_t child, unsigned long *gpr) child 483 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov); child 497 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_ckpt_gpr(pid_t child, unsigned long val) child 511 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov); child 520 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CGPR, &iov); child 529 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_vmx(pid_t child, unsigned long vmx[][2]) child 533 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETVRREGS, child, 0, vmx); child 541 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_vmx_ckpt(pid_t child, unsigned long vmx[][2]) child 549 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVMX, &iov); child 559 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_vmx(pid_t child, unsigned long vmx[][2]) child 563 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETVRREGS, child, 0, vmx); child 571 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_vmx_ckpt(pid_t child, unsigned long vmx[][2]) child 580 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVMX, &iov); child 589 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_vsx(pid_t child, unsigned long *vsx) child 593 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETVSRREGS, child, 0, vsx); child 601 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_vsx_ckpt(pid_t child, unsigned long *vsx) child 609 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVSX, &iov); child 618 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_vsx(pid_t child, unsigned long *vsx) child 622 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETVSRREGS, child, 0, vsx); child 630 tools/testing/selftests/powerpc/ptrace/ptrace.h int write_vsx_ckpt(pid_t child, unsigned long *vsx) child 639 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVSX, &iov); child 648 tools/testing/selftests/powerpc/ptrace/ptrace.h int show_tm_spr(pid_t child, struct tm_spr_regs *out) child 663 tools/testing/selftests/powerpc/ptrace/ptrace.h ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_SPR, &iov); child 44 tools/testing/selftests/ptrace/peeksiginfo.c static int check_error_paths(pid_t child) child 73 tools/testing/selftests/ptrace/peeksiginfo.c ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); child 83 tools/testing/selftests/ptrace/peeksiginfo.c ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, child 91 tools/testing/selftests/ptrace/peeksiginfo.c ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_ro); child 105 tools/testing/selftests/ptrace/peeksiginfo.c int check_direct_path(pid_t child, int shared, int nr) child 122 tools/testing/selftests/ptrace/peeksiginfo.c ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); child 157 tools/testing/selftests/ptrace/peeksiginfo.c pid_t child; child 163 tools/testing/selftests/ptrace/peeksiginfo.c child = fork(); child 164 tools/testing/selftests/ptrace/peeksiginfo.c if (child == -1) { child 167 tools/testing/selftests/ptrace/peeksiginfo.c } else if (child == 0) { child 181 tools/testing/selftests/ptrace/peeksiginfo.c sys_rt_sigqueueinfo(child, SIGRTMIN, siginfo); child 185 tools/testing/selftests/ptrace/peeksiginfo.c sys_rt_tgsigqueueinfo(child, child, SIGRTMIN, siginfo); child 188 tools/testing/selftests/ptrace/peeksiginfo.c if (sys_ptrace(PTRACE_ATTACH, child, NULL, NULL) == -1) child 191 tools/testing/selftests/ptrace/peeksiginfo.c waitpid(child, NULL, 0); child 194 tools/testing/selftests/ptrace/peeksiginfo.c if (check_direct_path(child, 0, 1)) child 197 tools/testing/selftests/ptrace/peeksiginfo.c if (check_direct_path(child, 0, SIGNR)) child 204 tools/testing/selftests/ptrace/peeksiginfo.c if (check_direct_path(child, 1, 3)) child 207 tools/testing/selftests/ptrace/peeksiginfo.c if (check_error_paths(child)) child 213 tools/testing/selftests/ptrace/peeksiginfo.c if (sys_ptrace(PTRACE_KILL, child, NULL, NULL) == -1) child 216 tools/testing/selftests/ptrace/peeksiginfo.c waitpid(child, NULL, 0); child 33 tools/testing/selftests/vm/map_populate.c static int parent_f(int sock, unsigned long *smap, int child) child 47 tools/testing/selftests/vm/map_populate.c waitpid(child, &status, 0); child 77 tools/testing/selftests/vm/map_populate.c int sock[2], child, ret; child 99 tools/testing/selftests/vm/map_populate.c child = fork(); child 100 tools/testing/selftests/vm/map_populate.c BUG_ON(child == -1, "fork()"); child 102 tools/testing/selftests/vm/map_populate.c if (child) { child 106 tools/testing/selftests/vm/map_populate.c return parent_f(sock[1], smap, child); child 448 tools/testing/selftests/x86/fsgsbase.c pid_t child = fork(); child 450 tools/testing/selftests/x86/fsgsbase.c if (child < 0) child 453 tools/testing/selftests/x86/fsgsbase.c if (child == 0) { child 472 tools/testing/selftests/x86/fsgsbase.c gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); child 480 tools/testing/selftests/x86/fsgsbase.c if (ptrace(PTRACE_POKEUSER, child, base_offset, 0xFF) != 0) child 483 tools/testing/selftests/x86/fsgsbase.c gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); child 484 tools/testing/selftests/x86/fsgsbase.c base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); child 501 tools/testing/selftests/x86/fsgsbase.c ptrace(PTRACE_CONT, child, NULL, NULL); child 126 tools/testing/selftests/x86/ioperm.c pid_t child = fork(); child 127 tools/testing/selftests/x86/ioperm.c if (child == -1) child 130 tools/testing/selftests/x86/ioperm.c if (child == 0) { child 137 tools/testing/selftests/x86/ioperm.c if (waitpid(child, &status, 0) != child || child 64 tools/testing/selftests/x86/iopl.c pid_t child = fork(); child 65 tools/testing/selftests/x86/iopl.c if (child == -1) child 68 tools/testing/selftests/x86/iopl.c if (child == 0) { child 79 tools/testing/selftests/x86/iopl.c if (waitpid(child, &status, 0) != child || child 332 tools/testing/selftests/x86/ldt_gdt.c pid_t child = fork(); child 333 tools/testing/selftests/x86/ldt_gdt.c if (child == 0) { child 343 tools/testing/selftests/x86/ldt_gdt.c if (waitpid(child, &status, 0) != child || child 654 tools/testing/selftests/x86/ldt_gdt.c pid_t child = fork(); child 655 tools/testing/selftests/x86/ldt_gdt.c if (child == 0) { child 661 tools/testing/selftests/x86/ldt_gdt.c if (waitpid(child, &status, 0) != child || child 57 tools/testing/selftests/x86/mov_ss_trap.c pid_t child = fork(); child 58 tools/testing/selftests/x86/mov_ss_trap.c if (child < 0) child 61 tools/testing/selftests/x86/mov_ss_trap.c if (child) { child 62 tools/testing/selftests/x86/mov_ss_trap.c if (waitpid(child, &status, 0) != child) child 59 tools/testing/selftests/x86/test_mremap_vdso.c pid_t child; child 61 tools/testing/selftests/x86/test_mremap_vdso.c child = fork(); child 62 tools/testing/selftests/x86/test_mremap_vdso.c if (child == -1) { child 67 tools/testing/selftests/x86/test_mremap_vdso.c if (child == 0) { child 94 tools/testing/selftests/x86/test_mremap_vdso.c if (waitpid(child, &status, 0) != child ||