Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.12.1/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.12.1/tools/testing/selftests/bpf/prog_tests/
Duprobe_multi_test.c37 struct child { struct
39 int c2p[2]; /* child -> parent channel */ argument
46 static void release_child(struct child *child) in release_child()
62 static void kick_child(struct child *child) in kick_child()
75 struct child *child = arg; in child_func() local
93 static int spawn_child_flag(struct child *child, bool clone_vm) in spawn_child_flag()
118 static int spawn_child(struct child *child) in spawn_child()
125 struct child *child = ctx; in child_thread() local
149 static int spawn_thread(struct child *child) in spawn_thread()
183 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
[all …]
/linux-6.12.1/arch/x86/um/
Dptrace_32.c50 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg()
99 int poke_user(struct task_struct *child, long addr, long data) in poke_user()
118 unsigned long getreg(struct task_struct *child, int regno) in getreg()
151 int peek_user(struct task_struct *child, long addr, long data) in peek_user()
171 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs()
188 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs()
201 static int get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in get_fpxregs()
217 static int set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in set_fpxregs()
230 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()
191 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs()
208 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs()
221 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace()
/linux-6.12.1/arch/x86/kernel/
Dstep.c14 unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs) in convert_ip_to_linear()
58 static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs) in is_setting_trap_flag()
113 static int enable_single_step(struct task_struct *child) in enable_single_step()
204 static void enable_step(struct task_struct *child, bool block) in enable_step()
219 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
224 void user_enable_block_step(struct task_struct *child) in user_enable_block_step()
229 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
/linux-6.12.1/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c99 static int child(int sk) in child() function
117 FIXTURE(child) in FIXTURE() argument
136 FIXTURE_SETUP(child) in FIXTURE_SETUP() argument
168 FIXTURE_TEARDOWN(child) in FIXTURE_TEARDOWN() argument
180 TEST_F(child, disable_ptrace) in TEST_F() argument
206 TEST_F(child, fetch_fd) in TEST_F() argument
225 TEST_F(child, test_unknown_fd) in TEST_F() argument
244 TEST_F(child, no_strange_EBADF) 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.12.1/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.12.1/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.12.1/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_kernel(struct child_data *child, int cpu, int copy) in start_kernel()
335 static void start_sve(struct child_data *child, int vl, int cpu) in start_sve()
352 static void start_ssve(struct child_data *child, int vl, int cpu) in start_ssve()
[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
Dfp-ptrace.c233 static void read_one_child_regs(pid_t child, char *name, in read_one_child_regs()
248 static void read_child_regs(pid_t child) in read_child_regs()
317 static bool continue_breakpoint(pid_t child, in continue_breakpoint()
354 static bool check_ptrace_values_sve(pid_t child, struct test_config *config) in check_ptrace_values_sve()
431 static bool check_ptrace_values_ssve(pid_t child, struct test_config *config) in check_ptrace_values_ssve()
507 static bool check_ptrace_values_za(pid_t child, struct test_config *config) in check_ptrace_values_za()
568 static bool check_ptrace_values_zt(pid_t child, struct test_config *config) in check_ptrace_values_zt()
590 static bool check_ptrace_values(pid_t child, struct test_config *config) in check_ptrace_values()
626 static bool run_parent(pid_t child, struct test_definition *test, in run_parent()
987 static void fpsimd_write(pid_t child, struct test_config *test_config) in fpsimd_write()
[all …]
Dsve-ptrace.c160 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit()
214 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl()
271 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
326 static void ptrace_set_sve_get_sve_data(pid_t child, in ptrace_set_sve_get_sve_data()
424 static void ptrace_set_sve_get_fpsimd_data(pid_t child, in ptrace_set_sve_get_fpsimd_data()
507 static void ptrace_set_fpsimd_get_sve_data(pid_t child, in ptrace_set_fpsimd_get_sve_data()
615 static int do_parent(pid_t child) in do_parent()
744 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.12.1/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()
239 static int ptrace_check_attach(struct task_struct *child, bool ignore_state) in ptrace_check_attach()
563 static int ptrace_detach(struct task_struct *child, unsigned int data) in ptrace_detach()
659 static int ptrace_setoptions(struct task_struct *child, unsigned long data) in ptrace_setoptions()
677 static int ptrace_getsiginfo(struct task_struct *child, kernel_siginfo_t *info) in ptrace_getsiginfo()
693 static int ptrace_setsiginfo(struct task_struct *child, const kernel_siginfo_t *info) in ptrace_setsiginfo()
709 static int ptrace_peek_siginfo(struct task_struct *child, in ptrace_peek_siginfo()
823 static int ptrace_resume(struct task_struct *child, long request, in ptrace_resume()
[all …]
/linux-6.12.1/arch/m68k/kernel/
Dptrace.c129 static inline void singlestep_disable(struct task_struct *child) in singlestep_disable()
139 void ptrace_disable(struct task_struct *child) in ptrace_disable()
144 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
152 void user_enable_block_step(struct task_struct *child) in user_enable_block_step()
159 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
164 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-6.12.1/arch/um/kernel/
Dptrace.c12 void user_enable_single_step(struct task_struct *child) in user_enable_single_step()
21 void user_disable_single_step(struct task_struct *child) in user_disable_single_step()
33 void ptrace_disable(struct task_struct *child) in ptrace_disable()
38 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-6.12.1/drivers/firmware/efi/
Ddev-path-parser.c16 struct device *parent, struct device **child) in parse_acpi_path()
58 struct device *parent, struct device **child) in parse_pci_path()
94 struct device *parent, struct device **child) in parse_end_path()
147 struct device *parent = NULL, *child; in efi_get_device_by_path() local
/linux-6.12.1/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.12.1/drivers/net/mdio/
Dof_mdio.c38 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register()
47 struct device_node *child, u32 addr) in of_mdiobus_register_phy()
53 struct device_node *child, u32 addr) in of_mdiobus_register_device()
115 bool of_mdiobus_child_is_phy(struct device_node *child) in of_mdiobus_child_is_phy()
145 struct device_node *child; in __of_mdiobus_parse_phys() local
201 struct device_node *child; in __of_mdiobus_register() local
/linux-6.12.1/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.12.1/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.12.1/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()
163 void ptrace_disable(struct task_struct *child) in ptrace_disable()
169 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
/linux-6.12.1/drivers/pci/
Dremove.c89 struct pci_dev *child, *tmp; in pci_stop_bus_device() local
109 struct pci_dev *child, *tmp; in pci_remove_bus_device() local
152 struct pci_dev *child, *tmp; in pci_stop_root_bus() local
170 struct pci_dev *child, *tmp; in pci_remove_root_bus() local
/linux-6.12.1/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>>...27