Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/md/
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-6.12.1/drivers/block/
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-6.12.1/fs/btrfs/
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()
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 …]
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()
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()
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()
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()
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()
Dblock-group.h158 unsigned long runtime_flags; member
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()
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()
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()
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()
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 …]
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()
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()
Dinode.c1692 set_bit(BTRFS_INODE_HAS_ASYNC_EXTENT, &inode->runtime_flags); in run_delalloc_compressed()
3891 &BTRFS_I(inode)->runtime_flags); in btrfs_read_locked_inode()
5075 &BTRFS_I(inode)->runtime_flags); in btrfs_setsize()
5567 &BTRFS_I(inode)->runtime_flags); in btrfs_init_locked_inode()
5652 set_bit(BTRFS_INODE_ROOT_STUB, &BTRFS_I(inode)->runtime_flags); in new_simple_dir()
5653 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags); in new_simple_dir()
6061 if (test_bit(BTRFS_INODE_DUMMY, &inode->runtime_flags)) in btrfs_dirty_inode()
6292 set_bit(BTRFS_INODE_NO_CAP_XATTR, &BTRFS_I(inode)->runtime_flags); in btrfs_create_new_inode()
6676 set_bit(BTRFS_INODE_COPY_EVERYTHING, &BTRFS_I(inode)->runtime_flags); in btrfs_link()
7696 ei->runtime_flags = 0; in btrfs_alloc_inode()
[all …]
Ddirect-io.c413 &BTRFS_I(inode)->runtime_flags)) { in btrfs_dio_iomap_begin()
Dordered-data.c443 set_bit(BTRFS_INODE_COW_WRITE_ERROR, &inode->runtime_flags); in btrfs_finish_ordered_extent()
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()
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()
/linux-6.12.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h82 __aligned_u64 runtime_flags; /* chip/drv runtime flags (HFI1_CAP_*) */ member
/linux-6.12.1/fs/btrfs/tests/
Dfree-space-tree-tests.c474 set_bit(BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE, &cache->runtime_flags); in run_test()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
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