Lines Matching defs:res

139 	int res;
152 res = lockf(mtablock, F_LOCK, 0);
153 if (res < 0) {
166 int res;
168 res = lockf(mtablock, F_ULOCK, 0);
169 if (res < 0) {
277 int res;
284 res = mount("", "/", "", MS_PRIVATE | MS_REC, NULL);
285 if (res == -1) {
310 res = mount(".", "/", "", MS_BIND | MS_REC, NULL);
311 if (res == -1) {
392 int res;
412 res = chdir(parent);
413 if (res == -1) {
437 int res;
443 res = may_unmount(mnt, quiet);
444 if (res == -1)
455 res = chdir_to_parent(copy, &last);
457 if (res == -1)
460 res = umount2(last, umount_flags);
461 if (res == -1 && !quiet) {
468 if (res == -1)
471 res = chdir("/");
472 if (res == -1) {
482 int res;
485 res = unmount_fuse_locked(mnt, quiet, lazy);
488 return res;
773 int res;
830 res = uname(&utsname);
831 if (res == 0 &&
869 res = get_mnt_opts(flags, optbuf, &mnt_opts);
870 if (res == -1)
895 res = mount_notrunc(source, mnt, type, flags, optbuf);
896 if (res == -1 && errno == ENODEV && subtype) {
906 res = mount_notrunc(source, mnt, type, flags, optbuf);
908 if (res == -1 && errno == EINVAL) {
912 res = mount_notrunc(source, mnt, type, flags, optbuf);
914 if (res == -1) {
944 int res;
950 res = lstat(mnt, stbuf);
951 if (res == -1) {
962 res = chdir(mnt);
963 if (res == -1) {
970 res = lstat(mnt, stbuf);
971 if (res == -1) {
984 res = access(mnt, W_OK);
985 if (res == -1) {
998 res = fstat(*mountpoint_fd, stbuf);
999 if (res == -1) {
1130 int res;
1154 res = check_perm(&real_mnt, &stbuf, &mountpoint_fd);
1156 if (res != -1)
1157 res = do_mount(real_mnt, type, stbuf.st_mode & S_IFMT,
1163 if (res == -1)
1166 res = chdir("/");
1167 if (res == -1) {
1173 res = add_mount(source, mnt, *type, mnt_opts);
1174 if (res == -1) {
1260 int res = waitpid(pid, &status, 0);
1261 if (res == -1) {
1350 int res;
1435 res = chdir("/");
1436 if (res == -1) {
1475 res = send_fd(cfd, fd);
1476 if (res != 0) {
1494 res = chdir("/");
1495 if (res == -1) {
1525 res = unmount_fuse(mnt, quiet, lazy);
1527 res = umount2(mnt, lazy ? UMOUNT_DETACH : 0);
1528 if (res == -1 && !quiet)
1533 if (res == -1)