Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 13 of 13) sorted by relevance

/fs/ksmbd/
Dsmb_common.c161 __le32 *proto; in ksmbd_smb_request() local
166 proto = (__le32 *)smb2_get_msg(conn->request_buf); in ksmbd_smb_request()
167 if (*proto == SMB2_COMPRESSION_TRANSFORM_ID) { in ksmbd_smb_request()
172 if (*proto != SMB1_PROTO_NUMBER && in ksmbd_smb_request()
173 *proto != SMB2_PROTO_NUMBER && in ksmbd_smb_request()
174 *proto != SMB2_TRANSFORM_PROTO_NUM) in ksmbd_smb_request()
262 __le32 proto = ((struct smb2_hdr *)smb2_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect() local
264 if (proto == SMB2_PROTO_NUMBER) { in ksmbd_negotiate_smb_dialect()
281 proto = *(__le32 *)((struct smb_hdr *)buf)->Protocol; in ksmbd_negotiate_smb_dialect()
282 if (proto == SMB1_PROTO_NUMBER) { in ksmbd_negotiate_smb_dialect()
[all …]
/fs/gfs2/
Dops_fstype.c369 char *proto, *table; in init_names() local
372 proto = sdp->sd_args.ar_lockproto; in init_names()
377 if (!proto[0] || !table[0]) { in init_names()
382 if (!proto[0]) in init_names()
383 proto = sdp->sd_sb.sb_lockproto; in init_names()
393 strscpy(sdp->sd_proto_name, proto, GFS2_LOCKNAME_LEN); in init_names()
1011 const char *proto = sdp->sd_proto_name; in gfs2_lm_mount() local
1016 if (!strcmp("lock_nolock", proto)) { in gfs2_lm_mount()
1020 } else if (!strcmp("lock_dlm", proto)) { in gfs2_lm_mount()
1024 pr_info("can't find protocol %s\n", proto); in gfs2_lm_mount()
[all …]
/fs/nfs/
Dsuper.c339 char *proto = NULL; in nfs_show_mountd_netid() local
345 proto = RPCBIND_NETID_UDP; in nfs_show_mountd_netid()
348 proto = RPCBIND_NETID_TCP; in nfs_show_mountd_netid()
355 proto = RPCBIND_NETID_UDP6; in nfs_show_mountd_netid()
358 proto = RPCBIND_NETID_TCP6; in nfs_show_mountd_netid()
363 if (proto || showdefaults) in nfs_show_mountd_netid()
364 seq_printf(m, ",mountproto=%s", proto ?: "auto"); in nfs_show_mountd_netid()
Dnfs4client.c900 int proto, const struct rpc_timeout *timeparms, in nfs4_set_client() argument
911 .proto = proto, in nfs4_set_client()
923 if (proto == XPRT_TRANSPORT_TCP) in nfs4_set_client()
980 .proto = ds_proto, in nfs4_set_ds_client()
Dclient.c181 clp->cl_proto = cl_init->proto; in nfs_alloc_client()
314 if (clp->cl_proto != data->proto) in nfs_match_client()
457 void nfs_init_timeout_values(struct rpc_timeout *to, int proto, in nfs_init_timeout_values() argument
463 switch (proto) { in nfs_init_timeout_values()
676 .proto = ctx->nfs_server.protocol, in nfs_init_server()
Dnfs3client.c92 .proto = ds_proto, in nfs3_set_ds_client()
Dfs_context.c1152 compat_int_t proto; member
1165 data->proto = compat->proto; in nfs4_compat_mount_data_conv()
1263 ctx->nfs_server.protocol = data->proto; in nfs4_parse_monolithic()
Dinternal.h77 int proto; member
209 void nfs_init_timeout_values(struct rpc_timeout *to, int proto, int timeo, int retrans);
/fs/nfsd/
Dnfssvc.c829 u32 version, int family, unsigned short proto, in nfsd_acl_rpcbind_set() argument
836 proto, port); in nfsd_acl_rpcbind_set()
875 u32 version, int family, unsigned short proto, in nfsd_rpcbind_set() argument
881 proto, port); in nfsd_rpcbind_set()
/fs/dlm/
Dlowcomms.c149 int proto; member
1556 SOCK_STREAM, dlm_proto_ops->proto, &sock); in dlm_connect()
1784 SOCK_STREAM, dlm_proto_ops->proto, &sock); in dlm_listen_for_all()
1886 .proto = IPPROTO_TCP,
1949 .proto = IPPROTO_SCTP,
/fs/ocfs2/dlm/
Ddlmdomain.c731 struct dlm_protocol_version proto = *request; in dlm_query_join_proto_check() local
733 if (!dlm_protocol_compare(ours, &proto)) { in dlm_query_join_proto_check()
740 proto.pv_major, proto.pv_minor); in dlm_query_join_proto_check()
741 request->pv_minor = proto.pv_minor; in dlm_query_join_proto_check()
/fs/debugfs/
Dfile.c219 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
220 static ret_type full_proxy_ ## name(proto) \
/fs/ceph/
Dmds_client.c5263 mds_get_authorizer(struct ceph_connection *con, int *proto, int force_new) in mds_get_authorizer() argument
5272 force_new, proto, NULL, NULL); in mds_get_authorizer()