Home | History | Annotate | Download | only in altboot

Lines Matching defs:mh

46 	struct memhandle *mh;
48 mh = alloc(sizeof(struct memhandle));
49 if (mh == NULL)
51 mh->base = (char *)read_hex(path);
52 mh->off = 0;
53 f->f_fsdata = mh;
70 struct memhandle *mh;
72 mh = f->f_fsdata;
73 memcpy(buf, mh->base + mh->off, size);
74 mh->off += size;
84 struct memhandle *mh;
86 mh = f->f_fsdata;
87 memcpy(mh->base + mh->off, buf, size);
88 mh->off += size;
99 struct memhandle *mh;
101 mh = f->f_fsdata;
104 mh->off = offset;
107 mh->off += offset;
113 return mh->off;