Lines Matching refs:devnode
73 static int swap_set_devnode(Swap *s, const char *devnode) {
86 if (s->devnode) {
87 first = hashmap_get(swaps, s->devnode);
91 hashmap_replace(swaps, first->devnode, first);
93 hashmap_remove(swaps, s->devnode);
95 s->devnode = mfree(s->devnode);
98 if (devnode) {
99 s->devnode = strdup(devnode);
100 if (!s->devnode)
103 first = hashmap_get(swaps, s->devnode);
106 return hashmap_replace(swaps, first->devnode, first);
586 if (s->devnode)
587 fprintf(f, "%sDevice Node: %s\n", prefix, s->devnode);
1217 if (streq_ptr(s->what, s->devnode))
1221 if (streq_ptr(other->what, other->devnode))
1225 if (streq_ptr(other->what, other->devnode))