Lines Matching refs:loc
413 size_t loc, i;
425 loc = 0;
426 while (loc < size) {
427 /*LINTED [buf is char[] in getfile, loc % 4 == 0]*/
428 dp = (struct direct *)(buf + loc);
430 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1));
432 loc += i;
435 loc += dp->d_reclen;
588 rst_seekdir(RST_DIR *sdirp, offset_t loc, offset_t base)
591 if (loc == rst_telldir(sdirp))
593 loc -= base;
594 if (loc < 0)
596 gettext("bad seek pointer to rst_seekdir %d\n"), loc);
597 (void) llseek(sdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), 0);
598 sdirp->dd_loc = loc & (DIRBLKSIZ - 1);