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);
183 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/
Dnfs3xdr.c522 args->ftype = ntohl(*p++); in nfs3svc_decode_mknodargs()
524 if (args->ftype == NF3BLK || args->ftype == NF3CHR in nfs3svc_decode_mknodargs()
525 || args->ftype == NF3SOCK || args->ftype == NF3FIFO) in nfs3svc_decode_mknodargs()
528 if (args->ftype == NF3BLK || args->ftype == NF3CHR) { in nfs3svc_decode_mknodargs()
Dnfs3proc.c324 if (argp->ftype == NF3CHR || argp->ftype == NF3BLK) { in nfsd3_proc_mknod()
331 } else if (argp->ftype != NF3SOCK && argp->ftype != NF3FIFO) { in nfsd3_proc_mknod()
336 type = nfs3_ftypes[argp->ftype]; in nfsd3_proc_mknod()
Dxdr3.h60 __u32 ftype; member
Dvfs.c372 umode_t ftype = 0; in nfsd_setattr() local
380 ftype = S_IFREG; in nfsd_setattr()
400 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
/fs/nfs/
Dnfstrace.h24 #define nfs_show_file_type(ftype) \ argument
25 __print_symbolic(ftype, \
Dnfs4proc.c4597 _nfs4_proc_remove(struct inode *dir, const struct qstr *name, u32 ftype) in _nfs4_proc_remove() argument
4621 if (ftype == NF4DIR && dir->i_nlink > 2) in _nfs4_proc_remove()
4840 const struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() argument
4859 data->arg.ftype = ftype; in nfs4_alloc_createdata()
4884 if (data->arg.ftype == NF4DIR) in nfs4_do_create()
5063 data->arg.ftype = NF4FIFO; in _nfs4_proc_mknod()
5065 data->arg.ftype = NF4BLK; in _nfs4_proc_mknod()
5070 data->arg.ftype = NF4CHR; in _nfs4_proc_mknod()
Dnfs4xdr.c1216 encode_uint32(xdr, create->ftype); in encode_create()
1218 switch (create->ftype) { in encode_create()