Searched refs:dumpmntopts (Results 1 – 3 of 3) sorted by relevance
345 struct nfscl_dumpmntopts dumpmntopts; in umountfs() local 393 dumpmntopts.ndmnt_fname = sfs->f_mntonname; in umountfs() 394 dumpmntopts.ndmnt_buf = buf; in umountfs() 395 dumpmntopts.ndmnt_blen = sizeof(buf); in umountfs() 396 if (nfssvc(NFSSVC_DUMPMNTOPTS, &dumpmntopts) >= 0) { in umountfs()
1288 struct nfscl_dumpmntopts dumpmntopts; in nfssvc_nfscl() local1331 error = copyin(uap->argp, &dumpmntopts, sizeof(dumpmntopts)); in nfssvc_nfscl()1332 if (error == 0 && (dumpmntopts.ndmnt_blen < 256 || in nfssvc_nfscl()1333 dumpmntopts.ndmnt_blen > 1024)) in nfssvc_nfscl()1337 dumpmntopts.ndmnt_fname, td); in nfssvc_nfscl()1344 buf = malloc(dumpmntopts.ndmnt_blen, M_TEMP, M_WAITOK | in nfssvc_nfscl()1347 dumpmntopts.ndmnt_blen); in nfssvc_nfscl()1349 error = copyout(buf, dumpmntopts.ndmnt_buf, in nfssvc_nfscl()1350 dumpmntopts.ndmnt_blen); in nfssvc_nfscl()
140 struct nfscl_dumpmntopts dumpmntopts; in main() local160 dumpmntopts.ndmnt_fname = in main()162 dumpmntopts.ndmnt_buf = buf; in main()163 dumpmntopts.ndmnt_blen = sizeof(buf); in main()165 &dumpmntopts) >= 0) in main()