Searched refs:sa_protocol (Results 1 – 9 of 9) sorted by relevance
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_share.h | 74 enum sa_protocol); 75 extern int sa_disable_share(const char *, enum sa_protocol); 76 extern boolean_t sa_is_shared(const char *, enum sa_protocol); 77 extern void sa_commit_shares(enum sa_protocol); 78 extern void sa_truncate_shares(enum sa_protocol); 81 extern int sa_validate_shareopts(const char *, enum sa_protocol);
|
| H A D | libzfs_share.c | 53 const char *shareopts, enum sa_protocol protocol) in sa_enable_share() 67 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) in sa_disable_share() 76 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) in sa_is_shared() 85 sa_commit_shares(enum sa_protocol protocol) in sa_commit_shares() 94 sa_truncate_shares(enum sa_protocol protocol) in sa_truncate_shares() 104 sa_validate_shareopts(const char *options, enum sa_protocol protocol) in sa_validate_shareopts()
|
| H A D | libzfs_mount.c | 84 static const enum sa_protocol share_all_proto[SA_PROTOCOL_COUNT + 1] = { 91 zfs_share_protocol_name(enum sa_protocol protocol) in zfs_share_protocol_name() 720 enum sa_protocol proto) in unshare_one() 737 zfs_share(zfs_handle_t *zhp, const enum sa_protocol *proto) in zfs_share() 742 const enum sa_protocol *curr_proto; in zfs_share() 789 const enum sa_protocol *proto) in zfs_is_shared() 801 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in zfs_is_shared() 815 zfs_commit_shares(const enum sa_protocol *proto) in zfs_commit_shares() 820 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in zfs_commit_shares() 825 zfs_truncate_shares(const enum sa_protocol *proto) in zfs_truncate_shares() [all …]
|
| H A D | libzfs_changelist.c | 152 const enum sa_protocol smb[] = {SA_PROTOCOL_SMB, SA_NO_PROTOCOL}; in changelist_prefix() 325 const enum sa_protocol nfs[] = in changelist_postfix() 334 const enum sa_protocol smb[] = in changelist_postfix() 345 enum sa_protocol proto[SA_PROTOCOL_COUNT + 1], *p = proto; in changelist_postfix() 423 changelist_unshare(prop_changelist_t *clp, const enum sa_protocol *proto) in changelist_unshare() 438 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in changelist_unshare()
|
| H A D | libzfs_impl.h | 179 extern int changelist_unshare(prop_changelist_t *, const enum sa_protocol *);
|
| H A D | libzfs_dataset.c | 1238 enum sa_protocol proto; in zfs_valid_proplist()
|
| H A D | libzfs.abi | 2203 <enum-decl name='sa_protocol' id='9155d4b5'>
|
| /freebsd/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 988 enum sa_protocol { enum 994 _LIBZFS_H const char *zfs_share_protocol_name(enum sa_protocol); 997 const enum sa_protocol *proto); 998 _LIBZFS_H int zfs_share(zfs_handle_t *zhp, const enum sa_protocol *proto); 1000 const enum sa_protocol *proto); 1002 const enum sa_protocol *proto); 1003 _LIBZFS_H void zfs_commit_shares(const enum sa_protocol *proto); 1004 _LIBZFS_H void zfs_truncate_shares(const enum sa_protocol *proto);
|
| /freebsd/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_main.c | 7088 enum sa_protocol sm_proto; /* only valid for OP_SHARE */ 7099 share_mount_one(zfs_handle_t *zhp, int op, int flags, enum sa_protocol protocol, in share_mount_one() 7276 enum sa_protocol prot[] = {SA_PROTOCOL_NFS, SA_NO_PROTOCOL}; in share_mount_one() 7398 static enum sa_protocol 7401 for (enum sa_protocol i = 0; i < SA_PROTOCOL_COUNT; ++i) in sa_protocol_decode() 7406 for (enum sa_protocol i = 0; i < SA_PROTOCOL_COUNT; ++i) in sa_protocol_decode() 7496 enum sa_protocol protocol = SA_NO_PROTOCOL; in share_mount() 7864 enum sa_protocol *protocol = NULL, in unshare_unmount()
|