st 531 examples/libsmbclient/smbwrapper/smbw.c struct SMBW_stat st;
st 535 examples/libsmbclient/smbwrapper/smbw.c if (smbw_stat(name, &st)) return -1;
st 537 examples/libsmbclient/smbwrapper/smbw.c if (((mode & R_OK) && !(st.s_mode & S_IRUSR)) ||
st 538 examples/libsmbclient/smbwrapper/smbw.c ((mode & W_OK) && !(st.s_mode & S_IWUSR)) ||
st 539 examples/libsmbclient/smbwrapper/smbw.c ((mode & X_OK) && !(st.s_mode & S_IXUSR))) {
st 552 examples/libsmbclient/smbwrapper/smbw.c struct SMBW_stat st;
st 557 examples/libsmbclient/smbwrapper/smbw.c ret = smbw_stat(fname, &st);
st 97 examples/libsmbclient/smbwrapper/smbw.h int smbw_dir_fstat(int fd, SMBW_stat *st);
st 158 examples/libsmbclient/smbwrapper/smbw.h int smbw_fstat(int fd, SMBW_stat *st);
st 159 examples/libsmbclient/smbwrapper/smbw.h int smbw_stat(const char *fname, SMBW_stat *st);
st 45 examples/libsmbclient/smbwrapper/smbw_stat.c int smbw_fstat(int fd_smbw, struct SMBW_stat *st)
st 54 examples/libsmbclient/smbwrapper/smbw_stat.c copy_stat(st, &statbuf);
st 63 examples/libsmbclient/smbwrapper/smbw_stat.c int smbw_stat(const char *fname, struct SMBW_stat *st)
st 97 examples/libsmbclient/smbwrapper/smbw_stat.c copy_stat(st, &statbuf);
st 995 examples/libsmbclient/smbwrapper/wrapper.c int __fxstat(int vers, int fd, struct stat *st)
st 1002 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1006 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.__fxstat)(vers, fd, st);
st 1009 examples/libsmbclient/smbwrapper/wrapper.c int __xstat(int vers, const char *name, struct stat *st)
st 1016 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1020 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.__xstat)(vers, (char *) name, st);
st 1023 examples/libsmbclient/smbwrapper/wrapper.c int __lxstat(int vers, const char *name, struct stat *st)
st 1030 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1034 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.__lxstat)(vers, (char *) name, st);
st 1037 examples/libsmbclient/smbwrapper/wrapper.c int stat(const char *name, struct stat *st)
st 1044 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1048 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.stat)((char *) name, st);
st 1051 examples/libsmbclient/smbwrapper/wrapper.c int lstat(const char *name, struct stat *st)
st 1058 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1062 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.lstat)((char *) name, st);
st 1065 examples/libsmbclient/smbwrapper/wrapper.c int fstat(int fd, struct stat *st)
st 1072 examples/libsmbclient/smbwrapper/wrapper.c stat_convert(&statbuf, st);
st 1076 examples/libsmbclient/smbwrapper/wrapper.c return (* smbw_libc.fstat)(fd, st);
st 114 examples/libsmbclient/smbwrapper/wrapper.h int (* __xstat)(int vers, char *name, struct stat *st);
st 117 examples/libsmbclient/smbwrapper/wrapper.h int (* __fxstat)(int vers, int fd, struct stat *st);
st 118 examples/libsmbclient/smbwrapper/wrapper.h int (* __lxstat)(int vers, char *name, struct stat *st);
st 119 examples/libsmbclient/smbwrapper/wrapper.h int (* stat)(char *name, struct stat *st);
st 120 examples/libsmbclient/smbwrapper/wrapper.h int (* lstat)(char *name, struct stat *st);
st 121 examples/libsmbclient/smbwrapper/wrapper.h int (* fstat)(int fd, struct stat *st);
st 37 examples/libsmbclient/testacl.c struct stat st;
st 209 examples/libsmbclient/testacl.c if (smbc_stat(path, &st) < 0)
st 25 examples/libsmbclient/testacl3.c struct stat st;
st 16 examples/libsmbclient/testchmod.c struct stat st;
st 41 examples/libsmbclient/testchmod.c if (smbc_stat(pSmbPath, &st) < 0)
st 47 examples/libsmbclient/testchmod.c printf("\nBefore chmod: mode = %04o\n", st.st_mode);
st 55 examples/libsmbclient/testchmod.c if (smbc_stat(pSmbPath, &st) < 0)
st 61 examples/libsmbclient/testchmod.c printf("After chmod: mode = %04o\n", st.st_mode);
st 24 examples/libsmbclient/testread.c struct stat st;
st 18 examples/libsmbclient/teststat.c struct stat st;
st 45 examples/libsmbclient/teststat.c if (smbc_stat(pSmbPath, &st) < 0)
st 52 examples/libsmbclient/teststat.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 53 examples/libsmbclient/teststat.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 54 examples/libsmbclient/teststat.c st.st_atime, ctime_r(&st.st_atime, atime));
st 58 examples/libsmbclient/teststat.c if (stat(pLocalPath, &st) < 0)
st 65 examples/libsmbclient/teststat.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 66 examples/libsmbclient/teststat.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 67 examples/libsmbclient/teststat.c st.st_atime, ctime_r(&st.st_atime, atime));
st 38 examples/libsmbclient/teststat2.c struct stat st;
st 45 examples/libsmbclient/teststat2.c if (smbc_stat(pUrl, &st) < 0)
st 52 examples/libsmbclient/teststat2.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 53 examples/libsmbclient/teststat2.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 54 examples/libsmbclient/teststat2.c st.st_atime, ctime_r(&st.st_atime, atime));
st 58 examples/libsmbclient/teststat2.c if (stat(pLocalPath, &st) < 0)
st 65 examples/libsmbclient/teststat2.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 66 examples/libsmbclient/teststat2.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 67 examples/libsmbclient/teststat2.c st.st_atime, ctime_r(&st.st_atime, atime));
st 19 examples/libsmbclient/testtruncate.c struct stat st;
st 49 examples/libsmbclient/testtruncate.c if (smbc_stat(argv[1], &st) < 0)
st 55 examples/libsmbclient/testtruncate.c printf("Original size: %lu\n", (unsigned long) st.st_size);
st 73 examples/libsmbclient/testtruncate.c if (smbc_stat(argv[1], &st) < 0)
st 79 examples/libsmbclient/testtruncate.c printf("New size: %lu\n", (unsigned long) st.st_size);
st 20 examples/libsmbclient/testutime.c struct stat st;
st 46 examples/libsmbclient/testutime.c if (smbc_stat(pSmbPath, &st) < 0)
st 53 examples/libsmbclient/testutime.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 54 examples/libsmbclient/testutime.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 55 examples/libsmbclient/testutime.c st.st_atime, ctime_r(&st.st_atime, atime));
st 65 examples/libsmbclient/testutime.c if (smbc_stat(pSmbPath, &st) < 0)
st 72 examples/libsmbclient/testutime.c st.st_mtime, ctime_r(&st.st_mtime, mtime),
st 73 examples/libsmbclient/testutime.c st.st_ctime, ctime_r(&st.st_ctime, ctime),
st 74 examples/libsmbclient/testutime.c st.st_atime, ctime_r(&st.st_atime, atime));
st 24 examples/libsmbclient/testwrite.c struct stat st;
st 139 lib/nss_wrapper/nss_wrapper.c struct stat st;
st 224 lib/nss_wrapper/nss_wrapper.c if (nwrap->st.st_size == 0) {
st 230 lib/nss_wrapper/nss_wrapper.c if (nwrap->st.st_size > INT32_MAX) {
st 232 lib/nss_wrapper/nss_wrapper.c __location__, (unsigned)nwrap->st.st_size));
st 242 lib/nss_wrapper/nss_wrapper.c buf = (uint8_t *)malloc(nwrap->st.st_size + 1);
st 248 lib/nss_wrapper/nss_wrapper.c ret = read(nwrap->fd, buf, nwrap->st.st_size);
st 249 lib/nss_wrapper/nss_wrapper.c if (ret != nwrap->st.st_size) {
st 251 lib/nss_wrapper/nss_wrapper.c __location__, (unsigned)nwrap->st.st_size, ret));
st 255 lib/nss_wrapper/nss_wrapper.c buf[nwrap->st.st_size] = '\0';
st 309 lib/nss_wrapper/nss_wrapper.c struct stat st;
st 327 lib/nss_wrapper/nss_wrapper.c ret = fstat(nwrap->fd, &st);
st 336 lib/nss_wrapper/nss_wrapper.c if (retried == false && st.st_nlink == 0) {
st 341 lib/nss_wrapper/nss_wrapper.c memset(&nwrap->st, 0, sizeof(nwrap->st));
st 347 lib/nss_wrapper/nss_wrapper.c if (st.st_mtime == nwrap->st.st_mtime) {
st 349 lib/nss_wrapper/nss_wrapper.c __location__, (unsigned)st.st_mtime));
st 353 lib/nss_wrapper/nss_wrapper.c __location__, (unsigned)st.st_mtime,
st 354 lib/nss_wrapper/nss_wrapper.c (unsigned)nwrap->st.st_mtime));
st 356 lib/nss_wrapper/nss_wrapper.c nwrap->st = st;
st 56 lib/replace/test/testsuite.c struct stat st;
st 71 lib/replace/test/testsuite.c if (fstat(fd, &st) != 0) {
st 75 lib/replace/test/testsuite.c if (st.st_size != size) {
st 77 lib/replace/test/testsuite.c (int)st.st_size, size);
st 452 lib/socket_wrapper/socket_wrapper.c struct stat st;
st 554 lib/socket_wrapper/socket_wrapper.c if (stat(un->sun_path, &st) == 0) continue;
st 1566 lib/socket_wrapper/socket_wrapper.c struct stat st;
st 1646 lib/socket_wrapper/socket_wrapper.c if (stat(un_addr.sun_path, &st) == 0) continue;
st 1902 lib/socket_wrapper/socket_wrapper.c struct stat st;
st 1912 lib/socket_wrapper/socket_wrapper.c if (stat(un_addr.sun_path, &st) != 0) continue;
st 38 lib/tdb/common/io.c struct stat st;
st 51 lib/tdb/common/io.c if (fstat(tdb->fd, &st) == -1) {
st 55 lib/tdb/common/io.c if (st.st_size < (size_t)len) {
st 60 lib/tdb/common/io.c (int)len, (int)st.st_size));
st 68 lib/tdb/common/io.c tdb->map_size = st.st_size;
st 151 lib/tdb/common/open.c struct stat st;
st 265 lib/tdb/common/open.c if (fstat(tdb->fd, &st) == -1)
st 274 lib/tdb/common/open.c if (tdb_already_open(st.st_dev, st.st_ino)) {
st 277 lib/tdb/common/open.c name, (int)st.st_dev, (int)st.st_ino));
st 287 lib/tdb/common/open.c tdb->map_size = st.st_size;
st 288 lib/tdb/common/open.c tdb->device = st.st_dev;
st 289 lib/tdb/common/open.c tdb->inode = st.st_ino;
st 412 lib/tdb/common/open.c struct stat st;
st 442 lib/tdb/common/open.c if (fstat(tdb->fd, &st) != 0) {
st 446 lib/tdb/common/open.c if (st.st_ino != tdb->inode || st.st_dev != tdb->device) {
st 97 lib/tdb/tools/tdbbackup.c struct stat st;
st 103 lib/tdb/tools/tdbbackup.c if (stat(old_name, &st) != 0) {
st 122 lib/tdb/tools/tdbbackup.c st.st_mode & 0777);
st 57 lib/util/util.c struct stat st;
st 59 lib/util/util.c if (stat(fname, &st) != 0) {
st 63 lib/util/util.c return ((S_ISREG(st.st_mode)) || (S_ISFIFO(st.st_mode)));
st 72 lib/util/util.c struct stat st;
st 74 lib/util/util.c if (stat(fname,&st) != 0)
st 77 lib/util/util.c return(st.st_mtime);
st 86 lib/util/util.c struct stat st;
st 89 lib/util/util.c if (stat(dname,&st) != 0) {
st 93 lib/util/util.c ret = S_ISDIR(st.st_mode);
st 109 lib/util/util.c struct stat st;
st 112 lib/util/util.c if (lstat(dname, &st) == -1) {
st 130 lib/util/util.c if (!S_ISDIR(st.st_mode)) {
st 136 lib/util/util.c if ((st.st_uid != uid) ||
st 137 lib/util/util.c ((st.st_mode & 0777) != dir_perms)) {
st 210 lib/zlib/contrib/untgz/untgz.c SYSTEMTIME st;
st 220 lib/zlib/contrib/untgz/untgz.c st.wYear = (WORD)loctm->tm_year + 1900;
st 221 lib/zlib/contrib/untgz/untgz.c st.wMonth = (WORD)loctm->tm_mon + 1;
st 222 lib/zlib/contrib/untgz/untgz.c st.wDayOfWeek = (WORD)loctm->tm_wday;
st 223 lib/zlib/contrib/untgz/untgz.c st.wDay = (WORD)loctm->tm_mday;
st 224 lib/zlib/contrib/untgz/untgz.c st.wHour = (WORD)loctm->tm_hour;
st 225 lib/zlib/contrib/untgz/untgz.c st.wMinute = (WORD)loctm->tm_min;
st 226 lib/zlib/contrib/untgz/untgz.c st.wSecond = (WORD)loctm->tm_sec;
st 227 lib/zlib/contrib/untgz/untgz.c st.wMilliseconds = 0;
st 228 lib/zlib/contrib/untgz/untgz.c if (!SystemTimeToFileTime(&st, &locft) ||
st 154 librpc/tools/ndrdump.c void *st;
st 261 librpc/tools/ndrdump.c st = talloc_zero_size(mem_ctx, f->struct_size);
st 262 librpc/tools/ndrdump.c if (!st) {
st 291 librpc/tools/ndrdump.c ndr_err = f->ndr_pull(ndr_pull, NDR_IN, st);
st 302 librpc/tools/ndrdump.c memcpy(v_st, st, f->struct_size);
st 324 librpc/tools/ndrdump.c ndr_err = f->ndr_pull(ndr_pull, flags, st);
st 344 librpc/tools/ndrdump.c f->ndr_print(ndr_print, function, flags, st);
st 362 librpc/tools/ndrdump.c ndr_err = f->ndr_push(ndr_v_push, flags, st);
st 170 nsswitch/wb_common.c struct stat st;
st 178 nsswitch/wb_common.c if (lstat(dir, &st) == -1) {
st 183 nsswitch/wb_common.c if (!S_ISDIR(st.st_mode) ||
st 184 nsswitch/wb_common.c (st.st_uid != 0 && st.st_uid != geteuid())) {
st 203 nsswitch/wb_common.c if (lstat(path, &st) == -1) {
st 212 nsswitch/wb_common.c if (!S_ISSOCK(st.st_mode) ||
st 213 nsswitch/wb_common.c (st.st_uid != 0 && st.st_uid != geteuid())) {
st 1763 source3/client/client.c SMB_STRUCT_STAT st;
st 1766 source3/client/client.c if (!file_exist_stat(lname,&st) &&
st 3571 source3/client/client.c SMB_STRUCT_STAT st;
st 3583 source3/client/client.c if (!file_exist_stat(local_name, &st)) {
st 319 source3/include/libsmb_internal.h struct stat *st);
st 504 source3/include/libsmb_internal.h struct stat *st);
st 509 source3/include/libsmb_internal.h struct stat *st);
st 515 source3/include/libsmb_internal.h struct statvfs *st);
st 521 source3/include/libsmb_internal.h struct statvfs *st);
st 863 source3/include/libsmbclient.h struct stat *st);
st 869 source3/include/libsmbclient.h struct stat *st);
st 875 source3/include/libsmbclient.h struct statvfs *st);
st 881 source3/include/libsmbclient.h struct statvfs *st);
st 950 source3/include/libsmbclient.h struct stat *st);
st 1599 source3/include/libsmbclient.h int smbc_stat(const char *url, struct stat *st);
st 1620 source3/include/libsmbclient.h int smbc_fstat(int fd, struct stat *st);
st 1643 source3/include/libsmbclient.h struct statvfs *st);
st 1666 source3/include/libsmbclient.h struct statvfs *st);
st 1023 source3/include/proto.h struct timespec get_create_timespec(const SMB_STRUCT_STAT *st,bool fake_dirs);
st 1112 source3/include/proto.h bool directory_exist_stat(char *dname,SMB_STRUCT_STAT *st);
st 6320 source3/include/proto.h uint32 dosmode, SMB_STRUCT_STAT *st,
st 7122 source3/include/proto.h bool vfs_directory_exist(connection_struct *conn, const char *dname, SMB_STRUCT_STAT *st);
st 91 source3/include/smb_macros.h #define VALID_STAT(st) ((st).st_nlink != 0)
st 92 source3/include/smb_macros.h #define VALID_STAT_OF_DIR(st) (VALID_STAT(st) && S_ISDIR((st).st_mode))
st 93 source3/include/smb_macros.h #define SET_STAT_INVALID(st) ((st).st_nlink = 0)
st 100 source3/intl/lang_tdb.c struct stat st;
st 135 source3/intl/lang_tdb.c if (stat(msg_path, &st) != 0) {
st 164 source3/intl/lang_tdb.c if (loadtime == -1 || loadtime < st.st_mtime) {
st 727 source3/lib/debug.c SMB_STRUCT_STAT st;
st 742 source3/lib/debug.c if( sys_fstat( x_fileno( dbf ), &st ) == 0 && st.st_size > maxlog ) {
st 106 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c struct stat st;
st 112 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (stat(path, &st) == 0) {
st 114 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (st.st_dev == w->device && st.st_ino == w->inode) {
st 134 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (fstat(tdb_fd(w->tdb), &st) != 0) {
st 140 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->device = st.st_dev;
st 141 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->inode = st.st_ino;
st 249 source3/lib/tdb_validate.c struct stat st;
st 254 source3/lib/tdb_validate.c if (stat(src_path, &st) != 0) {
st 277 source3/lib/tdb_validate.c st.st_mode & 0777);
st 432 source3/lib/tdb_validate.c struct stat st;
st 461 source3/lib/tdb_validate.c ret =stat(tdb_path_backup, &st);
st 346 source3/lib/time.c static time_t calc_create_time(const SMB_STRUCT_STAT *st)
st 350 source3/lib/time.c ret = MIN(st->st_ctime, st->st_mtime);
st 351 source3/lib/time.c ret1 = MIN(ret, st->st_atime);
st 537 source3/lib/util.c SMB_STRUCT_STAT st;
st 539 source3/lib/util.c sbuf = &st;
st 553 source3/lib/util.c SMB_STRUCT_STAT st;
st 554 source3/lib/util.c if (sys_stat(fname,&st) != 0)
st 557 source3/lib/util.c return S_ISSOCK(st.st_mode);
st 564 source3/lib/util.c bool directory_exist_stat(char *dname,SMB_STRUCT_STAT *st)
st 569 source3/lib/util.c if (!st)
st 570 source3/lib/util.c st = &st2;
st 572 source3/lib/util.c if (sys_stat(dname,st) != 0)
st 575 source3/lib/util.c ret = S_ISDIR(st->st_mode);
st 1731 source3/lib/util_sock.c struct stat st;
st 1740 source3/lib/util_sock.c if (lstat(socket_dir, &st) == -1) {
st 1756 source3/lib/util_sock.c if (!S_ISDIR(st.st_mode)) {
st 1761 source3/lib/util_sock.c if ((st.st_uid != sec_initial_uid()) ||
st 1762 source3/lib/util_sock.c ((st.st_mode & 0777) != dir_perms)) {
st 170 source3/lib/wbclient.c struct stat st;
st 186 source3/lib/wbclient.c if (lstat(dir, &st) == -1) {
st 191 source3/lib/wbclient.c if (!S_ISDIR(st.st_mode) ||
st 192 source3/lib/wbclient.c (st.st_uid != 0 && st.st_uid != geteuid())) {
st 213 source3/lib/wbclient.c if ((lstat(sunaddr.sun_path, &st) == -1)
st 214 source3/lib/wbclient.c || !S_ISSOCK(st.st_mode)
st 215 source3/lib/wbclient.c || (st.st_uid != 0 && st.st_uid != geteuid())) {
st 319 source3/libsmb/libsmb_compat.c struct stat *st)
st 321 source3/libsmb/libsmb_compat.c return smbc_getFunctionStat(statcont)(statcont, url, st);
st 326 source3/libsmb/libsmb_compat.c struct stat *st)
st 329 source3/libsmb/libsmb_compat.c return smbc_getFunctionFstat(statcont)(statcont, file, st);
st 334 source3/libsmb/libsmb_compat.c struct statvfs *st)
st 336 source3/libsmb/libsmb_compat.c return smbc_getFunctionStatVFS(statcont)(statcont, path, st);
st 341 source3/libsmb/libsmb_compat.c struct statvfs *st)
st 344 source3/libsmb/libsmb_compat.c return smbc_getFunctionFstatVFS(statcont)(statcont, file, st);
st 1493 source3/libsmb/libsmb_dir.c struct stat *st)
st 57 source3/libsmb/libsmb_stat.c struct stat *st,
st 64 source3/libsmb/libsmb_stat.c st->st_mode = 0;
st 67 source3/libsmb/libsmb_stat.c st->st_mode = SMBC_DIR_MODE;
st 69 source3/libsmb/libsmb_stat.c st->st_mode = SMBC_FILE_MODE;
st 72 source3/libsmb/libsmb_stat.c if (IS_DOS_ARCHIVE(mode)) st->st_mode |= S_IXUSR;
st 73 source3/libsmb/libsmb_stat.c if (IS_DOS_SYSTEM(mode)) st->st_mode |= S_IXGRP;
st 74 source3/libsmb/libsmb_stat.c if (IS_DOS_HIDDEN(mode)) st->st_mode |= S_IXOTH;
st 75 source3/libsmb/libsmb_stat.c if (!IS_DOS_READONLY(mode)) st->st_mode |= S_IWUSR;
st 77 source3/libsmb/libsmb_stat.c st->st_size = size;
st 79 source3/libsmb/libsmb_stat.c st->st_blksize = 512;
st 82 source3/libsmb/libsmb_stat.c st->st_blocks = (size+511)/512;
st 85 source3/libsmb/libsmb_stat.c st->st_rdev = 0;
st 87 source3/libsmb/libsmb_stat.c st->st_uid = getuid();
st 88 source3/libsmb/libsmb_stat.c st->st_gid = getgid();
st 91 source3/libsmb/libsmb_stat.c st->st_nlink = 2;
st 93 source3/libsmb/libsmb_stat.c st->st_nlink = 1;
st 96 source3/libsmb/libsmb_stat.c if (st->st_ino == 0) {
st 97 source3/libsmb/libsmb_stat.c st->st_ino = generate_inode(context, fname);
st 112 source3/libsmb/libsmb_stat.c struct stat *st)
st 187 source3/libsmb/libsmb_stat.c st->st_ino = ino;
st 189 source3/libsmb/libsmb_stat.c setup_stat(context, st, (char *) fname, size, mode);
st 191 source3/libsmb/libsmb_stat.c set_atimespec(st, access_time_ts);
st 192 source3/libsmb/libsmb_stat.c set_ctimespec(st, change_time_ts);
st 193 source3/libsmb/libsmb_stat.c set_mtimespec(st, write_time_ts);
st 194 source3/libsmb/libsmb_stat.c st->st_dev = srv->dev;
st 208 source3/libsmb/libsmb_stat.c struct stat *st)
st 240 source3/libsmb/libsmb_stat.c return smbc_getFunctionFstatdir(context)(context, file, st);
st 292 source3/libsmb/libsmb_stat.c st->st_ino = ino;
st 294 source3/libsmb/libsmb_stat.c setup_stat(context, st, file->fname, size, mode);
st 296 source3/libsmb/libsmb_stat.c set_atimespec(st, access_time_ts);
st 297 source3/libsmb/libsmb_stat.c set_ctimespec(st, change_time_ts);
st 298 source3/libsmb/libsmb_stat.c set_mtimespec(st, write_time_ts);
st 299 source3/libsmb/libsmb_stat.c st->st_dev = file->srv->dev;
st 313 source3/libsmb/libsmb_stat.c struct statvfs *st)
st 346 source3/libsmb/libsmb_stat.c ret = SMBC_fstatvfs_ctx(context, pFile, st);
st 366 source3/libsmb/libsmb_stat.c struct statvfs *st)
st 374 source3/libsmb/libsmb_stat.c memset(st, 0, sizeof(*st));
st 402 source3/libsmb/libsmb_stat.c st->f_bsize =
st 405 source3/libsmb/libsmb_stat.c st->f_frsize =
st 408 source3/libsmb/libsmb_stat.c st->f_blocks =
st 410 source3/libsmb/libsmb_stat.c st->f_bfree =
st 437 source3/libsmb/libsmb_stat.c st->f_bsize =
st 439 source3/libsmb/libsmb_stat.c st->f_blocks =
st 441 source3/libsmb/libsmb_stat.c st->f_bfree =
st 443 source3/libsmb/libsmb_stat.c st->f_bavail =
st 445 source3/libsmb/libsmb_stat.c st->f_files =
st 447 source3/libsmb/libsmb_stat.c st->f_ffree =
st 450 source3/libsmb/libsmb_stat.c st->f_fsid =
st 478 source3/libsmb/libsmb_stat.c st->f_flag = flags;
st 480 source3/libsmb/libsmb_stat.c st->f_flags = flags;
st 219 source3/modules/vfs_commit.c SMB_STRUCT_STAT st;
st 220 source3/modules/vfs_commit.c if (SMB_VFS_FSTAT(fsp, &st) == -1) {
st 223 source3/modules/vfs_commit.c c->eof = st.st_size;
st 97 source3/modules/vfs_default.c SMB_STRUCT_STAT st;
st 114 source3/modules/vfs_default.c ret = SMB_VFS_STAT(conn, conn->connectpath, &st);
st 119 source3/modules/vfs_default.c mtime_ts = get_mtimespec(&st);
st 120 source3/modules/vfs_default.c ctime_ts = get_ctimespec(&st);
st 121 source3/modules/vfs_default.c atime_ts = get_atimespec(&st);
st 818 source3/modules/vfs_default.c SMB_STRUCT_STAT st;
st 826 source3/modules/vfs_default.c if (SMB_VFS_FSTAT(fsp, &st) == -1)
st 829 source3/modules/vfs_default.c space_to_write = len - st.st_size;
st 832 source3/modules/vfs_default.c if (S_ISFIFO(st.st_mode))
st 836 source3/modules/vfs_default.c if (st.st_size == len)
st 840 source3/modules/vfs_default.c if (st.st_size > len)
st 858 source3/modules/vfs_default.c if (SMB_VFS_LSEEK(fsp, st.st_size, SEEK_SET) != st.st_size)
st 861 source3/modules/vfs_default.c space_to_write = len - st.st_size;
st 885 source3/modules/vfs_default.c SMB_STRUCT_STAT st;
st 919 source3/modules/vfs_default.c if (SMB_VFS_FSTAT(fsp, &st) == -1) {
st 924 source3/modules/vfs_default.c if (S_ISFIFO(st.st_mode)) {
st 930 source3/modules/vfs_default.c if (st.st_size == len) {
st 935 source3/modules/vfs_default.c if (st.st_size > len) {
st 56 source3/modules/vfs_fileid.c struct stat st;
st 60 source3/modules/vfs_fileid.c if (stat(m->mnt_dir, &st) != 0) continue;
st 76 source3/modules/vfs_fileid.c cur->device = st.st_dev;
st 841 source3/modules/vfs_gpfs.c SMB_STRUCT_STAT st;
st 844 source3/modules/vfs_gpfs.c if (SMB_VFS_NEXT_STAT(handle, path, &st) != 0) {
st 849 source3/modules/vfs_gpfs.c if ((st.st_mode & ~S_IFMT) == mode) {
st 861 source3/modules/vfs_gpfs.c SMB_STRUCT_STAT st;
st 864 source3/modules/vfs_gpfs.c if (SMB_VFS_NEXT_FSTAT(handle, fsp, &st) != 0) {
st 869 source3/modules/vfs_gpfs.c if ((st.st_mode & ~S_IFMT) == mode) {
st 215 source3/modules/vfs_recycle.c SMB_STRUCT_STAT st;
st 217 source3/modules/vfs_recycle.c if (SMB_VFS_NEXT_STAT(handle, dname, &st) == 0) {
st 218 source3/modules/vfs_recycle.c if (S_ISDIR(st.st_mode)) {
st 228 source3/modules/vfs_recycle.c SMB_STRUCT_STAT st;
st 230 source3/modules/vfs_recycle.c if (SMB_VFS_NEXT_STAT(handle, fname, &st) == 0) {
st 231 source3/modules/vfs_recycle.c if (S_ISREG(st.st_mode)) {
st 247 source3/modules/vfs_recycle.c SMB_STRUCT_STAT st;
st 249 source3/modules/vfs_recycle.c if (SMB_VFS_NEXT_STAT(handle, fname, &st) != 0) {
st 254 source3/modules/vfs_recycle.c return(st.st_size);
st 393 source3/modules/vfs_recycle.c SMB_STRUCT_STAT st;
st 399 source3/modules/vfs_recycle.c if (SMB_VFS_NEXT_STAT(handle, fname, &st) != 0) {
st 405 source3/modules/vfs_recycle.c ft.mtime = touch_mtime ? ft.atime : get_mtimespec(&st); /* mtime */
st 163 source3/modules/vfs_shadow_copy2.c struct stat st;
st 166 source3/modules/vfs_shadow_copy2.c if (stat(path, &st) != 0) {
st 171 source3/modules/vfs_shadow_copy2.c dev = st.st_dev;
st 175 source3/modules/vfs_shadow_copy2.c if (stat(path, &st) != 0) {
st 179 source3/modules/vfs_shadow_copy2.c if (st.st_dev != dev) {
st 271 source3/modules/vfs_smb_traffic_analyzer.c enum sock_type st = smb_traffic_analyzer_connMode(handle);
st 273 source3/modules/vfs_smb_traffic_analyzer.c const char *name = (st == UNIX_DOMAIN_SOCKET) ? LOCAL_PATHNAME :
st 277 source3/modules/vfs_smb_traffic_analyzer.c uint16_t port = (st == UNIX_DOMAIN_SOCKET) ? 0 :
st 309 source3/modules/vfs_smb_traffic_analyzer.c if (st == UNIX_DOMAIN_SOCKET) {
st 1286 source3/printing/nt_printing.c SMB_STRUCT_STAT st;
st 1291 source3/printing/nt_printing.c SET_STAT_INVALID(st);
st 1337 source3/printing/nt_printing.c if (SMB_VFS_FSTAT(fsp, &st) == -1) {
st 1340 source3/printing/nt_printing.c old_create_time = st.st_mtime;
st 1389 source3/printing/nt_printing.c if (SMB_VFS_FSTAT(fsp, &st) == -1) {
st 1392 source3/printing/nt_printing.c new_create_time = st.st_mtime;
st 1443 source3/printing/nt_printing.c SMB_STRUCT_STAT st;
st 1450 source3/printing/nt_printing.c SET_STAT_INVALID(st);
st 1497 source3/printing/nt_printing.c driverpath = driver_unix_convert(conn,driverpath,&st);
st 1503 source3/printing/nt_printing.c if (!vfs_file_exist(conn, driverpath, &st)) {
st 1525 source3/printing/nt_printing.c &st); /* psbuf */
st 1801 source3/printing/nt_printing.c SMB_STRUCT_STAT st;
st 1814 source3/printing/nt_printing.c old_name = driver_unix_convert(conn, old_name, &st);
st 1845 source3/printing/nt_printing.c SMB_STRUCT_STAT st;
st 1899 source3/printing/nt_printing.c new_dir = driver_unix_convert(conn,new_dir,&st);
st 5122 source3/printing/nt_printing.c SMB_STRUCT_STAT st;
st 5160 source3/printing/nt_printing.c driver_unix_convert(conn,file,&st);
st 5169 source3/printing/nt_printing.c driver_unix_convert(conn,file,&st);
st 5178 source3/printing/nt_printing.c driver_unix_convert(conn,file,&st);
st 5187 source3/printing/nt_printing.c driver_unix_convert(conn,file,&st);
st 5203 source3/printing/nt_printing.c driver_unix_convert(conn,file,&st);
st 676 source3/rpc_server/srv_spoolss_nt.c struct spoolss_Time st;
st 680 source3/rpc_server/srv_spoolss_nt.c if (!init_systemtime(&st, t)) {
st 694 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 0, st.year);
st 695 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 2, st.month);
st 696 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 4, st.day_of_week);
st 697 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 6, st.day);
st 698 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 8, st.hour);
st 699 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 10, st.minute);
st 700 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 12, st.second);
st 701 source3/rpc_server/srv_spoolss_nt.c SSVAL(p, 14, st.millisecond);
st 2054 source3/rpc_server/srv_srvsvc_nt.c SMB_STRUCT_STAT st;
st 2063 source3/rpc_server/srv_srvsvc_nt.c ZERO_STRUCT(st);
st 2169 source3/rpc_server/srv_srvsvc_nt.c SMB_STRUCT_STAT st;
st 2178 source3/rpc_server/srv_srvsvc_nt.c ZERO_STRUCT(st);
st 385 source3/rpc_server/srv_svcctl_nt.c struct ENUM_SERVICE_STATUSW *st;
st 392 source3/rpc_server/srv_svcctl_nt.c if ( !(st = TALLOC_ARRAY( ctx, struct ENUM_SERVICE_STATUSW, num_services )) ) {
st 398 source3/rpc_server/srv_svcctl_nt.c st[i].service_name = talloc_strdup(st, svcctl_ops[i].name );
st 401 source3/rpc_server/srv_svcctl_nt.c st[i].display_name = talloc_strdup(st, display_name ? display_name : "");
st 403 source3/rpc_server/srv_svcctl_nt.c svcctl_ops[i].ops->service_status( svcctl_ops[i].name, &st[i].status );
st 406 source3/rpc_server/srv_svcctl_nt.c *status = st;
st 34 source3/smbd/close.c SMB_STRUCT_STAT st;
st 100 source3/smbd/close.c if (sys_fstat(tmp_fd,&st) == -1) {
st 106 source3/smbd/close.c transfer_file(tmp_fd,outfd,(SMB_OFF_T)st.st_size);
st 1326 source3/smbd/dir.c SMB_STRUCT_STAT st;
st 1334 source3/smbd/dir.c while ((dname = ReadDirName(dir_hnd, &dirpos, &st))) {
st 1342 source3/smbd/dir.c if (!is_visible_file(conn, dirname, dname, &st, True)) {
st 540 source3/smbd/dosmode.c uint32 dosmode, SMB_STRUCT_STAT *st,
st 556 source3/smbd/dosmode.c if (st == NULL) {
st 558 source3/smbd/dosmode.c st = &st1;
st 561 source3/smbd/dosmode.c if (!VALID_STAT(*st)) {
st 562 source3/smbd/dosmode.c if (SMB_VFS_STAT(conn,fname,st))
st 566 source3/smbd/dosmode.c unixmode = st->st_mode;
st 568 source3/smbd/dosmode.c get_acl_group_bits(conn, fname, &st->st_mode);
st 570 source3/smbd/dosmode.c if (S_ISDIR(st->st_mode))
st 575 source3/smbd/dosmode.c old_mode = dos_mode(conn,fname,st);
st 593 source3/smbd/dosmode.c st->st_mode = unixmode;
st 601 source3/smbd/dosmode.c if (set_stat_dos_flags(conn, fname, st, dosmode,
st 608 source3/smbd/dosmode.c st->st_mode = unixmode;
st 615 source3/smbd/dosmode.c if (set_ea_dos_attribute(conn, fname, st, dosmode)) {
st 620 source3/smbd/dosmode.c st->st_mode = unixmode;
st 642 source3/smbd/dosmode.c unixmode |= (st->st_mode & mask);
st 645 source3/smbd/dosmode.c if ((tmp = st->st_mode & (S_IRUSR|S_IRGRP|S_IROTH))) {
st 653 source3/smbd/dosmode.c unixmode |= (st->st_mode & (S_IWUSR|S_IWGRP|S_IWOTH));
st 662 source3/smbd/dosmode.c st->st_mode = unixmode;
st 687 source3/smbd/dosmode.c if (!NT_STATUS_IS_OK(open_file_fchmod(NULL, conn, fname, st,
st 699 source3/smbd/dosmode.c st->st_mode = unixmode;
st 277 source3/smbd/fileio.c SMB_STRUCT_STAT st;
st 280 source3/smbd/fileio.c if (SMB_VFS_FSTAT(fsp, &st) == 0) {
st 283 source3/smbd/fileio.c dosmode = dos_mode(fsp->conn,fsp->fsp_name,&st);
st 288 source3/smbd/fileio.c dosmode | aARCH,&st,
st 299 source3/smbd/fileio.c setup_write_cache(fsp, st.st_size);
st 122 source3/smbd/filename.c SMB_STRUCT_STAT st;
st 176 source3/smbd/filename.c if (SMB_VFS_STAT(conn,name,&st) == 0) {
st 177 source3/smbd/filename.c *pst = st;
st 255 source3/smbd/filename.c stat_cache_lookup(conn, &name, &dirpath, &start, &st)) {
st 256 source3/smbd/filename.c *pst = st;
st 276 source3/smbd/filename.c ret = SMB_VFS_LSTAT(conn,name,&st);
st 278 source3/smbd/filename.c ret = SMB_VFS_STAT(conn,name,&st);
st 298 source3/smbd/filename.c *pst = st;
st 394 source3/smbd/filename.c ret = SMB_VFS_LSTAT(conn,name, &st);
st 396 source3/smbd/filename.c ret = SMB_VFS_STAT(conn,name, &st);
st 404 source3/smbd/filename.c if (end && !(st.st_mode & S_IFDIR)) {
st 430 source3/smbd/filename.c *pst = st;
st 437 source3/smbd/filename.c SET_STAT_INVALID(st);
st 623 source3/smbd/filename.c ret = SMB_VFS_LSTAT(conn,name, &st);
st 625 source3/smbd/filename.c ret = SMB_VFS_STAT(conn,name, &st);
st 629 source3/smbd/filename.c *pst = st;
st 631 source3/smbd/filename.c SET_STAT_INVALID(st);
st 644 source3/smbd/filename.c if (VALID_STAT(st)) {
st 646 source3/smbd/filename.c get_file_infos(vfs_file_id_from_sbuf(conn, &st),
st 936 source3/smbd/filename.c SMB_STRUCT_STAT st;
st 947 source3/smbd/filename.c if (SMB_VFS_STAT(conn, result, &st) == 0) {
st 948 source3/smbd/filename.c *pst = st;
st 414 source3/smbd/msdfs.c SMB_STRUCT_STAT st;
st 437 source3/smbd/msdfs.c sbufp = &st;
st 3389 source3/smbd/posix_acls.c SMB_STRUCT_STAT st;
st 3443 source3/smbd/posix_acls.c ret = SMB_VFS_LSTAT(conn,fname,&st);
st 3445 source3/smbd/posix_acls.c ret = SMB_VFS_STAT(conn,fname,&st);
st 3451 source3/smbd/posix_acls.c if (!NT_STATUS_IS_OK(open_file_fchmod(NULL, conn, fname, &st, &fsp))) {
st 1183 source3/smbd/quotas.c SMB_STRUCT_STAT st;
st 1186 source3/smbd/quotas.c if (sys_stat(path,&st) < 0)
st 1188 source3/smbd/quotas.c devno = st.st_dev;
st 1195 source3/smbd/quotas.c if (sys_stat(mnts[i].f_mntonname,&st) < 0)
st 1197 source3/smbd/quotas.c if (st.st_dev == devno)
st 2424 source3/smbd/reply.c SMB_STRUCT_STAT sbuf, st;
st 2520 source3/smbd/reply.c while ((dname = ReadDirName(dir_hnd, &offset, &st))) {
st 2523 source3/smbd/reply.c if (!is_visible_file(conn, directory, dname, &st,
st 2906 source3/smbd/reply.c SMB_STRUCT_STAT st;
st 3016 source3/smbd/reply.c if (SMB_VFS_FSTAT(fsp, &st) == 0) {
st 3017 source3/smbd/reply.c size = st.st_size;
st 5161 source3/smbd/reply.c SMB_STRUCT_STAT st;
st 5168 source3/smbd/reply.c while((dname = ReadDirName(dir_hnd, &offset, &st))) {
st 5175 source3/smbd/reply.c if (!is_visible_file(conn, directory, dname, &st, False)) {
st 5190 source3/smbd/reply.c if(SMB_VFS_LSTAT(conn,fullname, &st) != 0) {
st 5195 source3/smbd/reply.c if(st.st_mode & S_IFDIR) {
st 5223 source3/smbd/reply.c SMB_STRUCT_STAT st;
st 5226 source3/smbd/reply.c if(SMB_VFS_LSTAT(conn, directory, &st) != 0) {
st 5230 source3/smbd/reply.c if (S_ISLNK(st.st_mode)) {
st 5232 source3/smbd/reply.c if(SMB_VFS_STAT(conn, directory, &st) != 0) {
st 5235 source3/smbd/reply.c if (!(S_ISDIR(st.st_mode))) {
st 5266 source3/smbd/reply.c while ((dname = ReadDirName(dir_hnd, &dirpos, &st))) {
st 5269 source3/smbd/reply.c if (!is_visible_file(conn, directory, dname, &st, False))
st 5289 source3/smbd/reply.c while ((dname = ReadDirName(dir_hnd, &dirpos, &st))) {
st 5295 source3/smbd/reply.c if (!is_visible_file(conn, directory, dname, &st, False)) {
st 5309 source3/smbd/reply.c if(SMB_VFS_LSTAT(conn,fullname, &st) != 0) {
st 5312 source3/smbd/reply.c if(st.st_mode & S_IFDIR) {
st 647 source3/smbd/service.c SMB_STRUCT_STAT st;
st 655 source3/smbd/service.c SET_STAT_INVALID(st);
st 999 source3/smbd/service.c if ((ret = SMB_VFS_STAT(conn, conn->connectpath, &st)) != 0 ||
st 1000 source3/smbd/service.c !S_ISDIR(st.st_mode)) {
st 1001 source3/smbd/service.c if (ret == 0 && !S_ISDIR(st.st_mode)) {
st 2416 source3/smbd/trans2.c SMB_STRUCT_STAT st;
st 2445 source3/smbd/trans2.c finished = !dptr_SearchDir(conn->dirptr, resume_name, ¤t_pos, &st);
st 2565 source3/smbd/trans2.c SMB_STRUCT_STAT st;
st 2601 source3/smbd/trans2.c if(SMB_VFS_STAT(conn,".",&st)!=0) {
st 2645 source3/smbd/trans2.c cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)st.st_dev, (unsigned int)bsize, (unsigned int)sectors_per_unit,
st 2648 source3/smbd/trans2.c SIVAL(pdata,l1_idFileSystem,st.st_dev);
st 2677 source3/smbd/trans2.c (unsigned)st.st_ctime, len, vname));
st 333 source3/smbd/vfs.c bool vfs_directory_exist(connection_struct *conn, const char *dname, SMB_STRUCT_STAT *st)
st 338 source3/smbd/vfs.c if (!st)
st 339 source3/smbd/vfs.c st = &st2;
st 341 source3/smbd/vfs.c if (SMB_VFS_STAT(conn,dname,st) != 0)
st 344 source3/smbd/vfs.c ret = S_ISDIR(st->st_mode);
st 357 source3/smbd/vfs.c SMB_STRUCT_STAT st;
st 360 source3/smbd/vfs.c sbuf = &st;
st 375 source3/smbd/vfs.c SMB_STRUCT_STAT st;
st 378 source3/smbd/vfs.c sbuf = &st;
st 512 source3/smbd/vfs.c SMB_STRUCT_STAT st;
st 529 source3/smbd/vfs.c ret = SMB_VFS_FSTAT(fsp, &st);
st 533 source3/smbd/vfs.c if (len == (uint64_t)st.st_size)
st 536 source3/smbd/vfs.c if (len < (uint64_t)st.st_size) {
st 540 source3/smbd/vfs.c fsp->fsp_name, (double)st.st_size ));
st 562 source3/smbd/vfs.c len -= st.st_size;
st 570 source3/smbd/vfs.c fsp->fsp_name, (double)st.st_size, (double)len, (double)space_avail ));
st 619 source3/smbd/vfs.c SMB_STRUCT_STAT st;
st 625 source3/smbd/vfs.c ret = SMB_VFS_FSTAT(fsp, &st);
st 630 source3/smbd/vfs.c if (len <= st.st_size) {
st 635 source3/smbd/vfs.c fsp->fsp_name, (double)st.st_size, (double)len, (double)(len - st.st_size)));
st 650 source3/smbd/vfs.c offset = st.st_size;
st 651 source3/smbd/vfs.c num_to_write = len - st.st_size;
st 772 source3/smbd/vfs.c SMB_STRUCT_STAT st, st2;
st 783 source3/smbd/vfs.c SET_STAT_INVALID(st);
st 785 source3/smbd/vfs.c if (SMB_VFS_STAT(conn, ".",&st) == -1) {
st 795 source3/smbd/vfs.c key = vfs_file_id_from_sbuf(conn, &st);
st 807 source3/smbd/vfs.c && (st.st_dev == st2.st_dev) && (st.st_ino == st2.st_ino)
st 808 source3/smbd/vfs.c && (S_ISDIR(st.st_mode))) {
st 833 source3/smbd/vfs.c if (lp_getwd_cache() && VALID_STAT(st)) {
st 834 source3/smbd/vfs.c key = vfs_file_id_from_sbuf(conn, &st);
st 144 source3/torture/cmd_vfs.c SMB_STRUCT_STAT st;
st 152 source3/torture/cmd_vfs.c dent = SMB_VFS_READDIR(vfs->conn, vfs->currentdir, &st);
st 159 source3/torture/cmd_vfs.c if (VALID_STAT(st)) {
st 161 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n");
st 162 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n");
st 163 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n");
st 164 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n");
st 165 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n");
st 166 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n");
st 167 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n");
st 168 source3/torture/cmd_vfs.c printf(" Size: %10u", (unsigned int)st.st_size);
st 170 source3/torture/cmd_vfs.c printf(" Blocks: %9u", (unsigned int)st.st_blocks);
st 173 source3/torture/cmd_vfs.c printf(" IO Block: %u\n", (unsigned int)st.st_blksize);
st 175 source3/torture/cmd_vfs.c printf(" Device: 0x%10x", (unsigned int)st.st_dev);
st 176 source3/torture/cmd_vfs.c printf(" Inode: %10u", (unsigned int)st.st_ino);
st 177 source3/torture/cmd_vfs.c printf(" Links: %10u\n", (unsigned int)st.st_nlink);
st 178 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777));
st 180 source3/torture/cmd_vfs.c (unsigned long)st.st_uid,
st 181 source3/torture/cmd_vfs.c (unsigned long)st.st_gid);
st 182 source3/torture/cmd_vfs.c printf(" Access: %s", ctime(&(st.st_atime)));
st 183 source3/torture/cmd_vfs.c printf(" Modify: %s", ctime(&(st.st_mtime)));
st 184 source3/torture/cmd_vfs.c printf(" Change: %s", ctime(&(st.st_ctime)));
st 542 source3/torture/cmd_vfs.c SMB_STRUCT_STAT st;
st 549 source3/torture/cmd_vfs.c ret = SMB_VFS_STAT(vfs->conn, argv[1], &st);
st 555 source3/torture/cmd_vfs.c pwd = sys_getpwuid(st.st_uid);
st 558 source3/torture/cmd_vfs.c grp = sys_getgrgid(st.st_gid);
st 564 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n");
st 565 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n");
st 566 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n");
st 567 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n");
st 568 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n");
st 569 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n");
st 570 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n");
st 571 source3/torture/cmd_vfs.c printf(" Size: %10u", (unsigned int)st.st_size);
st 573 source3/torture/cmd_vfs.c printf(" Blocks: %9u", (unsigned int)st.st_blocks);
st 576 source3/torture/cmd_vfs.c printf(" IO Block: %u\n", (unsigned int)st.st_blksize);
st 578 source3/torture/cmd_vfs.c printf(" Device: 0x%10x", (unsigned int)st.st_dev);
st 579 source3/torture/cmd_vfs.c printf(" Inode: %10u", (unsigned int)st.st_ino);
st 580 source3/torture/cmd_vfs.c printf(" Links: %10u\n", (unsigned int)st.st_nlink);
st 581 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777));
st 582 source3/torture/cmd_vfs.c printf(" Uid: %5lu/%.16s Gid: %5lu/%.16s\n", (unsigned long)st.st_uid, user,
st 583 source3/torture/cmd_vfs.c (unsigned long)st.st_gid, group);
st 584 source3/torture/cmd_vfs.c printf(" Access: %s", ctime(&(st.st_atime)));
st 585 source3/torture/cmd_vfs.c printf(" Modify: %s", ctime(&(st.st_mtime)));
st 586 source3/torture/cmd_vfs.c printf(" Change: %s", ctime(&(st.st_ctime)));
st 599 source3/torture/cmd_vfs.c SMB_STRUCT_STAT st;
st 617 source3/torture/cmd_vfs.c if (SMB_VFS_FSTAT(vfs->files[fd], &st) == -1) {
st 622 source3/torture/cmd_vfs.c pwd = sys_getpwuid(st.st_uid);
st 625 source3/torture/cmd_vfs.c grp = sys_getgrgid(st.st_gid);
st 630 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n");
st 631 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n");
st 632 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n");
st 633 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n");
st 634 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n");
st 635 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n");
st 636 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n");
st 637 source3/torture/cmd_vfs.c printf(" Size: %10u", (unsigned int)st.st_size);
st 639 source3/torture/cmd_vfs.c printf(" Blocks: %9u", (unsigned int)st.st_blocks);
st 642 source3/torture/cmd_vfs.c printf(" IO Block: %u\n", (unsigned int)st.st_blksize);
st 644 source3/torture/cmd_vfs.c printf(" Device: 0x%10x", (unsigned int)st.st_dev);
st 645 source3/torture/cmd_vfs.c printf(" Inode: %10u", (unsigned int)st.st_ino);
st 646 source3/torture/cmd_vfs.c printf(" Links: %10u\n", (unsigned int)st.st_nlink);
st 647 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777));
st 648 source3/torture/cmd_vfs.c printf(" Uid: %5lu/%.16s Gid: %5lu/%.16s\n", (unsigned long)st.st_uid, user,
st 649 source3/torture/cmd_vfs.c (unsigned long)st.st_gid, group);
st 650 source3/torture/cmd_vfs.c printf(" Access: %s", ctime(&(st.st_atime)));
st 651 source3/torture/cmd_vfs.c printf(" Modify: %s", ctime(&(st.st_mtime)));
st 652 source3/torture/cmd_vfs.c printf(" Change: %s", ctime(&(st.st_ctime)));
st 664 source3/torture/cmd_vfs.c SMB_STRUCT_STAT st;
st 671 source3/torture/cmd_vfs.c if (SMB_VFS_LSTAT(vfs->conn, argv[1], &st) == -1) {
st 676 source3/torture/cmd_vfs.c pwd = sys_getpwuid(st.st_uid);
st 679 source3/torture/cmd_vfs.c grp = sys_getgrgid(st.st_gid);
st 684 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n");
st 685 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n");
st 686 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n");
st 687 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n");
st 688 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n");
st 689 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n");
st 690 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n");
st 691 source3/torture/cmd_vfs.c printf(" Size: %10u", (unsigned int)st.st_size);
st 693 source3/torture/cmd_vfs.c printf(" Blocks: %9u", (unsigned int)st.st_blocks);
st 696 source3/torture/cmd_vfs.c printf(" IO Block: %u\n", (unsigned int)st.st_blksize);
st 698 source3/torture/cmd_vfs.c printf(" Device: 0x%10x", (unsigned int)st.st_dev);
st 699 source3/torture/cmd_vfs.c printf(" Inode: %10u", (unsigned int)st.st_ino);
st 700 source3/torture/cmd_vfs.c printf(" Links: %10u\n", (unsigned int)st.st_nlink);
st 701 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777));
st 702 source3/torture/cmd_vfs.c printf(" Uid: %5lu/%.16s Gid: %5lu/%.16s\n", (unsigned long)st.st_uid, user,
st 703 source3/torture/cmd_vfs.c (unsigned long)st.st_gid, group);
st 704 source3/torture/cmd_vfs.c printf(" Access: %s", ctime(&(st.st_atime)));
st 705 source3/torture/cmd_vfs.c printf(" Modify: %s", ctime(&(st.st_mtime)));
st 706 source3/torture/cmd_vfs.c printf(" Change: %s", ctime(&(st.st_ctime)));
st 46 source3/utils/testparm.c SMB_STRUCT_STAT st;
st 59 source3/utils/testparm.c if (!directory_exist_stat(lp_lockdir(), &st)) {
st 63 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) {
st 69 source3/utils/testparm.c if (!directory_exist_stat(lp_statedir(), &st)) {
st 73 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) {
st 79 source3/utils/testparm.c if (!directory_exist_stat(lp_cachedir(), &st)) {
st 83 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) {
st 89 source3/utils/testparm.c if (!directory_exist_stat(lp_piddir(), &st)) {
st 431 source3/web/cgi.c SMB_STRUCT_STAT st;
st 445 source3/web/cgi.c if (sys_stat(file, &st) != 0)
st 451 source3/web/cgi.c if (S_ISDIR(st.st_mode))
st 454 source3/web/cgi.c if (!file_exist_stat(buf, &st) || !S_ISREG(st.st_mode))
st 460 source3/web/cgi.c else if (S_ISREG(st.st_mode))
st 499 source3/web/cgi.c printf("Content-Length: %d\r\n\r\n", (int)st.st_size);
st 461 source3/web/swat.c struct stat st;
st 471 source3/web/swat.c if (fstat(fileno(f), &st) == 0 &&
st 472 source3/web/swat.c (st.st_mode & S_IWOTH)) {
st 106 source3/winbindd/winbindd_cache.c struct stat st;
st 119 source3/winbindd/winbindd_cache.c if (fstat(tdb_fd(wcache->tdb), &st) == -1) {
st 124 source3/winbindd/winbindd_cache.c if (st.st_size > WINBINDD_MAX_CACHE_SIZE) {
st 126 source3/winbindd/winbindd_cache.c (unsigned long)st.st_size,
st 114 source4/client/smbmnt.c struct stat st;
st 120 source4/client/smbmnt.c if (stat(".", &st) != 0) {
st 124 source4/client/smbmnt.c if (!S_ISDIR(st.st_mode)) {
st 130 source4/client/smbmnt.c ((getuid() != st.st_uid) ||
st 131 source4/client/smbmnt.c ((st.st_mode & S_IRWXU) != S_IRWXU))) {
st 54 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_out_drsuapi_state *st;
st 59 source4/dsdb/repl/drepl_out_helpers.c st = talloc_zero(c, struct dreplsrv_out_drsuapi_state);
st 60 source4/dsdb/repl/drepl_out_helpers.c if (composite_nomem(st, c)) return c;
st 62 source4/dsdb/repl/drepl_out_helpers.c c->private_data = st;
st 64 source4/dsdb/repl/drepl_out_helpers.c st->creq = c;
st 65 source4/dsdb/repl/drepl_out_helpers.c st->conn = conn;
st 66 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi = conn->drsuapi;
st 68 source4/dsdb/repl/drepl_out_helpers.c if (st->drsuapi && !st->drsuapi->pipe->conn->dead) {
st 71 source4/dsdb/repl/drepl_out_helpers.c } else if (st->drsuapi && st->drsuapi->pipe->conn->dead) {
st 72 source4/dsdb/repl/drepl_out_helpers.c talloc_free(st->drsuapi);
st 76 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi = talloc_zero(st, struct dreplsrv_drsuapi_connection);
st 77 source4/dsdb/repl/drepl_out_helpers.c if (composite_nomem(st->drsuapi, c)) return c;
st 79 source4/dsdb/repl/drepl_out_helpers.c creq = dcerpc_pipe_connect_b_send(st, conn->binding, &ndr_table_drsuapi,
st 82 source4/dsdb/repl/drepl_out_helpers.c composite_continue(c, creq, dreplsrv_out_drsuapi_connect_recv, st);
st 87 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_out_drsuapi_bind_send(struct dreplsrv_out_drsuapi_state *st);
st 91 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_out_drsuapi_state *st = talloc_get_type(creq->async.private_data,
st 93 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 95 source4/dsdb/repl/drepl_out_helpers.c c->status = dcerpc_pipe_connect_b_recv(creq, st->drsuapi, &st->drsuapi->pipe);
st 98 source4/dsdb/repl/drepl_out_helpers.c c->status = gensec_session_key(st->drsuapi->pipe->conn->security_state.generic_state,
st 99 source4/dsdb/repl/drepl_out_helpers.c &st->drsuapi->gensec_skey);
st 102 source4/dsdb/repl/drepl_out_helpers.c dreplsrv_out_drsuapi_bind_send(st);
st 107 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_out_drsuapi_bind_send(struct dreplsrv_out_drsuapi_state *st)
st 109 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 112 source4/dsdb/repl/drepl_out_helpers.c st->bind_info_ctr.length = 28;
st 113 source4/dsdb/repl/drepl_out_helpers.c st->bind_info_ctr.info.info28 = st->conn->service->bind_info28;
st 115 source4/dsdb/repl/drepl_out_helpers.c st->bind_r.in.bind_guid = &st->conn->service->ntds_guid;
st 116 source4/dsdb/repl/drepl_out_helpers.c st->bind_r.in.bind_info = &st->bind_info_ctr;
st 117 source4/dsdb/repl/drepl_out_helpers.c st->bind_r.out.bind_handle = &st->drsuapi->bind_handle;
st 119 source4/dsdb/repl/drepl_out_helpers.c req = dcerpc_drsuapi_DsBind_send(st->drsuapi->pipe, st, &st->bind_r);
st 120 source4/dsdb/repl/drepl_out_helpers.c composite_continue_rpc(c, req, dreplsrv_out_drsuapi_bind_recv, st);
st 125 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_out_drsuapi_state *st = talloc_get_type(req->async.private_data,
st 127 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 132 source4/dsdb/repl/drepl_out_helpers.c if (!W_ERROR_IS_OK(st->bind_r.out.result)) {
st 133 source4/dsdb/repl/drepl_out_helpers.c composite_error(c, werror_to_ntstatus(st->bind_r.out.result));
st 137 source4/dsdb/repl/drepl_out_helpers.c ZERO_STRUCT(st->drsuapi->remote_info28);
st 138 source4/dsdb/repl/drepl_out_helpers.c if (st->bind_r.out.bind_info) {
st 139 source4/dsdb/repl/drepl_out_helpers.c switch (st->bind_r.out.bind_info->length) {
st 142 source4/dsdb/repl/drepl_out_helpers.c info24 = &st->bind_r.out.bind_info->info.info24;
st 143 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.supported_extensions = info24->supported_extensions;
st 144 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.site_guid = info24->site_guid;
st 145 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.pid = info24->pid;
st 146 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.repl_epoch = 0;
st 151 source4/dsdb/repl/drepl_out_helpers.c info48 = &st->bind_r.out.bind_info->info.info48;
st 152 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.supported_extensions = info48->supported_extensions;
st 153 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.site_guid = info48->site_guid;
st 154 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.pid = info48->pid;
st 155 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28.repl_epoch = info48->repl_epoch;
st 159 source4/dsdb/repl/drepl_out_helpers.c st->drsuapi->remote_info28 = st->bind_r.out.bind_info->info.info28;
st 170 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_out_drsuapi_state *st = talloc_get_type(c->private_data,
st 176 source4/dsdb/repl/drepl_out_helpers.c st->conn->drsuapi = talloc_steal(st->conn, st->drsuapi);
st 203 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_op_pull_source_state *st;
st 208 source4/dsdb/repl/drepl_out_helpers.c st = talloc_zero(c, struct dreplsrv_op_pull_source_state);
st 209 source4/dsdb/repl/drepl_out_helpers.c if (composite_nomem(st, c)) return c;
st 211 source4/dsdb/repl/drepl_out_helpers.c st->creq = c;
st 212 source4/dsdb/repl/drepl_out_helpers.c st->op = op;
st 215 source4/dsdb/repl/drepl_out_helpers.c composite_continue(c, creq, dreplsrv_op_pull_source_connect_recv, st);
st 220 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_op_pull_source_get_changes_send(struct dreplsrv_op_pull_source_state *st);
st 224 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_op_pull_source_state *st = talloc_get_type(creq->async.private_data,
st 226 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 231 source4/dsdb/repl/drepl_out_helpers.c dreplsrv_op_pull_source_get_changes_send(st);
st 236 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_op_pull_source_get_changes_send(struct dreplsrv_op_pull_source_state *st)
st 238 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 239 source4/dsdb/repl/drepl_out_helpers.c struct repsFromTo1 *rf1 = st->op->source_dsa->repsFrom1;
st 240 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_service *service = st->op->service;
st 241 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_partition *partition = st->op->source_dsa->partition;
st 242 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_drsuapi_connection *drsuapi = st->op->source_dsa->conn->drsuapi;
st 246 source4/dsdb/repl/drepl_out_helpers.c r = talloc(st, struct drsuapi_DsGetNCChanges);
st 288 source4/dsdb/repl/drepl_out_helpers.c composite_continue_rpc(c, req, dreplsrv_op_pull_source_get_changes_recv, st);
st 291 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_op_pull_source_apply_changes_send(struct dreplsrv_op_pull_source_state *st,
st 299 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_op_pull_source_state *st = talloc_get_type(req->async.private_data,
st 301 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 355 source4/dsdb/repl/drepl_out_helpers.c dreplsrv_op_pull_source_apply_changes_send(st, r, ctr_level, ctr1, ctr6);
st 358 source4/dsdb/repl/drepl_out_helpers.c static void dreplsrv_op_pull_source_apply_changes_send(struct dreplsrv_op_pull_source_state *st,
st 364 source4/dsdb/repl/drepl_out_helpers.c struct composite_context *c = st->creq;
st 365 source4/dsdb/repl/drepl_out_helpers.c struct repsFromTo1 rf1 = *st->op->source_dsa->repsFrom1;
st 366 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_service *service = st->op->service;
st 367 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_partition *partition = st->op->source_dsa->partition;
st 368 source4/dsdb/repl/drepl_out_helpers.c struct dreplsrv_drsuapi_connection *drsuapi = st->op->source_dsa->conn->drsuapi;
st 414 source4/dsdb/repl/drepl_out_helpers.c st, NULL);
st 422 source4/dsdb/repl/drepl_out_helpers.c *st->op->source_dsa->repsFrom1 = rf1;
st 429 source4/dsdb/repl/drepl_out_helpers.c dreplsrv_op_pull_source_get_changes_send(st);
st 62 source4/heimdal/lib/hcrypto/camellia-ntt.c # define PUTU32(ct, st) {*((u32 *)(ct)) = SWAP((st));}
st 72 source4/heimdal/lib/hcrypto/camellia-ntt.c # define PUTU32(ct, st) { \
st 73 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[0] = (u8)((st) >> 24); \
st 74 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[1] = (u8)((st) >> 16); \
st 75 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[2] = (u8)((st) >> 8); \
st 76 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[3] = (u8)(st); }
st 172 source4/heimdal/lib/hcrypto/rand-fortuna.c init_state(FState * st)
st 176 source4/heimdal/lib/hcrypto/rand-fortuna.c memset(st, 0, sizeof(*st));
st 178 source4/heimdal/lib/hcrypto/rand-fortuna.c md_init(&st->pool[i]);
st 179 source4/heimdal/lib/hcrypto/rand-fortuna.c st->pid = getpid();
st 187 source4/heimdal/lib/hcrypto/rand-fortuna.c inc_counter(FState * st)
st 189 source4/heimdal/lib/hcrypto/rand-fortuna.c uint32_t *val = (uint32_t *) st->counter;
st 204 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(FState * st, unsigned char *dst)
st 206 source4/heimdal/lib/hcrypto/rand-fortuna.c ciph_encrypt(&st->ciph, st->counter, dst);
st 207 source4/heimdal/lib/hcrypto/rand-fortuna.c inc_counter(st);
st 216 source4/heimdal/lib/hcrypto/rand-fortuna.c enough_time_passed(FState * st)
st 220 source4/heimdal/lib/hcrypto/rand-fortuna.c struct timeval *last = &st->last_reseed_time;
st 249 source4/heimdal/lib/hcrypto/rand-fortuna.c reseed(FState * st)
st 257 source4/heimdal/lib/hcrypto/rand-fortuna.c st->pool0_bytes = 0;
st 262 source4/heimdal/lib/hcrypto/rand-fortuna.c n = ++st->reseed_count;
st 270 source4/heimdal/lib/hcrypto/rand-fortuna.c md_result(&st->pool[k], buf);
st 279 source4/heimdal/lib/hcrypto/rand-fortuna.c md_update(&key_md, st->key, BLOCK);
st 282 source4/heimdal/lib/hcrypto/rand-fortuna.c md_update(&key_md, (const unsigned char *)&st->pid, sizeof(st->pid));
st 285 source4/heimdal/lib/hcrypto/rand-fortuna.c md_result(&key_md, st->key);
st 288 source4/heimdal/lib/hcrypto/rand-fortuna.c ciph_init(&st->ciph, st->key, BLOCK);
st 298 source4/heimdal/lib/hcrypto/rand-fortuna.c get_rand_pool(FState * st)
st 305 source4/heimdal/lib/hcrypto/rand-fortuna.c rnd = st->key[st->rnd_pos] % NUM_POOLS;
st 307 source4/heimdal/lib/hcrypto/rand-fortuna.c st->rnd_pos++;
st 308 source4/heimdal/lib/hcrypto/rand-fortuna.c if (st->rnd_pos >= BLOCK)
st 309 source4/heimdal/lib/hcrypto/rand-fortuna.c st->rnd_pos = 0;
st 318 source4/heimdal/lib/hcrypto/rand-fortuna.c add_entropy(FState * st, const unsigned char *data, unsigned len)
st 332 source4/heimdal/lib/hcrypto/rand-fortuna.c if (st->reseed_count == 0)
st 335 source4/heimdal/lib/hcrypto/rand-fortuna.c pos = get_rand_pool(st);
st 336 source4/heimdal/lib/hcrypto/rand-fortuna.c md_update(&st->pool[pos], hash, BLOCK);
st 339 source4/heimdal/lib/hcrypto/rand-fortuna.c st->pool0_bytes += len;
st 349 source4/heimdal/lib/hcrypto/rand-fortuna.c rekey(FState * st)
st 351 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, st->key);
st 352 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, st->key + CIPH_BLOCK);
st 353 source4/heimdal/lib/hcrypto/rand-fortuna.c ciph_init(&st->ciph, st->key, BLOCK);
st 363 source4/heimdal/lib/hcrypto/rand-fortuna.c startup_tricks(FState * st)
st 369 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, st->counter);
st 374 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, buf);
st 375 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, buf + CIPH_BLOCK);
st 376 source4/heimdal/lib/hcrypto/rand-fortuna.c md_update(&st->pool[i], buf, BLOCK);
st 381 source4/heimdal/lib/hcrypto/rand-fortuna.c rekey(st);
st 384 source4/heimdal/lib/hcrypto/rand-fortuna.c st->tricks_done = 1;
st 388 source4/heimdal/lib/hcrypto/rand-fortuna.c extract_data(FState * st, unsigned count, unsigned char *dst)
st 395 source4/heimdal/lib/hcrypto/rand-fortuna.c if (st->pool0_bytes >= POOL0_FILL || st->reseed_count == 0)
st 396 source4/heimdal/lib/hcrypto/rand-fortuna.c if (enough_time_passed(st))
st 397 source4/heimdal/lib/hcrypto/rand-fortuna.c reseed(st);
st 400 source4/heimdal/lib/hcrypto/rand-fortuna.c if (!st->tricks_done)
st 401 source4/heimdal/lib/hcrypto/rand-fortuna.c startup_tricks(st);
st 404 source4/heimdal/lib/hcrypto/rand-fortuna.c if (pid != st->pid) {
st 405 source4/heimdal/lib/hcrypto/rand-fortuna.c st->pid = pid;
st 406 source4/heimdal/lib/hcrypto/rand-fortuna.c reseed(st);
st 412 source4/heimdal/lib/hcrypto/rand-fortuna.c encrypt_counter(st, st->result);
st 419 source4/heimdal/lib/hcrypto/rand-fortuna.c memcpy(dst, st->result, n);
st 427 source4/heimdal/lib/hcrypto/rand-fortuna.c rekey(st);
st 432 source4/heimdal/lib/hcrypto/rand-fortuna.c rekey(st);
st 734 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
st 737 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
st 899 source4/heimdal/lib/krb5/crypto.c struct salt_type *st;
st 908 source4/heimdal/lib/krb5/crypto.c for (st = e->keytype->string_to_key; st && st->type; st++) {
st 909 source4/heimdal/lib/krb5/crypto.c if (st->type == stype) {
st 910 source4/heimdal/lib/krb5/crypto.c *string = strdup (st->name);
st 931 source4/heimdal/lib/krb5/crypto.c struct salt_type *st;
st 940 source4/heimdal/lib/krb5/crypto.c for (st = e->keytype->string_to_key; st && st->type; st++) {
st 941 source4/heimdal/lib/krb5/crypto.c if (strcasecmp (st->name, string) == 0) {
st 942 source4/heimdal/lib/krb5/crypto.c *salttype = st->type;
st 1047 source4/heimdal/lib/krb5/crypto.c struct salt_type *st;
st 1054 source4/heimdal/lib/krb5/crypto.c for(st = et->keytype->string_to_key; st && st->type; st++)
st 1055 source4/heimdal/lib/krb5/crypto.c if(st->type == salt.salttype)
st 1056 source4/heimdal/lib/krb5/crypto.c return (*st->string_to_key)(context, enctype, password,
st 107 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c struct stat st;
st 113 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (stat(path, &st) == 0) {
st 115 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (st.st_dev == w->device && st.st_ino == w->inode) {
st 135 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (fstat(tdb_fd(w->tdb), &st) != 0) {
st 141 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->device = st.st_dev;
st 142 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->inode = st.st_ino;
st 185 source4/lib/registry/dir.c struct stat st;
st 188 source4/lib/registry/dir.c stat(thispath, &st);
st 189 source4/lib/registry/dir.c unix_to_nt_time(last_mod_time, st.st_mtime);
st 243 source4/lib/registry/dir.c struct stat st;
st 274 source4/lib/registry/dir.c if (stat(path, &st) < 0) {
st 280 source4/lib/registry/dir.c if (S_ISDIR(st.st_mode)) {
st 287 source4/lib/registry/dir.c if (!S_ISDIR(st.st_mode)) {
st 293 source4/lib/registry/dir.c *max_valbufsize = MAX(*max_valbufsize, st.st_size);
st 32 source4/libcli/security/security_token.c struct security_token *st;
st 34 source4/libcli/security/security_token.c st = talloc(mem_ctx, struct security_token);
st 35 source4/libcli/security/security_token.c if (!st) {
st 39 source4/libcli/security/security_token.c st->user_sid = NULL;
st 40 source4/libcli/security/security_token.c st->group_sid = NULL;
st 41 source4/libcli/security/security_token.c st->num_sids = 0;
st 42 source4/libcli/security/security_token.c st->sids = NULL;
st 43 source4/libcli/security/security_token.c st->privilege_mask = 0;
st 45 source4/libcli/security/security_token.c return st;
st 1168 source4/librpc/rpc/dcerpc.c void *st;
st 1174 source4/librpc/rpc/dcerpc.c st = talloc_size(mem_ctx, struct_size);
st 1175 source4/librpc/rpc/dcerpc.c if (!st) {
st 1185 source4/librpc/rpc/dcerpc.c ndr_err = ndr_pull(pull, NDR_IN, st);
st 1199 source4/librpc/rpc/dcerpc.c ndr_err = ndr_push(push, NDR_IN, st);
st 1238 source4/librpc/rpc/dcerpc.c void *st;
st 1246 source4/librpc/rpc/dcerpc.c st = talloc_size(mem_ctx, struct_size);
st 1247 source4/librpc/rpc/dcerpc.c if (!st) {
st 1250 source4/librpc/rpc/dcerpc.c memcpy(st, struct_ptr, struct_size);
st 1274 source4/librpc/rpc/dcerpc.c ndr_err = ndr_pull(pull, NDR_OUT, st);
st 1288 source4/librpc/rpc/dcerpc.c ndr_err = ndr_push(push, NDR_OUT, st);
st 1314 source4/librpc/rpc/dcerpc.c NDR_OUT, st);
st 471 source4/ntvfs/cifs/vfs_cifs.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 479 source4/ntvfs/cifs/vfs_cifs.c return smb_raw_setpathinfo(p->tree, st);
st 482 source4/ntvfs/cifs/vfs_cifs.c c_req = smb_raw_setpathinfo_send(p->tree, st);
st 22 source4/ntvfs/cifs_posix_cli/cifsposix.h struct stat st;
st 129 source4/ntvfs/cifs_posix_cli/svfs_util.c if (stat(full_name, &dir->files[i].st) == 0) {
st 53 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 66 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {
st 149 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 153 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(unix_path, &st) == -1) {
st 157 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (!S_ISDIR(st.st_mode)) {
st 167 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static uint64_t cifspsx_file_id(struct stat *st)
st 169 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c uint64_t ret = st->st_ino;
st 171 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c ret |= st->st_dev;
st 180 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat *st, const char *unix_path)
st 200 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&info->generic.out.create_time, st->st_ctime);
st 201 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&info->generic.out.access_time, st->st_atime);
st 202 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&info->generic.out.write_time, st->st_mtime);
st 203 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&info->generic.out.change_time, st->st_mtime);
st 204 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.alloc_size = st->st_size;
st 205 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.size = st->st_size;
st 206 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.attrib = cifspsx_unix_to_dos_attrib(st->st_mode);
st 207 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.alloc_size = st->st_blksize * st->st_blocks;
st 208 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.nlink = st->st_nlink;
st 209 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0;
st 210 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.file_id = cifspsx_file_id(st);
st 237 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.streams[0].size = st->st_size;
st 238 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.streams[0].alloc_size = st->st_size;
st 243 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.streams[1+i].size = dir->files[i].st.st_size;
st 244 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.streams[1+i].alloc_size = dir->files[i].st.st_size;
st 258 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 267 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(unix_path, &st) == -1) {
st 272 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return cifspsx_map_fileinfo(ntvfs, req, info, &st, unix_path);
st 283 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 294 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (fstat(f->fd, &st) == -1) {
st 298 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return cifspsx_map_fileinfo(ntvfs, req,info, &st, f->name);
st 310 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 382 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (fstat(fd, &st) == -1) {
st 404 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&io->generic.out.create_time, st.st_ctime);
st 405 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&io->generic.out.access_time, st.st_atime);
st 406 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&io->generic.out.write_time, st.st_mtime);
st 407 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&io->generic.out.change_time, st.st_mtime);
st 409 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.alloc_size = st.st_size;
st 410 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.size = st.st_size;
st 411 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.attrib = cifspsx_unix_to_dos_attrib(st.st_mode);
st 412 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0;
st 683 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 750 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 764 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(p->connectpath, &st) != 0) {
st 768 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c fs->generic.out.fs_id = st.st_ino;
st 769 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&fs->generic.out.create_time, st.st_ctime);
st 770 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c fs->generic.out.serial_number = st.st_ino;
st 791 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct stat st;
st 798 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(p->connectpath, &st) == -1) {
st 802 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&fs->generic.out.create_time, st.st_ctime);
st 870 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.create_time, dir->files[i].st.st_ctime);
st 871 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.access_time, dir->files[i].st.st_atime);
st 872 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.write_time, dir->files[i].st.st_mtime);
st 873 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.change_time, dir->files[i].st.st_mtime);
st 876 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.size = dir->files[i].st.st_size;
st 877 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.attrib = cifspsx_unix_to_dos_attrib(dir->files[i].st.st_mode);
st 965 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.create_time, dir->files[i].st.st_ctime);
st 966 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.access_time, dir->files[i].st.st_atime);
st 967 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.write_time, dir->files[i].st.st_mtime);
st 968 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_to_nt_time(&file.both_directory_info.change_time, dir->files[i].st.st_mtime);
st 971 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.size = dir->files[i].st.st_size;
st 972 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.attrib = cifspsx_unix_to_dos_attrib(dir->files[i].st.st_mode);
st 166 source4/ntvfs/ipc/vfs_ipc.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 282 source4/ntvfs/nbench/vfs_nbench.c union smb_setfileinfo *st = req->async_states->private_data;
st 285 source4/ntvfs/nbench/vfs_nbench.c st->generic.in.file.path,
st 286 source4/ntvfs/nbench/vfs_nbench.c st->generic.level,
st 293 source4/ntvfs/nbench/vfs_nbench.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 297 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, setpathinfo, st, (ntvfs, req, st));
st 74 source4/ntvfs/ntvfs.h union smb_fileinfo *st);
st 77 source4/ntvfs/ntvfs.h union smb_setfileinfo *st);
st 87 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_qpathinfo(struct ntvfs_request *req, union smb_fileinfo *st)
st 93 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->qpathinfo(ntvfs, req, st);
st 96 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_setpathinfo(struct ntvfs_request *req, union smb_setfileinfo *st)
st 102 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->setpathinfo(ntvfs, req, st);
st 399 source4/ntvfs/ntvfs_interface.c union smb_fileinfo *st)
st 404 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->qpathinfo(ntvfs->next, req, st);
st 409 source4/ntvfs/ntvfs_interface.c union smb_setfileinfo *st)
st 414 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->setpathinfo(ntvfs->next, req, st);
st 166 source4/ntvfs/posix/pvfs_acl.c ids[0].unixid->id = name->st.st_uid;
st 173 source4/ntvfs/posix/pvfs_acl.c ids[1].unixid->id = name->st.st_gid;
st 189 source4/ntvfs/posix/pvfs_acl.c mode = name->st.st_mode;
st 315 source4/ntvfs/posix/pvfs_acl.c old_uid = name->st.st_uid;
st 316 source4/ntvfs/posix/pvfs_acl.c old_gid = name->st.st_gid;
st 472 source4/ntvfs/posix/pvfs_acl.c } else if (uid == name->st.st_uid) {
st 797 source4/ntvfs/posix/pvfs_acl.c ids[0].unixid->id = name->st.st_uid;
st 804 source4/ntvfs/posix/pvfs_acl.c ids[1].unixid->id = name->st.st_gid;
st 70 source4/ntvfs/posix/pvfs_acl_nfs4.c ids[0].unixid->id = name->st.st_uid;
st 77 source4/ntvfs/posix/pvfs_acl_nfs4.c ids[1].unixid->id = name->st.st_gid;
st 28 source4/ntvfs/posix/pvfs_fileinfo.c static uint32_t dos_mode_from_stat(struct pvfs_state *pvfs, struct stat *st)
st 32 source4/ntvfs/posix/pvfs_fileinfo.c if ((st->st_mode & S_IWUSR) == 0)
st 35 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_ARCHIVE) && ((st->st_mode & S_IXUSR) != 0))
st 38 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_SYSTEM) && ((st->st_mode & S_IXGRP) != 0))
st 41 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_HIDDEN) && ((st->st_mode & S_IXOTH) != 0))
st 44 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(st->st_mode))
st 63 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(name->st.st_mode)) {
st 64 source4/ntvfs/posix/pvfs_fileinfo.c name->st.st_size = 0;
st 65 source4/ntvfs/posix/pvfs_fileinfo.c name->st.st_nlink = 1;
st 71 source4/ntvfs/posix/pvfs_fileinfo.c unix_to_nt_time(&name->dos.create_time, name->st.st_ctime);
st 72 source4/ntvfs/posix/pvfs_fileinfo.c unix_to_nt_time(&name->dos.access_time, name->st.st_atime);
st 73 source4/ntvfs/posix/pvfs_fileinfo.c unix_to_nt_time(&name->dos.write_time, name->st.st_mtime);
st 74 source4/ntvfs/posix/pvfs_fileinfo.c unix_to_nt_time(&name->dos.change_time, name->st.st_ctime);
st 76 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.create_time += name->st.st_ctim.tv_nsec / 100;
st 77 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.access_time += name->st.st_atim.tv_nsec / 100;
st 78 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.write_time += name->st.st_mtim.tv_nsec / 100;
st 79 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.change_time += name->st.st_ctim.tv_nsec / 100;
st 81 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.attrib = dos_mode_from_stat(pvfs, &name->st);
st 82 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.alloc_size = pvfs_round_alloc_size(pvfs, name->st.st_size);
st 83 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.nlink = name->st.st_nlink;
st 90 source4/ntvfs/posix/pvfs_fileinfo.c name->dos.file_id = (((uint64_t)name->st.st_dev)<<32) | name->st.st_ino;
st 32 source4/ntvfs/posix/pvfs_fsinfo.c static NTSTATUS pvfs_blkid_fs_uuid(struct pvfs_state *pvfs, struct stat *st, struct GUID *uuid)
st 39 source4/ntvfs/posix/pvfs_fsinfo.c devname = blkid_devno_to_devname(st->st_dev);
st 65 source4/ntvfs/posix/pvfs_fsinfo.c static NTSTATUS pvfs_cache_base_fs_uuid(struct pvfs_state *pvfs, struct stat *st)
st 72 source4/ntvfs/posix/pvfs_fsinfo.c status = pvfs_blkid_fs_uuid(pvfs, st, &uuid);
st 92 source4/ntvfs/posix/pvfs_fsinfo.c struct stat st;
st 109 source4/ntvfs/posix/pvfs_fsinfo.c if (stat(pvfs->base_directory, &st) != 0) {
st 139 source4/ntvfs/posix/pvfs_fsinfo.c fs->allocation.out.fs_id = st.st_dev;
st 147 source4/ntvfs/posix/pvfs_fsinfo.c fs->volume.out.serial_number = st.st_ino;
st 153 source4/ntvfs/posix/pvfs_fsinfo.c unix_to_nt_time(&fs->volume_info.out.create_time, st.st_ctime);
st 154 source4/ntvfs/posix/pvfs_fsinfo.c fs->volume_info.out.serial_number = st.st_ino;
st 198 source4/ntvfs/posix/pvfs_fsinfo.c status = pvfs_cache_base_fs_uuid(pvfs, &st);
st 158 source4/ntvfs/posix/pvfs_open.c lock_context.device = name->st.st_dev;
st 159 source4/ntvfs/posix/pvfs_open.c lock_context.inode = name->st.st_ino;
st 424 source4/ntvfs/posix/pvfs_open.c io->generic.out.size = name->st.st_size;
st 825 source4/ntvfs/posix/pvfs_open.c io->generic.out.size = name->st.st_size;
st 1103 source4/ntvfs/posix/pvfs_open.c io->generic.out.size = name->st.st_size;
st 1620 source4/ntvfs/posix/pvfs_open.c io->generic.out.size = name->st.st_size;
st 1675 source4/ntvfs/posix/pvfs_open.c io->generic.out.size = name->st.st_size;
st 152 source4/ntvfs/posix/pvfs_qfileinfo.c info->getattr.out.size = name->st.st_size;
st 161 source4/ntvfs/posix/pvfs_qfileinfo.c info->standard.out.size = name->st.st_size;
st 170 source4/ntvfs/posix/pvfs_qfileinfo.c info->ea_size.out.size = name->st.st_size;
st 209 source4/ntvfs/posix/pvfs_qfileinfo.c info->standard_info.out.size = name->st.st_size;
st 238 source4/ntvfs/posix/pvfs_qfileinfo.c info->all_info.out.size = name->st.st_size;
st 258 source4/ntvfs/posix/pvfs_qfileinfo.c info->compression_info.out.compressed_size = name->st.st_size;
st 291 source4/ntvfs/posix/pvfs_qfileinfo.c info->network_open_information.out.size = name->st.st_size;
st 311 source4/ntvfs/posix/pvfs_qfileinfo.c info->all_info2.out.size = name->st.st_size;
st 120 source4/ntvfs/posix/pvfs_resolve.c if (stat(test_name, &name->st) == 0) {
st 121 source4/ntvfs/posix/pvfs_resolve.c if (i<num_components-1 && !S_ISDIR(name->st.st_mode)) {
st 171 source4/ntvfs/posix/pvfs_resolve.c if (stat(partial_name, &name->st) == 0) {
st 548 source4/ntvfs/posix/pvfs_resolve.c if (stat(dir_name, &(*name)->st) == 0) {
st 574 source4/ntvfs/posix/pvfs_resolve.c if (stat((*name)->full_name, &(*name)->st) == 0) {
st 610 source4/ntvfs/posix/pvfs_resolve.c if (stat((*name)->full_name, &(*name)->st) == -1) {
st 639 source4/ntvfs/posix/pvfs_resolve.c device = name->st.st_dev;
st 640 source4/ntvfs/posix/pvfs_resolve.c inode = name->st.st_ino;
st 644 source4/ntvfs/posix/pvfs_resolve.c if (stat(name->full_name, &name->st) == -1) {
st 648 source4/ntvfs/posix/pvfs_resolve.c if (fstat(fd, &name->st) == -1) {
st 654 source4/ntvfs/posix/pvfs_resolve.c (device != name->st.st_dev || inode != name->st.st_ino)) {
st 790 source4/ntvfs/posix/pvfs_resolve.c if (stat((*name)->full_name, &(*name)->st) == -1) {
st 102 source4/ntvfs/posix/pvfs_search.c file->search.size = name->st.st_size;
st 118 source4/ntvfs/posix/pvfs_search.c file->standard.size = name->st.st_size;
st 129 source4/ntvfs/posix/pvfs_search.c file->ea_size.size = name->st.st_size;
st 141 source4/ntvfs/posix/pvfs_search.c file->ea_list.size = name->st.st_size;
st 156 source4/ntvfs/posix/pvfs_search.c file->directory_info.size = name->st.st_size;
st 168 source4/ntvfs/posix/pvfs_search.c file->full_directory_info.size = name->st.st_size;
st 186 source4/ntvfs/posix/pvfs_search.c file->both_directory_info.size = name->st.st_size;
st 200 source4/ntvfs/posix/pvfs_search.c file->id_full_directory_info.size = name->st.st_size;
st 214 source4/ntvfs/posix/pvfs_search.c file->id_both_directory_info.size = name->st.st_size;
st 57 source4/ntvfs/posix/pvfs_seek.c h->seek_offset = h->name->st.st_size + io->lseek.in.offset;
st 401 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.alloc_size < newstats.st.st_size) {
st 402 source4/ntvfs/posix/pvfs_setfileinfo.c newstats.st.st_size = newstats.dos.alloc_size;
st 413 source4/ntvfs/posix/pvfs_setfileinfo.c newstats.st.st_size = info->end_of_file_info.in.size;
st 449 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.st.st_size != h->name->st.st_size) {
st 454 source4/ntvfs/posix/pvfs_setfileinfo.c status = pvfs_stream_truncate(pvfs, h->name, h->fd, newstats.st.st_size);
st 464 source4/ntvfs/posix/pvfs_setfileinfo.c ret = ftruncate(h->fd, newstats.st.st_size);
st 466 source4/ntvfs/posix/pvfs_setfileinfo.c ret = truncate(h->name->full_name, newstats.st.st_size);
st 740 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.alloc_size < newstats.st.st_size) {
st 741 source4/ntvfs/posix/pvfs_setfileinfo.c newstats.st.st_size = newstats.dos.alloc_size;
st 763 source4/ntvfs/posix/pvfs_setfileinfo.c newstats.st.st_size = info->end_of_file_info.in.size;
st 794 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.st.st_size != name->st.st_size) {
st 796 source4/ntvfs/posix/pvfs_setfileinfo.c status = pvfs_stream_truncate(pvfs, name, -1, newstats.st.st_size);
st 800 source4/ntvfs/posix/pvfs_setfileinfo.c } else if (truncate(name->full_name, newstats.st.st_size) == -1) {
st 113 source4/ntvfs/posix/pvfs_streams.c info->streams[0].size = name->st.st_size;
st 164 source4/ntvfs/posix/pvfs_streams.c name->st.st_size = s->size;
st 174 source4/ntvfs/posix/pvfs_streams.c name->st.st_size = 0;
st 118 source4/ntvfs/posix/pvfs_unlink.c if (name->st.st_nlink == 1) {
st 152 source4/ntvfs/posix/pvfs_util.c name2->st.st_mode = mode;
st 197 source4/ntvfs/posix/pvfs_xattr.c name->st.st_mode);
st 199 source4/ntvfs/posix/pvfs_xattr.c if (name->st.st_size == info1->size) {
st 219 source4/ntvfs/posix/pvfs_xattr.c name->st.st_mode);
st 221 source4/ntvfs/posix/pvfs_xattr.c if (name->st.st_size == info2->size) {
st 263 source4/ntvfs/posix/pvfs_xattr.c name->dos.attrib = pvfs_attrib_normalise(name->dos.attrib, name->st.st_mode);
st 267 source4/ntvfs/posix/pvfs_xattr.c info1->size = name->st.st_size;
st 174 source4/ntvfs/posix/vfs_posix.c struct stat st;
st 200 source4/ntvfs/posix/vfs_posix.c if (stat(pvfs->base_directory, &st) != 0 || !S_ISDIR(st.st_mode)) {
st 290 source4/ntvfs/posix/vfs_posix.c if (!S_ISDIR(name->st.st_mode)) {
st 134 source4/ntvfs/posix/vfs_posix.h struct stat st;
st 85 source4/ntvfs/posix/xattr_tdb.c struct stat st;
st 89 source4/ntvfs/posix/xattr_tdb.c if (stat(fname, &st) == -1) {
st 93 source4/ntvfs/posix/xattr_tdb.c if (fstat(fd, &st) == -1) {
st 104 source4/ntvfs/posix/xattr_tdb.c SBVAL(key->dptr, 0, st.st_dev);
st 105 source4/ntvfs/posix/xattr_tdb.c SBVAL(key->dptr, 8, st.st_ino);
st 22 source4/ntvfs/simple/svfs.h struct stat st;
st 126 source4/ntvfs/simple/svfs_util.c if (stat(full_name, &dir->files[i].st) == 0) {
st 52 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 65 source4/ntvfs/simple/vfs_simple.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {
st 146 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 150 source4/ntvfs/simple/vfs_simple.c if (stat(unix_path, &st) == -1) {
st 154 source4/ntvfs/simple/vfs_simple.c if (!S_ISDIR(st.st_mode)) {
st 164 source4/ntvfs/simple/vfs_simple.c static uint64_t svfs_file_id(struct stat *st)
st 166 source4/ntvfs/simple/vfs_simple.c uint64_t ret = st->st_ino;
st 168 source4/ntvfs/simple/vfs_simple.c ret |= st->st_dev;
st 177 source4/ntvfs/simple/vfs_simple.c struct stat *st, const char *unix_path)
st 197 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&info->generic.out.create_time, st->st_ctime);
st 198 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&info->generic.out.access_time, st->st_atime);
st 199 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&info->generic.out.write_time, st->st_mtime);
st 200 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&info->generic.out.change_time, st->st_mtime);
st 201 source4/ntvfs/simple/vfs_simple.c info->generic.out.alloc_size = st->st_size;
st 202 source4/ntvfs/simple/vfs_simple.c info->generic.out.size = st->st_size;
st 203 source4/ntvfs/simple/vfs_simple.c info->generic.out.attrib = svfs_unix_to_dos_attrib(st->st_mode);
st 204 source4/ntvfs/simple/vfs_simple.c info->generic.out.alloc_size = st->st_blksize * st->st_blocks;
st 205 source4/ntvfs/simple/vfs_simple.c info->generic.out.nlink = st->st_nlink;
st 206 source4/ntvfs/simple/vfs_simple.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0;
st 207 source4/ntvfs/simple/vfs_simple.c info->generic.out.file_id = svfs_file_id(st);
st 234 source4/ntvfs/simple/vfs_simple.c info->generic.out.streams[0].size = st->st_size;
st 235 source4/ntvfs/simple/vfs_simple.c info->generic.out.streams[0].alloc_size = st->st_size;
st 240 source4/ntvfs/simple/vfs_simple.c info->generic.out.streams[1+i].size = dir->files[i].st.st_size;
st 241 source4/ntvfs/simple/vfs_simple.c info->generic.out.streams[1+i].alloc_size = dir->files[i].st.st_size;
st 255 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 264 source4/ntvfs/simple/vfs_simple.c if (stat(unix_path, &st) == -1) {
st 269 source4/ntvfs/simple/vfs_simple.c return svfs_map_fileinfo(ntvfs, req, info, &st, unix_path);
st 280 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 291 source4/ntvfs/simple/vfs_simple.c if (fstat(f->fd, &st) == -1) {
st 295 source4/ntvfs/simple/vfs_simple.c return svfs_map_fileinfo(ntvfs, req,info, &st, f->name);
st 307 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 379 source4/ntvfs/simple/vfs_simple.c if (fstat(fd, &st) == -1) {
st 401 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&io->generic.out.create_time, st.st_ctime);
st 402 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&io->generic.out.access_time, st.st_atime);
st 403 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&io->generic.out.write_time, st.st_mtime);
st 404 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&io->generic.out.change_time, st.st_mtime);
st 406 source4/ntvfs/simple/vfs_simple.c io->generic.out.alloc_size = st.st_size;
st 407 source4/ntvfs/simple/vfs_simple.c io->generic.out.size = st.st_size;
st 408 source4/ntvfs/simple/vfs_simple.c io->generic.out.attrib = svfs_unix_to_dos_attrib(st.st_mode);
st 409 source4/ntvfs/simple/vfs_simple.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0;
st 680 source4/ntvfs/simple/vfs_simple.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 747 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 761 source4/ntvfs/simple/vfs_simple.c if (stat(p->connectpath, &st) != 0) {
st 765 source4/ntvfs/simple/vfs_simple.c fs->generic.out.fs_id = st.st_ino;
st 766 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&fs->generic.out.create_time, st.st_ctime);
st 767 source4/ntvfs/simple/vfs_simple.c fs->generic.out.serial_number = st.st_ino;
st 788 source4/ntvfs/simple/vfs_simple.c struct stat st;
st 795 source4/ntvfs/simple/vfs_simple.c if (stat(p->connectpath, &st) == -1) {
st 799 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&fs->generic.out.create_time, st.st_ctime);
st 867 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.create_time, dir->files[i].st.st_ctime);
st 868 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.access_time, dir->files[i].st.st_atime);
st 869 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.write_time, dir->files[i].st.st_mtime);
st 870 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.change_time, dir->files[i].st.st_mtime);
st 873 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.size = dir->files[i].st.st_size;
st 874 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode);
st 962 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.create_time, dir->files[i].st.st_ctime);
st 963 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.access_time, dir->files[i].st.st_atime);
st 964 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.write_time, dir->files[i].st.st_mtime);
st 965 source4/ntvfs/simple/vfs_simple.c unix_to_nt_time(&file.both_directory_info.change_time, dir->files[i].st.st_mtime);
st 968 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.size = dir->files[i].st.st_size;
st 969 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode);
st 443 source4/ntvfs/smb2/vfs_smb2.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 352 source4/ntvfs/unixuid/vfs_unixuid.c struct ntvfs_request *req, union smb_setfileinfo *st)
st 356 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, setpathinfo, (ntvfs, req, st));
st 306 source4/smb_server/blob.c union smb_fileinfo *st,
st 316 source4/smb_server/blob.c push_nttime(blob->data, 0, st->basic_info.out.create_time);
st 317 source4/smb_server/blob.c push_nttime(blob->data, 8, st->basic_info.out.access_time);
st 318 source4/smb_server/blob.c push_nttime(blob->data, 16, st->basic_info.out.write_time);
st 319 source4/smb_server/blob.c push_nttime(blob->data, 24, st->basic_info.out.change_time);
st 320 source4/smb_server/blob.c SIVAL(blob->data, 32, st->basic_info.out.attrib);
st 327 source4/smb_server/blob.c push_nttime(blob->data, 0, st->network_open_information.out.create_time);
st 328 source4/smb_server/blob.c push_nttime(blob->data, 8, st->network_open_information.out.access_time);
st 329 source4/smb_server/blob.c push_nttime(blob->data, 16, st->network_open_information.out.write_time);
st 330 source4/smb_server/blob.c push_nttime(blob->data, 24, st->network_open_information.out.change_time);
st 331 source4/smb_server/blob.c SBVAL(blob->data, 32, st->network_open_information.out.alloc_size);
st 332 source4/smb_server/blob.c SBVAL(blob->data, 40, st->network_open_information.out.size);
st 333 source4/smb_server/blob.c SIVAL(blob->data, 48, st->network_open_information.out.attrib);
st 340 source4/smb_server/blob.c SBVAL(blob->data, 0, st->standard_info.out.alloc_size);
st 341 source4/smb_server/blob.c SBVAL(blob->data, 8, st->standard_info.out.size);
st 342 source4/smb_server/blob.c SIVAL(blob->data, 16, st->standard_info.out.nlink);
st 343 source4/smb_server/blob.c SCVAL(blob->data, 20, st->standard_info.out.delete_pending);
st 344 source4/smb_server/blob.c SCVAL(blob->data, 21, st->standard_info.out.directory);
st 351 source4/smb_server/blob.c SIVAL(blob->data, 0, st->attribute_tag_information.out.attrib);
st 352 source4/smb_server/blob.c SIVAL(blob->data, 4, st->attribute_tag_information.out.reparse_tag);
st 358 source4/smb_server/blob.c SIVAL(blob->data, 0, st->ea_info.out.ea_size);
st 364 source4/smb_server/blob.c SIVAL(blob->data, 0, st->mode_information.out.mode);
st 371 source4/smb_server/blob.c st->alignment_information.out.alignment_requirement);
st 377 source4/smb_server/blob.c SIVAL(blob->data, 0, st->access_information.out.access_flags);
st 383 source4/smb_server/blob.c SBVAL(blob->data, 0, st->position_information.out.position);
st 389 source4/smb_server/blob.c SBVAL(blob->data, 0, st->compression_info.out.compressed_size);
st 390 source4/smb_server/blob.c SSVAL(blob->data, 8, st->compression_info.out.format);
st 391 source4/smb_server/blob.c SCVAL(blob->data, 10, st->compression_info.out.unit_shift);
st 392 source4/smb_server/blob.c SCVAL(blob->data, 11, st->compression_info.out.chunk_shift);
st 393 source4/smb_server/blob.c SCVAL(blob->data, 12, st->compression_info.out.cluster_shift);
st 401 source4/smb_server/blob.c SBVAL(blob->data, 0, st->internal_information.out.file_id);
st 407 source4/smb_server/blob.c push_nttime(blob->data, 0, st->all_info.out.create_time);
st 408 source4/smb_server/blob.c push_nttime(blob->data, 8, st->all_info.out.access_time);
st 409 source4/smb_server/blob.c push_nttime(blob->data, 16, st->all_info.out.write_time);
st 410 source4/smb_server/blob.c push_nttime(blob->data, 24, st->all_info.out.change_time);
st 411 source4/smb_server/blob.c SIVAL(blob->data, 32, st->all_info.out.attrib);
st 413 source4/smb_server/blob.c SBVAL(blob->data, 40, st->all_info.out.alloc_size);
st 414 source4/smb_server/blob.c SBVAL(blob->data, 48, st->all_info.out.size);
st 415 source4/smb_server/blob.c SIVAL(blob->data, 56, st->all_info.out.nlink);
st 416 source4/smb_server/blob.c SCVAL(blob->data, 60, st->all_info.out.delete_pending);
st 417 source4/smb_server/blob.c SCVAL(blob->data, 61, st->all_info.out.directory);
st 419 source4/smb_server/blob.c SIVAL(blob->data, 64, st->all_info.out.ea_size);
st 421 source4/smb_server/blob.c st->all_info.out.fname.s,
st 430 source4/smb_server/blob.c st->name_info.out.fname.s,
st 439 source4/smb_server/blob.c st->alt_name_info.out.fname.s,
st 445 source4/smb_server/blob.c for (i=0;i<st->stream_info.out.num_streams;i++) {
st 451 source4/smb_server/blob.c SBVAL(data, 8, st->stream_info.out.streams[i].size);
st 452 source4/smb_server/blob.c SBVAL(data, 16, st->stream_info.out.streams[i].alloc_size);
st 454 source4/smb_server/blob.c st->stream_info.out.streams[i].stream_name.s,
st 457 source4/smb_server/blob.c if (i == st->stream_info.out.num_streams - 1) {
st 473 source4/smb_server/blob.c if (st->all_eas.out.num_eas == 0) {
st 477 source4/smb_server/blob.c list_size = ea_list_size_chained(st->all_eas.out.num_eas,
st 478 source4/smb_server/blob.c st->all_eas.out.eas, 4);
st 482 source4/smb_server/blob.c st->all_eas.out.num_eas,
st 483 source4/smb_server/blob.c st->all_eas.out.eas, 4);
st 489 source4/smb_server/blob.c push_nttime(blob->data, 0x00, st->all_info2.out.create_time);
st 490 source4/smb_server/blob.c push_nttime(blob->data, 0x08, st->all_info2.out.access_time);
st 491 source4/smb_server/blob.c push_nttime(blob->data, 0x10, st->all_info2.out.write_time);
st 492 source4/smb_server/blob.c push_nttime(blob->data, 0x18, st->all_info2.out.change_time);
st 493 source4/smb_server/blob.c SIVAL(blob->data, 0x20, st->all_info2.out.attrib);
st 494 source4/smb_server/blob.c SIVAL(blob->data, 0x24, st->all_info2.out.unknown1);
st 495 source4/smb_server/blob.c SBVAL(blob->data, 0x28, st->all_info2.out.alloc_size);
st 496 source4/smb_server/blob.c SBVAL(blob->data, 0x30, st->all_info2.out.size);
st 497 source4/smb_server/blob.c SIVAL(blob->data, 0x38, st->all_info2.out.nlink);
st 498 source4/smb_server/blob.c SCVAL(blob->data, 0x3C, st->all_info2.out.delete_pending);
st 499 source4/smb_server/blob.c SCVAL(blob->data, 0x3D, st->all_info2.out.directory);
st 501 source4/smb_server/blob.c SBVAL(blob->data, 0x40, st->all_info2.out.file_id);
st 502 source4/smb_server/blob.c SIVAL(blob->data, 0x48, st->all_info2.out.ea_size);
st 503 source4/smb_server/blob.c SIVAL(blob->data, 0x4C, st->all_info2.out.access_mask);
st 504 source4/smb_server/blob.c SBVAL(blob->data, 0x50, st->all_info2.out.position);
st 505 source4/smb_server/blob.c SIVAL(blob->data, 0x58, st->all_info2.out.mode);
st 506 source4/smb_server/blob.c SIVAL(blob->data, 0x5C, st->all_info2.out.alignment_requirement);
st 508 source4/smb_server/blob.c st->all_info2.out.fname.s,
st 522 source4/smb_server/blob.c union smb_setfileinfo *st,
st 534 source4/smb_server/blob.c st->basic_info.in.create_time = pull_nttime(blob->data, 0);
st 535 source4/smb_server/blob.c st->basic_info.in.access_time = pull_nttime(blob->data, 8);
st 536 source4/smb_server/blob.c st->basic_info.in.write_time = pull_nttime(blob->data, 16);
st 537 source4/smb_server/blob.c st->basic_info.in.change_time = pull_nttime(blob->data, 24);
st 538 source4/smb_server/blob.c st->basic_info.in.attrib = IVAL(blob->data, 32);
st 539 source4/smb_server/blob.c st->basic_info.in.reserved = IVAL(blob->data, 36);
st 546 source4/smb_server/blob.c st->disposition_info.in.delete_on_close = CVAL(blob->data, 0);
st 553 source4/smb_server/blob.c st->allocation_info.in.alloc_size = BVAL(blob->data, 0);
st 560 source4/smb_server/blob.c st->end_of_file_info.in.size = BVAL(blob->data, 0);
st 569 source4/smb_server/blob.c st->rename_information.in.overwrite = CVAL(blob->data, 0);
st 570 source4/smb_server/blob.c st->rename_information.in.root_fid = IVAL(blob->data, 4);
st 576 source4/smb_server/blob.c &st->rename_information.in.new_name,
st 578 source4/smb_server/blob.c if (st->rename_information.in.new_name == NULL) {
st 590 source4/smb_server/blob.c st->link_information.in.overwrite = CVAL(blob->data, 0);
st 591 source4/smb_server/blob.c st->link_information.in.root_fid = IVAL(blob->data, 8);
st 597 source4/smb_server/blob.c &st->link_information.in.new_name,
st 599 source4/smb_server/blob.c if (st->link_information.in.new_name == NULL) {
st 611 source4/smb_server/blob.c st->rename_information.in.overwrite = CVAL(blob->data, 0);
st 612 source4/smb_server/blob.c st->rename_information.in.root_fid = BVAL(blob->data, 8);
st 618 source4/smb_server/blob.c &st->rename_information.in.new_name,
st 620 source4/smb_server/blob.c if (st->rename_information.in.new_name == NULL) {
st 629 source4/smb_server/blob.c st->position_information.in.position = BVAL(blob->data, 0);
st 636 source4/smb_server/blob.c st->mode_information.in.mode = IVAL(blob->data, 0);
st 237 source4/smb_server/smb/reply.c union smb_fileinfo *st;
st 239 source4/smb_server/smb/reply.c SMBSRV_CHECK_ASYNC_STATUS(st, union smb_fileinfo);
st 244 source4/smb_server/smb/reply.c SSVAL(req->out.vwv, VWV(0), st->getattr.out.attrib);
st 245 source4/smb_server/smb/reply.c srv_push_dos_date3(req->smb_conn, req->out.vwv, VWV(1), st->getattr.out.write_time);
st 246 source4/smb_server/smb/reply.c SIVAL(req->out.vwv, VWV(3), st->getattr.out.size);
st 259 source4/smb_server/smb/reply.c union smb_fileinfo *st;
st 261 source4/smb_server/smb/reply.c SMBSRV_TALLOC_IO_PTR(st, union smb_fileinfo);
st 264 source4/smb_server/smb/reply.c st->getattr.level = RAW_FILEINFO_GETATTR;
st 267 source4/smb_server/smb/reply.c req_pull_ascii4(&req->in.bufinfo, &st->getattr.in.file.path, req->in.data, STR_TERMINATE);
st 268 source4/smb_server/smb/reply.c if (!st->getattr.in.file.path) {
st 273 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_qpathinfo(req->ntvfs, st));
st 282 source4/smb_server/smb/reply.c union smb_setfileinfo *st;
st 286 source4/smb_server/smb/reply.c SMBSRV_TALLOC_IO_PTR(st, union smb_setfileinfo);
st 289 source4/smb_server/smb/reply.c st->setattr.level = RAW_SFILEINFO_SETATTR;
st 290 source4/smb_server/smb/reply.c st->setattr.in.attrib = SVAL(req->in.vwv, VWV(0));
st 291 source4/smb_server/smb/reply.c st->setattr.in.write_time = srv_pull_dos_date3(req->smb_conn, req->in.vwv + VWV(1));
st 293 source4/smb_server/smb/reply.c req_pull_ascii4(&req->in.bufinfo, &st->setattr.in.file.path, req->in.data, STR_TERMINATE);
st 295 source4/smb_server/smb/reply.c if (!st->setattr.in.file.path) {
st 300 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_setpathinfo(req->ntvfs, st));
st 318 source4/smb_server/smb/trans2.c union smb_fileinfo *st,
st 324 source4/smb_server/smb/trans2.c switch (st->generic.level) {
st 342 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 0, st->standard.out.create_time);
st 343 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 4, st->standard.out.access_time);
st 344 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 8, st->standard.out.write_time);
st 345 source4/smb_server/smb/trans2.c SIVAL(blob->data, 12, st->standard.out.size);
st 346 source4/smb_server/smb/trans2.c SIVAL(blob->data, 16, st->standard.out.alloc_size);
st 347 source4/smb_server/smb/trans2.c SSVAL(blob->data, 20, st->standard.out.attrib);
st 353 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 0, st->ea_size.out.create_time);
st 354 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 4, st->ea_size.out.access_time);
st 355 source4/smb_server/smb/trans2.c srv_push_dos_date2(smb_conn, blob->data, 8, st->ea_size.out.write_time);
st 356 source4/smb_server/smb/trans2.c SIVAL(blob->data, 12, st->ea_size.out.size);
st 357 source4/smb_server/smb/trans2.c SIVAL(blob->data, 16, st->ea_size.out.alloc_size);
st 358 source4/smb_server/smb/trans2.c SSVAL(blob->data, 20, st->ea_size.out.attrib);
st 359 source4/smb_server/smb/trans2.c SIVAL(blob->data, 22, st->ea_size.out.ea_size);
st 363 source4/smb_server/smb/trans2.c list_size = ea_list_size(st->ea_list.out.num_eas,
st 364 source4/smb_server/smb/trans2.c st->ea_list.out.eas);
st 368 source4/smb_server/smb/trans2.c st->ea_list.out.num_eas, st->ea_list.out.eas);
st 372 source4/smb_server/smb/trans2.c list_size = ea_list_size(st->all_eas.out.num_eas,
st 373 source4/smb_server/smb/trans2.c st->all_eas.out.eas);
st 377 source4/smb_server/smb/trans2.c st->all_eas.out.num_eas, st->all_eas.out.eas);
st 416 source4/smb_server/smb/trans2.c passthru_level = st->generic.level;
st 421 source4/smb_server/smb/trans2.c passthru_level, st,
st 432 source4/smb_server/smb/trans2.c union smb_fileinfo *st;
st 434 source4/smb_server/smb/trans2.c TRANS2_CHECK_ASYNC_STATUS(st, union smb_fileinfo);
st 440 source4/smb_server/smb/trans2.c &trans->out.data, st,
st 452 source4/smb_server/smb/trans2.c union smb_fileinfo *st;
st 460 source4/smb_server/smb/trans2.c st = talloc(op, union smb_fileinfo);
st 461 source4/smb_server/smb/trans2.c NT_STATUS_HAVE_NO_MEMORY(st);
st 465 source4/smb_server/smb/trans2.c smbsrv_blob_pull_string(&req->in.bufinfo, &trans->in.params, 6, &st->generic.in.file.path, 0);
st 466 source4/smb_server/smb/trans2.c if (st->generic.in.file.path == NULL) {
st 471 source4/smb_server/smb/trans2.c st->generic.level = (enum smb_fileinfo_level)level;
st 472 source4/smb_server/smb/trans2.c if (st->generic.level >= RAW_FILEINFO_GENERIC) {
st 476 source4/smb_server/smb/trans2.c if (st->generic.level == RAW_FILEINFO_EA_LIST) {
st 478 source4/smb_server/smb/trans2.c &st->ea_list.in.num_names,
st 479 source4/smb_server/smb/trans2.c &st->ea_list.in.ea_names));
st 482 source4/smb_server/smb/trans2.c op->op_info = st;
st 485 source4/smb_server/smb/trans2.c return ntvfs_qpathinfo(req->ntvfs, st);
st 495 source4/smb_server/smb/trans2.c union smb_fileinfo *st;
st 504 source4/smb_server/smb/trans2.c st = talloc(op, union smb_fileinfo);
st 505 source4/smb_server/smb/trans2.c NT_STATUS_HAVE_NO_MEMORY(st);
st 510 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h;
st 512 source4/smb_server/smb/trans2.c st->generic.level = (enum smb_fileinfo_level)level;
st 513 source4/smb_server/smb/trans2.c if (st->generic.level >= RAW_FILEINFO_GENERIC) {
st 517 source4/smb_server/smb/trans2.c if (st->generic.level == RAW_FILEINFO_EA_LIST) {
st 519 source4/smb_server/smb/trans2.c &st->ea_list.in.num_names,
st 520 source4/smb_server/smb/trans2.c &st->ea_list.in.ea_names));
st 523 source4/smb_server/smb/trans2.c op->op_info = st;
st 526 source4/smb_server/smb/trans2.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(st->generic.in.file.ntvfs);
st 527 source4/smb_server/smb/trans2.c return ntvfs_qfileinfo(req->ntvfs, st);
st 535 source4/smb_server/smb/trans2.c union smb_setfileinfo *st,
st 540 source4/smb_server/smb/trans2.c switch (st->generic.level) {
st 551 source4/smb_server/smb/trans2.c st->standard.in.create_time = srv_pull_dos_date2(req->smb_conn, blob->data + 0);
st 552 source4/smb_server/smb/trans2.c st->standard.in.access_time = srv_pull_dos_date2(req->smb_conn, blob->data + 4);
st 553 source4/smb_server/smb/trans2.c st->standard.in.write_time = srv_pull_dos_date2(req->smb_conn, blob->data + 8);
st 559 source4/smb_server/smb/trans2.c &st->ea_set.in.num_eas,
st 560 source4/smb_server/smb/trans2.c &st->ea_set.in.eas);
st 585 source4/smb_server/smb/trans2.c passthru_level = st->generic.level;
st 612 source4/smb_server/smb/trans2.c return smbsrv_pull_passthru_sfileinfo(st, passthru_level, st,
st 623 source4/smb_server/smb/trans2.c union smb_setfileinfo *st;
st 632 source4/smb_server/smb/trans2.c st = talloc(op, union smb_setfileinfo);
st 633 source4/smb_server/smb/trans2.c NT_STATUS_HAVE_NO_MEMORY(st);
st 638 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h;
st 640 source4/smb_server/smb/trans2.c st->generic.level = (enum smb_setfileinfo_level)level;
st 641 source4/smb_server/smb/trans2.c if (st->generic.level >= RAW_SFILEINFO_GENERIC) {
st 645 source4/smb_server/smb/trans2.c TRANS2_CHECK(trans2_parse_sfileinfo(req, st, &trans->in.data));
st 647 source4/smb_server/smb/trans2.c op->op_info = st;
st 650 source4/smb_server/smb/trans2.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(st->generic.in.file.ntvfs);
st 651 source4/smb_server/smb/trans2.c return ntvfs_setfileinfo(req->ntvfs, st);
st 660 source4/smb_server/smb/trans2.c union smb_setfileinfo *st;
st 668 source4/smb_server/smb/trans2.c st = talloc(op, union smb_setfileinfo);
st 669 source4/smb_server/smb/trans2.c NT_STATUS_HAVE_NO_MEMORY(st);
st 673 source4/smb_server/smb/trans2.c smbsrv_blob_pull_string(&req->in.bufinfo, &trans->in.params, 6, &st->generic.in.file.path, 0);
st 674 source4/smb_server/smb/trans2.c if (st->generic.in.file.path == NULL) {
st 679 source4/smb_server/smb/trans2.c st->generic.level = (enum smb_setfileinfo_level)level;
st 680 source4/smb_server/smb/trans2.c if (st->generic.level >= RAW_SFILEINFO_GENERIC) {
st 684 source4/smb_server/smb/trans2.c TRANS2_CHECK(trans2_parse_sfileinfo(req, st, &trans->in.data));
st 686 source4/smb_server/smb/trans2.c op->op_info = st;
st 689 source4/smb_server/smb/trans2.c return ntvfs_setpathinfo(req->ntvfs, st);
st 57 source4/smbd/server.c struct stat st;
st 64 source4/smbd/server.c if (stat(fname, &st) != 0) {
st 67 source4/smbd/server.c if (S_ISDIR(st.st_mode)) {