Lines Matching refs:qid
145 channel->qid = 0; in channel_clear()
195 static chan_t *mount_point_to_channel(int index, qid_t qid) in mount_point_to_channel() argument
206 if ((channel->index == index) && (channel->qid == qid)) { in mount_point_to_channel()
249 channel->qid = CHDIR; in devattach()
302 if ((channel->qid & CHDIR) == 0) { in path_to_channel()
311 mnt = mount_point_to_channel(channel->index, channel->qid); in path_to_channel()
357 new_channel->qid = channel->qid; in devclone()
396 channel->qid = dir.qid; in devwalk()
430 const char *name, long length, qid_t qid, unsigned int mode) in make_dir_entry() argument
438 dir->qid = qid; in make_dir_entry()
441 if ((qid & CHDIR) != 0) { in make_dir_entry()
464 make_dir_entry(channel, dir, dp->name, dp->length, dp->qid, dp->perm); in devgen()
534 mnt = mount_point_to_channel(dir->index, dir->qid); in devstat()
536 dir->qid = mnt->qid; in devstat()
540 if ((dir->qid != c->qid) || (dir->index != c->index)) { in devstat()
617 if (((channel->qid & CHDIR) != 0) && (n < sizeof(dir_t))) { in read()
642 if ((channel->qid & CHDIR) != 0) { in write()
662 if ((channel->qid & CHDIR) != 0) { in seek()
736 if ((cn->qid & CHDIR) == 0) { in add_mount_point()