Home
last modified time | relevance | path

Searched refs:rpc_name (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/smb/server/mgmt/
Duser_session.c70 static int __rpc_method(char *rpc_name) in __rpc_method() argument
72 if (!strcmp(rpc_name, "\\srvsvc") || !strcmp(rpc_name, "srvsvc")) in __rpc_method()
75 if (!strcmp(rpc_name, "\\wkssvc") || !strcmp(rpc_name, "wkssvc")) in __rpc_method()
78 if (!strcmp(rpc_name, "LANMAN") || !strcmp(rpc_name, "lanman")) in __rpc_method()
81 if (!strcmp(rpc_name, "\\samr") || !strcmp(rpc_name, "samr")) in __rpc_method()
84 if (!strcmp(rpc_name, "\\lsarpc") || !strcmp(rpc_name, "lsarpc")) in __rpc_method()
87 pr_err("Unsupported RPC: %s\n", rpc_name); in __rpc_method()
91 int ksmbd_session_rpc_open(struct ksmbd_session *sess, char *rpc_name) in ksmbd_session_rpc_open() argument
97 method = __rpc_method(rpc_name); in ksmbd_session_rpc_open()
Duser_session.h106 int ksmbd_session_rpc_open(struct ksmbd_session *sess, char *rpc_name);