Lines Matching defs:entry
53 static struct Vnode *EntryToVnode(struct ProcDirEntry *entry)
59 node->data = entry;
60 node->type = entry->type;
61 node->uid = entry->uid;
62 node->gid = entry->gid;
63 node->mode = entry->mode;
123 struct ProcDirEntry *entry = NULL;
129 entry = VnodeToEntry(filep->f_vnode);
130 if (entry == NULL) {
135 size = (ssize_t)ReadProcFile(entry, (void *)buffer, buflen);
136 filep->f_pos = entry->pf->fPos;
144 struct ProcDirEntry *entry = NULL;
150 entry = VnodeToEntry(filep->f_vnode);
151 if (entry == NULL) {
156 size = (ssize_t)WriteProcFile(entry, (void *)buffer, buflen);
157 filep->f_pos = entry->pf->fPos;
167 struct ProcDirEntry *entry = VnodeToEntry(parent);
168 if (entry == NULL) {
172 entry = entry->subdir;
174 if (entry == NULL) {
177 if (EntryMatch(name, len, entry)) {
180 entry = entry->next;
183 *vpp = EntryToVnode(entry);
231 struct ProcDirEntry *entry = VnodeToEntry(node);
232 if (entry == NULL) {
237 buf->st_mode = entry->mode;