/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfsfh.c | 456 static bool fsid_type_ok_for_exp(u8 fsid_type, struct svc_export *exp) in fsid_type_ok_for_exp() argument 458 switch (fsid_type) { in fsid_type_ok_for_exp() 484 u8 fsid_type; in set_version_and_fsid_type() local 489 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type() 495 fsid_type = FSID_DEV; in set_version_and_fsid_type() 509 if (!fsid_type_ok_for_exp(fsid_type, exp)) in set_version_and_fsid_type() 512 fsid_type = FSID_NUM; in set_version_and_fsid_type() 516 fsid_type = FSID_UUID16; in set_version_and_fsid_type() 518 fsid_type = FSID_UUID16_INUM; in set_version_and_fsid_type() 521 fsid_type in set_version_and_fsid_type() [all...] |
H A D | export.c | 837 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() argument 847 key.ek_fsidtype = fsid_type; in exp_find_key() 848 memcpy(key.ek_fsid, fsidv, key_len(fsid_type)); in exp_find_key() 959 struct auth_domain *clp, int fsid_type, in exp_find() 964 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find() 1049 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) in rqst_exp_find() argument 1059 exp = exp_find(cd, rqstp->rq_client, fsid_type, in rqst_exp_find() 1072 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv, in rqst_exp_find() 958 exp_find(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, u32 *fsidv, struct cache_req *reqp) exp_find() argument
|
H A D | pnfs.h | 17 int fsid_type; member
|
H A D | nfs4layouts.c | 67 map->fsid_type = fh->fh_fsid_type; in nfsd4_alloc_devid_map() 76 if (old->fsid_type != fh->fh_fsid_type) in nfsd4_alloc_devid_map() 79 key_len(old->fsid_type))) in nfsd4_alloc_devid_map()
|
H A D | nfs4proc.c | 1866 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfsfh.c | 440 static bool fsid_type_ok_for_exp(u8 fsid_type, struct svc_export *exp) in fsid_type_ok_for_exp() argument 442 switch (fsid_type) { in fsid_type_ok_for_exp() 468 u8 fsid_type; in set_version_and_fsid_type() local 473 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type() 479 fsid_type = FSID_DEV; in set_version_and_fsid_type() 493 if (!fsid_type_ok_for_exp(fsid_type, exp)) in set_version_and_fsid_type() 496 fsid_type = FSID_NUM; in set_version_and_fsid_type() 500 fsid_type = FSID_UUID16; in set_version_and_fsid_type() 502 fsid_type = FSID_UUID16_INUM; in set_version_and_fsid_type() 505 fsid_type in set_version_and_fsid_type() [all...] |
H A D | export.c | 921 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() argument 931 key.ek_fsidtype = fsid_type; in exp_find_key() 932 memcpy(key.ek_fsid, fsidv, key_len(fsid_type)); in exp_find_key() 1043 struct auth_domain *clp, int fsid_type, in exp_find() 1048 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find() 1151 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) in rqst_exp_find() argument 1161 exp = exp_find(cd, rqstp->rq_client, fsid_type, in rqst_exp_find() 1174 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv, in rqst_exp_find() 1042 exp_find(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, u32 *fsidv, struct cache_req *reqp) exp_find() argument
|
H A D | pnfs.h | 17 int fsid_type; member
|
H A D | nfs4layouts.c | 67 map->fsid_type = fh->fh_fsid_type; in nfsd4_alloc_devid_map() 76 if (old->fsid_type != fh->fh_fsid_type) in nfsd4_alloc_devid_map() 79 key_len(old->fsid_type))) in nfsd4_alloc_devid_map()
|
H A D | nfs4proc.c | 2183 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
|