Lines Matching refs:res
74 int res;
79 res = fstat(fi->fh, stbuf);
81 res = lstat(path, stbuf);
82 if (res == -1)
90 int res;
92 res = access(path, mask);
93 if (res == -1)
101 int res;
103 res = readlink(path, buf, size - 1);
104 if (res == -1)
107 buf[res] = '\0';
119 int res;
126 res = -errno;
128 return res;
172 int res;
174 res = fstatat(dirfd(d->dp), d->entry->d_name, &st,
176 if (res != -1)
214 int res;
217 res = mkfifo(path, mode);
219 res = mknod(path, mode, rdev);
220 if (res == -1)
228 int res;
230 res = mkdir(path, mode);
231 if (res == -1)
239 int res;
241 res = unlink(path);
242 if (res == -1)
250 int res;
252 res = rmdir(path);
253 if (res == -1)
261 int res;
263 res = symlink(from, to);
264 if (res == -1)
272 int res;
278 res = rename(from, to);
279 if (res == -1)
287 int res;
289 res = link(from, to);
290 if (res == -1)
299 int res;
302 res = fchmod(fi->fh, mode);
304 res = chmod(path, mode);
305 if (res == -1)
314 int res;
317 res = fchown(fi->fh, uid, gid);
319 res = lchown(path, uid, gid);
320 if (res == -1)
329 int res;
332 res = ftruncate(fi->fh, size);
334 res = truncate(path, size);
336 if (res == -1)
346 int res;
350 res = futimens(fi->fh, ts);
352 res = utimensat(0, path, ts, AT_SYMLINK_NOFOLLOW);
353 if (res == -1)
387 int res;
390 res = pread(fi->fh, buf, size, offset);
391 if (res == -1)
392 res = -errno;
394 return res;
422 int res;
425 res = pwrite(fi->fh, buf, size, offset);
426 if (res == -1)
427 res = -errno;
429 return res;
448 int res;
450 res = statvfs(path, stbuf);
451 if (res == -1)
459 int res;
467 res = close(dup(fi->fh));
468 if (res == -1)
485 int res;
492 res = fdatasync(fi->fh);
495 res = fsync(fi->fh);
496 if (res == -1)
520 int res = lsetxattr(path, name, value, size, flags);
521 if (res == -1)
529 int res = lgetxattr(path, name, value, size);
530 if (res == -1)
532 return res;
537 int res = llistxattr(path, list, size);
538 if (res == -1)
540 return res;
545 int res = lremovexattr(path, name);
546 if (res == -1)
565 int res;
568 res = flock(fi->fh, op);
569 if (res == -1)
582 ssize_t res;
586 res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len,
588 if (res == -1)
591 return res;
597 off_t res;
600 res = lseek(fi->fh, off, whence);
601 if (res == -1)
604 return res;