Home
last modified time | relevance | path

Searched refs:filetype (Results 1 – 12 of 12) sorted by relevance

/fs/xfs/
Dxfs_dir2_readdir.c32 uint8_t filetype) in xfs_dir3_get_dtype() argument
37 if (filetype >= XFS_DIR3_FT_MAX) in xfs_dir3_get_dtype()
40 return xfs_dir3_filetype_table[filetype]; in xfs_dir3_get_dtype()
105 uint8_t filetype; in xfs_dir2_sf_getdents() local
116 filetype = dp->d_ops->sf_get_ftype(sfep); in xfs_dir2_sf_getdents()
119 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_sf_getdents()
180 uint8_t filetype; in xfs_dir2_block_getdents() local
207 filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_block_getdents()
213 xfs_dir3_get_dtype(dp->i_mount, filetype))) { in xfs_dir2_block_getdents()
377 uint8_t filetype; in xfs_dir2_leaf_getdents() local
[all …]
/fs/
Dfs_types.c37 unsigned char fs_ftype_to_dtype(unsigned int filetype) in fs_ftype_to_dtype() argument
39 if (filetype >= FT_MAX) in fs_ftype_to_dtype()
42 return fs_dtype_by_ftype[filetype]; in fs_ftype_to_dtype()
/fs/adfs/
Ddir.c43 u16 filetype = adfs_filetype(obj->loadaddr); in adfs_object_fixup() local
45 if (filetype != ADFS_FILETYPE_NONE) { in adfs_object_fixup()
47 obj->name[obj->name_len++] = hex_asc_lo(filetype >> 8); in adfs_object_fixup()
48 obj->name[obj->name_len++] = hex_asc_lo(filetype >> 4); in adfs_object_fixup()
49 obj->name[obj->name_len++] = hex_asc_lo(filetype >> 0); in adfs_object_fixup()
/fs/xfs/libxfs/
Dxfs_dir2_sf.c392 dp->d_ops->sf_put_ftype(sfep, args->filetype); in xfs_dir2_sf_addname_easy()
483 dp->d_ops->sf_put_ftype(sfep, args->filetype); in xfs_dir2_sf_addname_hard()
633 uint8_t filetype; in xfs_dir2_sf_verify() local
699 filetype = dops->sf_get_ftype(sfep); in xfs_dir2_sf_verify()
700 if (filetype >= XFS_DIR3_FT_MAX) in xfs_dir2_sf_verify()
813 args->filetype = XFS_DIR3_FT_DIR; in xfs_dir2_sf_lookup()
823 args->filetype = XFS_DIR3_FT_DIR; in xfs_dir2_sf_lookup()
842 args->filetype = dp->d_ops->sf_get_ftype(sfep); in xfs_dir2_sf_lookup()
1026 dp->d_ops->sf_put_ftype(sfep, args->filetype); in xfs_dir2_sf_replace()
Dxfs_dir2.c264 args->filetype = name->type; in xfs_dir_createname()
360 args->filetype = name->type; in xfs_dir_lookup()
432 args->filetype = name->type; in xfs_dir_removename()
493 args->filetype = name->type; in xfs_dir_replace()
Dxfs_da_btree.h52 uint8_t filetype; /* filetype of inode for directories */ member
Dxfs_dir2_block.c544 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_block_addname()
636 args->filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_block_lookup()
867 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_block_replace()
Dxfs_dir2.h326 unsigned char xfs_dir3_get_dtype(struct xfs_mount *mp, uint8_t filetype);
Dxfs_dir2_leaf.c818 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_leaf_addname()
1151 args->filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_leaf_lookup()
1482 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_leaf_replace()
Dxfs_dir2_node.c824 args->filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_leafn_lookup_for_entry()
1929 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_node_addname_int()
2177 ftype = args->filetype; in xfs_dir2_node_replace()
/fs/jfs/
Dnamei.c623 int filetype; in commitZeroLink() local
628 filetype = ip->i_mode & S_IFMT; in commitZeroLink()
629 switch (filetype) { in commitZeroLink()
640 assert(filetype != S_IFDIR); in commitZeroLink()
/fs/ext4/
Dext4.h1801 EXT4_FEATURE_INCOMPAT_FUNCS(filetype, FILETYPE) in EXT4_FEATURE_COMPAT_FUNCS()
2489 static inline unsigned char get_dtype(struct super_block *sb, int filetype) in get_dtype() argument
2491 if (!ext4_has_feature_filetype(sb) || filetype >= EXT4_FT_MAX) in get_dtype()
2494 return ext4_filetype_table[filetype]; in get_dtype()