Lines Matching full:path
43 (path: *const libc::c_char, buf: *mut type_of_statfs) -> libc::c_int
51 (path: *const libc::c_char, buf: *mut type_of_statfs) -> libc::c_int
728 /// `path` - Path to any file within the file system to describe
729 pub fn statfs<P: ?Sized + NixPath>(path: &P) -> Result<Statfs> {
732 let res = path.with_nix_path(|path| {
733 LIBC_STATFS(path.as_ptr(), stat.as_mut_ptr())
761 use std::path::Path;
779 fn check_fstatfs(path: &str) {
780 if !Path::new(path).exists() {
783 let vfs = statvfs(path.as_bytes()).unwrap();
784 let file = File::open(path).unwrap();
789 fn check_statfs(path: &str) {
790 if !Path::new(path).exists() {
793 let vfs = statvfs(path.as_bytes()).unwrap();
794 let fs = statfs(path.as_bytes()).unwrap();
828 fn check_fstatfs_strict(path: &str) {
829 if !Path::new(path).exists() {
832 let vfs = statvfs(path.as_bytes());
833 let file = File::open(path).unwrap();
838 fn check_statfs_strict(path: &str) {
839 if !Path::new(path).exists() {
842 let vfs = statvfs(path.as_bytes());
843 let fs = statfs(path.as_bytes());