2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

pipes: add functions for collecting pipes

pipe_entry is encapsulated in pipe_info.
All pipe_info-s connects in the list pipes.
All pipe_info-s with the same piep_id connects to pipe_list,
it a circular list without a defined head.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-04-05 20:02:00 +04:00
committed by Pavel Emelyanov
parent 216233d104
commit 4f2bd37704
4 changed files with 153 additions and 0 deletions

View File

@@ -55,4 +55,8 @@ extern int get_filemap_fd(int pid, struct vma_entry *vma_entry);
extern int self_exe_fd;
extern int collect_pipes(void);
extern void mark_pipe_master(void);
struct list_head *find_pipe_fd(int id);
#endif /* FILES_H_ */