Home
last modified time | relevance | path

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

123

/Linux-v5.10/fs/xfs/
Dxfs_super.c63 mp->m_flags &= ~(XFS_MOUNT_DAX_ALWAYS | XFS_MOUNT_DAX_NEVER); in xfs_mount_set_dax_mode()
66 mp->m_flags |= XFS_MOUNT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
67 mp->m_flags &= ~XFS_MOUNT_DAX_NEVER; in xfs_mount_set_dax_mode()
70 mp->m_flags |= XFS_MOUNT_DAX_NEVER; in xfs_mount_set_dax_mode()
71 mp->m_flags &= ~XFS_MOUNT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
174 if (mp->m_flags & xfs_infop->flag) in xfs_fs_show_options()
179 (mp->m_flags & XFS_MOUNT_SMALL_INUMS) ? 32 : 64); in xfs_fs_show_options()
181 if (mp->m_flags & XFS_MOUNT_ALLOCSIZE) in xfs_fs_show_options()
278 if ((mp->m_flags & XFS_MOUNT_SMALL_INUMS) && ino > XFS_MAXINUMBER_32) in xfs_set_inode_alloc()
279 mp->m_flags |= XFS_MOUNT_32BITINODES; in xfs_set_inode_alloc()
[all …]
Dxfs_mount.c64 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_mount()
106 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_unmount()
473 } else if ((mp->m_flags & XFS_MOUNT_NOALIGN) != XFS_MOUNT_NOALIGN && in xfs_update_alignment()
684 !(mp->m_flags & XFS_MOUNT_NOATTR2)) in xfs_mountfs()
685 mp->m_flags |= XFS_MOUNT_ATTR2; in xfs_mountfs()
689 (mp->m_flags & XFS_MOUNT_NOATTR2)) { in xfs_mountfs()
896 if (mp->m_update_sb && !(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mountfs()
947 if ((mp->m_flags & (XFS_MOUNT_RDONLY|XFS_MOUNT_NORECOVERY)) == in xfs_mountfs()
973 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mountfs()
1022 mp->m_flags |= XFS_MOUNT_UNMOUNTING; in xfs_mountfs()
[all …]
Dxfs_mount.h133 uint64_t m_flags; /* global mount flags */ member
266 ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN)
267 #define XFS_FORCED_SHUTDOWN(mp) ((mp)->m_flags & XFS_MOUNT_FS_SHUTDOWN)
Dxfs_export.c66 if (!(XFS_M(inode->i_sb)->m_flags & XFS_MOUNT_SMALL_INUMS) || in xfs_fs_encode_fh()
67 (XFS_M(inode->i_sb)->m_flags & XFS_MOUNT_32BITINODES)) in xfs_fs_encode_fh()
Dxfs_filestream.h24 return (ip->i_mount->m_flags & XFS_MOUNT_FILESTREAMS) || in xfs_inode_is_filestream()
Dxfs_log.c550 if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) { in xfs_log_mount()
557 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()
635 if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) { in xfs_log_mount()
636 int readonly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()
639 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_log_mount()
644 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_log_mount()
693 bool readonly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount_finish()
696 if (mp->m_flags & XFS_MOUNT_NORECOVERY) { in xfs_log_mount_finish()
697 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount_finish()
701 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_log_mount_finish()
[all …]
Dxfs_iops.c522 if (mp->m_flags & XFS_MOUNT_LARGEIO) { in xfs_stat_blksize()
525 if (mp->m_flags & XFS_MOUNT_ALLOCSIZE) in xfs_stat_blksize()
636 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_vn_change_ok()
788 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_setattr_nonsize()
1037 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_setattr_size()
1274 if (ip->i_mount->m_flags & XFS_MOUNT_DAX_NEVER) in xfs_inode_should_enable_dax()
1278 if (ip->i_mount->m_flags & XFS_MOUNT_DAX_ALWAYS) in xfs_inode_should_enable_dax()
Dxfs_discard.c172 if (mp->m_flags & XFS_MOUNT_NORECOVERY) in xfs_ioc_trim()
Dxfs_ioctl.c1259 if ((mp->m_flags & XFS_MOUNT_DAX_ALWAYS) || in xfs_ioctl_setattr_prepare_dax()
1260 (mp->m_flags & XFS_MOUNT_DAX_NEVER)) in xfs_ioctl_setattr_prepare_dax()
1284 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_ioctl_setattr_get_trans()
1308 if (mp->m_flags & XFS_MOUNT_WSYNC) in xfs_ioctl_setattr_get_trans()
2224 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_file_ioctl()
2341 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_file_ioctl()
Dxfs_filestream.c298 if (mp->m_flags & XFS_MOUNT_32BITINODES) { in xfs_filestream_lookup_ag()
/Linux-v5.10/net/rds/
Dsend.c96 set_bit(RDS_MSG_ACK_REQUIRED, &rm->m_flags); in rds_send_path_reset()
97 set_bit(RDS_MSG_RETRANSMITTED, &rm->m_flags); in rds_send_path_reset()
280 if (test_bit(RDS_MSG_FLUSH, &rm->m_flags) || in rds_send_xmit()
282 test_bit(RDS_MSG_RETRANSMITTED, &rm->m_flags))) { in rds_send_xmit()
284 if (test_and_clear_bit(RDS_MSG_ON_CONN, &rm->m_flags)) in rds_send_xmit()
294 set_bit(RDS_MSG_ACK_REQUIRED, &rm->m_flags); in rds_send_xmit()
315 set_bit(RDS_MSG_MAPPED, &rm->m_flags); in rds_send_xmit()
318 clear_bit(RDS_MSG_MAPPED, &rm->m_flags); in rds_send_xmit()
331 set_bit(RDS_MSG_MAPPED, &rm->m_flags); in rds_send_xmit()
334 clear_bit(RDS_MSG_MAPPED, &rm->m_flags); in rds_send_xmit()
[all …]
Dtcp_send.c89 set_bit(RDS_MSG_HAS_ACK_SEQ, &rm->m_flags); in rds_tcp_xmit()
92 if (test_bit(RDS_MSG_RETRANSMITTED, &rm->m_flags)) in rds_tcp_xmit()
173 if (!test_bit(RDS_MSG_HAS_ACK_SEQ, &rm->m_flags)) in rds_tcp_is_acked()
Dmessage.c135 if (unlikely(test_bit(RDS_MSG_PAGEVEC, &rm->m_flags))) in rds_message_purge()
345 set_bit(RDS_MSG_PAGEVEC, &rm->m_flags); in rds_message_map_pages()
513 !test_bit(RDS_MSG_MAPPED, &rm->m_flags)); in rds_message_wait()
518 clear_bit(RDS_MSG_MAPPED, &rm->m_flags); in rds_message_unmapped()
/Linux-v5.10/fs/erofs/
Ddata.c65 map->m_flags = 0; in erofs_map_blocks_flatmode()
71 map->m_flags = EROFS_MAP_MAPPED; in erofs_map_blocks_flatmode()
94 map->m_flags |= EROFS_MAP_META; in erofs_map_blocks_flatmode()
167 if (!(map.m_flags & EROFS_MAP_MAPPED)) { in erofs_read_raw_page()
182 if (map.m_flags & EROFS_MAP_META) { in erofs_read_raw_page()
327 if (map.m_flags & EROFS_MAP_MAPPED) in erofs_get_block()
Dzmap.c361 map->m_flags &= ~EROFS_MAP_ZIPPED; in z_erofs_extent_lookback()
395 map->m_flags = 0; in z_erofs_map_blocks_iter()
412 map->m_flags = EROFS_MAP_ZIPPED; /* by default, compressed */ in z_erofs_map_blocks_iter()
418 map->m_flags &= ~EROFS_MAP_ZIPPED; in z_erofs_map_blocks_iter()
434 map->m_flags |= EROFS_MAP_FULL_MAPPED; in z_erofs_map_blocks_iter()
454 map->m_flags |= EROFS_MAP_MAPPED; in z_erofs_map_blocks_iter()
463 map->m_llen, map->m_plen, map->m_flags); in z_erofs_map_blocks_iter()
Dzdata.c359 if (map->m_flags & EROFS_MAP_FULL_MAPPED) in z_erofs_lookup_collection()
398 (map->m_flags & EROFS_MAP_FULL_MAPPED ? in z_erofs_register_collection()
401 if (map->m_flags & EROFS_MAP_ZIPPED) in z_erofs_register_collection()
609 if (!(map->m_flags & EROFS_MAP_MAPPED)) in z_erofs_do_read_page()
635 if (!(map->m_flags & EROFS_MAP_MAPPED)) { in z_erofs_do_read_page()
Dinternal.h332 unsigned int m_flags; member
/Linux-v5.10/fs/ext4/
Dreadpage.c248 map.m_flags = 0; in ext4_mpage_readpages()
274 if ((map.m_flags & EXT4_MAP_MAPPED) && in ext4_mpage_readpages()
283 map.m_flags &= ~EXT4_MAP_MAPPED; in ext4_mpage_readpages()
313 if ((map.m_flags & EXT4_MAP_MAPPED) == 0) { in ext4_mpage_readpages()
330 map.m_flags &= ~EXT4_MAP_MAPPED; in ext4_mpage_readpages()
390 if (((map.m_flags & EXT4_MAP_BOUNDARY) && in ext4_mpage_readpages()
Dinode.c436 map->m_flags = 0; in ext4_map_blocks_es_recheck()
457 es_map->m_flags != map->m_flags || in ext4_map_blocks_es_recheck()
463 es_map->m_pblk, es_map->m_flags, map->m_lblk, in ext4_map_blocks_es_recheck()
464 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
504 map->m_flags = 0; in ext4_map_blocks()
524 map->m_flags |= ext4_es_is_written(&es) ? in ext4_map_blocks()
568 status = map->m_flags & EXT4_MAP_UNWRITTEN ? in ext4_map_blocks()
583 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { in ext4_map_blocks()
600 if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) in ext4_map_blocks()
613 map->m_flags &= ~EXT4_MAP_FLAGS; in ext4_map_blocks()
[all …]
Dindirect.c641 map->m_flags |= EXT4_MAP_NEW; in ext4_ind_map_blocks()
646 map->m_flags |= EXT4_MAP_MAPPED; in ext4_ind_map_blocks()
650 map->m_flags |= EXT4_MAP_BOUNDARY; in ext4_ind_map_blocks()
/Linux-v5.10/fs/dlm/
Dutil.c97 ms->m_flags = cpu_to_le32(ms->m_flags); in dlm_message_out()
121 ms->m_flags = le32_to_cpu(ms->m_flags); in dlm_message_in()
/Linux-v5.10/scripts/gdb/linux/
Dproc.py193 m_flags = int(vfs['mnt']['mnt_flags'])
199 info_opts(MNT_INFO, m_flags)))
/Linux-v5.10/drivers/media/pci/cx18/
Dcx18-queue.c50 mdl->m_flags = 0; in _cx18_enqueue()
183 set_bit(CX18_F_M_NEED_SWAP, &ret->m_flags); in cx18_queue_get_mdl()
211 mdl->m_flags = 0; in cx18_queue_flush()
/Linux-v5.10/fs/xfs/scrub/
Dscrub.c420 if (mp->m_flags & XFS_MOUNT_RDONLY) in xchk_validate_inputs()
482 if (mp->m_flags & XFS_MOUNT_NORECOVERY) in xfs_scrub_metadata()
/Linux-v5.10/fs/f2fs/
Ddata.c1518 map->m_flags = 0; in f2fs_map_blocks()
1531 map->m_flags = F2FS_MAP_MAPPED; in f2fs_map_blocks()
1609 map->m_flags |= F2FS_MAP_NEW; in f2fs_map_blocks()
1639 map->m_flags |= F2FS_MAP_UNWRITTEN; in f2fs_map_blocks()
1640 map->m_flags |= F2FS_MAP_MAPPED; in f2fs_map_blocks()
1681 if (map->m_flags & F2FS_MAP_MAPPED) { in f2fs_map_blocks()
1701 if (flag == F2FS_GET_BLOCK_DIO && map->m_flags & F2FS_MAP_MAPPED) in f2fs_map_blocks()
1706 if (map->m_flags & F2FS_MAP_MAPPED) { in f2fs_map_blocks()
1770 bh->b_state = (bh->b_state & ~F2FS_MAP_FLAGS) | map.m_flags; in __get_data_block()
2077 if ((map->m_flags & F2FS_MAP_MAPPED) && in f2fs_read_single_page()
[all …]

123