Lines Matching defs:entry
317 * get next entry in a directory.
796 struct cache *entry = bkmem_alloc(sizeof (*entry));
797 entry->key = key;
798 entry->data = data;
799 entry->size = size;
801 entry->next = icache;
802 icache = entry;
804 icache = entry;
805 entry->next = 0;
812 struct cache *entry = icache;
813 while (entry) {
814 if (entry->key == key)
815 return (entry->data);
816 entry = entry->next;
824 struct cache *next, *entry = icache;
825 while (entry) {
826 next = entry->next;
827 bkmem_free(entry->data, entry->size);
828 bkmem_free(entry, sizeof (*entry));
829 entry = next;