/linux/fs/isofs/ |
H A D | export.c | 163 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument 167 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry() 175 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument 179 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent() 183 fh_len > 2 ? ifid->parent_block : 0, in isofs_fh_to_parent() 185 fh_len > 4 ? ifid->parent_generation : 0); in isofs_fh_to_parent()
|
/linux/fs/fat/ |
H A D | nfs.c | 149 int fh_len, int fh_type) in fat_fh_to_dentry() argument 151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry() 156 struct fid *fh, int fh_len, in fat_fh_to_dentry_nostale() argument 165 if (fh_len < FAT_FID_SIZE_WITHOUT_PARENT) in fat_fh_to_dentry_nostale() 169 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_dentry_nostale() 187 int fh_len, int fh_type) in fat_fh_to_parent() argument 189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent() 194 struct fid *fh, int fh_len, in fat_fh_to_parent_nostale() argument 201 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_parent_nostale()
|
/linux/fs/btrfs/ |
H A D | export.c | 101 int fh_len, int fh_type) in btrfs_fh_to_parent() argument 108 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE) in btrfs_fh_to_parent() 112 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) in btrfs_fh_to_parent() 125 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument 132 fh_len < BTRFS_FID_SIZE_CONNECTABLE) && in btrfs_fh_to_dentry() 134 fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) && in btrfs_fh_to_dentry() 136 fh_len < BTRFS_FID_SIZE_NON_CONNECTABLE)) in btrfs_fh_to_dentry()
|
/linux/fs/efs/ |
H A D | namei.c | 97 int fh_len, int fh_type) in efs_fh_to_dentry() argument 99 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in efs_fh_to_dentry() 104 int fh_len, int fh_type) in efs_fh_to_parent() argument 106 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
|
H A D | efs.h | 138 int fh_len, int fh_type); 140 int fh_len, int fh_type);
|
/linux/fs/squashfs/ |
H A D | export.c | 83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument 86 || fh_len < 2) in squashfs_fh_to_dentry() 94 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument 96 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
|
/linux/fs/nfsd/ |
H A D | flexfilelayoutxdr.c | 23 int len, mirror_len, ds_len, fh_len; in nfsd4_ff_encode_layoutget() local 33 fh_len = 4 + fl->fh.size; in nfsd4_ff_encode_layoutget() 39 ds_len = 20 + sizeof(stateid_opaque_t) + 4 + fh_len + in nfsd4_ff_encode_layoutget()
|
/linux/fs/jfs/ |
H A D | jfs_inode.h | 26 int fh_len, int fh_type); 28 int fh_len, int fh_type);
|
H A D | namei.c | 1497 int fh_len, int fh_type) in jfs_fh_to_dentry() argument 1499 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jfs_fh_to_dentry() 1504 int fh_len, int fh_type) in jfs_fh_to_parent() argument 1506 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jfs_fh_to_parent()
|
/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 126 static int fanotify_fid_info_len(int fh_len, int name_len) in fanotify_fid_info_len() argument 128 int info_len = fh_len; in fanotify_fid_info_len() 159 int fh_len; in fanotify_event_len() local 183 fh_len = fanotify_event_object_fh_len(event); in fanotify_event_len() 184 event_len += fanotify_fid_info_len(fh_len, dot_len); in fanotify_event_len() 412 size_t fh_len = fh ? fh->len : 0; in copy_fid_info_to_user() local 413 size_t info_len = fanotify_fid_info_len(fh_len, name_len); in copy_fid_info_to_user() 417 __func__, fh_len, name_len, info_len, count); in copy_fid_info_to_user() 454 handle.handle_bytes = fh_len; in copy_fid_info_to_user() 457 if (!fh_len) in copy_fid_info_to_user() [all …]
|
/linux/fs/nfs/ |
H A D | export.c | 65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument 78 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
|
/linux/fs/nilfs2/ |
H A D | namei.c | 502 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument 506 if (fh_len < NILFS_FID_SIZE_NON_CONNECTABLE || in nilfs_fh_to_dentry() 515 int fh_len, int fh_type) in nilfs_fh_to_parent() argument 519 if (fh_len < NILFS_FID_SIZE_CONNECTABLE || in nilfs_fh_to_parent()
|
/linux/fs/affs/ |
H A D | namei.c | 554 int fh_len, int fh_type) in affs_fh_to_dentry() argument 556 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry() 561 int fh_len, int fh_type) in affs_fh_to_parent() argument 563 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
|
/linux/fs/overlayfs/ |
H A D | export.c | 792 int fh_len, int fh_type) in ovl_fh_to_dentry() argument 796 int len = fh_len << 2; in ovl_fh_to_dentry() 826 fh_len, fh_type, flags, err); in ovl_fh_to_dentry() 832 int fh_len, int fh_type) in ovl_fh_to_parent() argument
|
/linux/fs/ceph/ |
H A D | export.c | 298 int fh_len, int fh_type) in ceph_fh_to_dentry() argument 311 if (fh_len < sizeof(*fh) / 4) in ceph_fh_to_dentry() 417 int fh_len, int fh_type) in ceph_fh_to_parent() argument 430 if (fh_len < sizeof(*cfh) / 4) in ceph_fh_to_parent()
|
/linux/fs/erofs/ |
H A D | super.c | 532 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_dentry() argument 534 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in erofs_fh_to_dentry() 539 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_parent() argument 541 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in erofs_fh_to_parent()
|
/linux/fs/udf/ |
H A D | namei.c | 955 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_dentry() argument 957 if (fh_len < 3 || in udf_fh_to_dentry() 967 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_parent() argument 969 if (fh_len < 5 || fh_type != FILEID_UDF_WITH_PARENT) in udf_fh_to_parent()
|
/linux/fs/orangefs/ |
H A D | super.c | 328 int fh_len, in orangefs_fh_to_dentry() argument 333 if (fh_len < 5 || fh_type > 2) in orangefs_fh_to_dentry()
|
/linux/fs/ |
H A D | libfs.c | 1461 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_dentry() argument 1466 if (fh_len < 2) in generic_fh_to_dentry() 1494 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_parent() argument 1499 if (fh_len <= 2) in generic_fh_to_parent() 1505 (fh_len > 3 ? fid->i32.parent_gen : 0)); in generic_fh_to_parent()
|
/linux/fs/bcachefs/ |
H A D | fs.c | 1506 static int bcachefs_fid_valid(int fh_len, int fh_type) in bcachefs_fid_valid() argument 1510 return fh_len == sizeof(struct bcachefs_fid) / sizeof(u32); in bcachefs_fid_valid() 1512 return fh_len == sizeof(struct bcachefs_fid_with_parent) / sizeof(u32); in bcachefs_fid_valid() 1579 int fh_len, int fh_type) in bch2_fh_to_dentry() argument 1583 if (!bcachefs_fid_valid(fh_len, fh_type)) in bch2_fh_to_dentry() 1590 int fh_len, int fh_type) in bch2_fh_to_parent() argument 1594 if (!bcachefs_fid_valid(fh_len, fh_type) || in bch2_fh_to_parent()
|
/linux/fs/ext2/ |
H A D | super.c | 385 int fh_len, int fh_type) in ext2_fh_to_dentry() argument 387 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext2_fh_to_dentry() 392 int fh_len, int fh_type) in ext2_fh_to_parent() argument 394 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext2_fh_to_parent()
|
/linux/fs/ntfs3/ |
H A D | super.c | 812 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument 814 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry() 819 int fh_len, int fh_type) in ntfs_fh_to_parent() argument 821 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
|
/linux/fs/ext4/ |
H A D | super.c | 1557 int fh_len, int fh_type) in ext4_fh_to_dentry() argument 1559 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext4_fh_to_dentry() 1564 int fh_len, int fh_type) in ext4_fh_to_parent() argument 1566 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext4_fh_to_parent()
|
/linux/mm/ |
H A D | shmem.c | 4248 struct fid *fid, int fh_len, int fh_type) in shmem_fh_to_dentry() argument 4254 if (fh_len < 3) in shmem_fh_to_dentry()
|