/openbmc/linux/drivers/block/ |
H A D | nbd.c | 93 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() 382 if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in sock_shutdown() 509 set_bit(NBD_RT_TIMEDOUT, &config->runtime_flags); in nbd_xmit_timeout() 956 if (test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in find_fallback() 1000 &config->runtime_flags) || in wait_for_reconnect() 1005 return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags); in wait_for_reconnect() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-raid.c | 234 unsigned long runtime_flags; member 2657 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_adjust_data_offsets() 2799 set_bit(RT_FLAG_RESHAPE_RS, &rs->runtime_flags); in rs_prepare_reshape() 2800 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape() 2803 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in rs_prepare_reshape() 3091 set_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr() 3117 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr() 3160 set_bit(RT_FLAG_UPDATE_SBS, &rs->runtime_flags); in raid_ctr() 3166 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr() 3201 clear_bit(RT_FLAG_RS_GROW, &rs->runtime_flags); in raid_ctr() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | zoned.c | 1398 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_single() 1435 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &bg->runtime_flags); in btrfs_load_block_group_dup() 1509 set_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_load_block_group_zone_info() 1522 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags); in btrfs_load_block_group_zone_info() 1573 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &cache->runtime_flags)) { in btrfs_load_block_group_zone_info() 1658 ret = !!test_bit(BLOCK_GROUP_FLAG_SEQUENTIAL_ZONE, &cache->runtime_flags); in btrfs_use_zone_append() 1771 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags)) in check_bg_is_active() 1990 if (test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags)) { in btrfs_zone_activate() 2033 set_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags); in btrfs_zone_activate() 2091 if (!test_bit(BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE, &block_group->runtime_flags)) { in do_zone_finish() [all …]
|
H A D | props.c | 139 set_bit(BTRFS_INODE_HAS_PROPS, &BTRFS_I(inode)->runtime_flags); in btrfs_set_prop() 271 set_bit(BTRFS_INODE_HAS_PROPS, &BTRFS_I(inode)->runtime_flags); in inode_prop_iterator() 395 &BTRFS_I(parent)->runtime_flags)) in btrfs_inode_inherit_props() 446 &BTRFS_I(inode)->runtime_flags); in btrfs_inode_inherit_props()
|
H A D | verity.c | 466 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in rollback_verity() 563 clear_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in finish_verity() 591 if (test_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags)) in btrfs_begin_enable_verity() 611 set_bit(BTRFS_INODE_VERITY_IN_PROGRESS, &inode->runtime_flags); in btrfs_begin_enable_verity()
|
H A D | btrfs_inode.h | 127 unsigned long runtime_flags; member 324 return test_bit(BTRFS_INODE_FREE_SPACE_INODE, &inode->runtime_flags); in btrfs_is_free_space_inode() 365 set_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags); in btrfs_set_inode_full_sync()
|
H A D | defrag.c | 105 set_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags); in __btrfs_add_inode_defrag() 137 if (test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) in btrfs_add_inode_defrag() 155 if (!test_bit(BTRFS_INODE_IN_DEFRAG, &inode->runtime_flags)) { in btrfs_add_inode_defrag() 272 clear_bit(BTRFS_INODE_IN_DEFRAG, &BTRFS_I(inode)->runtime_flags); in __btrfs_run_defrag_inode() 1347 &BTRFS_I(inode)->runtime_flags)) in btrfs_defrag_file()
|
H A D | xattr.c | 220 &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr() 221 clear_bit(BTRFS_INODE_NO_XATTRS, &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr()
|
H A D | free-space-tree.c | 812 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() 1363 clear_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags); in __add_block_group_free_space() 1385 if (!test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) in add_block_group_free_space() 1418 if (test_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &block_group->runtime_flags)) { in remove_block_group_free_space()
|
H A D | block-group.h | 143 unsigned long runtime_flags; member
|
H A D | dev-replace.c | 534 set_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in mark_block_group_to_copy() 563 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in btrfs_finish_block_group_to_copy() 596 clear_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in btrfs_finish_block_group_to_copy()
|
H A D | block-group.c | 1243 set_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags); in btrfs_remove_block_group() 1732 } else if (!test_bit(BLOCK_GROUP_FLAG_NEW, &bg->runtime_flags)) { in btrfs_mark_bg_unused() 2751 &block_group->runtime_flags)) { in btrfs_create_pending_block_groups() 2777 clear_bit(BLOCK_GROUP_FLAG_NEW, &block_group->runtime_flags); in btrfs_create_pending_block_groups() 2822 set_bit(BLOCK_GROUP_FLAG_NEW, &cache->runtime_flags); in btrfs_make_block_group() 2831 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in btrfs_make_block_group() 4338 &block_group->runtime_flags)) { in btrfs_put_block_group_cache() 4496 test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)); in btrfs_unfreeze_block_group()
|
H A D | reflink.c | 116 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 D | scrub.c | 2050 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) { in scrub_simple_mirror() 2341 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &bg->runtime_flags)) in scrub_chunk() 2499 if (!test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags)) { in scrub_enumerate_chunks() 2514 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) { in scrub_enumerate_chunks() 2648 if (!test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags) && in scrub_enumerate_chunks()
|
H A D | inode.c | 1632 set_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags); in run_delalloc_compressed() 2388 set_bit(BTRFS_INODE_IN_DELALLOC_LIST, &inode->runtime_flags); in btrfs_add_delalloc_inodes() 2409 &inode->runtime_flags); in __btrfs_del_delalloc_inode() 2466 &inode->runtime_flags)) in btrfs_set_delalloc_extent() 2533 &inode->runtime_flags)) in btrfs_clear_delalloc_extent() 3814 &BTRFS_I(inode)->runtime_flags); in btrfs_read_locked_inode() 5045 &BTRFS_I(inode)->runtime_flags); in btrfs_setsize() 5547 &BTRFS_I(inode)->runtime_flags); in btrfs_init_locked_inode() 5629 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags); in new_simple_dir() 6033 if (test_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags)) in btrfs_dirty_inode() [all …]
|
H A D | tree-log.c | 5023 if (test_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags)) in btrfs_log_all_xattrs() 5074 set_bit(BTRFS_INODE_NO_XATTRS, &inode->runtime_flags); in btrfs_log_all_xattrs() 5347 !test_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags)) in need_log_inode() 6390 &inode->runtime_flags) && in btrfs_log_inode() 6478 clear_bit(BTRFS_INODE_COPY_EVERYTHING, &inode->runtime_flags); in btrfs_log_inode() 6502 &inode->runtime_flags)) { in btrfs_log_inode() 6510 &inode->runtime_flags); in btrfs_log_inode() 6512 &inode->runtime_flags); in btrfs_log_inode() 6518 &inode->runtime_flags) || in btrfs_log_inode()
|
H A D | free-space-cache.c | 156 if (!test_and_set_bit(BLOCK_GROUP_FLAG_IREF, &block_group->runtime_flags)) in lookup_free_space_inode() 269 if (test_and_clear_bit(BLOCK_GROUP_FLAG_IREF, &block_group->runtime_flags)) { in btrfs_remove_free_space_inode() 2928 &block_group->runtime_flags)); in btrfs_dump_free_space() 4031 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group() 4061 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_extents() 4083 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &block_group->runtime_flags)) { in btrfs_trim_block_group_bitmaps()
|
H A D | file.c | 1727 &BTRFS_I(inode)->runtime_flags)) in btrfs_release_file() 1767 (test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, &inode->runtime_flags) || in skip_inode_logging() 1873 &BTRFS_I(inode)->runtime_flags); in btrfs_sync_file() 1916 &BTRFS_I(inode)->runtime_flags); in btrfs_sync_file() 3913 &BTRFS_I(inode)->runtime_flags)) in btrfs_fdatawrite_range()
|
H A D | volumes.c | 5676 set_bit(BLOCK_GROUP_FLAG_CHUNK_ITEM_INSERTED, &bg->runtime_flags); in btrfs_chunk_alloc_add_chunk_item() 6126 ret = test_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags); in is_block_group_to_copy() 8037 if (!test_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) in relocating_repair_kthread() 8074 if (test_and_set_bit(BLOCK_GROUP_FLAG_RELOCATING_REPAIR, &cache->runtime_flags)) { in btrfs_repair_one_zone()
|
H A D | extent-tree.c | 3780 test_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags))) { in do_allocation_zoned() 3841 set_bit(BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, &block_group->runtime_flags); in do_allocation_zoned()
|
H A D | extent_io.c | 2044 &BTRFS_I(inode)->runtime_flags)) in extent_write_cache_pages()
|
H A D | disk-io.c | 1919 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags); in btrfs_init_btree_inode()
|
/openbmc/linux/include/uapi/rdma/hfi/ |
H A D | hfi1_ioctl.h | 82 __aligned_u64 runtime_flags; /* chip/drv runtime flags (HFI1_CAP_*) */ member
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tree-tests.c | 474 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in run_test()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | file_ops.c | 1136 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()
|