Home
last modified time | relevance | path

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

/fs/gfs2/
Dlocking.c81 int gfs2_register_lockproto(const struct lm_lockops *proto) in gfs2_register_lockproto() argument
88 if (!strcmp(lw->lw_ops->lm_proto_name, proto->lm_proto_name)) { in gfs2_register_lockproto()
91 proto->lm_proto_name); in gfs2_register_lockproto()
102 lw->lw_ops = proto; in gfs2_register_lockproto()
116 void gfs2_unregister_lockproto(const struct lm_lockops *proto) in gfs2_unregister_lockproto() argument
123 if (!strcmp(lw->lw_ops->lm_proto_name, proto->lm_proto_name)) { in gfs2_unregister_lockproto()
134 proto->lm_proto_name); in gfs2_unregister_lockproto()
Dops_fstype.c401 char *proto, *table; in init_names() local
404 proto = sdp->sd_args.ar_lockproto; in init_names()
409 if (!proto[0] || !table[0]) { in init_names()
418 if (!proto[0]) in init_names()
419 proto = sdp->sd_sb.sb_lockproto; in init_names()
427 strlcpy(sdp->sd_proto_name, proto, GFS2_FSNAME_LEN); in init_names()
1047 char *proto = sdp->sd_proto_name; in gfs2_lm_mount() local
1055 fs_info(sdp, "Trying to join cluster \"%s\", \"%s\"\n", proto, table); in gfs2_lm_mount()
1057 error = gfs2_mount_lockproto(proto, table, sdp->sd_args.ar_hostdata, in gfs2_lm_mount()
1063 proto, table, sdp->sd_args.ar_hostdata); in gfs2_lm_mount()
/fs/nfs/
Dnfsroot.c422 static int __init root_nfs_getport(int program, int version, int proto) in root_nfs_getport() argument
429 return rpcb_getport_sync(&sin, program, version, proto); in root_nfs_getport()
443 int proto; in root_nfs_ports() local
457 proto = (nfs_data.flags & NFS_MOUNT_TCP) ? IPPROTO_TCP : IPPROTO_UDP; in root_nfs_ports()
460 if ((port = root_nfs_getport(NFS_PROGRAM, nfsd_ver, proto)) < 0) { in root_nfs_ports()
470 if ((port = root_nfs_getport(NFS_MNT_PROGRAM, mountd_ver, proto)) < 0) { in root_nfs_ports()
Dclient.c103 int proto; member
143 clp->cl_proto = cl_init->proto; in nfs_alloc_client()
428 if (clp->cl_proto != data->proto) in nfs_match_client()
518 static void nfs_init_timeout_values(struct rpc_timeout *to, int proto, in nfs_init_timeout_values() argument
524 switch (proto) { in nfs_init_timeout_values()
745 .proto = data->nfs_server.protocol, in nfs_init_server()
1110 int proto, const struct rpc_timeout *timeparms) in nfs4_set_client() argument
1117 .proto = proto, in nfs4_set_client()
Dsuper.c2275 args->nfs_server.protocol = data->proto; in nfs4_validate_mount_data()
/fs/nfsd/
Dnfscache.c126 u32 proto = rqstp->rq_prot, in nfsd_cache_lookup() local
145 proto == rp->c_prot && vers == rp->c_vers && in nfsd_cache_lookup()
185 rp->c_prot = proto; in nfsd_cache_lookup()
/fs/ocfs2/
Dstackglue.c216 void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto) in ocfs2_stack_glue_set_locking_protocol() argument
220 BUG_ON(proto == NULL); in ocfs2_stack_glue_set_locking_protocol()
225 lproto = proto; in ocfs2_stack_glue_set_locking_protocol()
Dstackglue.h262 void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto);
/fs/ocfs2/dlm/
Duserdlm.h87 struct dlm_protocol_version *proto);
Ddlmfs.c428 struct dlm_protocol_version proto = user_locking_protocol; in dlmfs_mkdir() local
448 dlm = user_dlm_register_context(domain, &proto); in dlmfs_mkdir()
Ddlmdomain.c703 struct dlm_protocol_version proto = *request; in dlm_query_join_proto_check() local
705 if (!dlm_protocol_compare(ours, &proto)) { in dlm_query_join_proto_check()
712 proto.pv_major, proto.pv_minor); in dlm_query_join_proto_check()
713 request->pv_minor = proto.pv_minor; in dlm_query_join_proto_check()
Duserdlm.c649 struct dlm_protocol_version *proto) in user_dlm_register_context() argument
665 dlm = dlm_register_domain(domain, dlm_key, proto); in user_dlm_register_context()
/fs/
Dcompat.c712 compat_int_t proto; member
728 real->proto = raw->proto; in do_nfs4_super_data_conv()