Home
last modified time | relevance | path

Searched refs:m_flags (Results 1 – 25 of 31) sorted by relevance

12

/fs/xfs/
Dxfs_super.c189 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_parseargs()
191 mp->m_flags |= XFS_MOUNT_DIRSYNC; in xfs_parseargs()
193 mp->m_flags |= XFS_MOUNT_WSYNC; in xfs_parseargs()
199 mp->m_flags |= XFS_MOUNT_BARRIER; in xfs_parseargs()
200 mp->m_flags |= XFS_MOUNT_COMPAT_IOSIZE; in xfs_parseargs()
201 mp->m_flags |= XFS_MOUNT_SMALL_INUMS; in xfs_parseargs()
272 mp->m_flags |= XFS_MOUNT_GRPID; in xfs_parseargs()
275 mp->m_flags &= ~XFS_MOUNT_GRPID; in xfs_parseargs()
277 mp->m_flags |= XFS_MOUNT_WSYNC; in xfs_parseargs()
279 mp->m_flags |= XFS_MOUNT_NORECOVERY; in xfs_parseargs()
[all …]
Dxfs_mount.h170 __uint64_t m_flags; /* global mount flags */ member
290 if (mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE) in xfs_preferred_iosize()
294 ((mp->m_flags & XFS_MOUNT_DFLT_IOSIZE) ? in xfs_preferred_iosize()
302 ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN)
303 #define XFS_FORCED_SHUTDOWN(mp) ((mp)->m_flags & XFS_MOUNT_FS_SHUTDOWN)
Dxfs_mount.c129 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_mount()
172 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_unmount()
498 if ((mp->m_flags & XFS_MOUNT_SMALL_INUMS) && ino > XFS_MAXINUMBER_32) in xfs_initialize_perag()
499 mp->m_flags |= XFS_MOUNT_32BITINODES; in xfs_initialize_perag()
501 mp->m_flags &= ~XFS_MOUNT_32BITINODES; in xfs_initialize_perag()
503 if (mp->m_flags & XFS_MOUNT_32BITINODES) { in xfs_initialize_perag()
855 if (mp->m_flags & XFS_MOUNT_RETERR) { in xfs_update_alignment()
867 if (mp->m_flags & XFS_MOUNT_RETERR) { in xfs_update_alignment()
883 if (mp->m_flags & XFS_MOUNT_RETERR) { in xfs_update_alignment()
908 } else if ((mp->m_flags & XFS_MOUNT_NOALIGN) != XFS_MOUNT_NOALIGN && in xfs_update_alignment()
[all …]
Dxfs_export.c81 if (!(XFS_M(inode->i_sb)->m_flags & XFS_MOUNT_SMALL_INUMS) || in xfs_fs_encode_fh()
82 (XFS_M(inode->i_sb)->m_flags & XFS_MOUNT_32BITINODES)) in xfs_fs_encode_fh()
Dxfs_log.c571 if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) in xfs_log_mount()
576 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()
599 if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) { in xfs_log_mount()
600 int readonly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()
603 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_log_mount()
608 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_log_mount()
649 if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) in xfs_log_mount_finish()
653 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount_finish()
691 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_log_unmount_write()
1484 if (log->l_mp->m_flags & XFS_MOUNT_BARRIER) { in xlog_sync()
[all …]
Dxfs_filestream.h67 return (ip->i_mount->m_flags & XFS_MOUNT_FILESTREAMS) || in xfs_inode_is_filestream()
Dxfs_iops.c500 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_setattr_nonsize()
659 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_setattr_nonsize()
720 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_setattr_size()
896 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_setattr_size()
Dxfs_vnodeops.c513 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_release()
638 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_inactive()
981 if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) in xfs_create()
1342 if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) in xfs_remove()
1456 if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) { in xfs_link()
1686 if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) { in xfs_symlink()
Dxfs_iomap.c73 if (mp->m_swidth && (mp->m_flags & XFS_MOUNT_SWALLOC)) in xfs_iomap_eof_align_last_fsb()
335 if (!(mp->m_flags & XFS_MOUNT_DFLT_IOSIZE)) { in xfs_iomap_prealloc_size()
Dxfs_log_cil.c395 (mp->m_flags & XFS_MOUNT_DISCARD) && !abort); in xlog_cil_committed()
404 ASSERT(mp->m_flags & XFS_MOUNT_DISCARD); in xlog_cil_committed()
Dxfs_rename.c322 if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) { in xfs_rename()
Dxfs_ioctl.c918 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_ioctl_setattr()
1134 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_ioctl_setattr()
1459 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_file_ioctl()
Dxfs_file.c181 if (mp->m_flags & XFS_MOUNT_BARRIER) { in xfs_file_fsync()
217 if ((mp->m_flags & XFS_MOUNT_BARRIER) && in xfs_file_fsync()
Dxfs_dfrag.c435 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_swap_extents()
Dxfs_attr_leaf.c158 if (!(mp->m_flags & XFS_MOUNT_ATTR2)) in xfs_attr_shortform_bytesfit()
216 if ((mp->m_flags & XFS_MOUNT_ATTR2) && in xfs_sbversion_add_attr2()
381 (mp->m_flags & XFS_MOUNT_ATTR2) && in xfs_attr_shortform_remove()
391 !(mp->m_flags & XFS_MOUNT_ATTR2) || in xfs_attr_shortform_remove()
767 if ((dp->i_mount->m_flags & XFS_MOUNT_ATTR2) && in xfs_attr_shortform_allfit()
808 ASSERT(dp->i_mount->m_flags & XFS_MOUNT_ATTR2); in xfs_attr_leaf_to_shortform()
Dxfs_inode.h498 (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
Dxfs_attr.c355 if (mp->m_flags & XFS_MOUNT_WSYNC) { in xfs_attr_set_int()
418 if (mp->m_flags & XFS_MOUNT_WSYNC) { in xfs_attr_set_int()
568 if (mp->m_flags & XFS_MOUNT_WSYNC) { in xfs_attr_remove_int()
Dxfs_ialloc.c318 ASSERT(!(args.mp->m_flags & XFS_MOUNT_NOALIGN)); in xfs_ialloc_ag_alloc()
1132 if (!(mp->m_flags & XFS_MOUNT_IKEEP) && in xfs_difree()
Dxfs_sync.c463 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_sync_worker()
/fs/dlm/
Dutil.c99 ms->m_flags = cpu_to_le32(ms->m_flags); in dlm_message_out()
123 ms->m_flags = le32_to_cpu(ms->m_flags); in dlm_message_in()
Dlock.c1113 if (ms->m_flags != DLM_IFL_STUB_MS) in remove_from_waiters_ms()
1116 if (ms->m_flags != DLM_IFL_STUB_MS) in remove_from_waiters_ms()
2968 ms->m_flags = lkb->lkb_flags; in send_args()
3045 r->res_ls->ls_stub_ms.m_flags = DLM_IFL_STUB_MS; in send_convert()
3230 (ms->m_flags & 0x0000FFFF); in receive_flags()
3235 if (ms->m_flags == DLM_IFL_STUB_MS) in receive_flags_reply()
3240 (ms->m_flags & 0x0000FFFF); in receive_flags_reply()
4168 ms_stub->m_flags = DLM_IFL_STUB_MS; in recover_convert_waiter()
4285 ms_stub->m_flags = DLM_IFL_STUB_MS; in dlm_recover_waiters_pre()
4296 ms_stub->m_flags = DLM_IFL_STUB_MS; in dlm_recover_waiters_pre()
Ddlm_internal.h385 uint32_t m_flags; member
/fs/ext4/
Dinode.c482 map->m_flags = 0; in ext4_map_blocks()
500 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { in ext4_map_blocks()
517 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) in ext4_map_blocks()
530 map->m_flags &= ~EXT4_MAP_UNWRITTEN; in ext4_map_blocks()
557 if (retval > 0 && map->m_flags & EXT4_MAP_NEW) { in ext4_map_blocks()
583 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) in ext4_map_blocks()
588 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { in ext4_map_blocks()
626 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | map.m_flags; in _ext4_get_block()
670 if (map.m_flags & EXT4_MAP_NEW) { in ext4_getblk()
1359 if (map->m_flags & EXT4_MAP_UNINIT) in mpage_da_submit_io()
[all …]
Dextents.c3614 map->m_flags |= EXT4_MAP_UNINIT; in ext4_ext_handle_uninitialized_extents()
3646 map->m_flags |= EXT4_MAP_UNWRITTEN; in ext4_ext_handle_uninitialized_extents()
3660 map->m_flags |= EXT4_MAP_NEW; in ext4_ext_handle_uninitialized_extents()
3694 map->m_flags |= EXT4_MAP_MAPPED; in ext4_ext_handle_uninitialized_extents()
3860 map->m_flags |= EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
3873 map->m_flags |= EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
3948 map->m_flags |= EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
3966 map->m_flags &= ~EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
3978 map->m_flags |= EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
3999 map->m_flags |= EXT4_MAP_FROM_CLUSTER; in ext4_ext_map_blocks()
[all …]
Dindirect.c739 map->m_flags |= EXT4_MAP_NEW; in ext4_ind_map_blocks()
743 map->m_flags |= EXT4_MAP_MAPPED; in ext4_ind_map_blocks()
747 map->m_flags |= EXT4_MAP_BOUNDARY; in ext4_ind_map_blocks()

12