Home
last modified time | relevance | path

Searched refs:child_info (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str03.c67 c_info *child_info; /* pointer to info array */ variable
208 info_p = &child_info[my_index]; in synchronize_children()
357 info_p = &child_info[my_index]; in doit()
553 if ((child_info = malloc(total * sizeof(c_info))) == NULL) { in main()
557 memset(child_info, 0x00, total * sizeof(c_info)); in main()
567 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t))) == in main()
572 memset(child_info[ind].threads, 0x00, in main()
575 if ((child_info[ind].child_ptrs = malloc(breadth * sizeof(c_info *))) == NULL) { in main()
579 memset(child_info[ind].child_ptrs, 0x00, in main()
583 pthread_mutex_init(&child_info[ind].child_mutex, NULL))) { in main()
[all …]
Dpth_str01.c48 c_info *child_info; /* pointer to info array */ variable
194 info_p = &child_info[my_index]; in synchronize_children()
361 info_p = &child_info[my_index]; in doit()
575 if ((child_info = malloc(total * sizeof(c_info))) in main()
580 memset(child_info, 0x00, total * sizeof(c_info)); in main()
592 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t))) in main()
597 memset(child_info[ind].threads, 0x00, in main()
600 if ((child_info[ind].child_ptrs = malloc(breadth * sizeof(c_info *))) == NULL) { in main()
604 memset(child_info[ind].child_ptrs, 0x00, in main()
607 if ((rc = pthread_mutex_init(&child_info[ind].child_mutex, in main()
[all …]
Dpth_str01.h20 struct child_info { struct
32 struct child_info **child_ptrs; /* dynamic array of ptrs */ argument
36 typedef struct child_info c_info;
/external/f2fs-tools/fsck/
Dfsck.h44 struct child_info { struct
123 struct child_info *);
128 struct child_info *, struct node_info *);
130 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
132 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
133 extern int fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32, struct child_info *,
135 extern int fsck_chk_dentry_blk(struct f2fs_sb_info *, u32, struct child_info *,
138 struct child_info *);
Dfsck.c488 u32 *blk_cnt, struct child_info *child) in fsck_chk_node_blk()
540 static void check_extent_info(struct child_info *child, in check_extent_info()
596 struct child_info child; in fsck_chk_inode_blk()
863 u32 *blk_cnt, struct child_info *child, struct node_info *ni) in fsck_chk_dnode_blk()
899 struct child_info *child) in fsck_chk_idnode_blk()
939 struct child_info *child) in fsck_chk_didnode_blk()
1129 struct child_info *child, in __chk_dots_dentries()
1181 static int __chk_dentries(struct f2fs_sb_info *sbi, struct child_info *child, in __chk_dentries()
1355 struct f2fs_node *node_blk, struct child_info *child) in fsck_chk_inline_dentries()
1384 struct child_info *child, int last_blk, int enc_name) in fsck_chk_dentry_blk()
[all …]
/external/v8/src/
Dd8-posix.cc382 siginfo_t child_info; in WaitForChild() local
383 child_info.si_pid = 0; in WaitForChild()
386 while (child_info.si_pid == 0) { in WaitForChild()
387 waitid(P_PID, pid, &child_info, WEXITED | WNOHANG | WNOWAIT); in WaitForChild()
400 if (child_info.si_code == CLD_KILLED) { in WaitForChild()
405 child_info.si_status); in WaitForChild()
411 if (child_info.si_code == CLD_EXITED && child_info.si_status != 0) { in WaitForChild()
416 child_info.si_status); in WaitForChild()