Home
last modified time | relevance | path

Searched refs:svc_type (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/lib/smbsrv/libsmbrp/common/
H A Dsmbrp_plugin.c71 smb_rpo_supports_svc(const char *svc_type) in smb_rpo_supports_svc() argument
73 if (svc_type == NULL) in smb_rpo_supports_svc()
76 if (strncasecmp(svc_type, DFS_REPARSE_SVCTYPE, in smb_rpo_supports_svc()
95 smb_rpo_deref(const char *svc_type, const char *svc_data, char *buf, in smb_rpo_deref() argument
100 if ((!svc_type) || (!svc_data) || (!buf) || (!bufsz)) in smb_rpo_deref()
103 if (strcasecmp(svc_type, DFS_REPARSE_SVCTYPE) != 0) in smb_rpo_deref()
124 smb_rpo_form(const char *svc_type, const char *svc_data, char *buf, in smb_rpo_form() argument
129 if ((!svc_type) || (!svc_data) || (!buf) || (!bufsz)) in smb_rpo_form()
/titanic_44/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c153 reparse_deref(const char *svc_type, const char *svc_data, char *buf, in reparse_deref() argument
158 if ((svc_type == NULL) || (svc_data == NULL) || (buf == NULL) || in reparse_deref()
162 ops = rp_find_protocol(svc_type); in reparse_deref()
164 return (ops->rpo_deref(svc_type, svc_data, buf, bufsz)); in reparse_deref()
206 reparse_add(nvlist_t *nvl, const char *svc_type, const char *svc_data) in reparse_add() argument
213 if ((nvl == NULL) || (svc_type == NULL) || (svc_data == NULL)) in reparse_add()
220 ops = rp_find_protocol(svc_type); in reparse_add()
222 err = ops->rpo_form(svc_type, svc_data, buf, &bufsz); in reparse_add()
231 err = nvlist_add_string(nvl, svc_type, buf); in reparse_add()
244 reparse_remove(nvlist_t *nvl, const char *svc_type) in reparse_remove() argument
[all …]
/titanic_44/usr/src/cmd/fs.d/reparsed/
H A Dreparsed.c212 char *svc_type, *svc_data; in reparsed_doorfunc() local
224 if ((svc_type = strdup(argp)) == NULL) { in reparsed_doorfunc()
234 if ((cp = strchr(svc_type, ':')) == NULL) { in reparsed_doorfunc()
235 free(svc_type); in reparsed_doorfunc()
256 err = reparse_deref(svc_type, svc_data, buf, &bufsz); in reparsed_doorfunc()
261 svc_type, svc_data, bufsz, err); in reparsed_doorfunc()
278 free(svc_type); in reparsed_doorfunc()
284 if ((err = reparse_deref(svc_type, svc_data, resp->res_data, in reparsed_doorfunc()
291 free(svc_type); in reparsed_doorfunc()
296 free(svc_type); in reparsed_doorfunc()
/titanic_44/usr/src/cmd/fs.d/nfs/nfsref/
H A Dnfsref.c95 addref(char *sl_path, char *svc_type, int optind, int argc, char *argv[]) in addref() argument
147 err = reparse_add(nvl, svc_type, location); in addref()
188 delref(char *sl_path, char *svc_type) in delref() argument
220 err = reparse_remove(nvl, svc_type); in delref()
251 printf(gettext("Removed svc_type '%s' from %s\n"), svc_type, sl_path); in delref()
256 lookup(char *sl_path, char *svc_type, int type_set) in lookup() argument
287 if (type_set && strcasecmp(type, svc_type) == 0) in lookup()
322 char c, *command, *sl_path, *svc_type; in main() local
328 svc_type = "nfs-basic"; /* Default from SMF some day */ in main()
335 svc_type = optarg; in main()
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/rp_basic/
H A Dlibnfs_basic.c83 nfs_basic_supports_svc(const char *svc_type) in nfs_basic_supports_svc() argument
85 if (!svc_type) in nfs_basic_supports_svc()
87 return (!strncasecmp(svc_type, SERVICE_TYPE, strlen(SERVICE_TYPE))); in nfs_basic_supports_svc()
276 nfs_basic_deref(const char *svc_type, const char *svc_data, char *buf, in nfs_basic_deref() argument
283 if ((!svc_type) || (!svc_data) || (!buf) || (!bufsz) || (*bufsz == 0)) in nfs_basic_deref()
286 if (strcasecmp(svc_type, SERVICE_TYPE)) in nfs_basic_deref()
322 nfs_basic_form(const char *svc_type, const char *svc_data, char *buf, in nfs_basic_form() argument
327 if ((!svc_type) || (!svc_data) || (!buf) || (*bufsz == 0)) in nfs_basic_form()
330 if (strcmp(svc_type, SERVICE_TYPE)) in nfs_basic_form()
/titanic_44/usr/src/uts/common/fs/
H A Dfs_reparse.h72 extern int reparse_kderef(const char *svc_type, const char *svc_data,
76 extern int reparse_add(nvlist_t *nvl, const char *svc_type,
78 extern int reparse_remove(nvlist_t *nvl, const char *svc_type);
82 extern int reparse_deref(const char *svc_type, const char *svc_data,
H A Dfs_subr.c883 reparse_kderef(const char *svc_type, const char *svc_data, char *buf, in reparse_kderef() argument
893 if (svc_type == NULL || svc_data == NULL || buf == NULL || in reparse_kderef()
902 dlen = strlen(svc_type) + strlen(svc_data) + 2; in reparse_kderef()
912 (void) snprintf(darg, dlen, "%s:%s", svc_type, svc_data); in reparse_kderef()
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dti_opts.c203 if (svc_type(trans) == SVC_DOOR) in __rpc_get_local_uid()
224 if (svc_type(xprt) == SVC_DOOR) in __rpc_get_local_cred()
256 if (svc_type(trans) == SVC_DOOR) in svc_getcallerucred()
H A Dsvc_run.c935 if (svc_type(xprt) == SVC_DOOR) in svc_done()
969 if (svc_type(xprt) == SVC_CONNECTION && in svc_args_done()
H A Dsvc.c1572 type = svc_type(xprt); in svc_xprt_destroy()
1602 switch (svc_type(xprt)) { in svc_copy()
1621 switch (svc_type(xprt)) { in _svc_destroy_private()
1642 if (svc_type(xprt) == SVC_DOOR) in svc_get_local_cred()
H A Dsvc_vc.c1186 if (svc_type(xprt) == SVC_RENDEZVOUS) in _svc_vc_destroy_private()
1449 if (svc_type(xprt) != SVC_CONNECTION) { in svc_timeout_nonblock_xprt_and_LRU()
/titanic_44/usr/src/uts/common/rpc/
H A Dsvc_mt.h59 #define svc_type(xprt) (svc_flags(xprt) & SVC_TYPE_MASK) macro
/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c214 ib_service_type_t svc_type = IB_NONE; in ibnex_devctl() local
640 svc_type = ioc.misc_arg; in ibnex_devctl()
642 msg, service, svc_type); in ibnex_devctl()
644 if (svc_type == IB_PORT_SERVICE) { in ibnex_devctl()
646 } else if (svc_type == IB_VPPA_SERVICE) { in ibnex_devctl()
648 } else if (svc_type == IB_HCASVC_SERVICE) { in ibnex_devctl()
667 svc_type = ioc.misc_arg; in ibnex_devctl()
669 msg, service, svc_type); in ibnex_devctl()
671 if (svc_type == IB_PORT_SERVICE) { in ibnex_devctl()
673 } else if (svc_type == IB_VPPA_SERVICE) { in ibnex_devctl()
[all …]
/titanic_44/usr/src/uts/common/smbsrv/ndl/
H A Dsvcctl.ndl385 IN DWORD svc_type;
497 IN DWORD svc_type;