Lines Matching refs:mfs_head
302 struct mapfs *mfs, *p, *mfs_head = NULL, *mfs_tail = NULL;
354 &mfs_head, &mfs_tail);
377 return (mfs_head);
436 * Add a mapfs entry to the list described by *mfs_head and *mfs_tail,
441 add_mfs(struct mapfs *mfs, int distance, struct mapfs **mfs_head,
446 for (tmp = *mfs_head; tmp; tmp = tmp->mfs_next)
450 return (*mfs_head);
460 if (!*mfs_head)
461 *mfs_tail = *mfs_head = new;
466 return (*mfs_head);
507 struct mapfs *mfs, *p, *mfs_head = NULL, *mfs_tail = NULL;
522 p = add_mfs(mfs, 0, &mfs_head, &mfs_tail);
526 return (mfs_head);
555 struct mapfs *p, *m1, *m2, *mfs_head = NULL, *mfs_tail = NULL;
561 p = add_mfs(me->map_fs, DIST_OTHER, &mfs_head, &mfs_tail);
564 return (mfs_head);
581 p = add_mfs(m1, DIST_SELF, &mfs_head, &mfs_tail);
604 p = add_mfs(m2, 0, &mfs_head, &mfs_tail);
614 m1 = filter_mfs(me->map_fs, mfs_head);
622 p = add_mfs(m2, DIST_OTHER, &mfs_head, &mfs_tail);
630 dump_mfs(mfs_head, " enum_servers: output: ", 1);
631 return (mfs_head);