Lines Matching defs:new
17 chan_t *new;
201 channel = mp->new;
231 * It creates a new channel and returns a pointer to it.
345 * It creates a new channel and returns a pointer to it.
374 * If a match is found, it copies the qid of the new directory.
410 * It returns -1 on error, 0 on end of directory and 1 when a new file is found.
722 * This function registers the channel associated to the path new as a mount
725 static int add_mount_point(chan_t *channel, const char *new)
731 if (new == NULL) {
735 cn = path_to_channel(new, O_READ);
746 if (mp->new == NULL) {
755 mp->new = cn;
767 * This function registers the path new as a mount point for the path old.
769 int bind(const char *old, const char *new)
778 if (add_mount_point(channel, new) < 0) {