Debian Codegraph @

tests/1323.dot

raw
1 digraph vfs {
2 node [shape = "record" fontsize = 10 style = filled];
3 color = lightgray;
4 subgraph cluster_mnt_namespace {
5 graph [fontsize = 10];
6 label = "mnt_namespace";
7 namespace1 [shape = "record",label = "{
8 <f0>struct vfsmount * root\
9 |{<f1>struct list_head list|{<f2>*next|<f3>*prev}}}
10 "];
11 }
12 subgraph cluster_vfsmount {
13 graph [fontsize = 10];
14 label = "struct vfsmount";
15 subgraph cluster_mount1 {
16 //graph [bgcolor="#c1c1df", fontsize=12, labelloc=t];
17 //edge [style="invis"];
18 //label = "/";
19 "vfsmount1" [shape = "record",label ="{
20 {<f0>struct list_head\nmnt_hash|{<f1>*next|<f2>*prev}} \
21 |<f3>struct vfsmount *mnt_parent \
22 |<f4>struct dentry * mnt_mountpoint\
23 |<f5>struct dentry * mnt_root \
24 |<f6>struct super_block * mnt_sb \
25 |{<f7>struct list_head\nmnt_mounts|{<f8>*next|<f9>*prev}} \
26 |{<f10>struct list_head\nmnt_child|{<f11>*next|<f12>*prev}} \
27 |{<f13>struct list_head\nmnt_list|{<f14>*next|<f15>*prev}} \
28 |<f16>struct namespace * mnt_namespace}
29 "];
30 }
31 subgraph cluster_mount2 {
32 //graph [bgcolor="#c1c1df", fontsize=12, labelloc=t];
33 //edge [style="invis"];
34 //label = "/ext2";
35 "vfsmount2" [shape = "record",label ="{
36 {<f0>struct list_head\nmnt_hash|{<f1>*next|<f2>*prev}} \
37 |<f3>struct vfsmount *mnt_parent \
38 |<f4>struct dentry * mnt_mountpoint\
39 |<f5>struct dentry * mnt_root \
40 |<f6>struct super_block * mnt_sb \
41 |{<f7>struct list_head\nmnt_mounts|{<f8>*next|<f9>*prev}} \
42 |{<f10>struct list_head\nmnt_child|{<f11>*next|<f12>*prev}} \
43 |{<f13>struct list_head\nmnt_list|{<f14>*next|<f15>*prev}} \
44 |<f16>struct namespace * mnt_namespace}
45 "];
46 }
47 }
48 vfsmount1:f8 -> vfsmount2:f10 [color = "blue"];
49 vfsmount2:f12 -> vfsmount1:f7 [color = "green"];
50 vfsmount2:f11 -> vfsmount1:f7 [color = "green"];
51 vfsmount1:f9 -> vfsmount2:f10 [color = "blue"];
52 vfsmount2:f3 -> vfsmount1:f0;
53
54 namespace1:f0 -> vfsmount1:f0;
55
56
57 namespace1:f2 -> vfsmount1:f13;
58 vfsmount1:f14 -> vfsmount2:f13;
59 vfsmount2:f14 -> namespace1:f1;
60 namespace1:f3 -> vfsmount2:f13;
61 vfsmount2:f15 -> vfsmount1:f13;
62 //vfsmount1:f15 -> namespace1:f1;
63 }