Lines Matching defs:sf
76 __statfs11_to_statfs(const struct freebsd11_statfs *sf11, struct statfs *sf)
79 sf->f_version = STATFS_VERSION;
80 sf->f_type = sf11->f_type;
81 sf->f_flags = sf11->f_flags;
82 sf->f_bsize = sf11->f_bsize;
83 sf->f_iosize = sf11->f_iosize;
84 sf->f_blocks = sf11->f_blocks;
85 sf->f_bfree = sf11->f_bfree;
86 sf->f_bavail = sf11->f_bavail;
87 sf->f_files = sf11->f_files;
88 sf->f_ffree = sf11->f_ffree;
89 sf->f_syncwrites = sf11->f_syncwrites;
90 sf->f_asyncwrites = sf11->f_asyncwrites;
91 sf->f_syncreads = sf11->f_syncreads;
92 sf->f_asyncreads = sf11->f_asyncreads;
93 sf->f_namemax = sf11->f_namemax;
94 sf->f_owner = sf11->f_owner;
95 sf->f_fsid = sf11->f_fsid;
96 memset(sf->f_spare, 0, sizeof(sf->f_spare));
97 memset(sf->f_charspare, 0, sizeof(sf->f_charspare));
98 strlcpy(sf->f_fstypename, sf11->f_fstypename, sizeof(sf->f_fstypename));
99 strlcpy(sf->f_mntfromname, sf11->f_mntfromname, sizeof(sf->f_mntfromname));
100 strlcpy(sf->f_mntonname, sf11->f_mntonname, sizeof(sf->f_mntonname));