Lines Matching defs:hl
74 struct hardlink_node *hl;
83 hl = SLIST_FIRST(hl_q);
87 hl->inode);
92 if (hl->is_tmp) {
93 if (hl->path) {
95 hl->path);
96 if (remove(hl->path)) {
102 hl->inode);
106 if (hl->path)
107 free(hl->path);
108 free(hl);
123 struct hardlink_node *hl;
132 SLIST_FOREACH(hl, hl_q, next_hardlink) {
135 hl->inode);
137 if (hl->inode != inode)
141 *offset = hl->offset;
144 *path = hl->path;
161 struct hardlink_node *hl;
177 hl = (struct hardlink_node *)malloc(sizeof (struct hardlink_node));
178 if (!hl)
181 hl->inode = inode;
182 hl->offset = offset;
183 hl->is_tmp = is_tmp_file;
185 hl->path = strdup(path);
187 hl->path = NULL;
192 hl->inode, hl->path, hl->path? hl->path : "(--)");
194 SLIST_INSERT_HEAD(hl_q, hl, next_hardlink);
202 struct hardlink_node *hl;
209 SLIST_FOREACH(hl, hl_q, next_hardlink)
212 hl->inode, hl->offset, hl->path? hl->path : "--",
213 hl->is_tmp);