Lines Matching defs:ide
74 fmd_idelem_t *ide, *nde;
83 for (ide = ids->ids_hash[i]; ide != NULL; ide = nde) {
84 nde = ide->ide_next;
85 fmd_free(ide, sizeof (fmd_idelem_t));
97 fmd_idelem_t *ide;
106 for (ide = ids->ids_hash[i]; ide != NULL; ide = ide->ide_next)
107 *idp++ = ide->ide_id;
122 fmd_idelem_t *ide;
125 ide = ids->ids_hash[id & (ids->ids_hashlen - 1)];
127 for (; ide != NULL; ide = ide->ide_next) {
128 if (ide->ide_id == id)
132 return (ide);
138 fmd_idelem_t *ide;
142 ide = fmd_idspace_lookup(ids, id);
143 data = ide ? ide->ide_data : NULL;
152 fmd_idelem_t *ide;
159 if ((ide = fmd_idspace_lookup(ids, id)) == NULL) {
164 ide->ide_data = data;
171 fmd_idelem_t *ide;
174 ide = fmd_idspace_lookup(ids, id);
177 return (ide != NULL);
189 fmd_idelem_t *ide;
201 ide = fmd_alloc(sizeof (fmd_idelem_t), FMD_SLEEP);
204 ide->ide_next = ids->ids_hash[h];
205 ide->ide_data = data;
206 ide->ide_id = id;
208 ids->ids_hash[h] = ide;
275 fmd_idelem_t *ide, **pp;
281 for (ide = *pp; ide != NULL; ide = ide->ide_next) {
282 if (ide->ide_id != id)
283 pp = &ide->ide_next;
288 if (ide == NULL) {
293 data = ide->ide_data;
294 *pp = ide->ide_next;
295 fmd_free(ide, sizeof (fmd_idelem_t));
315 fmd_idelem_t *ide;
320 if ((ide = fmd_idspace_lookup(ids, id)) != NULL) {
323 data = ide->ide_data;