Lines Matching refs:res

221     auto res = fstatat(inode.fd, "", &attr,
223 if (res == -1) {
235 int res;
239 res = fchmod(fi->fh, attr->st_mode);
243 res = chmod(procname, attr->st_mode);
245 if (res == -1)
252 res = fchownat(ifd, "", uid, gid, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW);
253 if (res == -1)
258 res = ftruncate(fi->fh, attr->st_size);
262 res = truncate(procname, attr->st_size);
264 if (res == -1)
286 res = futimens(fi->fh, tv);
291 res = utimensat(AT_FDCWD, procname, tv, 0);
293 res = -1;
297 if (res == -1)
327 auto res = fstatat(newfd, "", &e->attr, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW);
328 if (res == -1) {
427 int res;
432 res = mkdirat(inode_p.fd, name, mode);
434 res = symlinkat(link, inode_p.fd, name);
436 res = mknodat(inode_p.fd, name, mode, rdev);
438 if (res == -1)
485 auto res = linkat(AT_FDCWD, procname, inode_p.fd, name, AT_SYMLINK_FOLLOW);
486 if (res == -1) {
491 res = fstatat(inode.fd, "", &e.attr, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW);
492 if (res == -1) {
514 auto res = unlinkat(inode_p.fd, name, AT_REMOVEDIR);
515 fuse_reply_err(req, res == -1 ? errno : 0);
529 auto res = renameat(inode_p.fd, name, inode_np.fd, newname);
530 fuse_reply_err(req, res == -1 ? errno : 0);
563 auto res = unlinkat(inode_p.fd, name, 0);
564 fuse_reply_err(req, res == -1 ? errno : 0);
614 auto res = readlinkat(inode.fd, "", buf, sizeof(buf));
615 if (res == -1)
617 else if (res == sizeof(buf))
620 buf[res] = '\0';
845 int res;
848 res = fdatasync(fd);
850 res = fsync(fd);
851 fuse_reply_err(req, res == -1 ? errno : 0);
907 auto res = close(dup(fi->fh));
908 fuse_reply_err(req, res == -1 ? errno : 0);
915 int res;
917 res = fdatasync(fi->fh);
919 res = fsync(fi->fh);
920 fuse_reply_err(req, res == -1 ? errno : 0);
950 auto res = fuse_buf_copy(&out_buf, in_buf, FUSE_BUF_COPY_FLAGS);
951 if (res < 0)
952 fuse_reply_err(req, -res);
954 fuse_reply_write(req, (size_t)res);
969 auto res = fstatvfs(get_fs_fd(ino), &stbuf);
970 if (res == -1)
994 auto res = flock(fi->fh, op);
995 fuse_reply_err(req, res == -1 ? errno : 0);
1284 auto res = getrlimit(RLIMIT_NOFILE, &lim);
1285 if (res != 0) {
1290 res = setrlimit(RLIMIT_NOFILE, &lim);
1291 if (res != 0)