Searched refs:vers (Results 1 – 11 of 11) sorted by relevance
/fs/nfsd/ |
D | nfssvc.c | 145 nfsd_support_version(int vers) in nfsd_support_version() argument 147 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version() 148 return nfsd_version[vers] != NULL; in nfsd_support_version() 155 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local 158 if (vers) { in nfsd_alloc_versions() 161 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions() 163 return vers; in nfsd_alloc_versions() 169 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local 173 if (vers) { in nfsd_alloc_minorversions() 176 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions() [all …]
|
D | nfsctl.c | 525 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() argument 528 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support() 530 if (vers == 4 && minor >= 0 && in nfsd_print_version_support() 541 supported ? '+' : '-', vers, minor); in nfsd_print_version_support() 547 char *vers, *minorp, sign; in __write_versions() local 564 vers = mesg; in __write_versions() 565 len = qword_get(&mesg, vers, size); in __write_versions() 570 sign = *vers; in __write_versions() 572 num = simple_strtol((vers+1), &minorp, 0); in __write_versions() 574 num = simple_strtol(vers, &minorp, 0); in __write_versions() [all …]
|
D | nfsfh.h | 142 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument 146 switch(vers) { in mk_fsid()
|
D | nfsd.h | 133 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change);
|
D | trace.h | 42 __field(u32, vers) 52 __entry->vers = rqstp->rq_vers; 58 __entry->xid, __entry->vers, __entry->proc
|
/fs/crypto/ |
D | policy.c | 890 int vers; in fscrypt_show_test_dummy_encryption() local 895 vers = policy->version; in fscrypt_show_test_dummy_encryption() 896 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption() 897 vers = 1; in fscrypt_show_test_dummy_encryption() 899 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1200 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() local 1211 switch (vers) { in ff_layout_async_handle_error() 1771 int vers; in ff_layout_read_pagelist() local 1792 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_read_pagelist() 1795 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist() 1815 vers == 3 ? &ff_layout_read_call_ops_v3 : in ff_layout_read_pagelist() 1840 int vers; in ff_layout_write_pagelist() local 1858 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_write_pagelist() 1863 vers); in ff_layout_write_pagelist() 1883 vers == 3 ? &ff_layout_write_call_ops_v3 : in ff_layout_write_pagelist() [all …]
|
/fs/lockd/ |
D | mon.c | 42 u32 vers; member 99 .vers = 3, in nsm_mon_unmon() 457 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
|
D | svcproc.c | 21 cast_to_nlm(__be32 status, u32 vers) in cast_to_nlm() argument 24 if (vers != 4){ in cast_to_nlm()
|
/fs/smb/client/ |
D | Kconfig | 80 Disabling this option prevents users from using vers=1.0 or vers=2.0
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 633 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()
|