Lines Matching refs:result
47 SMB_BIG_UINT result;
49 result = sys_disk_free(handle->conn, path, small_query, bsize, dfree, dsize);
50 return result;
56 int result;
59 result = sys_get_quota(handle->conn->connectpath, qtype, id, qt);
61 return result;
71 int result;
74 result = sys_set_quota(handle->conn->connectpath, qtype, id, qt);
76 return result;
98 SMB_STRUCT_DIR *result;
101 result = sys_opendir(fname);
103 return result;
108 SMB_STRUCT_DIRENT *result;
111 result = sys_readdir(dirp);
113 return result;
125 long result;
127 result = sys_telldir(dirp);
129 return result;
141 int result;
149 result = mkdir(path, mode);
151 if (result == 0 && !has_dacl) {
165 return result;
170 int result;
173 result = rmdir(path);
175 return result;
180 int result;
183 result = sys_closedir(dirp);
185 return result;
193 int result;
196 result = sys_open(fname, flags, mode);
198 return result;
203 int result;
207 result = close(fd);
209 return result;
214 ssize_t result;
217 result = sys_read(fd, data, n);
219 return result;
225 ssize_t result;
229 result = sys_pread(fd, data, n, offset);
232 if (result == -1 && errno == ESPIPE) {
234 result = SMB_VFS_READ(fsp, fd, data, n);
245 result = SMB_VFS_READ(fsp, fd, data, n);
247 return result;
255 result = SMB_VFS_READ(fsp, fd, data, n);
263 return result;
268 ssize_t result;
271 result = sys_write(fd, data, n);
273 return result;
279 ssize_t result;
283 result = sys_pwrite(fd, data, n, offset);
286 if (result == -1 && errno == ESPIPE) {
288 result = SMB_VFS_WRITE(fsp, fd, data, n);
304 result = SMB_VFS_WRITE(fsp, fd, data, n);
312 return result;
317 SMB_OFF_T result = 0;
323 result = sys_lseek(filedes, offset, whence);
332 if((result == -1) && (errno == ESPIPE)) {
333 result = 0;
338 return result;
344 ssize_t result;
347 result = sys_sendfile(tofd, fromfd, hdr, offset, n);
349 return result;
443 int result;
446 result = rename(oldname, newname);
449 result = copy_reg(oldname, newname);
453 return result;
459 int result;
462 result = fsync(fd);
464 return result;
472 int result;
475 result = sys_stat(fname, sbuf);
477 return result;
482 int result;
485 result = sys_fstat(fd, sbuf);
487 return result;
492 int result;
495 result = sys_lstat(path, sbuf);
497 return result;
502 int result;
505 result = unlink(path);
507 return result;
512 int result;
525 if ((result = SMB_VFS_CHMOD_ACL(handle->conn, path, mode)) == 0) {
527 return result;
533 result = chmod(path, mode);
535 return result;
540 int result;
552 if ((result = SMB_VFS_FCHMOD_ACL(fsp, fd, mode)) == 0) {
554 return result;
561 result = fchmod(fd, mode);
563 result = -1;
568 return result;
573 int result;
576 result = sys_chown(path, uid, gid);
578 return result;
584 int result;
587 result = fchown(fd, uid, gid);
589 return result;
598 int result;
601 result = chdir(path);
603 return result;
608 char *result;
611 result = sys_getwd(path);
613 return result;
623 int result;
631 result = utimes(path, tv);
638 result = utime(path, times);
642 result = -1;
645 return result;
707 int result = -1;
715 result = strict_allocate_ftruncate(handle, fsp, fd, len);
717 return result;
727 result = sys_ftruncate(fd, len);
728 if (result == 0)
731 result = 0;
753 result = 0;
759 result = 0;
777 result = 0;
782 return result;
787 BOOL result;
790 result = fcntl_lock(fd, op, offset, count, type);
792 return result;
806 BOOL result;
809 result = fcntl_getlock(fd, poffset, pcount, ptype, ppid);
811 return result;
817 int result = -1;
827 result = linux_setlease(fd, leasetype);
832 return result;
837 int result;
840 result = sys_symlink(oldpath, newpath);
842 return result;
847 int result;
850 result = sys_readlink(path, buf, bufsiz);
852 return result;
857 int result;
860 result = sys_link(oldpath, newpath);
862 return result;
867 int result;
870 result = sys_mknod(pathname, mode, dev);
872 return result;
877 char *result;
880 result = sys_realpath(path, resolved_path);
882 return result;
924 size_t result;
927 result = get_nt_acl(fsp, security_info, ppdesc);
929 return result;
934 size_t result;
937 result = get_nt_acl(fsp, security_info, ppdesc);
939 return result;
944 BOOL result;
947 result = set_nt_acl(fsp, security_info_sent, psd);
949 return result;
954 BOOL result;
957 result = set_nt_acl(fsp, security_info_sent, psd);
959 return result;
968 int result;
971 result = chmod_acl(handle->conn, name, mode);
973 return result;
983 int result;
986 result = fchmod_acl(fsp, fd, mode);
988 return result;