Home
last modified time | relevance | path

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

/linux/drivers/block/
H A Dnbd.c94 unsigned long runtime_flags; member
302 return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) || in nbd_disconnected()
303 test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnected()
322 &nbd->config->runtime_flags)) { in nbd_mark_nsock_dead()
324 &nbd->config->runtime_flags); in nbd_mark_nsock_dead()
414 if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in sock_shutdown()
549 set_bit(NBD_RT_TIMEDOUT, &config->runtime_flags); in nbd_xmit_timeout()
1075 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 Dprops.c151 set_bit(BTRFS_INODE_HAS_PROPS, &inode->runtime_flags); in btrfs_set_prop()
283 set_bit(BTRFS_INODE_HAS_PROPS, &BTRFS_I(inode)->runtime_flags); in inode_prop_iterator()
408 if (!test_bit(BTRFS_INODE_HAS_PROPS, &parent->runtime_flags)) in btrfs_inode_inherit_props()
458 set_bit(BTRFS_INODE_HAS_PROPS, &inode->runtime_flags); in btrfs_inode_inherit_props()
H A Dzoned.c1446 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_single()
1508 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_dup()
1569 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid1()
1677 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid0()
1824 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_raid10()
1960 set_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
1972 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags); in btrfs_load_block_group_zone_info()
2007 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags)) { in btrfs_load_block_group_zone_info()
2074 ret = !!test_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_use_zone_append()
2198 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags)) in check_bg_is_active()
[all …]
H A Dverity.c470 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in rollback_verity()
565 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in finish_verity()
595 if (test_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags)) in btrfs_begin_enable_verity()
615 set_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in btrfs_begin_enable_verity()
H A Dbtrfs_inode.h187 unsigned long runtime_flags; member
392 return test_bit(BTRFS_INODE_FREE_SPACE_INODE, &inode->runtime_flags); in btrfs_is_free_space_inode()
435 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_set_inode_full_sync()
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()
1476 &inode->runtime_flags)) in btrfs_defrag_file()
H A Dfree-space-tree.c1271 clear_bit(BLOCK_GROUP_FLAG_FREE_SPACE_ADDED, &bg->runtime_flags); in clear_free_space_tree()
1367 &block_group->runtime_flags)) in btrfs_rebuild_free_space_tree()
1409 &block_group->runtime_flags)) in __add_block_group_free_space()
1433 set_bit(BLOCK_GROUP_FLAG_FREE_SPACE_ADDED, &block_group->runtime_flags); in __add_block_group_free_space()
1491 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in btrfs_remove_block_group_free_space()
H A Dblock-group.c1341 set_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags); in btrfs_remove_block_group()
1664 test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &block_group->runtime_flags)) { in btrfs_delete_unused_bgs()
1876 } else if (!test_bit(BLOCK_GROUP_FLAG_NEW, &bg->runtime_flags)) { in btrfs_mark_bg_unused()
2946 &block_group->runtime_flags)) { in btrfs_create_pending_block_groups()
2974 clear_bit(BLOCK_GROUP_FLAG_NEW, &block_group->runtime_flags); in btrfs_create_pending_block_groups()
3052 set_bit(BLOCK_GROUP_FLAG_NEW, &cache->runtime_flags); in btrfs_make_block_group()
3061 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in btrfs_make_block_group()
4637 &block_group->runtime_flags)) { in btrfs_put_block_group_cache()
4815 test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)); in btrfs_unfreeze_block_group()
4941 set_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags); in btrfs_mark_bg_fully_remapped()
[all …]
H A Dblock-group.h172 unsigned long runtime_flags; member
H A Ddev-replace.c523 set_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in mark_block_group_to_copy()
551 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in btrfs_finish_block_group_to_copy()
583 clear_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in btrfs_finish_block_group_to_copy()
H A Dreflink.c114 set_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &inode->runtime_flags); in copy_inline_to_page()
668 clear_bit(BTRFS_INODE_NO_DELALLOC_FLUSH, &inode->runtime_flags); in btrfs_clone()
H A Dfile.c1468 &BTRFS_I(inode)->runtime_flags)) in btrfs_release_file()
1508 (test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) || in skip_inode_logging()
1611 full_sync = test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
1630 clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags); in btrfs_sync_file()
1651 if (test_and_clear_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags)) in btrfs_sync_file()
1664 clear_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_sync_file()
3861 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()
2930 &block_group->runtime_flags)); in btrfs_dump_free_space()
3062 !test_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &block_group->runtime_flags) && in btrfs_is_free_space_trimmed()
3844 if (!test_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags)) { in btrfs_trim_fully_remapped_block_group()
4083 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group()
4113 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_extents()
4135 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_bitmaps()
H A Dscrub.c2154 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_raid56_parity_stripe()
2299 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_simple_mirror()
2581 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) in scrub_chunk()
2734 if (!test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2749 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in scrub_enumerate_chunks()
2882 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags) && in scrub_enumerate_chunks()
H A Dtree-log.c3237 if (!test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) && in btrfs_init_log_ctx_scratch_eb()
3238 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in btrfs_init_log_ctx_scratch_eb()
5515 if (test_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags)) in btrfs_log_all_xattrs()
5566 set_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags); in btrfs_log_all_xattrs()
5840 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in need_log_inode()
6956 &inode->runtime_flags) && in btrfs_log_inode()
7044 clear_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags); in btrfs_log_inode()
7068 &inode->runtime_flags)) { in btrfs_log_inode()
7076 &inode->runtime_flags); in btrfs_log_inode()
7078 &inode->runtime_flags); in btrfs_log_inode()
[all …]
H A Drelocation.c4425 &dest_bg->runtime_flags); in move_existing_remap()
4560 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &bg->runtime_flags)) { in create_remap_tree_entries()
4871 clear_bit(BLOCK_GROUP_FLAG_STRIPE_REMOVAL_PENDING, &bg->runtime_flags); in btrfs_last_identity_remap_gone()
4902 !test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &bg->runtime_flags)) { in adjust_identity_remap_count()
4903 set_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &bg->runtime_flags); in adjust_identity_remap_count()
5156 &dest_bg->runtime_flags); in do_remap_reloc_trans()
5205 if (!test_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &src_bg->runtime_flags)) { in do_remap_reloc_trans()
5207 set_bit(BLOCK_GROUP_FLAG_FULLY_REMAPPED, &src_bg->runtime_flags); in do_remap_reloc_trans()
H A Dinode.c1585 set_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags); in run_delalloc_compressed()
4161 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_read_locked_inode()
5475 &BTRFS_I(inode)->runtime_flags); in btrfs_setsize()
5943 &BTRFS_I(inode)->runtime_flags); in btrfs_init_locked_inode()
6045 set_bit(BTRFS_INODE_ROOT_STUB, &inode->runtime_flags); in new_simple_dir()
6046 set_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags); in new_simple_dir()
6462 if (test_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags)) in btrfs_dirty_inode()
6717 set_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_create_new_inode()
8101 ei->runtime_flags = 0; in btrfs_alloc_inode()
8895 &BTRFS_I(inode)->runtime_flags)) in btrfs_run_delalloc_work()
[all...]
H A Ddirect-io.c428 &BTRFS_I(inode)->runtime_flags)) { in btrfs_dio_iomap_begin()
H A Dvolumes.c6362 set_bit(BLOCK_GROUP_FLAG_CHUNK_ITEM_INSERTED, &bg->runtime_flags); in btrfs_chunk_alloc_add_chunk_item()
6893 ret = test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in is_block_group_to_copy()
8950 if (!test_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) in relocating_repair_kthread()
8986 if (test_and_set_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) { in btrfs_repair_one_zone()
H A Dextent-tree.c4110 test_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags))) { in do_allocation_zoned()
4171 set_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags); in do_allocation_zoned()
H A Ddisk-io.c1925 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags); in btrfs_init_btree_inode()
H A Dextent_io.c2771 &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/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c1147 cinfo.runtime_flags = (((uctxt->flags >> HFI1_CAP_MISC_SHIFT) & in get_ctxt_info()
1153 cinfo.runtime_flags |= HFI1_CAP_TID_UNMAP; /* no caching */ in get_ctxt_info()
/linux/include/trace/events/
H A Dbtrfs.h1041 test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags);
1043 test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags);
1045 test_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags);