Home
last modified time | relevance | path

Searched refs:file_type (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_device_view.h54 __u8 file_type; member
160 static inline bool hm_isreg(uint8_t file_type) in hm_isreg() argument
162 return (file_type == HM_REG); in hm_isreg()
165 static inline bool hm_islnk(uint8_t file_type) in hm_islnk() argument
167 return (file_type == HM_SYMLINK); in hm_islnk()
170 static inline bool hm_isshare(uint8_t file_type) in hm_isshare() argument
172 return (file_type == HM_SHARE); in hm_isshare()
256 if (hm_islnk(gdi->file_type)) in hmdfs_support_xattr()
Dfile_cloud.c219 int file_type = DT_UNKNOWN; in analysis_dentry_file_from_cloud() local
228 file_type = DT_DIR; in analysis_dentry_file_from_cloud()
231 file_type = DT_REG; in analysis_dentry_file_from_cloud()
237 pos + INUNUMBER_START, file_type); in analysis_dentry_file_from_cloud()
Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote() local
171 err = hmdfs_send_open(conn, send_buf, file_type, &open_ret); in hmdfs_do_open_remote()
935 int file_type = DT_UNKNOWN; in analysis_dentry_file_from_con() local
945 file_type = DT_DIR; in analysis_dentry_file_from_con()
948 file_type = DT_REG; in analysis_dentry_file_from_con()
951 file_type = DT_LNK; in analysis_dentry_file_from_con()
957 pos + INUNUMBER_START, file_type); in analysis_dentry_file_from_con()
Dfile_merge.c36 int file_type; member
61 data->file_type = d_type; in allocate_entry()
90 return entry->file_type; in insert_filename()
252 cache_entry->file_type = DT_DIR; in hmdfs_actor_merge()
272 if (ret && d_type == DT_DIR && cache_entry->file_type == DT_DIR && in hmdfs_actor_merge()
274 cache_entry->file_type = DT_REG; in hmdfs_actor_merge()
Dhmdfs_client.h93 __u8 file_type, struct hmdfs_open_ret *open_ret);
Dhmdfs_trace.h729 __field(uint32_t, file_type)
736 __entry->file_type = recv->file_type;
741 __entry->file_type)
Dhmdfs_server.c344 const char *filename, uint8_t file_type, in hmdfs_open_file() argument
361 if (hm_isshare(file_type)) { in hmdfs_open_file()
368 if (hm_islnk(file_type)) in hmdfs_open_file()
491 static int hmdfs_get_open_info(struct hmdfs_peer *con, uint8_t file_type, in hmdfs_get_open_info() argument
524 if (hm_islnk(file_type)) { in hmdfs_get_open_info()
558 info->file = hmdfs_open_file(con, recv->buf, recv->file_type, in hmdfs_server_open()
565 ret = hmdfs_get_open_info(con, recv->file_type, recv->buf, info); in hmdfs_server_open()
610 hm_islnk(hmdfs_d(dentry)->file_type)) in hmdfs_check_and_create()
Dhmdfs_client.c33 __u8 file_type, struct hmdfs_open_ret *open_ret) in hmdfs_send_open() argument
50 open_req->file_type = file_type; in hmdfs_send_open()
Dhmdfs_dentryfile.c570 int file_type = 0; in read_dentry() local
578 file_type = DT_DIR; in read_dentry()
581 file_type = DT_REG; in read_dentry()
584 file_type = DT_LNK; in read_dentry()
592 file_type); in read_dentry()
805 if (gdi && hm_islnk(gdi->file_type)) in update_dentry()
Dhmdfs_share.c29 if (hm_isshare(gdi->file_type)) in hmdfs_is_share_file()
/kernel/linux/linux-5.10/scripts/
Dfaddr2line102 local file_type
114 local file_type=$(${READELF} --file-header $objfile |
116 if [[ $file_type = "EXEC" ]] || [[ $file_type == "DYN" ]]; then
/kernel/linux/linux-5.10/fs/f2fs/
Dtrace.h14 enum file_type { enum
27 enum file_type type;
Ddir.c63 de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; in set_de_type()
68 if (de->file_type < F2FS_FT_MAX) in f2fs_get_de_type()
69 return f2fs_filetype_table[de->file_type]; in f2fs_get_de_type()
/kernel/linux/linux-5.10/fs/ext4/
Ddir.c260 get_dtype(sb, de->file_type))) in ext4_readdir()
278 get_dtype(sb, de->file_type))) in ext4_readdir()
394 __u8 file_type; member
465 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
523 get_dtype(sb, fname->file_type))) { in call_filldir()
Dnamei.c223 u8 file_type; member
2040 de->file_type = EXT4_FT_UNKNOWN; in ext4_insert_dentry()
3690 unsigned ino, unsigned file_type) in ext4_setent() argument
3700 ent->de->file_type = file_type; in ext4_setent()
3717 unsigned ino, unsigned file_type) in ext4_resetent() argument
3737 ext4_setent(handle, &old, ino, file_type); in ext4_resetent()
3937 old_file_type = old.de->file_type; in ext4_rename()
4182 new_file_type = new.de->file_type; in ext4_cross_rename()
4183 retval = ext4_setent(handle, &new, old.inode->i_ino, old.de->file_type); in ext4_cross_rename()
/kernel/linux/linux-5.10/drivers/s390/char/
Dvmur.h41 char file_type[12]; member
/kernel/linux/linux-5.10/fs/nilfs2/
Ddir.c260 de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in nilfs_set_de_type()
298 if (de->file_type < NILFS_FT_MAX) in nilfs_readdir()
299 t = nilfs_filetype_table[de->file_type]; in nilfs_readdir()
/kernel/linux/linux-5.10/fs/erofs/
Ddir.c36 d_type = fs_ftype_to_dtype(de->file_type); in erofs_fill_dentries()
Derofs_fs.h291 __u8 file_type; /* file type */ member
Dnamei.c199 *d_type = de->file_type; in erofs_namei()
/kernel/linux/linux-5.10/fs/ext2/
Ddir.c258 de->file_type = fs_umode_to_ftype(inode->i_mode); in ext2_set_de_type()
260 de->file_type = 0; in ext2_set_de_type()
316 d_type = fs_ftype_to_dtype(de->file_type); in ext2_readdir()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dnilfs2_ondisk.h146 __u8 file_type; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dnilfs2_ondisk.h123 __u8 file_type; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dnilfs2_ondisk.h304 __u8 file_type; /* Dir entry type (file, dir, etc) */ member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dprotocol.h187 __u8 file_type; member

12