Home
last modified time | relevance | path

Searched refs:fstypes (Results 1 – 5 of 5) sorted by relevance

/freebsd/usr.sbin/fstyp/
H A Dfstyp.c78 } fstypes[] = { variable
238 for (i = 0; i < (int)nitems(fstypes); i++) { in main()
241 if (fstypes[i].precache_encoding == NULL) in main()
243 cd = iconv_open("", fstypes[i].precache_encoding); in main()
245 err(1, "%s: iconv_open %s", fstypes[i].name, in main()
246 fstypes[i].precache_encoding); in main()
266 if (show_unmountable == false && fstypes[i].unmountable == true) in main()
268 fstyp_f = fstypes[i].function; in main()
277 if (fstypes[i].name == NULL) { in main()
292 printf("%s %s\n", fstypes[i].name, strvised); in main()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_share.c58 static const sa_fstype_t *fstypes[SA_PROTOCOL_COUNT] = variable
69 return (fstypes[protocol]->enable_share(&args)); in sa_enable_share()
78 return (fstypes[protocol]->disable_share(&args)); in sa_disable_share()
87 return (fstypes[protocol]->is_shared(&args)); in sa_is_shared()
96 fstypes[protocol]->commit_shares(); in sa_commit_shares()
105 if (fstypes[protocol]->truncate_shares != NULL) in sa_truncate_shares()
106 fstypes[protocol]->truncate_shares(); in sa_truncate_shares()
114 return (fstypes[protocol]->validate_shareopts(options)); in sa_validate_shareopts()
/freebsd/usr.sbin/makefs/
H A Dmakefs.c70 static fstype_t fstypes[] = { variable
461 for (i = 0; fstypes[i].type != NULL; i++) in get_fstype()
462 if (strcmp(fstypes[i].type, type) == 0) in get_fstype()
463 return (&fstypes[i]); in get_fstype()
/freebsd/contrib/netbsd-tests/fs/
H A Dh_funcs.subr60 set -- $(sysctl -n vfs.generic.fstypes)
/freebsd/lib/libprocstat/
H A Dlibprocstat.c1275 } fstypes[] = { in procstat_get_vnode_info_kvm() local
1287 #define NTYPES (sizeof(fstypes) / sizeof(*fstypes)) in procstat_get_vnode_info_kvm()
1321 if (!strcmp(fstypes[i].tag, tagstr)) { in procstat_get_vnode_info_kvm()
1322 if (fstypes[i].handler(kd, &vnode, vn) != 0) { in procstat_get_vnode_info_kvm()