Lines Matching refs:entry
59 struct pslist_entry entry;
61 { .i = 0, .entry = PSLIST_ENTRY_INITIALIZER },
78 PSLIST_ENTRY_DESTROY(&elements[0], entry);
81 PSLIST_ENTRY_INIT(&elements[i], entry);
83 PSLIST_WRITER_INSERT_HEAD(&h, &elements[4], entry);
84 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[2], entry);
85 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[3], entry);
86 PSLIST_WRITER_INSERT_BEFORE(&elements[2], &elements[1], entry);
87 PSLIST_WRITER_INSERT_HEAD(&h, &elements[0], entry);
88 PSLIST_WRITER_INSERT_AFTER(&elements[4], &elements[5], entry);
89 PSLIST_WRITER_INSERT_AFTER(&elements[5], &elements[7], entry);
90 PSLIST_WRITER_INSERT_AFTER(&elements[5], &elements[6], entry);
92 PSLIST_WRITER_REMOVE(&elements[0], entry);
93 ATF_CHECK(elements[0].entry.ple_next != NULL);
94 PSLIST_ENTRY_DESTROY(&elements[0], entry);
96 PSLIST_WRITER_REMOVE(&elements[4], entry);
97 ATF_CHECK(elements[4].entry.ple_next != NULL);
98 PSLIST_ENTRY_DESTROY(&elements[4], entry);
100 PSLIST_ENTRY_INIT(&elements[0], entry);
101 PSLIST_WRITER_INSERT_HEAD(&h, &elements[0], entry);
103 PSLIST_ENTRY_INIT(&elements[4], entry);
104 PSLIST_WRITER_INSERT_AFTER(&elements[3], &elements[4], entry);
107 PSLIST_WRITER_FOREACH(element, &h, struct element, entry) {
112 PSLIST_READER_FOREACH(element, &h, struct element, entry) {
117 while ((element = PSLIST_WRITER_FIRST(&h, struct element, entry))
119 PSLIST_WRITER_REMOVE(element, entry);
120 PSLIST_ENTRY_DESTROY(element, entry);