Lines Matching defs:vdp
131 struct mips_voldir *vdp;
138 for (i=0, vdp=vh.vh_voldir; i<MIPS_NVOLDIR; i++, vdp++)
139 if (vdp->vd_len)
140 printf("%2d:\t%5d\t%6d\t%s\n", i, vdp->vd_lba,
141 vdp->vd_len, vdp->vd_name);
148 struct mips_voldir *vdp;
151 vdp = voldir_findfile(&vh, filename, 0);
152 if (vdp == NULL)
155 memset(vdp, 0, sizeof(*vdp));
166 struct mips_voldir *vdp;
200 vdp = voldir_findfile(&vh, bootname, 1);
201 if (vdp == NULL)
204 strcpy(vdp->vd_name, bootname);
205 vdp->vd_lba = BOOTBLOCK_NUMBER;
206 vdp->vd_len = bootstrapsb.st_size;
316 struct mips_voldir *vdp = vhp->vh_voldir;
319 for (i=0; i<MIPS_NVOLDIR; i++, vdp++) {
320 if (strcmp(vdp->vd_name, file) == 0)
321 return vdp;
324 vdp = vhp->vh_voldir;
325 for (i=0; i<MIPS_NVOLDIR; i++, vdp++)
326 if (vdp->vd_len == 0)
327 return vdp;