Lines Matching defs:nfs
50 #include <nfs/export.h>
51 #include <nfs/nfs.h>
52 #include <nfs/nfssys.h>
66 #define NFS_CLIENT_SVC (char *)"svc:/network/nfs/client:default"
132 .pi_name = "nfs",
243 * cmd/fs.d/nfs/mountd/nfscmd.c
320 * allocate a new nvlist for nfs properties
443 /* Verify the name starts with "share.nfs." */
453 assert(valp - valstart == 3 && strncmp(valstart, "nfs", 3) == 0);
458 /* Global property share.nfs.prop */
516 if (nvlist_lookup_string(props, "share.nfs.raw", &strval) == 0) {
523 * allocate a new nvlist for nfs properties
538 if (strcmp(namep, "share.nfs") == 0) {
550 /* Check for "share.nfs.sec" */
559 * Special handling for share.nfs.sec
561 * e.g. share.nfs.sec=sys:krb5:dh:default
673 * If there was a "share.nfs.sec" list of modes, start with those.
741 (void) snprintf(prop, sizeof (prop), "share.nfs.sec.%s.%s",
783 idx == OPT_CHARSET_MAP ? "share.nfs.charset" : "share.nfs",
813 /* set share.nfs.sec to list of security modes in orig order */
821 if (nvlist_add_string(props_nvl, "share.nfs.sec", prop) != 0)
1484 * Merge a new nfs protocol property list with an existing property list.
1853 #define SA_PREFIX_SHARE_NFS "share.nfs."
1934 if (xprop_encode_string(xprops, "share.nfs.sec", "", B_TRUE,
1943 if (nvlist_add_boolean(sublists, "share.nfs.charset") != 0 ||
1944 nvlist_add_boolean(sublists, "share.nfs.sec") != 0 ||
1945 nvlist_add_boolean(sublists, "share.nfs.sec.sys") != 0)
2252 nvlist_t *nfs;
2261 nfs = sa_share_get_proto(share, SA_PROT_NFS);
2262 if ((nfs != NULL) &&
2265 (sa_share_get_prop(nfs, SHOPT_PUBLIC) != NULL)) {
2291 nvlist_t *nfs;
2300 nfs = sa_share_get_proto(share, SA_PROT_NFS);
2301 if ((nfs != NULL) &&
2304 (sa_share_get_prop(nfs, SHOPT_PUBLIC) != NULL)) {
2383 * MUST have a nfs protocol property list
2390 dgettext(TEXT_DOMAIN, "%s: nfs"),
3133 * checked by the nfs server when it needs to.