Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 10 of 10) sorted by relevance

/fs/nfsd/
Dnfssvc.c130 int nfsd_vers(int vers, enum vers_op change) in nfsd_vers() argument
132 if (vers < NFSD_MINVERS || vers >= NFSD_NRVERS) in nfsd_vers()
136 nfsd_versions[vers] = nfsd_version[vers]; in nfsd_vers()
138 if (vers < NFSD_ACL_NRVERS) in nfsd_vers()
139 nfsd_acl_versions[vers] = nfsd_acl_version[vers]; in nfsd_vers()
143 nfsd_versions[vers] = NULL; in nfsd_vers()
145 if (vers < NFSD_ACL_NRVERS) in nfsd_vers()
146 nfsd_acl_versions[vers] = NULL; in nfsd_vers()
150 return nfsd_versions[vers] != NULL; in nfsd_vers()
152 return nfsd_version[vers] != NULL; in nfsd_vers()
[all …]
Dnfsctl.c541 unsigned vers, int minor) in nfsd_print_version_support() argument
544 bool supported = !!nfsd_vers(vers, NFSD_TEST); in nfsd_print_version_support()
546 if (vers == 4 && minor >= 0 && in nfsd_print_version_support()
557 supported ? '+' : '-', vers, minor); in nfsd_print_version_support()
563 char *vers, *minorp, sign; in __write_versions() local
580 vers = mesg; in __write_versions()
581 len = qword_get(&mesg, vers, size); in __write_versions()
586 sign = *vers; in __write_versions()
588 num = simple_strtol((vers+1), &minorp, 0); in __write_versions()
590 num = simple_strtol(vers, &minorp, 0); in __write_versions()
[all …]
Dnfsfh.h88 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument
92 switch(vers) { in mk_fsid()
Dnfscache.c392 vers = rqstp->rq_vers, in nfsd_cache_lookup() local
444 rp->c_vers = vers; in nfsd_cache_lookup()
Dnfsd.h102 int nfsd_vers(int vers, enum vers_op change);
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1160 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() local
1169 switch (vers) { in ff_layout_async_handle_error()
1696 int vers; in ff_layout_read_pagelist() local
1716 vers = nfs4_ff_layout_ds_version(lseg, idx); in ff_layout_read_pagelist()
1719 ds->ds_remotestr, atomic_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist()
1728 if (vers == 4 && in ff_layout_read_pagelist()
1741 vers == 3 ? &ff_layout_read_call_ops_v3 : in ff_layout_read_pagelist()
1762 int vers; in ff_layout_write_pagelist() local
1779 vers = nfs4_ff_layout_ds_version(lseg, idx); in ff_layout_write_pagelist()
1784 vers); in ff_layout_write_pagelist()
[all …]
/fs/lockd/
Dmon.c42 u32 vers; member
98 .vers = 3, in nsm_mon_unmon()
452 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
Dsvcproc.c21 cast_to_nlm(__be32 status, u32 vers) in cast_to_nlm() argument
24 if (vers != 4){ in cast_to_nlm()
/fs/cifs/
DKconfig79 Disabling this option prevents users from using vers=1.0 or vers=2.0
/fs/notify/fanotify/
Dfanotify_user.c131 metadata->vers = FANOTIFY_METADATA_VERSION; in fill_event_metadata()