Lines Matching defs:iocp
149 struct ioc_entry *iocp = NULL;
175 IOC_ALLOC(iocp, struct ioc_entry, IOC_ENTRY_SIZE);
177 memset(iocp, 0, IOC_ENTRY_SIZE);
180 &major, &indirect, &iocp->ctrlno, desc);
184 &major, &indirect, &iocp->ctrlno);
202 ioconf_name, major, indirect, iocp->ctrlno, major);
213 iocp->desc = ioconf[indirect]->blkp->desc;
216 IOC_ALLOC(iocp->desc, char, IOC_DESCLEN + 1);
217 strncpy(iocp->desc, desc, IOC_DESCLEN);
220 ioconf[major] = iocp;
221 iocp->basemajor = indirect;
222 iocp->blkp = ioconf[indirect]->blkp;
223 iocp->live = 0;
224 iocp = NULL;
233 cfmt, &iocp->ctrlno,
284 xblkp->ext_minor = iocp->ctrlno;
327 iocp->live = 1;
328 iocp->blkp = blkp;
329 iocp->desc = NULL;
330 iocp->basemajor = major;
331 ioconf[major] = iocp;
333 blkp = NULL; iocp = NULL;
345 if (iocp != NULL)
346 free(iocp);