V10/sys/sys/im.h

struct im {
	char	open;		/* single open */
	enum states state;	/* driver state */
	struct imdevice *addr;
	ubm_t	ubm;
	struct buf buf;
};