Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfssvc.c151 nfsd_support_version(int vers) in nfsd_support_version() argument
153 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version()
154 return nfsd_version[vers] != NULL; in nfsd_support_version()
161 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local
164 if (vers) { in nfsd_alloc_versions()
167 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions()
169 return vers; in nfsd_alloc_versions()
175 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local
179 if (vers) { in nfsd_alloc_minorversions()
182 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions()
[all …]
Dnfsctl.c545 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() argument
548 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support()
550 if (vers == 4 && minor >= 0 && in nfsd_print_version_support()
561 supported ? '+' : '-', vers, minor); in nfsd_print_version_support()
567 char *vers, *minorp, sign; in __write_versions() local
584 vers = mesg; in __write_versions()
585 len = qword_get(&mesg, vers, size); in __write_versions()
590 sign = *vers; in __write_versions()
592 num = simple_strtol((vers+1), &minorp, 0); in __write_versions()
594 num = simple_strtol(vers, &minorp, 0); in __write_versions()
[all …]
Dnfsfh.h92 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument
96 switch(vers) { in mk_fsid()
Dnfsd.h121 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change);
/fs/crypto/
Dpolicy.c803 int vers; in fscrypt_show_test_dummy_encryption() local
808 vers = policy->version; in fscrypt_show_test_dummy_encryption()
809 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption()
810 vers = 1; in fscrypt_show_test_dummy_encryption()
812 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1205 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() local
1216 switch (vers) { in ff_layout_async_handle_error()
1758 int vers; in ff_layout_read_pagelist() local
1779 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_read_pagelist()
1782 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist()
1802 vers == 3 ? &ff_layout_read_call_ops_v3 : in ff_layout_read_pagelist()
1827 int vers; in ff_layout_write_pagelist() local
1845 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_write_pagelist()
1850 vers); in ff_layout_write_pagelist()
1870 vers == 3 ? &ff_layout_write_call_ops_v3 : in ff_layout_write_pagelist()
[all …]
/fs/lockd/
Dmon.c42 u32 vers; member
99 .vers = 3, in nsm_mon_unmon()
457 *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/
DKconfig80 Disabling this option prevents users from using vers=1.0 or vers=2.0
/fs/notify/fanotify/
Dfanotify_user.c340 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()