Home
last modified time | relevance | path

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

12345678910>>...24

/linux/tools/testing/selftests/powerpc/ptrace/
H A 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/arch/x86/kernel/
H A 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/arch/powerpc/kernel/ptrace/
H A 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/tools/testing/selftests/pidfd/
H A 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
H A Dpidfd_fdinfo_test.c87 struct child { struct
93 static struct child clone_newns(int (*fn)(void *), void *args, in clone_newns() argument
126 static inline void child_close(struct child *child) in child_close()
131 static inline int child_join(struct child *child, struct error *err) in child_join()
151 static inline int child_join_close(struct child *child, struct error *err) in child_join_close()
/linux/kernel/
H A 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/arch/xtensa/kernel/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_multi_test.c48 struct child { struct
50 int c2p[2]; /* child -> parent channel */ argument
57 static void release_child(struct child *child) in release_child()
73 static void kick_child(struct child *child) in kick_child()
86 struct child *child = arg; in child_func() local
104 static int spawn_child_flag(struct child *child, bool clone_vm) in spawn_child_flag()
129 static int spawn_child(struct child *child) in spawn_child()
136 struct child *child = ctx; in child_thread() local
160 static int spawn_thread(struct child *child) in spawn_thread()
194 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
[all …]
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c63 static void child_start(struct child_data *child, const char *program) in child_start()
146 static bool child_output_read(struct child_data *child) in child_output_read()
199 static void child_output(struct child_data *child, uint32_t events, in child_output()
223 static void child_tickle(struct child_data *child) in child_tickle()
229 static void child_stop(struct child_data *child) in child_stop()
235 static void child_cleanup(struct child_data *child) in child_cleanup()
311 static void start_fpsimd(struct child_data *child, int cpu, int copy) in start_fpsimd()
324 static void start_kernel(struct child_data *child, int cpu, int copy) in start_kernel()
337 static void start_sve(struct child_data *child, int vl, int cpu) in start_sve()
354 static void start_ssve(struct child_data *child, int vl, int cpu) in start_ssve()
[all …]
H A Dfp-ptrace.c270 static void read_one_child_regs(pid_t child, char *name, in read_one_child_regs()
285 static void read_child_regs(pid_t child) in read_child_regs()
362 static bool continue_breakpoint(pid_t child, in continue_breakpoint()
399 static bool check_ptrace_values_sve(pid_t child, struct test_config *config) in check_ptrace_values_sve()
483 static bool check_ptrace_values_ssve(pid_t child, struct test_config *config) in check_ptrace_values_ssve()
566 static bool check_ptrace_values_za(pid_t child, struct test_config *config) in check_ptrace_values_za()
627 static bool check_ptrace_values_zt(pid_t child, struct test_config *config) in check_ptrace_values_zt()
648 static bool check_ptrace_values_fpmr(pid_t child, struct test_config *config) in check_ptrace_values_fpmr()
669 static bool check_ptrace_values(pid_t child, struct test_config *config) in check_ptrace_values()
708 static bool run_parent(pid_t child, struct test_definition *test, in run_parent()
[all …]
H A Dza-ptrace.c108 static void ptrace_set_get_vl(pid_t child, unsigned int vl, bool *supported) in ptrace_set_get_vl()
151 static void ptrace_set_no_data(pid_t child, unsigned int vl) in ptrace_set_no_data()
192 static void ptrace_set_get_data(pid_t child, unsigned int vl) in ptrace_set_get_data()
250 static int do_parent(pid_t child) in do_parent()
345 pid_t child; in main() local
H A Dzt-ptrace.c122 static void ptrace_za_disabled_read_zt(pid_t child) in ptrace_za_disabled_read_zt()
158 static void ptrace_set_get_zt(pid_t child) in ptrace_set_get_zt()
191 static void ptrace_enable_za_via_zt(pid_t child) in ptrace_enable_za_via_zt()
257 static int do_parent(pid_t child) in do_parent()
336 pid_t child; in main() local
H A Dsve-ptrace.c162 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit()
216 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl()
274 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
331 static void ptrace_set_sve_get_sve_data(pid_t child, in ptrace_set_sve_get_sve_data()
429 static void ptrace_set_sve_get_fpsimd_data(pid_t child, in ptrace_set_sve_get_fpsimd_data()
512 static void ptrace_set_fpsimd_get_sve_data(pid_t child, in ptrace_set_fpsimd_get_sve_data()
620 static int do_parent(pid_t child) in do_parent()
749 pid_t child; in main() local
/linux/arch/x86/um/
H A Dptrace_64.c55 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg()
112 int poke_user(struct task_struct *child, long addr, long data) in poke_user()
131 unsigned long getreg(struct task_struct *child, int regno) in getreg()
172 int peek_user(struct task_struct *child, long addr, long data) in peek_user()
192 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace()
H A Dptrace_32.c51 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg()
100 int poke_user(struct task_struct *child, long addr, long data) in poke_user()
119 unsigned long getreg(struct task_struct *child, int regno) in getreg()
152 int peek_user(struct task_struct *child, long addr, long data) in peek_user()
172 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace()
/linux/arch/m68k/kernel/
H A 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/drivers/firmware/efi/
H A 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/drivers/net/wireless/ti/wlcore/
H A 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/tools/testing/selftests/arm64/abi/
H A 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/arch/alpha/kernel/
H A 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/drivers/pci/
H A Dremove.c93 struct pci_dev *child, *tmp; in pci_stop_bus_device() local
113 struct pci_dev *child, *tmp; in pci_remove_bus_device() local
156 struct pci_dev *child, *tmp; in pci_stop_root_bus() local
176 struct pci_dev *child, *tmp; in pci_remove_root_bus() local
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c59 static void start_thread(struct child_data *child, int id) in start_thread()
150 static bool child_output_read(struct child_data *child) in child_output_read()
203 static void child_output(struct child_data *child, uint32_t events, in child_output()
227 static void child_tickle(struct child_data *child) in child_tickle()
233 static void child_stop(struct child_data *child) in child_stop()
239 static void child_cleanup(struct child_data *child) in child_cleanup()
/linux/arch/s390/kernel/
H A Dptrace.c158 static inline unsigned long __peek_user_per(struct task_struct *child, in __peek_user_per()
206 static unsigned long __peek_user(struct task_struct *child, addr_t addr) in __peek_user()
276 peek_user(struct task_struct *child, addr_t addr, addr_t data) in peek_user()
295 static inline void __poke_user_per(struct task_struct *child, in __poke_user_per()
328 static int __poke_user(struct task_struct *child, addr_t addr, addr_t data) in __poke_user()
415 static int poke_user(struct task_struct *child, addr_t addr, addr_t data) in poke_user()
433 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace()
528 static inline __u32 __peek_user_per_compat(struct task_struct *child, in __peek_user_per_compat()
568 static u32 __peek_user_compat(struct task_struct *child, addr_t addr) in __peek_user_compat()
636 static int peek_user_compat(struct task_struct *child, in peek_user_compat()
[all …]
/linux/drivers/mtd/
H A Dmtdpart.c50 struct mtd_info *child; in allocate_partition() local
252 struct mtd_info *child; in mtd_add_partition() local
307 struct mtd_info *child, *next; in __mtd_del_partition() local
332 struct mtd_info *child, *next; in __del_mtd_partitions() local
369 struct mtd_info *child, *master = mtd_get_master(mtd); in mtd_del_partition() local
398 struct mtd_info *child, *master = mtd_get_master(parent); in add_mtd_partitions() local
585 struct device_node *child; in mtd_part_of_parse() local
/linux/crypto/
H A Dsimd.c54 struct crypto_skcipher *child = &ctx->cryptd_tfm->base; in simd_skcipher_setkey() local
67 struct crypto_skcipher *child; in simd_skcipher_encrypt() local
88 struct crypto_skcipher *child; in simd_skcipher_decrypt() local
272 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setkey() local
283 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setauthsize() local
293 struct crypto_aead *child; in simd_aead_encrypt() local
314 struct crypto_aead *child; in simd_aead_decrypt() local

12345678910>>...24