Searched refs:sa_protocol (Results 1 – 9 of 9) sorted by relevance
| /src/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_share.h | 84 enum sa_protocol); 85 extern int sa_disable_share(const char *, enum sa_protocol); 86 extern boolean_t sa_is_shared(const char *, enum sa_protocol); 87 extern void sa_commit_shares(enum sa_protocol); 88 extern void sa_truncate_shares(enum sa_protocol); 91 extern int sa_validate_shareopts(const char *, enum sa_protocol);
|
| H A D | libzfs_share.c | 63 const char *shareopts, enum sa_protocol protocol) in sa_enable_share() 73 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) in sa_disable_share() 82 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) in sa_is_shared() 91 sa_commit_shares(enum sa_protocol protocol) in sa_commit_shares() 100 sa_truncate_shares(enum sa_protocol protocol) in sa_truncate_shares() 110 sa_validate_shareopts(const char *options, enum sa_protocol protocol) in sa_validate_shareopts()
|
| H A D | libzfs_mount.c | 94 static const enum sa_protocol share_all_proto[SA_PROTOCOL_COUNT + 1] = { 101 zfs_share_protocol_name(enum sa_protocol protocol) in zfs_share_protocol_name() 689 enum sa_protocol proto) in unshare_one() 706 zfs_share(zfs_handle_t *zhp, const enum sa_protocol *proto) in zfs_share() 711 const enum sa_protocol *curr_proto; in zfs_share() 758 const enum sa_protocol *proto) in zfs_is_shared() 770 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in zfs_is_shared() 784 zfs_commit_shares(const enum sa_protocol *proto) in zfs_commit_shares() 789 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in zfs_commit_shares() 794 zfs_truncate_shares(const enum sa_protocol *proto) in zfs_truncate_shares() [all …]
|
| H A D | libzfs_changelist.c | 100 const enum sa_protocol smb[] = {SA_PROTOCOL_SMB, SA_NO_PROTOCOL}; in changelist_prefix() 266 const enum sa_protocol nfs[] = in changelist_postfix() 275 const enum sa_protocol smb[] = in changelist_postfix() 286 enum sa_protocol proto[SA_PROTOCOL_COUNT + 1], *p = proto; in changelist_postfix() 356 changelist_unshare(prop_changelist_t *clp, const enum sa_protocol *proto) in changelist_unshare() 371 for (const enum sa_protocol *p = proto; *p != SA_NO_PROTOCOL; ++p) in changelist_unshare()
|
| H A D | libzfs_impl.h | 181 extern int changelist_unshare(prop_changelist_t *, const enum sa_protocol *);
|
| H A D | libzfs_dataset.c | 1432 enum sa_protocol proto; in zfs_valid_proplist()
|
| H A D | libzfs.abi | 2118 <enum-decl name='sa_protocol' id='9155d4b5'>
|
| /src/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 986 enum sa_protocol { enum 992 _LIBZFS_H const char *zfs_share_protocol_name(enum sa_protocol); 995 const enum sa_protocol *proto); 996 _LIBZFS_H int zfs_share(zfs_handle_t *zhp, const enum sa_protocol *proto); 998 const enum sa_protocol *proto); 1000 const enum sa_protocol *proto); 1001 _LIBZFS_H void zfs_commit_shares(const enum sa_protocol *proto); 1002 _LIBZFS_H void zfs_truncate_shares(const enum sa_protocol *proto);
|
| /src/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_main.c | 7037 enum sa_protocol sm_proto; /* only valid for OP_SHARE */ 7048 share_mount_one(zfs_handle_t *zhp, int op, int flags, enum sa_protocol protocol, in share_mount_one() 7225 enum sa_protocol prot[] = {SA_PROTOCOL_NFS, SA_NO_PROTOCOL}; in share_mount_one() 7347 static enum sa_protocol 7350 for (enum sa_protocol i = 0; i < SA_PROTOCOL_COUNT; ++i) in sa_protocol_decode() 7355 for (enum sa_protocol i = 0; i < SA_PROTOCOL_COUNT; ++i) in sa_protocol_decode() 7445 enum sa_protocol protocol = SA_NO_PROTOCOL; in share_mount() 7815 enum sa_protocol *protocol = NULL, in unshare_unmount()
|