Searched refs:vers (Results 1 – 10 of 10) sorted by relevance
/fs/nfsd/ |
D | nfssvc.c | 151 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 …]
|
D | nfsctl.c | 545 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 …]
|
D | nfsfh.h | 92 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()
|
D | nfsd.h | 121 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change);
|
/fs/crypto/ |
D | policy.c | 803 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/ |
D | flexfilelayout.c | 1205 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/ |
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/cifs/ |
D | Kconfig | 80 Disabling this option prevents users from using vers=1.0 or vers=2.0
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 340 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()
|