| /kernel/linux/linux-5.10/drivers/pwm/ |
| H A D | sysfs.c | 18 struct device child; member 24 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export() argument 26 return container_of(child, struct pwm_export, child); in child_to_pwm_export() 29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device() argument 31 struct pwm_export *export = child_to_pwm_export(child); in child_to_pwm_device() 36 static ssize_t period_show(struct device *child, in period_show() argument 40 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() 48 static ssize_t period_store(struct device *child, in period_store() argument 52 struct pwm_export *export = child_to_pwm_export(child); in period_store() 71 duty_cycle_show(struct device *child, struct device_attribute *attr, char *buf) duty_cycle_show() argument 83 duty_cycle_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) duty_cycle_store() argument 106 enable_show(struct device *child, struct device_attribute *attr, char *buf) enable_show() argument 118 enable_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) enable_store() argument 154 polarity_show(struct device *child, struct device_attribute *attr, char *buf) polarity_show() argument 177 polarity_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) polarity_store() argument 203 capture_show(struct device *child, struct device_attribute *attr, char *buf) capture_show() argument 234 pwm_export_release(struct device *child) pwm_export_release() argument 280 pwm_unexport_match(struct device *child, void *data) pwm_unexport_match() argument 287 struct device *child; pwm_unexport_child() local 381 struct device *child; pwm_class_get_state() local [all...] |
| /kernel/linux/linux-6.6/drivers/pwm/ |
| H A D | sysfs.c | 18 struct device child; member 24 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export() argument 26 return container_of(child, struct pwm_export, child); in child_to_pwm_export() 29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device() argument 31 struct pwm_export *export = child_to_pwm_export(child); in child_to_pwm_device() 36 static ssize_t period_show(struct device *child, in period_show() argument 40 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() 48 static ssize_t period_store(struct device *child, in period_store() argument 52 struct pwm_export *export = child_to_pwm_export(child); in period_store() 71 duty_cycle_show(struct device *child, struct device_attribute *attr, char *buf) duty_cycle_show() argument 83 duty_cycle_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) duty_cycle_store() argument 106 enable_show(struct device *child, struct device_attribute *attr, char *buf) enable_show() argument 118 enable_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) enable_store() argument 154 polarity_show(struct device *child, struct device_attribute *attr, char *buf) polarity_show() argument 177 polarity_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) polarity_store() argument 203 capture_show(struct device *child, struct device_attribute *attr, char *buf) capture_show() argument 234 pwm_export_release(struct device *child) pwm_export_release() argument 280 pwm_unexport_match(struct device *child, void *data) pwm_unexport_match() argument 287 struct device *child; pwm_unexport_child() local 381 struct device *child; pwm_class_get_state() local [all...] |
| /kernel/linux/linux-5.10/arch/x86/um/ |
| H A D | ptrace_32.c | 75 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument 91 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg() 115 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg() 120 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg() 124 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument 130 return putreg(child, addr, data); in poke_user() 137 child->thread.arch.debugregs[addr] = data; in poke_user() 143 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument 172 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg() 176 int peek_user(struct task_struct *child, lon argument 196 get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) get_fpregs() argument 213 set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) set_fpregs() argument 226 get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) get_fpxregs() argument 242 set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) set_fpxregs() argument 255 subarch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) subarch_ptrace() argument [all...] |
| /kernel/linux/linux-6.6/arch/x86/um/ |
| H A D | ptrace_32.c | 76 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument 92 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg() 116 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg() 121 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg() 125 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument 131 return putreg(child, addr, data); in poke_user() 138 child->thread.arch.debugregs[addr] = data; in poke_user() 144 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument 173 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg() 177 int peek_user(struct task_struct *child, lon argument 197 get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) get_fpregs() argument 214 set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) set_fpregs() argument 227 get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) get_fpxregs() argument 243 set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) set_fpxregs() argument 256 subarch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) subarch_ptrace() argument [all...] |
| /kernel/linux/linux-6.6/arch/m68k/kernel/ |
| H A D | ptrace.c | 30 * does not yet catch signals sent when the child dies. 127 static inline void singlestep_disable(struct task_struct *child) in singlestep_disable() argument 129 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable() 130 put_reg(child, PT_SR, tmp); in singlestep_disable() 131 clear_tsk_thread_flag(child, TIF_DELAYED_TRACE); in singlestep_disable() 137 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 139 singlestep_disable(child); in ptrace_disable() 142 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 144 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step() 145 put_reg(child, PT_S in user_enable_single_step() 150 user_enable_block_step(struct task_struct *child) user_enable_block_step() argument 157 user_disable_single_step(struct task_struct *child) user_disable_single_step() argument 162 arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) arch_ptrace() argument [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace32.c | 29 * does not yet catch signals sent when the child dies. 38 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 67 copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace() 87 ret = ptrace_get_reg(child, index, &tmp); in compat_arch_ptrace() 91 flush_fp_to_thread(child); in compat_arch_ptrace() 97 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 136 flush_fp_to_thread(child); in compat_arch_ptrace() 138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace() 141 ret = ptrace_get_reg(child, numReg, &tmp2); in compat_arch_ptrace() 170 if (ptrace_access_vm(child, (u6 in compat_arch_ptrace() [all...] |
| H A D | ptrace-fpu.c | 9 int ptrace_get_fpr(struct task_struct *child, int index, unsigned long *data) in ptrace_get_fpr() argument 19 flush_fp_to_thread(child); in ptrace_get_fpr() 23 *data = ((u32 *)child->thread.fp_state.fpr)[fpidx]; in ptrace_get_fpr() 25 memcpy(data, &child->thread.TS_FPR(fpidx), sizeof(long)); in ptrace_get_fpr() 27 *data = child->thread.fp_state.fpscr; in ptrace_get_fpr() 35 int ptrace_put_fpr(struct task_struct *child, int index, unsigned long data) in ptrace_put_fpr() argument 45 flush_fp_to_thread(child); in ptrace_put_fpr() 49 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data; in ptrace_put_fpr() 51 memcpy(&child->thread.TS_FPR(fpidx), &data, sizeof(long)); in ptrace_put_fpr() 53 child in ptrace_put_fpr() [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | ptrace.h | 49 extern long arch_ptrace(struct task_struct *child, long request, 54 extern int ptrace_request(struct task_struct *child, long request, 57 extern void __ptrace_link(struct task_struct *child, 60 extern void __ptrace_unlink(struct task_struct *child); 90 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented() argument 92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 95 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink() argument 97 if (unlikely(child->ptrace)) in ptrace_unlink() 98 __ptrace_unlink(child); in ptrace_unlink() 201 ptrace_init_task(struct task_struct *child, bool ptrace) ptrace_init_task() argument [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | ptrace.h | 49 extern long arch_ptrace(struct task_struct *child, long request, 54 extern int ptrace_request(struct task_struct *child, long request, 57 extern void __ptrace_link(struct task_struct *child, 60 extern void __ptrace_unlink(struct task_struct *child); 90 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented() argument 92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 95 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink() argument 97 if (unlikely(child->ptrace)) in ptrace_unlink() 98 __ptrace_unlink(child); in ptrace_unlink() 200 ptrace_init_task(struct task_struct *child, bool ptrace) ptrace_init_task() argument [all...] |
| H A D | bootconfig.h | 52 uint16_t child; member 104 return xbc_node_is_value(node) && node->child != 0; in xbc_node_is_array() 112 * or no child. Returns true if it is a leaf node, or false if not. 119 (!node->child || xbc_node_is_value(xbc_node_get_child(node))); in xbc_node_is_leaf() 168 * Return the first subkey node of the @node. If the @node has no child 173 struct xbc_node *child = xbc_node_get_child(node); in xbc_node_get_subkey() local 175 if (child && xbc_node_is_value(child)) in xbc_node_get_subkey() 176 return xbc_node_get_next(child); in xbc_node_get_subkey() 178 return child; in xbc_node_get_subkey() [all...] |
| /kernel/linux/linux-6.6/drivers/net/mdio/ |
| H A D | fwnode_mdio.c | 62 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() 66 rc = fwnode_irq_get(child, 0); in fwnode_mdiobus_phy_device_register() 82 if (fwnode_property_read_bool(child, "broken-turn-around")) in fwnode_mdiobus_phy_device_register() 85 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register() 87 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register() 93 fwnode_handle_get(child); in fwnode_mdiobus_phy_device_register() 94 device_set_node(&phy->mdio.dev, child); in fwnode_mdiobus_phy_device_register() 102 fwnode_handle_put(child); in fwnode_mdiobus_phy_device_register() 107 child, addr); in fwnode_mdiobus_phy_device_register() 113 struct fwnode_handle *child, u3 in fwnode_mdiobus_register_phy() 60 fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, struct fwnode_handle *child, u32 addr) fwnode_mdiobus_phy_device_register() argument 112 fwnode_mdiobus_register_phy(struct mii_bus *bus, struct fwnode_handle *child, u32 addr) fwnode_mdiobus_register_phy() argument [all...] |
| H A D | of_mdio.c | 37 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register() 40 of_fwnode_handle(child), in of_mdiobus_phy_device_register() 46 struct device_node *child, u32 addr) in of_mdiobus_register_phy() 48 return fwnode_mdiobus_register_phy(mdio, of_fwnode_handle(child), addr); in of_mdiobus_register_phy() 52 struct device_node *child, u32 addr) in of_mdiobus_register_device() 54 struct fwnode_handle *fwnode = of_fwnode_handle(child); in of_mdiobus_register_device() 78 child, addr); in of_mdiobus_register_device() 104 * Return true if the child node is for a phy. It must either: 114 bool of_mdiobus_child_is_phy(struct device_node *child) in of_mdiobus_child_is_phy() argument 118 if (of_get_phy_id(child, in of_mdiobus_child_is_phy() 36 of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, struct device_node *child, u32 addr) of_mdiobus_phy_device_register() argument 45 of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, u32 addr) of_mdiobus_register_phy() argument 51 of_mdiobus_register_device(struct mii_bus *mdio, struct device_node *child, u32 addr) of_mdiobus_register_device() argument 153 struct device_node *child; __of_mdiobus_register() local [all...] |
| /kernel/linux/linux-5.10/fs/ |
| H A D | pnode.c | 227 struct mount *child; in propagate_one() local 261 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 262 if (IS_ERR(child)) in propagate_one() 263 return PTR_ERR(child); in propagate_one() 265 mnt_set_mountpoint(m, mp, child); in propagate_one() 270 last_source = child; in propagate_one() 271 hlist_add_head(&child->mnt_hash, list); in propagate_one() 272 return count_mounts(m->mnt_ns, child); in propagate_one() 339 struct mount *child; in find_topper() local 344 child in find_topper() 371 struct mount *m, *child, *topper; propagate_mount_busy() local 415 struct mount *m, *child; propagate_mount_unlock() local 445 struct mount *child; __propagate_umount() local 484 struct mount *mnt, *child, *tmp; umount_list() local 559 struct mount *child = __lookup_mnt(&m->mnt, propagate_umount() local [all...] |
| /kernel/linux/linux-6.6/fs/ |
| H A D | pnode.c | 226 struct mount *child; in propagate_one() local 260 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 261 if (IS_ERR(child)) in propagate_one() 262 return PTR_ERR(child); in propagate_one() 264 mnt_set_mountpoint(m, dest_mp, child); in propagate_one() 269 last_source = child; in propagate_one() 270 hlist_add_head(&child->mnt_hash, list); in propagate_one() 271 return count_mounts(m->mnt_ns, child); in propagate_one() 337 struct mount *child; in find_topper() local 342 child in find_topper() 409 struct mount *m, *child, *topper; propagate_mount_busy() local 453 struct mount *m, *child; propagate_mount_unlock() local 483 struct mount *child; __propagate_umount() local 522 struct mount *mnt, *child, *tmp; umount_list() local 597 struct mount *child = __lookup_mnt(&m->mnt, propagate_umount() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/mdio/ |
| H A D | of_mdio.c | 64 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register() 68 rc = of_irq_get(child, 0); in of_mdiobus_phy_device_register() 79 if (of_property_read_bool(child, "broken-turn-around")) in of_mdiobus_phy_device_register() 82 of_property_read_u32(child, "reset-assert-us", in of_mdiobus_phy_device_register() 84 of_property_read_u32(child, "reset-deassert-us", in of_mdiobus_phy_device_register() 89 of_node_get(child); in of_mdiobus_phy_device_register() 90 phy->mdio.dev.of_node = child; in of_mdiobus_phy_device_register() 91 phy->mdio.dev.fwnode = of_fwnode_handle(child); in of_mdiobus_phy_device_register() 97 of_node_put(child); in of_mdiobus_phy_device_register() 102 child, add in of_mdiobus_phy_device_register() 63 of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, struct device_node *child, u32 addr) of_mdiobus_phy_device_register() argument 107 of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, u32 addr) of_mdiobus_register_phy() argument 151 of_mdiobus_register_device(struct mii_bus *mdio, struct device_node *child, u32 addr) of_mdiobus_register_device() argument 213 of_mdiobus_child_is_phy(struct device_node *child) of_mdiobus_child_is_phy() argument 252 struct device_node *child; __of_mdiobus_register() local [all...] |
| /kernel/linux/linux-5.10/scripts/kconfig/ |
| H A D | conf.c | 235 struct menu *child; in conf_choice() local 270 for (child = menu->list; child; child = child->next) { in conf_choice() 271 if (!menu_is_visible(child)) in conf_choice() 273 if (!child->sym) { in conf_choice() 274 printf("%*c %s\n", indent, '*', menu_get_prompt(child)); in conf_choice() 278 if (child->sym == def_sym) { in conf_choice() 283 printf(" %d. %s", cnt, menu_get_prompt(child)); in conf_choice() 351 struct menu *child; conf() local 417 struct menu *child; check_conf() local [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/ |
| H A D | ptrace.c | 32 static void test_tpidr(pid_t child) in test_tpidr() argument 45 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr() 51 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 55 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr() 61 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr() 82 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 90 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr() 112 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 117 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, in test_tpidr() 135 static void test_hw_debug(pid_t child, in argument 174 do_parent(pid_t child) do_parent() argument 253 pid_t child; main() local [all...] |
| /kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
| H A D | test_core.c | 72 * Create a child process that allocates and touches 100MB, then waits to be 73 * killed. Wait until the child is attached to the cgroup, kill all processes 100 /* wait for the child to enter cgroup */ in test_cgcore_destroy() 276 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() local 280 child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); in test_cgcore_invalid_domain() 281 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain() 290 if (cg_create(child)) in test_cgcore_invalid_domain() 296 if (cg_read_strcmp(child, "cgroup.type", "domain invalid\n")) in test_cgcore_invalid_domain() 299 if (!cg_enter_current(child)) in test_cgcore_invalid_domain() 305 if (!clone_into_cgroup_run_wait(child)) in test_cgcore_invalid_domain() 338 char *parent = NULL, *child = NULL; test_cgcore_parent_becomes_threaded() local 377 char *parent = NULL, *child = NULL; test_cgcore_no_internal_process_constraint_on_threads() local 429 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_enable() local 464 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_disable() local 505 char *parent = NULL, *child = NULL; test_cgcore_internal_process_constraint() local [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
| H A D | test_core.c | 72 * Create a child process that allocates and touches 100MB, then waits to be 73 * killed. Wait until the child is attached to the cgroup, kill all processes 100 /* wait for the child to enter cgroup */ in test_cgcore_destroy() 276 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() local 280 child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); in test_cgcore_invalid_domain() 281 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain() 290 if (cg_create(child)) in test_cgcore_invalid_domain() 296 if (cg_read_strcmp(child, "cgroup.type", "domain invalid\n")) in test_cgcore_invalid_domain() 299 if (!cg_enter_current(child)) in test_cgcore_invalid_domain() 305 if (!clone_into_cgroup_run_wait(child)) in test_cgcore_invalid_domain() 338 char *parent = NULL, *child = NULL; test_cgcore_parent_becomes_threaded() local 377 char *parent = NULL, *child = NULL; test_cgcore_no_internal_process_constraint_on_threads() local 429 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_enable() local 464 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_disable() local 505 char *parent = NULL, *child = NULL; test_cgcore_internal_process_constraint() local [all...] |
| /kernel/linux/linux-5.10/drivers/scsi/libsas/ |
| H A D | sas_expander.c | 745 struct domain_device *child, in sas_ex_get_linkrate() 752 child->pathways = 0; in sas_ex_get_linkrate() 764 SAS_ADDR(child->sas_addr)) { in sas_ex_get_linkrate() 766 child->min_linkrate = min(parent->min_linkrate, in sas_ex_get_linkrate() 768 child->max_linkrate = max(parent->max_linkrate, in sas_ex_get_linkrate() 770 child->pathways++; in sas_ex_get_linkrate() 774 child->linkrate = min(parent_phy->linkrate, child->max_linkrate); in sas_ex_get_linkrate() 775 child->pathways = min(child in sas_ex_get_linkrate() 744 sas_ex_get_linkrate(struct domain_device *parent, struct domain_device *child, struct ex_phy *parent_phy) sas_ex_get_linkrate() argument 783 struct domain_device *child = NULL; sas_ex_discover_end_dev() local 942 struct domain_device *child = NULL; sas_ex_discover_expander() local 1020 struct domain_device *child = NULL; sas_ex_discover_dev() local 1139 struct domain_device *child; sas_check_level_subtractive_boundary() local 1247 sas_print_parent_topology_bug(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) sas_print_parent_topology_bug() argument 1270 sas_check_eeds(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) sas_check_eeds() argument 1314 sas_check_parent_topology(struct domain_device *child) sas_check_parent_topology() argument 1521 sas_configure_parent(struct domain_device *parent, struct domain_device *child, u8 *sas_addr, int include) sas_configure_parent() argument 1865 struct domain_device *child, *n; sas_unregister_ex_tree() local 1882 struct domain_device *child, *n, *found = NULL; sas_unregister_devs_sas_addr() local 1914 struct domain_device *child; sas_discover_bfs_by_root_level() local 1953 struct domain_device *child; sas_discover_new() local [all...] |
| /kernel/linux/linux-6.6/drivers/scsi/libsas/ |
| H A D | sas_expander.c | 723 struct domain_device *child, in sas_ex_get_linkrate() 730 child->pathways = 0; in sas_ex_get_linkrate() 741 if (sas_phy_match_dev_addr(child, phy)) { in sas_ex_get_linkrate() 742 child->min_linkrate = min(parent->min_linkrate, in sas_ex_get_linkrate() 744 child->max_linkrate = max(parent->max_linkrate, in sas_ex_get_linkrate() 746 child->pathways++; in sas_ex_get_linkrate() 750 child->linkrate = min(parent_phy->linkrate, child->max_linkrate); in sas_ex_get_linkrate() 751 child->pathways = min(child in sas_ex_get_linkrate() 722 sas_ex_get_linkrate(struct domain_device *parent, struct domain_device *child, struct ex_phy *parent_phy) sas_ex_get_linkrate() argument 754 sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy, struct domain_device *child, int phy_id) sas_ex_add_dev() argument 793 struct domain_device *child = NULL; sas_ex_discover_end_dev() local 875 struct domain_device *child = NULL; sas_ex_discover_expander() local 953 struct domain_device *child = NULL; sas_ex_discover_dev() local 1070 struct domain_device *child; sas_check_level_subtractive_boundary() local 1178 sas_print_parent_topology_bug(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) sas_print_parent_topology_bug() argument 1201 sas_eeds_valid(struct domain_device *parent, struct domain_device *child) sas_eeds_valid() argument 1212 sas_check_eeds(struct domain_device *child, struct ex_phy *parent_phy, struct ex_phy *child_phy) sas_check_eeds() argument 1243 sas_check_edge_expander_topo(struct domain_device *child, struct ex_phy *parent_phy) sas_check_edge_expander_topo() argument 1274 sas_check_fanout_expander_topo(struct domain_device *child, struct ex_phy *parent_phy) sas_check_fanout_expander_topo() argument 1291 sas_check_parent_topology(struct domain_device *child) sas_check_parent_topology() argument 1471 sas_configure_parent(struct domain_device *parent, struct domain_device *child, u8 *sas_addr, int include) sas_configure_parent() argument 1810 struct domain_device *child, *n; sas_unregister_ex_tree() local 1827 struct domain_device *child, *n, *found = NULL; sas_unregister_devs_sas_addr() local 1858 struct domain_device *child; sas_discover_bfs_by_root_level() local 1897 struct domain_device *child; sas_discover_new() local [all...] |
| /kernel/linux/linux-5.10/drivers/firmware/efi/ |
| H A D | dev-path-parser.c | 35 struct device *parent, struct device **child) in parse_acpi_path() 50 *child = bus_find_device(&acpi_bus_type, NULL, &hid_uid, in parse_acpi_path() 52 if (!*child) in parse_acpi_path() 55 phys_dev = acpi_get_first_physical_node(to_acpi_device(*child)); in parse_acpi_path() 58 put_device(*child); in parse_acpi_path() 59 *child = phys_dev; in parse_acpi_path() 73 struct device *parent, struct device **child) in parse_pci_path() 84 *child = device_find_child(parent, &devfn, match_pci_dev); in parse_pci_path() 85 if (!*child) in parse_pci_path() 97 * device returned in @child 34 parse_acpi_path(const struct efi_dev_path *node, struct device *parent, struct device **child) parse_acpi_path() argument 72 parse_pci_path(const struct efi_dev_path *node, struct device *parent, struct device **child) parse_pci_path() argument 108 parse_end_path(const struct efi_dev_path *node, struct device *parent, struct device **child) parse_end_path() argument 162 struct device *parent = NULL, *child; efi_get_device_by_path() local [all...] |
| /kernel/linux/linux-5.10/arch/xtensa/kernel/ |
| H A D | ptrace.c | 227 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 229 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 232 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 234 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in user_disable_single_step() 241 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 246 static int ptrace_getregs(struct task_struct *child, void __user *uregs) in ptrace_getregs() argument 248 return copy_regset_to_user(child, &user_xtensa_view, REGSET_GPR, in ptrace_getregs() 252 static int ptrace_setregs(struct task_struct *child, void __user *uregs) in ptrace_setregs() argument 254 return copy_regset_from_user(child, &user_xtensa_view, REGSET_GPR, in ptrace_setregs() 258 static int ptrace_getxregs(struct task_struct *child, voi argument 264 ptrace_setxregs(struct task_struct *child, void __user *uregs) ptrace_setxregs() argument 270 ptrace_peekusr(struct task_struct *child, long regno, long __user *ret) ptrace_peekusr() argument 337 ptrace_pokeusr(struct task_struct *child, long regno, long val) ptrace_pokeusr() argument 416 ptrace_gethbpregs(struct task_struct *child, long addr, long __user *datap) ptrace_gethbpregs() argument 450 ptrace_sethbpregs(struct task_struct *child, long addr, long __user *datap) ptrace_sethbpregs() argument 499 arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) arch_ptrace() argument [all...] |
| /kernel/linux/linux-5.10/kernel/bpf/ |
| H A D | lpm_trie.c | 25 struct lpm_trie_node __rcu *child[2]; member 60 * child pointers are %NULL. 71 * node (2) will become a child of (1). In child index depends on the next bit 73 * child[0] of (1): 89 * The child[1] slot of (1) could be filled with another node which has bit #17 109 * above (bit #17 is 0), it would normally be attached to (1) as child[0]. 137 * 192.168.1.1/32 would be a child of (5) etc. 146 * is a child that can be used to become more specific, the trie is traversed 270 node = rcu_dereference(node->child[next_bi in trie_lookup_elem() [all...] |
| /kernel/linux/linux-6.6/kernel/bpf/ |
| H A D | lpm_trie.c | 26 struct lpm_trie_node __rcu *child[2]; member 61 * child pointers are %NULL. 72 * node (2) will become a child of (1). In child index depends on the next bit 74 * child[0] of (1): 90 * The child[1] slot of (1) could be filled with another node which has bit #17 110 * above (bit #17 is 0), it would normally be attached to (1) as child[0]. 138 * 192.168.1.1/32 would be a child of (5) etc. 147 * is a child that can be used to become more specific, the trie is traversed 272 node = rcu_dereference_check(node->child[next_bi in trie_lookup_elem() [all...] |