Home
last modified time | relevance | path

Searched refs:runtime_flags (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/md/
H A Ddm-raid.c235 unsigned long runtime_flags; member
2689 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_adjust_data_offsets()
2831 set_bit(RT_FLAG_RESHAPE_RS, &rs->runtime_flags); in rs_prepare_reshape()
2832 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape()
2835 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape()
3106 set_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
3132 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr()
3175 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr()
3181 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
3216 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
[all …]
/linux/drivers/block/
H A Dnbd.c93 unsigned long runtime_flags; member
297 return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) || in nbd_disconnected()
298 test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnected()
317 &nbd->config->runtime_flags)) { in nbd_mark_nsock_dead()
319 &nbd->config->runtime_flags); in nbd_mark_nsock_dead()
414 if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in sock_shutdown()
543 set_bit(NBD_RT_TIMEDOUT, &config->runtime_flags); in nbd_xmit_timeout()
1001 if (test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in find_fallback()
1045 &config->runtime_flags) || in wait_for_reconnect()
1050 return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags); in wait_for_reconnect()
[all …]
/linux/fs/btrfs/
H A Dxattr.c220 &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr()
221 clear_bit(BTRFS_INODE_NO_XATTRS, &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr()
404 if (test_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags)) in btrfs_xattr_handler_get_security()
410 set_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_xattr_handler_get_security()
427 clear_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_xattr_handler_set_security()
525 clear_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_initxattrs()
H A Dzoned.c1381 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_single()
1421 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_dup()
1464 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid1()
1499 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid0()
1531 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid10()
1598 set_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
1611 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
1689 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags)) { in btrfs_load_block_group_zone_info()
1757 ret = !!test_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_use_zone_append()
1872 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags)) in check_bg_is_active()
[all …]
H A Dprops.c141 set_bit(BTRFS_INODE_HAS_PROPS, &inode->runtime_flags); in btrfs_set_prop()
273 set_bit(BTRFS_INODE_HAS_PROPS, &BTRFS_I(inode)->runtime_flags); in inode_prop_iterator()
397 &BTRFS_I(parent)->runtime_flags)) in btrfs_inode_inherit_props()
448 &BTRFS_I(inode)->runtime_flags); in btrfs_inode_inherit_props()
H A Dbtrfs_inode.h195 unsigned long runtime_flags; member
383 if (test_bit(BTRFS_INODE_ROOT_STUB, &inode->runtime_flags)) in btrfs_ino()
421 return test_bit(BTRFS_INODE_FREE_SPACE_INODE, &inode->runtime_flags); in btrfs_is_free_space_inode()
464 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_set_inode_full_sync()
H A Dverity.c465 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in rollback_verity()
562 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in finish_verity()
590 if (test_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags)) in btrfs_begin_enable_verity()
610 set_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in btrfs_begin_enable_verity()
H A Ddefrag.c102 set_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags); in btrfs_insert_inode_defrag()
133 if (test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) in btrfs_add_inode_defrag()
146 if (!test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) { in btrfs_add_inode_defrag()
259 clear_bit(BTRFS_INODE_IN_DEFRAG, &BTRFS_I(inode)->runtime_flags); in btrfs_run_defrag_inode()
1467 &BTRFS_I(inode)->runtime_flags)) in btrfs_defrag_file()
H A Dfree-space-tree.c812 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in __remove_from_free_space_tree()
1005 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in __add_to_free_space_tree()
1371 clear_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags); in __add_block_group_free_space()
1393 if (!test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) in add_block_group_free_space()
1426 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in remove_block_group_free_space()
H A Dblock-group.h158 unsigned long runtime_flags; member
H A Ddev-replace.c533 set_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in mark_block_group_to_copy()
561 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in btrfs_finish_block_group_to_copy()
593 clear_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in btrfs_finish_block_group_to_copy()
H A Dreflink.c116 set_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &inode->runtime_flags); in copy_inline_to_page()
615 clear_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &BTRFS_I(inode)->runtime_flags); in btrfs_clone()
H A Dblock-group.c1252 set_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags); in btrfs_remove_block_group()
1736 } else if (!test_bit(BLOCK_GROUP_FLAG_NEW, &bg->runtime_flags)) { in btrfs_mark_bg_unused()
2754 &block_group->runtime_flags)) { in btrfs_create_pending_block_groups()
2780 clear_bit(BLOCK_GROUP_FLAG_NEW, &block_group->runtime_flags); in btrfs_create_pending_block_groups()
2856 set_bit(BLOCK_GROUP_FLAG_NEW, &cache->runtime_flags); in btrfs_make_block_group()
2865 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in btrfs_make_block_group()
4363 &block_group->runtime_flags)) { in btrfs_put_block_group_cache()
4519 test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)); in btrfs_unfreeze_block_group()
H A Dfile.c1546 &BTRFS_I(inode)->runtime_flags)) in btrfs_release_file()
1586 (test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) || in skip_inode_logging()
1691 full_sync = test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
1710 clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags); in btrfs_sync_file()
1731 if (test_and_clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags)) in btrfs_sync_file()
1746 clear_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
3828 if (!ret && test_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags)) in btrfs_fdatawrite_range()
H A Dtree-log.c2864 if (!test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) && in btrfs_init_log_ctx_scratch_eb()
2865 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in btrfs_init_log_ctx_scratch_eb()
5089 if (test_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags)) in btrfs_log_all_xattrs()
5140 set_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags); in btrfs_log_all_xattrs()
5413 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in need_log_inode()
6456 &inode->runtime_flags) && in btrfs_log_inode()
6544 clear_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags); in btrfs_log_inode()
6568 &inode->runtime_flags)) { in btrfs_log_inode()
6576 &inode->runtime_flags); in btrfs_log_inode()
6578 &inode->runtime_flags); in btrfs_log_inode()
[all …]
H A Dscrub.c2137 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_simple_mirror()
2428 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) in scrub_chunk()
2581 if (!test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2596 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2729 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags) && in scrub_enumerate_chunks()
H A Dfree-space-cache.c158 if (!test_and_set_bit(BLOCK_GROUP_FLAG_IREF, &block_group->runtime_flags)) in lookup_free_space_inode()
271 if (test_and_clear_bit(BLOCK_GROUP_FLAG_IREF, &block_group->runtime_flags)) { in btrfs_remove_free_space_inode()
2929 &block_group->runtime_flags)); in btrfs_dump_free_space()
4032 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group()
4062 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_extents()
4084 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_bitmaps()
H A Ddirect-io.c413 &BTRFS_I(inode)->runtime_flags)) { in btrfs_dio_iomap_begin()
H A Dordered-data.c443 set_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags); in btrfs_finish_ordered_extent()
H A Dvolumes.c5669 set_bit(BLOCK_GROUP_FLAG_CHUNK_ITEM_INSERTED, &bg->runtime_flags); in btrfs_chunk_alloc_add_chunk_item()
6115 ret = test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in is_block_group_to_copy()
8086 if (!test_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) in relocating_repair_kthread()
8123 if (test_and_set_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) { in btrfs_repair_one_zone()
H A Dextent-tree.c3911 test_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags))) { in do_allocation_zoned()
3972 set_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags); in do_allocation_zoned()
H A Dextent_io.c2076 &BTRFS_I(inode)->runtime_flags)) in extent_write_cache_pages()
/linux/include/uapi/rdma/hfi/
H A Dhfi1_ioctl.h82 __aligned_u64 runtime_flags; /* chip/drv runtime flags (HFI1_CAP_*) */ member
/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c474 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in run_test()
/linux/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c1136 cinfo.runtime_flags = (((uctxt->flags >> HFI1_CAP_MISC_SHIFT) & in get_ctxt_info()
1142 cinfo.runtime_flags |= HFI1_CAP_TID_UNMAP; /* no caching */ in get_ctxt_info()

12