Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 13 of 13) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_data.c55 uint8_t ftype = dep->name[dep->namelen]; in xfs_dir2_data_get_ftype() local
57 if (likely(ftype < XFS_DIR3_FT_MAX)) in xfs_dir2_data_get_ftype()
58 return ftype; in xfs_dir2_data_get_ftype()
68 uint8_t ftype) in xfs_dir2_data_put_ftype() argument
70 ASSERT(ftype < XFS_DIR3_FT_MAX); in xfs_dir2_data_put_ftype()
74 dep->name[dep->namelen] = ftype; in xfs_dir2_data_put_ftype()
Dxfs_dir2_sf.c139 uint8_t ftype = sfep->name[sfep->namelen]; in xfs_dir2_sf_get_ftype() local
141 if (ftype < XFS_DIR3_FT_MAX) in xfs_dir2_sf_get_ftype()
142 return ftype; in xfs_dir2_sf_get_ftype()
152 uint8_t ftype) in xfs_dir2_sf_put_ftype() argument
154 ASSERT(ftype < XFS_DIR3_FT_MAX); in xfs_dir2_sf_put_ftype()
157 sfep->name[sfep->namelen] = ftype; in xfs_dir2_sf_put_ftype()
Dxfs_dir2_priv.h70 struct xfs_dir2_data_entry *dep, uint8_t ftype);
184 struct xfs_dir2_sf_entry *sfep, uint8_t ftype);
Dxfs_dir2_node.c2195 int ftype; /* new file type */ in xfs_dir2_node_replace() local
2211 ftype = args->filetype; in xfs_dir2_node_replace()
2251 xfs_dir2_data_put_ftype(state->mp, dep, ftype); in xfs_dir2_node_replace()
/fs/xfs/scrub/
Ddir.c41 int ftype) in xchk_dir_check_ftype() argument
46 if (ftype != XFS_DIR3_FT_UNKNOWN && ftype != XFS_DIR3_FT_DIR) in xchk_dir_check_ftype()
51 if (xfs_mode_to_ftype(VFS_I(ip)->i_mode) != ftype) in xchk_dir_check_ftype()
/fs/nfsd/
Dnfs3proc.c449 if (argp->ftype == NF3CHR || argp->ftype == NF3BLK) { in nfsd3_proc_mknod()
456 } else if (argp->ftype != NF3SOCK && argp->ftype != NF3FIFO) { in nfsd3_proc_mknod()
461 type = nfs3_ftypes[argp->ftype]; in nfsd3_proc_mknod()
Dxdr3.h59 __u32 ftype; member
Dnfs3xdr.c638 if (xdr_stream_decode_u32(xdr, &args->ftype) < 0) in nfs3svc_decode_mknodargs()
640 switch (args->ftype) { in nfs3svc_decode_mknodargs()
Dvfs.c480 umode_t ftype = 0; in nfsd_setattr() local
489 ftype = S_IFREG; in nfsd_setattr()
509 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
/fs/xfs/
Dxfs_mount.h342 __XFS_HAS_FEAT(ftype, FTYPE) in __XFS_ADD_FEAT()
/fs/nfs/
Dnfs4proc.c4743 _nfs4_proc_remove(struct inode *dir, const struct qstr *name, u32 ftype) in _nfs4_proc_remove() argument
4765 if (ftype == NF4DIR && dir->i_nlink > 2) in _nfs4_proc_remove()
4979 const struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() argument
4998 data->arg.ftype = ftype; in nfs4_alloc_createdata()
5019 if (data->arg.ftype == NF4DIR) in nfs4_do_create()
5199 data->arg.ftype = NF4FIFO; in _nfs4_proc_mknod()
5201 data->arg.ftype = NF4BLK; in _nfs4_proc_mknod()
5206 data->arg.ftype = NF4CHR; in _nfs4_proc_mknod()
Dnfs4xdr.c1228 encode_uint32(xdr, create->ftype); in encode_create()
1230 switch (create->ftype) { in encode_create()
/fs/btrfs/
Dinode.c5938 u8 ftype; in btrfs_real_readdir() local
5964 ftype = btrfs_dir_flags_to_ftype(btrfs_dir_flags(leaf, di)); in btrfs_real_readdir()
5970 put_unaligned(fs_ftype_to_dtype(ftype), &entry->type); in btrfs_real_readdir()