Lines Matching refs:pr_stat

510 static void stat_to_prstat(ProxyStat *pr_stat, struct stat *stat)  in stat_to_prstat()  argument
512 memset(pr_stat, 0, sizeof(*pr_stat)); in stat_to_prstat()
513 pr_stat->st_dev = stat->st_dev; in stat_to_prstat()
514 pr_stat->st_ino = stat->st_ino; in stat_to_prstat()
515 pr_stat->st_nlink = stat->st_nlink; in stat_to_prstat()
516 pr_stat->st_mode = stat->st_mode; in stat_to_prstat()
517 pr_stat->st_uid = stat->st_uid; in stat_to_prstat()
518 pr_stat->st_gid = stat->st_gid; in stat_to_prstat()
519 pr_stat->st_rdev = stat->st_rdev; in stat_to_prstat()
520 pr_stat->st_size = stat->st_size; in stat_to_prstat()
521 pr_stat->st_blksize = stat->st_blksize; in stat_to_prstat()
522 pr_stat->st_blocks = stat->st_blocks; in stat_to_prstat()
523 pr_stat->st_atim_sec = stat->st_atim.tv_sec; in stat_to_prstat()
524 pr_stat->st_atim_nsec = stat->st_atim.tv_nsec; in stat_to_prstat()
525 pr_stat->st_mtim_sec = stat->st_mtim.tv_sec; in stat_to_prstat()
526 pr_stat->st_mtim_nsec = stat->st_mtim.tv_nsec; in stat_to_prstat()
527 pr_stat->st_ctim_sec = stat->st_ctim.tv_sec; in stat_to_prstat()
528 pr_stat->st_ctim_nsec = stat->st_ctim.tv_nsec; in stat_to_prstat()
556 ProxyStat pr_stat; in do_stat() local
573 stat_to_prstat(&pr_stat, &st_buf); in do_stat()
575 "qqqdddqqqqqqqqqq", pr_stat.st_dev, in do_stat()
576 pr_stat.st_ino, pr_stat.st_nlink, in do_stat()
577 pr_stat.st_mode, pr_stat.st_uid, in do_stat()
578 pr_stat.st_gid, pr_stat.st_rdev, in do_stat()
579 pr_stat.st_size, pr_stat.st_blksize, in do_stat()
580 pr_stat.st_blocks, in do_stat()
581 pr_stat.st_atim_sec, pr_stat.st_atim_nsec, in do_stat()
582 pr_stat.st_mtim_sec, pr_stat.st_mtim_nsec, in do_stat()
583 pr_stat.st_ctim_sec, pr_stat.st_ctim_nsec); in do_stat()