Lines Matching defs:head
61 struct zone_dataset_head *head;
80 head = osd_jail_get(pr, zone_slot);
81 if (head != NULL) {
83 LIST_FOREACH(zd2, head, zd_next) {
94 head = malloc(sizeof(*head), M_ZONES, M_WAITOK);
95 LIST_INIT(head);
97 error = osd_jail_set(pr, zone_slot, head);
101 LIST_INSERT_HEAD(head, zd, zd_next);
113 struct zone_dataset_head *head;
126 head = osd_jail_get(pr, zone_slot);
127 if (head == NULL) {
131 LIST_FOREACH(zd, head, zd_next) {
140 if (LIST_EMPTY(head))
156 struct zone_dataset_head *head;
171 head = osd_jail_get(pr, zone_slot);
172 if (head == NULL)
180 LIST_FOREACH(zd, head, zd_next) {
200 LIST_FOREACH(zd, head, zd_next) {
221 struct zone_dataset_head *head;
224 head = arg;
225 while ((zd = LIST_FIRST(head)) != NULL) {
229 free(head, M_ZONES);