Lines Matching defs:head
64 struct zone_dataset_head *head;
83 head = osd_jail_get(pr, zone_slot);
84 if (head != NULL) {
86 LIST_FOREACH(zd2, head, zd_next) {
97 head = malloc(sizeof (*head), M_ZONES, M_WAITOK);
98 LIST_INIT(head);
100 error = osd_jail_set(pr, zone_slot, head);
105 LIST_INSERT_HEAD(head, zd, zd_next);
117 struct zone_dataset_head *head;
130 head = osd_jail_get(pr, zone_slot);
131 if (head == NULL) {
135 LIST_FOREACH(zd, head, zd_next) {
144 if (LIST_EMPTY(head))
160 struct zone_dataset_head *head;
175 head = osd_jail_get(pr, zone_slot);
176 if (head == NULL)
184 LIST_FOREACH(zd, head, zd_next) {
204 LIST_FOREACH(zd, head, zd_next) {
225 struct zone_dataset_head *head;
228 head = arg;
229 while ((zd = LIST_FIRST(head)) != NULL) {
233 free(head, M_ZONES);