Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 12 of 12) 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/nfsd/
Dnfs3proc.c339 if (argp->ftype == NF3CHR || argp->ftype == NF3BLK) { in nfsd3_proc_mknod()
346 } else if (argp->ftype != NF3SOCK && argp->ftype != NF3FIFO) { in nfsd3_proc_mknod()
351 type = nfs3_ftypes[argp->ftype]; in nfsd3_proc_mknod()
Dxdr3.h59 __u32 ftype; member
Dnfs3xdr.c713 if (xdr_stream_decode_u32(xdr, &args->ftype) < 0) in nfs3svc_decode_mknodargs()
715 switch (args->ftype) { in nfs3svc_decode_mknodargs()
Dvfs.c359 umode_t ftype = 0; in nfsd_setattr() local
367 ftype = S_IFREG; in nfsd_setattr()
387 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
/fs/xfs/
Dxfs_mount.h333 __XFS_HAS_FEAT(ftype, FTYPE)
/fs/nfs/
Dnfstrace.h24 #define nfs_show_file_type(ftype) \ argument
25 __print_symbolic(ftype, \
Dnfs4proc.c4700 _nfs4_proc_remove(struct inode *dir, const struct qstr *name, u32 ftype) in _nfs4_proc_remove() argument
4722 if (ftype == NF4DIR && dir->i_nlink > 2) in _nfs4_proc_remove()
4944 const struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() argument
4963 data->arg.ftype = ftype; in nfs4_alloc_createdata()
4985 if (data->arg.ftype == NF4DIR) in nfs4_do_create()
5165 data->arg.ftype = NF4FIFO; in _nfs4_proc_mknod()
5167 data->arg.ftype = NF4BLK; in _nfs4_proc_mknod()
5172 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()