Searched refs:fh1 (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfsfh.h | 196 static inline bool fh_match(struct knfsd_fh *fh1, struct knfsd_fh *fh2) in fh_match() argument 198 if (fh1->fh_size != fh2->fh_size) in fh_match() 200 if (memcmp(fh1->fh_base.fh_pad, fh2->fh_base.fh_pad, fh1->fh_size) != 0) in fh_match() 205 static inline bool fh_fsid_match(struct knfsd_fh *fh1, struct knfsd_fh *fh2) in fh_fsid_match() argument 207 if (fh1->fh_fsid_type != fh2->fh_fsid_type) in fh_fsid_match() 209 if (memcmp(fh1->fh_fsid, fh2->fh_fsid, key_len(fh1->fh_fsid_type)) != 0) in fh_fsid_match()
|
H A D | xdr3.h | 242 struct svc_fh fh1; member
|
H A D | nfs3xdr.c | 1169 fh_put(&resp->fh1); in nfs3svc_release_fhandle2()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfsfh.h | 246 static inline bool fh_match(const struct knfsd_fh *fh1, in fh_match() argument 249 if (fh1->fh_size != fh2->fh_size) in fh_match() 251 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match() 256 static inline bool fh_fsid_match(const struct knfsd_fh *fh1, in fh_fsid_match() argument 259 if (fh1->fh_fsid_type != fh2->fh_fsid_type) in fh_fsid_match() 261 if (memcmp(fh1->fh_fsid, fh2->fh_fsid, key_len(fh1->fh_fsid_type)) != 0) in fh_fsid_match()
|
H A D | xdr3.h | 234 struct svc_fh fh1; member
|
H A D | nfs3xdr.c | 1355 fh_put(&resp->fh1); in nfs3svc_release_fhandle2()
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
H A D | fanotify.c | 31 static bool fanotify_fh_equal(struct fanotify_fh *fh1, in fanotify_fh_equal() argument 34 if (fh1->type != fh2->type || fh1->len != fh2->len) in fanotify_fh_equal() 37 return !fh1->len || in fanotify_fh_equal() 38 !memcmp(fanotify_fh_buf(fh1), fanotify_fh_buf(fh2), fh1->len); in fanotify_fh_equal()
|
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify.c | 44 static bool fanotify_fh_equal(struct fanotify_fh *fh1, in fanotify_fh_equal() argument 47 if (fh1->type != fh2->type || fh1->len != fh2->len) in fanotify_fh_equal() 50 return !fh1->len || in fanotify_fh_equal() 51 !memcmp(fanotify_fh_buf(fh1), fanotify_fh_buf(fh2), fh1->len); in fanotify_fh_equal()
|
Completed in 9 milliseconds