Lines Matching +defs:lookup +defs:fs
119 lookup(u_long, int);
135 lookup __P((u_long, int));
149 register struct fstab *fs;
250 while ((fs = getfsent()) != NULL) {
251 if (((argnum = oneof(fs->fs_file, argv, argc)) >= 0 ||
252 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) &&
253 (auxdata = needchk(fs)) &&
254 (name = blockcheck(fs->fs_spec))) {
256 errs += chkquota(name, fs->fs_file, auxdata);
308 needchk(fs)
309 register struct fstab *fs;
314 if (strcmp(fs->fs_type, FSTAB_RW))
320 if (gflag && hasquota(fs, GRPQUOTA, &qfnp)) {
324 if (uflag && hasquota(fs, USRQUOTA, &qfnp)) {
462 if ((fup = lookup(OSSwapBigToHostInt32(dqbuf.dqb_id), type)) == 0)
614 if ((fup = lookup(id, type)) == 0)
836 hasquota(fs, type, qfnamep)
837 register struct fstab *fs;
853 strlcpy(buf, fs->fs_mntops, sizeof(buf));
868 "%s/%s.%s", fs->fs_file, qfname, qfextension[type]);
881 lookup(id, type)
908 if ((fup = lookup(id, type)))
951 if (fup = lookup(id, type))