Lines Matching refs:metadata
161 let file_type: FileType = inode.metadata()?.file_type; in open()
285 match inode.metadata() { in chdir()
580 match file.metadata() { in do_fstat()
581 Ok(metadata) => { in do_fstat()
582 kstat.size = metadata.size as i64; in do_fstat()
583 kstat.dev_id = metadata.dev_id as u64; in do_fstat()
584 kstat.inode = metadata.inode_id as u64; in do_fstat()
585 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()
586 kstat.blocks = metadata.blocks as u64; in do_fstat()
588 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()
589 kstat.atime.tv_nsec = metadata.atime.tv_nsec; in do_fstat()
590 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat()
591 kstat.mtime.tv_nsec = metadata.mtime.tv_nsec; in do_fstat()
592 kstat.ctime.tv_sec = metadata.ctime.tv_sec; in do_fstat()
593 kstat.ctime.tv_nsec = metadata.ctime.tv_nsec; in do_fstat()
595 kstat.nlink = metadata.nlinks as u64; in do_fstat()
596 kstat.uid = metadata.uid as i32; in do_fstat()
597 kstat.gid = metadata.gid as i32; in do_fstat()
598 kstat.rdev = metadata.raw_dev as i64; in do_fstat()
599 kstat.mode.bits = metadata.mode; in do_fstat()