Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfssvc.c147 nfsd_support_version(int vers) in nfsd_support_version() argument
149 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version()
150 return nfsd_version[vers] != NULL; in nfsd_support_version()
157 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local
160 if (vers) { in nfsd_alloc_versions()
163 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions()
165 return vers; in nfsd_alloc_versions()
171 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local
175 if (vers) { in nfsd_alloc_minorversions()
178 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions()
[all …]
Dnfsctl.c546 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() argument
549 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support()
551 if (vers == 4 && minor >= 0 && in nfsd_print_version_support()
562 supported ? '+' : '-', vers, minor); in nfsd_print_version_support()
568 char *vers, *minorp, sign; in __write_versions() local
585 vers = mesg; in __write_versions()
586 len = qword_get(&mesg, vers, size); in __write_versions()
591 sign = *vers; in __write_versions()
593 num = simple_strtol((vers+1), &minorp, 0); in __write_versions()
595 num = simple_strtol(vers, &minorp, 0); in __write_versions()
[all …]
Dnfsfh.h98 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument
102 switch(vers) { in mk_fsid()
Dtrace.h57 __field(u32, vers)
63 __entry->vers = rqstp->rq_vers;
67 __entry->xid, __entry->vers, __entry->proc
79 __field(u32, vers)
85 __entry->vers = rqstp->rq_vers;
89 __entry->xid, __entry->vers, __entry->proc
Dnfsd.h131 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change);
/fs/crypto/
Dpolicy.c902 int vers; in fscrypt_show_test_dummy_encryption() local
907 vers = policy->version; in fscrypt_show_test_dummy_encryption()
908 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption()
909 vers = 1; in fscrypt_show_test_dummy_encryption()
911 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1203 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() local
1214 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.c543 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()