Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-raid.c235 unsigned long runtime_flags; member
2691 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_adjust_data_offsets()
2833 set_bit(RT_FLAG_RESHAPE_RS, &rs->runtime_flags); in rs_prepare_reshape()
2834 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape()
2837 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape()
3108 set_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
3134 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr()
3177 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr()
3183 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
3218 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr()
[all …]
/linux/drivers/block/
H A Dnbd.c94 unsigned long runtime_flags; member
301 return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) || in nbd_disconnected()
302 test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnected()
321 &nbd->config->runtime_flags)) { in nbd_mark_nsock_dead()
323 &nbd->config->runtime_flags); in nbd_mark_nsock_dead()
405 if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in sock_shutdown()
540 set_bit(NBD_RT_TIMEDOUT, &config->runtime_flags); in nbd_xmit_timeout()
1065 if (test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in find_fallback()
1109 &config->runtime_flags) || in wait_for_reconnect()
1114 return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags); in wait_for_reconnect()
[all …]
/linux/fs/btrfs/
H A Dzoned.c1430 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_single()
1492 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_dup()
1553 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid1()
1661 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid0()
1809 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid10()
1945 set_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
1957 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
1992 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags)) { in btrfs_load_block_group_zone_info()
2059 ret = !!test_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_use_zone_append()
2174 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()
398 if (!test_bit(BTRFS_INODE_HAS_PROPS, &parent->runtime_flags)) in btrfs_inode_inherit_props()
448 set_bit(BTRFS_INODE_HAS_PROPS, &inode->runtime_flags); in btrfs_inode_inherit_props()
H A Dverity.c456 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in rollback_verity()
551 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in finish_verity()
581 if (test_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags)) in btrfs_begin_enable_verity()
601 set_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in btrfs_begin_enable_verity()
H A Ddefrag.c99 set_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags); in btrfs_insert_inode_defrag()
128 if (test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) in btrfs_add_inode_defrag()
141 if (!test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) { in btrfs_add_inode_defrag()
251 clear_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags); in btrfs_run_defrag_inode()
1487 &inode->runtime_flags)) in btrfs_defrag_file()
H A Dfree-space-tree.c1261 clear_bit(BLOCK_GROUP_FLAG_FREE_SPACE_ADDED, &bg->runtime_flags); in clear_free_space_tree()
1357 &block_group->runtime_flags)) in btrfs_rebuild_free_space_tree()
1393 &block_group->runtime_flags)) in __add_block_group_free_space()
1417 set_bit(BLOCK_GROUP_FLAG_FREE_SPACE_ADDED, &block_group->runtime_flags); in __add_block_group_free_space()
1474 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in btrfs_remove_block_group_free_space()
H A Dblock-group.c1314 set_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags); in btrfs_remove_block_group()
1619 test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &block_group->runtime_flags)) { in btrfs_delete_unused_bgs()
1831 } else if (!test_bit(BLOCK_GROUP_FLAG_NEW, &bg->runtime_flags)) { in btrfs_mark_bg_unused()
2882 &block_group->runtime_flags)) { in btrfs_create_pending_block_groups()
2910 clear_bit(BLOCK_GROUP_FLAG_NEW, &block_group->runtime_flags); in btrfs_create_pending_block_groups()
2988 set_bit(BLOCK_GROUP_FLAG_NEW, &cache->runtime_flags); in btrfs_make_block_group()
2997 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in btrfs_make_block_group()
4562 &block_group->runtime_flags)) { in btrfs_put_block_group_cache()
4740 test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)); in btrfs_unfreeze_block_group()
4866 set_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags); in btrfs_mark_bg_fully_remapped()
[all …]
H A Dreflink.c114 set_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &inode->runtime_flags); in copy_inline_to_page()
613 clear_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &BTRFS_I(inode)->runtime_flags); in btrfs_clone()
H A Dfile.c1499 &BTRFS_I(inode)->runtime_flags)) in btrfs_release_file()
1539 (test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) || in skip_inode_logging()
1644 full_sync = test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
1663 clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags); in btrfs_sync_file()
1684 if (test_and_clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags)) in btrfs_sync_file()
1699 clear_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
3892 if (!ret && test_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags)) in btrfs_fdatawrite_range()
H A Dfree-space-cache.c160 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()
2927 &block_group->runtime_flags)); in btrfs_dump_free_space()
3064 !test_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &block_group->runtime_flags) && in btrfs_is_free_space_trimmed()
3846 if (!test_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags)) { in btrfs_trim_fully_remapped_block_group()
4082 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group()
4112 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_extents()
4134 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_bitmaps()
H A Dscrub.c2191 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_raid56_parity_stripe()
2336 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_simple_mirror()
2618 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) in scrub_chunk()
2771 if (!test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2786 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2919 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags) && in scrub_enumerate_chunks()
H A Dtree-log.c3258 if (!test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) && in btrfs_init_log_ctx_scratch_eb()
3259 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in btrfs_init_log_ctx_scratch_eb()
5546 if (test_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags)) in btrfs_log_all_xattrs()
5597 set_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags); in btrfs_log_all_xattrs()
5862 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in need_log_inode()
6938 &inode->runtime_flags) && in btrfs_log_inode()
7026 clear_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags); in btrfs_log_inode()
7050 &inode->runtime_flags)) { in btrfs_log_inode()
7058 &inode->runtime_flags); in btrfs_log_inode()
7060 &inode->runtime_flags); in btrfs_log_inode()
[all …]
H A Drelocation.c4304 &dest_bg->runtime_flags); in move_existing_remap()
4439 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &bg->runtime_flags)) { in create_remap_tree_entries()
4750 clear_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags); in btrfs_last_identity_remap_gone()
4781 !test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &bg->runtime_flags)) { in adjust_identity_remap_count()
4782 set_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &bg->runtime_flags); in adjust_identity_remap_count()
5029 &dest_bg->runtime_flags); in do_remap_reloc_trans()
5072 if (!test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &src_bg->runtime_flags)) { in do_remap_reloc_trans()
5074 set_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &src_bg->runtime_flags); in do_remap_reloc_trans()
H A Dinode.c1715 set_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags); in run_delalloc_compressed()
4134 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_read_locked_inode()
5453 &BTRFS_I(inode)->runtime_flags); in btrfs_setsize()
5921 &BTRFS_I(inode)->runtime_flags); in btrfs_init_locked_inode()
6023 set_bit(BTRFS_INODE_ROOT_STUB, &inode->runtime_flags); in new_simple_dir()
6024 set_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags); in new_simple_dir()
6440 if (test_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags)) in btrfs_dirty_inode()
6695 set_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_create_new_inode()
8086 ei->runtime_flags = 0; in btrfs_alloc_inode()
8879 &BTRFS_I(inode)->runtime_flags)) in btrfs_run_delalloc_work()
[all …]
H A Dvolumes.c6018 set_bit(BLOCK_GROUP_FLAG_CHUNK_ITEM_INSERTED, &bg->runtime_flags); in btrfs_chunk_alloc_add_chunk_item()
6549 ret = test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in is_block_group_to_copy()
8534 if (!test_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) in relocating_repair_kthread()
8570 if (test_and_set_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) { in btrfs_repair_one_zone()
H A Dextent-tree.c4109 test_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags))) { in do_allocation_zoned()
4170 set_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags); in do_allocation_zoned()
H A Dextent_io.c2510 &BTRFS_I(inode)->runtime_flags)) in extent_write_cache_pages()
H A Ddisk-io.c1894 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags); in btrfs_init_btree_inode()
/linux/include/uapi/rdma/hfi/
H A Dhfi1_ioctl.h82 __aligned_u64 runtime_flags; /* chip/drv runtime flags (HFI1_CAP_*) */ member
/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()