Lines Matching defs:mode
2151 * @mode: [IN] mode if want a file or directory, i.e. base inode or 0
2159 * this case @mode is the file mode as given to us by the caller. We in
2160 * particular use @mode to distinguish whether a file or a directory is being
2161 * created (S_IFDIR(mode) and S_IFREG(mode), respectively).
2166 * case @mode must be 0 as it is meaningless for extent inodes.
2238 ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
2259 /* @mode and @base_ni are mutually exclusive. */
2260 BUG_ON(mode);
2263 if (mode) {
2264 /* @mode and @base_ni are mutually exclusive. */
2267 if (!S_ISREG(mode) && !S_ISDIR(mode))
2569 if (S_ISDIR(mode))
2647 * Set the appropriate mode, attribute type, and name. For
2650 if (S_ISDIR(mode)) {