Lines Matching refs:indir
235 struct indir {
264 struct indir *indir;
281 static struct indir *
284 struct indir *ip;
302 del_indir(struct indir *ip)
310 destroy_indir(struct md_s *sc, struct indir *ip)
318 destroy_indir(sc, (struct indir*)(ip->array[i]));
326 * This function does the math and allocates the top level "indir" structure
330 static struct indir *
334 struct indir *ip;
361 s_read(struct indir *ip, off_t offset)
363 struct indir *cip;
374 cip = (struct indir *)up;
388 s_write(struct indir *ip, off_t offset, uintptr_t ptr)
390 struct indir *cip, *lip[10];
405 cip = (struct indir *)up;
415 cip = (struct indir *)up;
669 osp = s_read(sc->indir, secno);
672 error = s_write(sc->indir, secno, 0);
737 error = s_write(sc->indir, secno, uc);
761 error = s_write(sc->indir, secno, sp);
1351 sc->indir = dimension(sc->mediasize / sc->sectorsize);
1362 error = s_write(sc->indir, u, sp);
1533 if (sc->indir)
1534 destroy_indir(sc, sc->indir);