Searched refs:rpc_name (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/ksmbd/mgmt/ |
D | user_session.c | 72 static int __rpc_method(char *rpc_name) in __rpc_method() argument 74 if (!strcmp(rpc_name, "\\srvsvc") || !strcmp(rpc_name, "srvsvc")) in __rpc_method() 77 if (!strcmp(rpc_name, "\\wkssvc") || !strcmp(rpc_name, "wkssvc")) in __rpc_method() 80 if (!strcmp(rpc_name, "LANMAN") || !strcmp(rpc_name, "lanman")) in __rpc_method() 83 if (!strcmp(rpc_name, "\\samr") || !strcmp(rpc_name, "samr")) in __rpc_method() 86 if (!strcmp(rpc_name, "\\lsarpc") || !strcmp(rpc_name, "lsarpc")) in __rpc_method() 89 pr_err("Unsupported RPC: %s\n", rpc_name); in __rpc_method() 93 int ksmbd_session_rpc_open(struct ksmbd_session *sess, char *rpc_name) in ksmbd_session_rpc_open() argument 99 method = __rpc_method(rpc_name); in ksmbd_session_rpc_open()
|
D | user_session.h | 101 int ksmbd_session_rpc_open(struct ksmbd_session *sess, char *rpc_name);
|