Lines Matching refs:statbuf

61                          struct stat *statbuf, const char *stattype)  in StatFromCache()  argument
78 statbuf->st_mode = sp->cf_lmode; in StatFromCache()
82 statbuf->st_mode = sp->cf_mode; in StatFromCache()
85 statbuf->st_uid = sp->cf_uid; in StatFromCache()
86 statbuf->st_gid = sp->cf_gid; in StatFromCache()
87 statbuf->st_size = sp->cf_size; in StatFromCache()
88 statbuf->st_atime = sp->cf_atime; in StatFromCache()
89 statbuf->st_mtime = sp->cf_mtime; in StatFromCache()
90 statbuf->st_ctime = sp->cf_ctime; in StatFromCache()
91 statbuf->st_ino = sp->cf_ino; in StatFromCache()
92 statbuf->st_dev = sp->cf_dev; in StatFromCache()
93 statbuf->st_nlink = sp->cf_nlink; in StatFromCache()
109 struct stat *statbuf, const char *stattype) in cf_remote_stat() argument
113 assert(statbuf != NULL); in cf_remote_stat()
127 int ret = StatFromCache(conn, file, statbuf, stattype); in cf_remote_stat()
281 statbuf->st_mode = cfst.cf_lmode; in cf_remote_stat()
285 statbuf->st_mode = cfst.cf_mode; in cf_remote_stat()
288 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat()
289 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat()
290 statbuf->st_size = cfst.cf_size; in cf_remote_stat()
291 statbuf->st_mtime = cfst.cf_mtime; in cf_remote_stat()
292 statbuf->st_ctime = cfst.cf_ctime; in cf_remote_stat()
293 statbuf->st_atime = cfst.cf_atime; in cf_remote_stat()
294 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat()
295 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat()
296 statbuf->st_nlink = cfst.cf_nlink; in cf_remote_stat()
356 bool StatParseResponse(const char *const buf, Stat *const statbuf) in StatParseResponse() argument
359 assert(statbuf != NULL); in StatParseResponse()
391 statbuf->cf_type = (FileType) d1; in StatParseResponse()
392 statbuf->cf_mode = (mode_t) d2; in StatParseResponse()
393 statbuf->cf_lmode = (mode_t) d3; in StatParseResponse()
394 statbuf->cf_uid = (uid_t) d4; in StatParseResponse()
395 statbuf->cf_gid = (gid_t) d5; in StatParseResponse()
396 statbuf->cf_size = (off_t) d6; in StatParseResponse()
397 statbuf->cf_atime = (time_t) d7; in StatParseResponse()
398 statbuf->cf_mtime = (time_t) d8; in StatParseResponse()
399 statbuf->cf_ctime = (time_t) d9; in StatParseResponse()
400 statbuf->cf_makeholes = (char) d10; in StatParseResponse()
401 statbuf->cf_ino = d11; in StatParseResponse()
402 statbuf->cf_nlink = d12; in StatParseResponse()
403 statbuf->cf_dev = (dev_t)d13; in StatParseResponse()