Home
last modified time | relevance | path

Searched defs:child (Results 1 – 25 of 663) sorted by relevance

12345678910>>...27

/linux-5.19.10/tools/testing/selftests/powerpc/ptrace/
Dptrace.h60 int start_trace(pid_t child) in start_trace()
77 int stop_trace(pid_t child) in stop_trace()
89 int cont_trace(pid_t child) in cont_trace()
101 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs()
121 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs()
140 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers()
185 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers()
229 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state()
276 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers()
321 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr()
[all …]
/linux-5.19.10/arch/x86/kernel/
Dstep.c12 unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs) in convert_ip_to_linear()
56 static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs) in is_setting_trap_flag()
111 static int enable_single_step(struct task_struct *child) in enable_single_step()
202 static void enable_step(struct task_struct *child, bool block) in enable_step()
217 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
222 void user_enable_block_step(struct task_struct *child) in user_enable_block_step()
227 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
/linux-5.19.10/arch/x86/um/
Dptrace_32.c76 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg()
125 int poke_user(struct task_struct *child, long addr, long data) in poke_user()
144 unsigned long getreg(struct task_struct *child, int regno) in getreg()
177 int peek_user(struct task_struct *child, long addr, long data) in peek_user()
197 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs()
214 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs()
227 static int get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in get_fpxregs()
243 static int set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in set_fpxregs()
256 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace()
Dptrace_64.c54 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg()
111 int poke_user(struct task_struct *child, long addr, long data) in poke_user()
130 unsigned long getreg(struct task_struct *child, int regno) in getreg()
171 int peek_user(struct task_struct *child, long addr, long data) in peek_user()
217 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs()
234 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs()
247 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace()
/linux-5.19.10/arch/powerpc/kernel/ptrace/
Dptrace-adv.c74 int ptrace_get_debugreg(struct task_struct *child, unsigned long addr, in ptrace_get_debugreg()
140 static long set_instruction_bp(struct task_struct *child, in set_instruction_bp()
229 static int del_instruction_bp(struct task_struct *child, int slot) in del_instruction_bp()
284 static int set_dac(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) in set_dac()
345 static int del_dac(struct task_struct *child, int slot) in del_dac()
386 static int set_dac_range(struct task_struct *child, in set_dac_range()
440 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) in ppc_set_hwdebug()
476 long ppc_del_hwdebug(struct task_struct *child, long data) in ppc_del_hwdebug()
/linux-5.19.10/arch/xtensa/kernel/
Dptrace.c225 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
230 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
239 void ptrace_disable(struct task_struct *child) in ptrace_disable()
244 static int ptrace_getregs(struct task_struct *child, void __user *uregs) in ptrace_getregs()
250 static int ptrace_setregs(struct task_struct *child, void __user *uregs) in ptrace_setregs()
256 static int ptrace_getxregs(struct task_struct *child, void __user *uregs) in ptrace_getxregs()
262 static int ptrace_setxregs(struct task_struct *child, void __user *uregs) in ptrace_setxregs()
268 static int ptrace_peekusr(struct task_struct *child, long regno, in ptrace_peekusr()
335 static int ptrace_pokeusr(struct task_struct *child, long regno, long val) in ptrace_pokeusr()
414 static long ptrace_gethbpregs(struct task_struct *child, long addr, in ptrace_gethbpregs()
[all …]
/linux-5.19.10/drivers/pwm/
Dsysfs.c18 struct device child; member
24 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export()
29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device()
36 static ssize_t period_show(struct device *child, in period_show()
48 static ssize_t period_store(struct device *child, in period_store()
71 static ssize_t duty_cycle_show(struct device *child, in duty_cycle_show()
83 static ssize_t duty_cycle_store(struct device *child, in duty_cycle_store()
106 static ssize_t enable_show(struct device *child, in enable_show()
118 static ssize_t enable_store(struct device *child, in enable_store()
154 static ssize_t polarity_show(struct device *child, in polarity_show()
[all …]
/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c98 static int child(int sk) in child() function
116 FIXTURE(child) in FIXTURE() argument
134 FIXTURE_SETUP(child) in FIXTURE_SETUP() argument
166 FIXTURE_TEARDOWN(child) in FIXTURE_TEARDOWN() argument
174 TEST_F(child, disable_ptrace) in TEST_F() argument
200 TEST_F(child, fetch_fd) in TEST_F() argument
219 TEST_F(child, test_unknown_fd) in TEST_F() argument
Dpidfd_fdinfo_test.c86 struct child { struct
92 static struct child clone_newns(int (*fn)(void *), void *args, in clone_newns() argument
125 static inline void child_close(struct child *child) in child_close()
130 static inline int child_join(struct child *child, struct error *err) in child_join()
149 static inline int child_join_close(struct child *child, struct error *err) in child_join_close()
/linux-5.19.10/kernel/
Dptrace.c68 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link()
83 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link()
116 void __ptrace_unlink(struct task_struct *child) in __ptrace_unlink()
249 static int ptrace_check_attach(struct task_struct *child, bool ignore_state) in ptrace_check_attach()
582 static int ptrace_detach(struct task_struct *child, unsigned int data) in ptrace_detach()
678 static int ptrace_setoptions(struct task_struct *child, unsigned long data) in ptrace_setoptions()
696 static int ptrace_getsiginfo(struct task_struct *child, kernel_siginfo_t *info) in ptrace_getsiginfo()
712 static int ptrace_setsiginfo(struct task_struct *child, const kernel_siginfo_t *info) in ptrace_setsiginfo()
728 static int ptrace_peek_siginfo(struct task_struct *child, in ptrace_peek_siginfo()
842 static int ptrace_resume(struct task_struct *child, long request, in ptrace_resume()
[all …]
/linux-5.19.10/security/landlock/
Dptrace.c33 const struct landlock_ruleset *const child) in domain_scope_le()
51 const struct task_struct *const child) in task_is_scoped()
65 const struct task_struct *const child) in task_ptrace()
88 static int hook_ptrace_access_check(struct task_struct *const child, in hook_ptrace_access_check()
/linux-5.19.10/arch/m68k/kernel/
Dptrace.c127 static inline void singlestep_disable(struct task_struct *child) in singlestep_disable()
137 void ptrace_disable(struct task_struct *child) in ptrace_disable()
142 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
150 void user_enable_block_step(struct task_struct *child) in user_enable_block_step()
157 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
162 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-5.19.10/arch/um/kernel/
Dptrace.c12 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
22 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
35 void ptrace_disable(struct task_struct *child) in ptrace_disable()
43 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-5.19.10/drivers/firmware/efi/
Ddev-path-parser.c16 struct device *parent, struct device **child) in parse_acpi_path()
59 struct device *parent, struct device **child) in parse_pci_path()
95 struct device *parent, struct device **child) in parse_end_path()
148 struct device *parent = NULL, *child; in efi_get_device_by_path() local
/linux-5.19.10/drivers/net/wireless/ti/wlcore/
Dspi.c90 static void wl12xx_spi_reset(struct device *child) in wl12xx_spi_reset()
118 static void wl12xx_spi_init(struct device *child) in wl12xx_spi_init()
196 static int wl12xx_spi_read_busy(struct device *child) in wl12xx_spi_read_busy()
231 static int __must_check wl12xx_spi_raw_read(struct device *child, int addr, in wl12xx_spi_raw_read()
298 static int __wl12xx_spi_raw_write(struct device *child, int addr, in __wl12xx_spi_raw_write()
353 static int __must_check wl12xx_spi_raw_write(struct device *child, int addr, in wl12xx_spi_raw_write()
373 static int wl12xx_spi_set_power(struct device *child, bool enable) in wl12xx_spi_set_power()
401 static void wl12xx_spi_set_block_size(struct device *child, in wl12xx_spi_set_block_size()
/linux-5.19.10/drivers/pci/
Dremove.c69 struct pci_dev *child, *tmp; in pci_stop_bus_device() local
89 struct pci_dev *child, *tmp; in pci_remove_bus_device() local
132 struct pci_dev *child, *tmp; in pci_stop_root_bus() local
150 struct pci_dev *child, *tmp; in pci_remove_root_bus() local
/linux-5.19.10/arch/hexagon/kernel/
Dptrace.c23 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
29 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
161 void ptrace_disable(struct task_struct *child) in ptrace_disable()
167 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-5.19.10/arch/alpha/kernel/
Dptrace.c177 ptrace_set_bpt(struct task_struct * child) in ptrace_set_bpt()
236 ptrace_cancel_bpt(struct task_struct * child) in ptrace_cancel_bpt()
254 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
260 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
270 void ptrace_disable(struct task_struct *child) in ptrace_disable()
275 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-5.19.10/tools/testing/selftests/arm64/fp/
Dza-ptrace.c96 static void ptrace_set_get_vl(pid_t child, unsigned int vl, bool *supported) in ptrace_set_get_vl()
139 static void ptrace_set_no_data(pid_t child, unsigned int vl) in ptrace_set_no_data()
180 static void ptrace_set_get_data(pid_t child, unsigned int vl) in ptrace_set_get_data()
238 static int do_parent(pid_t child) in do_parent()
333 pid_t child; in main() local
Dsve-ptrace.c150 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit()
204 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl()
261 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
316 static void ptrace_set_sve_get_sve_data(pid_t child, in ptrace_set_sve_get_sve_data()
414 static void ptrace_set_sve_get_fpsimd_data(pid_t child, in ptrace_set_sve_get_fpsimd_data()
497 static void ptrace_set_fpsimd_get_sve_data(pid_t child, in ptrace_set_fpsimd_get_sve_data()
605 static int do_parent(pid_t child) in do_parent()
734 pid_t child; in main() local
/linux-5.19.10/drivers/net/mdio/
Dof_mdio.c37 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register()
46 struct device_node *child, u32 addr) in of_mdiobus_register_phy()
52 struct device_node *child, u32 addr) in of_mdiobus_register_device()
113 bool of_mdiobus_child_is_phy(struct device_node *child) in of_mdiobus_child_is_phy()
150 struct device_node *child; in of_mdiobus_register() local
/linux-5.19.10/fs/
Dpnode.c227 struct mount *child; in propagate_one() local
339 struct mount *child; in find_topper() local
371 struct mount *m, *child, *topper; in propagate_mount_busy() local
415 struct mount *m, *child; in propagate_mount_unlock() local
445 struct mount *child; in __propagate_umount() local
484 struct mount *mnt, *child, *tmp; in umount_list() local
559 struct mount *child = __lookup_mnt(&m->mnt, in propagate_umount() local
/linux-5.19.10/tools/perf/arch/x86/tests/
Dbp-modify.c32 int child = fork(); in spawn_child() local
61 pid_t child; in bp_modify1() local
138 pid_t child; in bp_modify2() local
/linux-5.19.10/arch/s390/kernel/
Dptrace.c146 static inline unsigned long __peek_user_per(struct task_struct *child, in __peek_user_per()
194 static unsigned long __peek_user(struct task_struct *child, addr_t addr) in __peek_user()
271 peek_user(struct task_struct *child, addr_t addr, addr_t data) in peek_user()
290 static inline void __poke_user_per(struct task_struct *child, in __poke_user_per()
323 static int __poke_user(struct task_struct *child, addr_t addr, addr_t data) in __poke_user()
418 static int poke_user(struct task_struct *child, addr_t addr, addr_t data) in poke_user()
436 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
533 static inline __u32 __peek_user_per_compat(struct task_struct *child, in __peek_user_per_compat()
573 static u32 __peek_user_compat(struct task_struct *child, addr_t addr) in __peek_user_compat()
648 static int peek_user_compat(struct task_struct *child, in peek_user_compat()
[all …]
/linux-5.19.10/tools/testing/selftests/cgroup/
Dtest_cpu.c40 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() local
235 pid_t (*spawn_child)(const struct cpu_hogger *child), in run_cpucg_weight_test()
301 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) in weight_hog_ncpus()
315 static pid_t weight_hog_all_cpus(const struct cpu_hogger *child) in weight_hog_all_cpus()
361 static pid_t weight_hog_one_cpu(const struct cpu_hogger *child) in weight_hog_one_cpu()
410 char *parent = NULL, *child = NULL; in run_cpucg_nested_weight_test() local
630 char *parent, *child; in test_cpucg_max_nested() local

12345678910>>...27