Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 201 – 225 of 307) sorted by relevance

12345678910>>...13

/openbmc/linux/fs/ext4/
H A Dfast_commit.c586 if (S_ISDIR(inode->i_mode)) in ext4_fc_track_inode()
643 if (S_ISDIR(inode->i_mode)) in ext4_fc_track_range()
1646 if (S_ISDIR(inode->i_mode)) { in ext4_fc_replay_create()
/openbmc/linux/fs/reiserfs/
H A Dsuper.c347 if (truncate && S_ISDIR(inode->i_mode)) { in finish_unfinished()
465 if (S_ISDIR(inode->i_mode)) in add_save_link()
2075 if (!S_ISDIR(root_inode->i_mode) || !inode_get_bytes(root_inode) || in reiserfs_fill_super()
H A Dstree.c1900 (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) in reiserfs_do_truncate()
1905 if (S_ISDIR(inode->i_mode)) { in reiserfs_do_truncate()
/openbmc/linux/fs/ceph/
H A Dfile.c270 S_ISDIR(inode->i_mode)); in ceph_init_file()
369 if (S_ISDIR(inode->i_mode)) { in ceph_open()
663 if (S_ISDIR(mode)) in ceph_finish_async_create()
916 if (S_ISDIR(inode->i_mode)) { in ceph_release()
H A Dcaps.c588 if (S_ISDIR(ci->netfs.inode.i_mode)) { in __check_cap_issue()
595 if (S_ISDIR(ci->netfs.inode.i_mode) && (had & CEPH_CAP_DIR_CREATE) && in __check_cap_issue()
1003 if (S_ISDIR(ci->netfs.inode.i_mode)) { in __ceph_caps_file_wanted()
1056 if (S_ISDIR(ci->netfs.inode.i_mode)) { in __ceph_caps_wanted()
2022 } else if (S_ISDIR(inode->i_mode) && in ceph_check_caps()
2323 if (S_ISDIR(inode->i_mode) && !list_empty(&ci->i_unsafe_dirops)) { in flush_mdlog_and_wait_inode_unsafe_requests()
/openbmc/linux/fs/smb/client/
H A Dinode.c1370 if (S_ISDIR(inode->i_mode) && !hlist_empty(&inode->i_dentry)) in cifs_find_inode()
1882 if (!S_ISDIR(inode->i_mode)) {
2412 if (S_ISDIR(inode->i_mode)) {
3125 if (S_ISDIR(inode->i_mode))
/openbmc/linux/security/apparmor/
H A Dmount.c285 (S_ISDIR(path->dentry->d_inode->i_mode) ? PATH_IS_DIR : 0); in path_flags()
/openbmc/linux/fs/notify/inotify/
H A Dinotify_user.c109 if (S_ISDIR(inode->i_mode)) in inotify_arg_to_mask()
/openbmc/linux/fs/fat/
H A Dnamei_msdos.c451 is_dir = S_ISDIR(old_inode->i_mode); in do_msdos_rename()
/openbmc/linux/security/landlock/
H A Dfs.c1189 if (S_ISDIR(file_inode(file)->i_mode)) in get_required_file_open_access()
/openbmc/linux/ipc/
H A Dmqueue.c389 } else if (S_ISDIR(mode)) { in mqueue_get_inode()
521 if (S_ISDIR(inode->i_mode)) in mqueue_evict_inode()
/openbmc/linux/fs/jfs/
H A Djfs_imap.c668 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
3044 if (S_ISDIR(ip->i_mode)) { in copy_from_dinode()
3091 if (S_ISDIR(ip->i_mode)) { in copy_from_dinode()
/openbmc/linux/fs/ntfs/
H A Dmft.c2269 if (!S_ISREG(mode) && !S_ISDIR(mode)) in ntfs_mft_record_alloc()
2571 if (S_ISDIR(mode)) in ntfs_mft_record_alloc()
2652 if (S_ISDIR(mode)) { in ntfs_mft_record_alloc()
/openbmc/qemu/block/
H A Dvvfat.c807 direntry->attributes=(S_ISDIR(st.st_mode)?0x10:0x20); in read_directory()
827 direntry->size=cpu_to_le32(S_ISDIR(st.st_mode)?0:st.st_size); in read_directory()
830 if(!is_dot && !is_dotdot && (S_ISDIR(st.st_mode) || st.st_size)) { in read_directory()
840 if (S_ISDIR(st.st_mode)) { in read_directory()
/openbmc/qemu/hw/9pfs/
H A D9p.c996 if (S_ISDIR(stbuf->st_mode)) { in stat_to_qid()
1191 if (S_ISDIR(stbuf->st_mode)) { in stat_to_v9mode()
1263 } else if (S_ISDIR(stbuf->st_mode) || S_ISREG(stbuf->st_mode)) { in stat_to_v9stat()
2014 if (S_ISDIR(stbuf.st_mode)) { in v9fs_open()
4266 } else if (!S_ISDIR(stat.st_mode)) { in v9fs_device_realize_common()
/openbmc/linux/fs/btrfs/
H A Dioctl.c127 if (S_ISDIR(inode->i_mode)) in btrfs_mask_fsflags_for_type()
1274 if (!S_ISDIR(file_inode(file)->i_mode)) in __btrfs_ioctl_snap_create()
1344 if (!S_ISDIR(file_inode(file)->i_mode)) in btrfs_ioctl_snap_create()
1368 if (!S_ISDIR(file_inode(file)->i_mode)) in btrfs_ioctl_snap_create_v2()
2504 if (!S_ISDIR(dir->i_mode)) { in btrfs_ioctl_snap_destroy()
/openbmc/linux/fs/f2fs/
H A Df2fs.h2467 inc_page_count(F2FS_I_SB(inode), S_ISDIR(inode->i_mode) ? in inode_inc_dirty_pages()
2480 if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && in inode_dec_dirty_pages()
2485 dec_page_count(F2FS_I_SB(inode), S_ISDIR(inode->i_mode) ? in inode_dec_dirty_pages()
3006 if (S_ISDIR(mode)) in f2fs_mask_flags()
4556 return S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode); in f2fs_may_compress()
H A Dxattr.c775 if (S_ISDIR(inode->i_mode)) in __f2fs_setxattr()
/openbmc/linux/fs/jffs2/
H A Dwrite.c636 if (S_ISDIR(OFNI_EDONI_2SFFJ(dead_f)->i_mode)) { in jffs2_do_unlink()
H A Dfs.c451 if (S_ISDIR(mode)) in jffs2_new_inode()
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs.c812 if (! S_ISDIR (mode)) in reiserfs_dir()
/openbmc/linux/sound/core/
H A Dinfo.c810 if (S_ISDIR(entry->mode)) { in __snd_info_register()
/openbmc/linux/fs/xfs/scrub/
H A Ddir.c760 if (!S_ISDIR(VFS_I(sc->ip)->i_mode)) in xchk_directory()
/openbmc/linux/fs/
H A Dread_write.c1709 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dutils.py802 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):
894 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):

12345678910>>...13