Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace.h64 int start_trace(pid_t child) in start_trace()
81 int stop_trace(pid_t child) in stop_trace()
93 int cont_trace(pid_t child) in cont_trace()
105 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs()
125 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs()
144 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers()
189 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers()
233 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state()
280 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers()
325 int show_fpr(pid_t child, __u64 *fpr) in show_fpr()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/testing/selftests/bpf/prog_tests/
Duprobe_multi_test.c28 struct child { struct
33 static void release_child(struct child *child) in release_child()
45 static void kick_child(struct child *child) in kick_child()
58 static struct child child; in spawn_child() local
92 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
154 struct child *child) in __test_attach_api()
202 struct child *child; in test_attach_api() local
237 static void __test_link_api(struct child *child) in __test_link_api()
316 struct child *child; in test_link_api() local
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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()
150 static inline int child_join_close(struct child *child, struct error *err) in child_join_close()
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dfp-stress.c60 static void child_start(struct child_data *child, const char *program) in child_start()
144 static bool child_output_read(struct child_data *child) in child_output_read()
197 static void child_output(struct child_data *child, uint32_t events, in child_output()
221 static void child_tickle(struct child_data *child) in child_tickle()
227 static void child_stop(struct child_data *child) in child_stop()
233 static void child_cleanup(struct child_data *child) in child_cleanup()
309 static void start_fpsimd(struct child_data *child, int cpu, int copy) in start_fpsimd()
322 static void start_sve(struct child_data *child, int vl, int cpu) in start_sve()
339 static void start_ssve(struct child_data *child, int vl, int cpu) in start_ssve()
356 static void start_za(struct child_data *child, int vl, int cpu) in start_za()
[all …]
Dza-ptrace.c106 static void ptrace_set_get_vl(pid_t child, unsigned int vl, bool *supported) in ptrace_set_get_vl()
149 static void ptrace_set_no_data(pid_t child, unsigned int vl) in ptrace_set_no_data()
190 static void ptrace_set_get_data(pid_t child, unsigned int vl) in ptrace_set_get_data()
248 static int do_parent(pid_t child) in do_parent()
343 pid_t child; in main() local
Dzt-ptrace.c120 static void ptrace_za_disabled_read_zt(pid_t child) in ptrace_za_disabled_read_zt()
156 static void ptrace_set_get_zt(pid_t child) in ptrace_set_get_zt()
189 static void ptrace_enable_za_via_zt(pid_t child) in ptrace_enable_za_via_zt()
255 static int do_parent(pid_t child) in do_parent()
334 pid_t child; in main() local
/linux-6.6.21/kernel/
Dptrace.c69 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link()
84 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link()
117 void __ptrace_unlink(struct task_struct *child) in __ptrace_unlink()
250 static int ptrace_check_attach(struct task_struct *child, bool ignore_state) in ptrace_check_attach()
583 static int ptrace_detach(struct task_struct *child, unsigned int data) in ptrace_detach()
679 static int ptrace_setoptions(struct task_struct *child, unsigned long data) in ptrace_setoptions()
697 static int ptrace_getsiginfo(struct task_struct *child, kernel_siginfo_t *info) in ptrace_getsiginfo()
713 static int ptrace_setsiginfo(struct task_struct *child, const kernel_siginfo_t *info) in ptrace_setsiginfo()
729 static int ptrace_peek_siginfo(struct task_struct *child, in ptrace_peek_siginfo()
843 static int ptrace_resume(struct task_struct *child, long request, in ptrace_resume()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/firmware/efi/
Ddev-path-parser.c16 struct device *parent, struct device **child) in parse_acpi_path()
61 struct device *parent, struct device **child) in parse_pci_path()
97 struct device *parent, struct device **child) in parse_end_path()
150 struct device *parent = NULL, *child; in efi_get_device_by_path() local
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dspi.c89 static void wl12xx_spi_reset(struct device *child) in wl12xx_spi_reset()
117 static void wl12xx_spi_init(struct device *child) in wl12xx_spi_init()
195 static int wl12xx_spi_read_busy(struct device *child) in wl12xx_spi_read_busy()
230 static int __must_check wl12xx_spi_raw_read(struct device *child, int addr, in wl12xx_spi_raw_read()
297 static int __wl12xx_spi_raw_write(struct device *child, int addr, in __wl12xx_spi_raw_write()
352 static int __must_check wl12xx_spi_raw_write(struct device *child, int addr, in wl12xx_spi_raw_write()
372 static int wl12xx_spi_set_power(struct device *child, bool enable) in wl12xx_spi_set_power()
400 static void wl12xx_spi_set_block_size(struct device *child, in wl12xx_spi_set_block_size()
/linux-6.6.21/drivers/pci/
Dremove.c70 struct pci_dev *child, *tmp; in pci_stop_bus_device() local
90 struct pci_dev *child, *tmp; in pci_remove_bus_device() local
133 struct pci_dev *child, *tmp; in pci_stop_root_bus() local
151 struct pci_dev *child, *tmp; in pci_remove_root_bus() local
/linux-6.6.21/arch/alpha/kernel/
Dptrace.c179 ptrace_set_bpt(struct task_struct * child) in ptrace_set_bpt()
238 ptrace_cancel_bpt(struct task_struct * child) in ptrace_cancel_bpt()
256 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
262 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
272 void ptrace_disable(struct task_struct *child) in ptrace_disable()
277 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-6.6.21/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()
160 void ptrace_disable(struct task_struct *child) in ptrace_disable()
166 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-6.6.21/tools/testing/selftests/arm64/abi/
Dptrace.c32 static void test_tpidr(pid_t child) in test_tpidr()
135 static void test_hw_debug(pid_t child, int type, const char *type_name) in test_hw_debug()
174 static int do_parent(pid_t child) in do_parent()
253 pid_t child; in main() local
/linux-6.6.21/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()
114 bool of_mdiobus_child_is_phy(struct device_node *child) in of_mdiobus_child_is_phy()
153 struct device_node *child; in __of_mdiobus_register() local
/linux-6.6.21/fs/
Dpnode.c226 struct mount *child; in propagate_one() local
337 struct mount *child; in find_topper() local
409 struct mount *m, *child, *topper; in propagate_mount_busy() local
453 struct mount *m, *child; in propagate_mount_unlock() local
483 struct mount *child; in __propagate_umount() local
522 struct mount *mnt, *child, *tmp; in umount_list() local
597 struct mount *child = __lookup_mnt(&m->mnt, in propagate_umount() local

12345678910>>...28