Lines Matching refs:nodeid
160 uint64_t nodeid, uint64_t size, uint32_t mode) { in fill_attr() argument
167 attr->ino = nodeid; in fill_attr()
179 if (hdr->nodeid == FUSE_ROOT_ID) { in handle_getattr()
180 fill_attr(&(out.attr), fd, hdr->nodeid, 4096, S_IFDIR | 0555); in handle_getattr()
181 } else if (hdr->nodeid == PACKAGE_FILE_ID) { in handle_getattr()
183 } else if (hdr->nodeid == EXIT_FLAG_ID) { in handle_getattr()
190 return (hdr->nodeid == EXIT_FLAG_ID) ? NO_STATUS_EXIT : NO_STATUS; in handle_getattr()
202 out.nodeid = PACKAGE_FILE_ID; in handle_lookup()
207 out.nodeid = EXIT_FLAG_ID; in handle_lookup()
215 return (out.nodeid == EXIT_FLAG_ID) ? NO_STATUS_EXIT : NO_STATUS; in handle_lookup()
221 if (hdr->nodeid == EXIT_FLAG_ID) return -EPERM; in handle_open()
222 if (hdr->nodeid != PACKAGE_FILE_ID) return -ENOENT; in handle_open()
301 if (hdr->nodeid != PACKAGE_FILE_ID) return -ENOENT; in handle_read()