S_ISDIR 125 examples/libsmbclient/smbwrapper/smbw_dir.c if (! S_ISDIR(statbuf.st_mode)) { S_ISDIR 86 lib/replace/repdir_getdents.c if (!S_ISDIR(sb.st_mode)) { S_ISDIR 88 lib/replace/repdir_getdirentries.c if (!S_ISDIR(sb.st_mode)) { S_ISDIR 130 lib/replace/system/filesys.h #ifndef S_ISDIR S_ISDIR 93 lib/util/util.c ret = S_ISDIR(st.st_mode); S_ISDIR 130 lib/util/util.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 183 nsswitch/wb_common.c if (!S_ISDIR(st.st_mode) || S_ISDIR 1873 source3/client/client.c if (S_ISDIR(statbuf.st_mode)) { S_ISDIR 2842 source3/client/client.c } else if (S_ISDIR(mode)) { S_ISDIR 1344 source3/client/mount.cifs.c if (S_ISDIR(statbuf.st_mode) == 0) { S_ISDIR 92 source3/include/smb_macros.h #define VALID_STAT_OF_DIR(st) (VALID_STAT(st) && S_ISDIR((st).st_mode)) S_ISDIR 306 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; S_ISDIR 323 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; S_ISDIR 340 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; S_ISDIR 373 source3/lib/time.c if(S_ISDIR(pst->st_mode) && fake_dirs) { S_ISDIR 575 source3/lib/util.c ret = S_ISDIR(st->st_mode); S_ISDIR 1756 source3/lib/util_sock.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 191 source3/lib/wbclient.c if (!S_ISDIR(st.st_mode) || S_ISDIR 326 source3/libsmb/libsmb_stat.c if (S_ISDIR(statbuf.st_mode)) { S_ISDIR 301 source3/modules/nfs4_acls.c if (smbacl4_nfs42win(mem_ctx, theacl, &sid_owner, &sid_group, S_ISDIR(sbuf->st_mode), S_ISDIR 543 source3/modules/onefs_acl.c if (S_ISDIR(sbuf.st_mode) && (sbuf.st_flags & SF_HASNTFSACL) == 0) { S_ISDIR 292 source3/modules/onefs_open.c if(S_ISDIR(psbuf->st_mode)) { S_ISDIR 673 source3/modules/onefs_open.c if (S_ISDIR(psbuf->st_mode)) { S_ISDIR 1507 source3/modules/onefs_open.c if (!S_ISDIR(psbuf->st_mode)) { S_ISDIR 1916 source3/modules/onefs_open.c if (!fsp->is_directory && S_ISDIR(sbuf.st_mode)) { S_ISDIR 629 source3/modules/vfs_afsacl.c if (S_ISDIR(psbuf->st_mode)) S_ISDIR 627 source3/modules/vfs_default.c if(S_ISDIR(sbuf->st_mode)) { S_ISDIR 1144 source3/modules/vfs_default.c if (S_ISDIR(sbuf.st_mode)) { S_ISDIR 35 source3/modules/vfs_fake_perms.c if (S_ISDIR(sbuf->st_mode)) { S_ISDIR 53 source3/modules/vfs_fake_perms.c if (S_ISDIR(sbuf->st_mode)) { S_ISDIR 261 source3/modules/vfs_hpuxacl.c if (S_ISDIR(s.st_mode)) { S_ISDIR 85 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info->st_mode)) { S_ISDIR 245 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) { S_ISDIR 301 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) { S_ISDIR 333 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { S_ISDIR 365 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { S_ISDIR 399 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { S_ISDIR 91 source3/modules/vfs_onefs.c if(S_ISDIR(sbuf->st_mode)) { S_ISDIR 218 source3/modules/vfs_recycle.c if (S_ISDIR(st.st_mode)) { S_ISDIR 172 source3/modules/vfs_solarisacl.c if (S_ISDIR(s.st_mode)) { S_ISDIR 185 source3/modules/vfs_streams_depot.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 701 source3/modules/vfs_streams_depot.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 743 source3/modules/vfs_streams_xattr.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 8489 source3/param/loadparm.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 8757 source3/param/loadparm.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 992 source3/smbd/dir.c if(S_ISDIR(pst->st_mode)) { S_ISDIR 1015 source3/smbd/dir.c if (S_ISREG(pst->st_mode) || S_ISDIR(pst->st_mode) || S_ISLNK(pst->st_mode)) S_ISDIR 37 source3/smbd/dosmode.c if (S_ISLNK(sbuf->st_mode) && S_ISDIR(sbuf->st_mode)) S_ISDIR 169 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) S_ISDIR 228 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) { S_ISDIR 409 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) S_ISDIR 570 source3/smbd/dosmode.c if (S_ISDIR(st->st_mode)) S_ISDIR 83 source3/smbd/file_access.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 1214 source3/smbd/nttrans.c if (S_ISDIR(sbuf1.st_mode)) { S_ISDIR 546 source3/smbd/open.c if(S_ISDIR(psbuf->st_mode)) { S_ISDIR 1595 source3/smbd/open.c if (S_ISDIR(psbuf->st_mode)) { S_ISDIR 2317 source3/smbd/open.c if (!S_ISDIR(psbuf->st_mode)) { S_ISDIR 2487 source3/smbd/open.c if(!S_ISDIR(psbuf->st_mode)) { S_ISDIR 3174 source3/smbd/open.c if (!fsp->is_directory && S_ISDIR(sbuf.st_mode)) { S_ISDIR 2489 source3/smbd/posix_acls.c S_ISDIR(psbuf->st_mode), powner, pgroup, S_ISDIR 3098 source3/smbd/posix_acls.c if (S_ISDIR(sbuf->st_mode) && def_acl) { S_ISDIR 3182 source3/smbd/posix_acls.c S_ISDIR(sbuf->st_mode)); S_ISDIR 3203 source3/smbd/posix_acls.c S_ISDIR(sbuf->st_mode)); S_ISDIR 3364 source3/smbd/posix_acls.c if(S_ISDIR(sbuf.st_mode)) { S_ISDIR 4313 source3/smbd/posix_acls.c if (!S_ISDIR(psbuf->st_mode)) { S_ISDIR 936 source3/smbd/reply.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 2247 source3/smbd/reply.c if (S_ISDIR(pst->st_mode)) { S_ISDIR 5235 source3/smbd/reply.c if (!(S_ISDIR(st.st_mode))) { S_ISDIR 5999 source3/smbd/reply.c if (S_ISDIR(sbuf1.st_mode)) { S_ISDIR 6121 source3/smbd/reply.c if (S_ISDIR(sbuf1.st_mode)) { S_ISDIR 1000 source3/smbd/service.c !S_ISDIR(st.st_mode)) { S_ISDIR 1001 source3/smbd/service.c if (ret == 0 && !S_ISDIR(st.st_mode)) { S_ISDIR 1092 source3/smbd/trans2.c else if(S_ISDIR(mode)) S_ISDIR 4658 source3/smbd/trans2.c if (S_ISDIR(sbuf.st_mode)) { S_ISDIR 4868 source3/smbd/trans2.c if (S_ISDIR(sbuf1.st_mode)) { S_ISDIR 5022 source3/smbd/trans2.c if (S_ISDIR(psbuf->st_mode)) { S_ISDIR 6054 source3/smbd/trans2.c if (S_ISDIR(psbuf->st_mode)) { S_ISDIR 344 source3/smbd/vfs.c ret = S_ISDIR(st->st_mode); S_ISDIR 808 source3/smbd/vfs.c && (S_ISDIR(st.st_mode))) { S_ISDIR 162 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); S_ISDIR 565 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); S_ISDIR 631 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); S_ISDIR 685 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); S_ISDIR 665 source3/utils/net_conf.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 741 source3/utils/net_usershare.c if (!S_ISDIR(sbuf.st_mode)) { S_ISDIR 451 source3/web/cgi.c if (S_ISDIR(st.st_mode)) S_ISDIR 1365 source4/client/client.c if (S_ISDIR(statbuf.st_mode)) { S_ISDIR 453 source4/client/mount.cifs.c if (S_ISDIR(statbuf.st_mode) == 0) { S_ISDIR 124 source4/client/smbmnt.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 84 source4/lib/registry/dir.c if (!S_ISDIR(stbuf.st_mode)) { S_ISDIR 179 source4/lib/registry/dir.c if (!S_ISDIR(stbuf.st_mode)) { S_ISDIR 280 source4/lib/registry/dir.c if (S_ISDIR(st.st_mode)) { S_ISDIR 287 source4/lib/registry/dir.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 184 source4/ntvfs/cifs_posix_cli/svfs_util.c if (S_ISDIR(mode)) ret |= FILE_ATTRIBUTE_DIRECTORY; S_ISDIR 66 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) { S_ISDIR 157 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 209 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0; S_ISDIR 412 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0; S_ISDIR 44 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(st->st_mode)) S_ISDIR 63 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(name->st.st_mode)) { S_ISDIR 121 source4/ntvfs/posix/pvfs_resolve.c if (i<num_components-1 && !S_ISDIR(name->st.st_mode)) { S_ISDIR 75 source4/ntvfs/posix/pvfs_util.c if (S_ISDIR(mode)) { S_ISDIR 200 source4/ntvfs/posix/vfs_posix.c if (stat(pvfs->base_directory, &st) != 0 || !S_ISDIR(st.st_mode)) { S_ISDIR 290 source4/ntvfs/posix/vfs_posix.c if (!S_ISDIR(name->st.st_mode)) { S_ISDIR 70 source4/ntvfs/posix/xattr_system.c if (S_ISDIR(statbuf.st_mode) && (statbuf.st_mode & S_ISVTX)) { S_ISDIR 181 source4/ntvfs/simple/svfs_util.c if (S_ISDIR(mode)) ret |= FILE_ATTRIBUTE_DIRECTORY; S_ISDIR 65 source4/ntvfs/simple/vfs_simple.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) { S_ISDIR 154 source4/ntvfs/simple/vfs_simple.c if (!S_ISDIR(st.st_mode)) { S_ISDIR 206 source4/ntvfs/simple/vfs_simple.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0; S_ISDIR 409 source4/ntvfs/simple/vfs_simple.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0; S_ISDIR 67 source4/smbd/server.c if (S_ISDIR(st.st_mode)) {