Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 11 of 11) 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.c459 if (argp->ftype == NF3CHR || argp->ftype == NF3BLK) { in nfsd3_proc_mknod()
466 } else if (argp->ftype != NF3SOCK && argp->ftype != NF3FIFO) { in nfsd3_proc_mknod()
471 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.c413 umode_t ftype = 0; in nfsd_setattr() local
422 ftype = S_IFREG; in nfsd_setattr()
442 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
/fs/xfs/
Dxfs_mount.h337 __XFS_HAS_FEAT(ftype, FTYPE) in __XFS_ADD_FEAT()
/fs/nfs/
Dnfs4proc.c4728 _nfs4_proc_remove(struct inode *dir, const struct qstr *name, u32 ftype) in _nfs4_proc_remove() argument
4750 if (ftype == NF4DIR && dir->i_nlink > 2) in _nfs4_proc_remove()
4964 const struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() argument
4983 data->arg.ftype = ftype; in nfs4_alloc_createdata()
5004 if (data->arg.ftype == NF4DIR) in nfs4_do_create()
5184 data->arg.ftype = NF4FIFO; in _nfs4_proc_mknod()
5186 data->arg.ftype = NF4BLK; in _nfs4_proc_mknod()
5191 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()