Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_dir2_data.c56 uint8_t ftype = dep->name[dep->namelen]; in xfs_dir2_data_get_ftype() local
58 if (likely(ftype < XFS_DIR3_FT_MAX)) in xfs_dir2_data_get_ftype()
59 return ftype; in xfs_dir2_data_get_ftype()
69 uint8_t ftype) in xfs_dir2_data_put_ftype() argument
71 ASSERT(ftype < XFS_DIR3_FT_MAX); in xfs_dir2_data_put_ftype()
75 dep->name[dep->namelen] = ftype; in xfs_dir2_data_put_ftype()
A 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()
A Dxfs_dir2_priv.h70 struct xfs_dir2_data_entry *dep, uint8_t ftype);
186 struct xfs_dir2_sf_entry *sfep, uint8_t ftype);
A Dxfs_metadir.c67 unsigned char ftype) in xfs_metadir_set_xname() argument
71 xname->type = ftype; in xfs_metadir_set_xname()
A Dxfs_dir2_node.c2206 int ftype; /* new file type */ in xfs_dir2_node_replace() local
2222 ftype = args->filetype; in xfs_dir2_node_replace()
2262 xfs_dir2_data_put_ftype(state->mp, dep, ftype); in xfs_dir2_node_replace()
/fs/nfsd/
A Dnfs3proc.c466 if (argp->ftype == NF3CHR || argp->ftype == NF3BLK) { in nfsd3_proc_mknod()
473 } else if (argp->ftype != NF3SOCK && argp->ftype != NF3FIFO) { in nfsd3_proc_mknod()
478 type = nfs3_ftypes[argp->ftype]; in nfsd3_proc_mknod()
A Dxdr3.h59 __u32 ftype; member
A Dnfs3xdr.c635 if (xdr_stream_decode_u32(xdr, &args->ftype) < 0) in nfs3svc_decode_mknodargs()
637 switch (args->ftype) { in nfs3svc_decode_mknodargs()
A Dvfs.c507 umode_t ftype = 0; in nfsd_setattr() local
518 ftype = S_IFREG; in nfsd_setattr()
538 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
/fs/xfs/scrub/
A Dtrace.h1605 __field(uint8_t, ftype)
2564 unsigned int ftype),
2565 TP_ARGS(sc, dp, ftype),
2570 __field(unsigned int, ftype)
2576 __entry->ftype = ftype;
2587 unsigned int ftype, unsigned int found_ftype),
2588 TP_ARGS(sc, dp, ftype, found_ftype),
2593 __field(unsigned int, ftype)
2600 __entry->ftype = ftype;
3123 __field(uint8_t, ftype)
[all …]
A Ddir.c91 int ftype) in xchk_dir_check_ftype() argument
96 if (ftype != XFS_DIR3_FT_UNKNOWN && ftype != XFS_DIR3_FT_DIR) in xchk_dir_check_ftype()
101 if (xfs_mode_to_ftype(VFS_I(ip)->i_mode) != ftype) in xchk_dir_check_ftype()
A Ddir_repair.c106 uint8_t ftype; member
333 .ftype = name->type, in xrep_dir_stash_createname()
360 .ftype = name->type, in xrep_dir_stash_removename()
859 rd->xname.type = dirent.ftype; in xrep_dir_replay_updates()
/fs/xfs/
A Dxfs_mount.h430 __XFS_HAS_FEAT(ftype, FTYPE) in __XFS_ADD_FEAT()
A Dxfs_trace.h5782 __field(int, ftype)
5790 __entry->ftype = name->type;
5797 __print_symbolic(__entry->ftype, XFS_DIR3_FTYPE_STR),
/fs/smb/client/
A Dfile.c1881 unsigned char ftype = flock->c.flc_type; in cifs_push_posix_locks() local
1892 if (ftype == F_RDLCK || ftype == F_SHLCK) in cifs_push_posix_locks()
/fs/nfs/
A Dnfs4proc.c4883 _nfs4_proc_remove(struct inode *dir, const struct qstr *name, u32 ftype) in _nfs4_proc_remove() argument
4905 if (ftype == NF4DIR && dir->i_nlink > 2) in _nfs4_proc_remove()
5120 const struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() argument
5139 data->arg.ftype = ftype; in nfs4_alloc_createdata()
5368 data->arg.ftype = NF4FIFO; in _nfs4_proc_mknod()
5370 data->arg.ftype = NF4BLK; in _nfs4_proc_mknod()
5375 data->arg.ftype = NF4CHR; in _nfs4_proc_mknod()
A Dnfs4xdr.c1228 encode_uint32(xdr, create->ftype); in encode_create()
1230 switch (create->ftype) { in encode_create()
/fs/btrfs/
A Dinode.c6137 u8 ftype; in btrfs_real_readdir() local
6163 ftype = btrfs_dir_flags_to_ftype(btrfs_dir_flags(leaf, di)); in btrfs_real_readdir()
6169 put_unaligned(fs_ftype_to_dtype(ftype), &entry->type); in btrfs_real_readdir()

Completed in 98 milliseconds