Home | History | Annotate | Download | only in btt

Lines Matching refs:bdp

53 	struct bno_dump *bdp;
57 bdp = malloc(sizeof(*bdp));
58 bdp->rfp = bno_dump_open(device, 'r');
59 bdp->wfp = bno_dump_open(device, 'w');
60 bdp->cfp = bno_dump_open(device, 'c');
62 return bdp;
72 struct bno_dump *bdp = handle;
74 if (bdp) {
75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp;
79 if (bdp->cfp)
80 bno_dump_write(bdp->cfp, iop);