Lines Matching refs:st
607 send_statvfs(u_int32_t id, struct statvfs *st)
612 flag = (st->f_flag & ST_RDONLY) ? SSH2_FXE_STATVFS_ST_RDONLY : 0;
613 flag |= (st->f_flag & ST_NOSUID) ? SSH2_FXE_STATVFS_ST_NOSUID : 0;
618 buffer_put_int64(&msg, st->f_bsize);
619 buffer_put_int64(&msg, st->f_frsize);
620 buffer_put_int64(&msg, st->f_blocks);
621 buffer_put_int64(&msg, st->f_bfree);
622 buffer_put_int64(&msg, st->f_bavail);
623 buffer_put_int64(&msg, st->f_files);
624 buffer_put_int64(&msg, st->f_ffree);
625 buffer_put_int64(&msg, st->f_favail);
626 buffer_put_int64(&msg, FSID_TO_ULONG(st->f_fsid));
628 buffer_put_int64(&msg, st->f_namemax);
803 struct stat st;
810 ret = do_lstat ? lstat(name, &st) : stat(name, &st);
814 stat_to_attrib(&st, &a);
839 struct stat st;
847 ret = fstat(fd, &st);
851 stat_to_attrib(&st, &a);
1024 struct stat st;
1038 if (lstat(pathname, &st) < 0)
1040 stat_to_attrib(&st, &(stats[count].attrib));
1042 stats[count].long_name = ls_file(dp->d_name, &st, 0, 0);
1161 struct stat st;
1167 if (stat(newpath, &st) == -1) {
1256 struct statvfs st;
1262 if (statvfs(path, &st) != 0)
1265 send_statvfs(id, &st);
1273 struct statvfs st;
1282 if (fstatvfs(fd, &st) != 0)
1285 send_statvfs(id, &st);