Home
last modified time | relevance | path

Searched refs:min_key (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/fs/btrfs/
Dtree-log.c3647 struct btrfs_key min_key; in log_dir_items() local
3660 min_key.objectid = ino; in log_dir_items()
3661 min_key.type = key_type; in log_dir_items()
3662 min_key.offset = min_offset; in log_dir_items()
3664 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_dir_items()
3670 if (ret != 0 || min_key.objectid != ino || min_key.type != key_type) { in log_dir_items()
3671 min_key.objectid = ino; in log_dir_items()
3672 min_key.type = key_type; in log_dir_items()
3673 min_key.offset = (u64)-1; in log_dir_items()
3675 ret = btrfs_search_slot(NULL, root, &min_key, path, 0, 0); in log_dir_items()
[all …]
Dioctl.c1033 struct btrfs_key min_key; in find_new_extents() local
1044 min_key.objectid = ino; in find_new_extents()
1045 min_key.type = BTRFS_EXTENT_DATA_KEY; in find_new_extents()
1046 min_key.offset = *off; in find_new_extents()
1049 ret = btrfs_search_forward(root, &min_key, path, newer_than); in find_new_extents()
1053 if (min_key.objectid != ino) in find_new_extents()
1055 if (min_key.type != BTRFS_EXTENT_DATA_KEY) in find_new_extents()
1065 check_defrag_in_cache(inode, min_key.offset, thresh)) { in find_new_extents()
1066 *off = min_key.offset; in find_new_extents()
1073 btrfs_item_key_to_cpu(leaf, &min_key, path->slots[0]); in find_new_extents()
[all …]
Drelocation.c1504 struct btrfs_key *min_key, in invalidate_extent_cache() argument
1513 objectid = min_key->objectid; in invalidate_extent_cache()
1535 if (unlikely(min_key->objectid == ino)) { in invalidate_extent_cache()
1536 if (min_key->type > BTRFS_EXTENT_DATA_KEY) in invalidate_extent_cache()
1538 if (min_key->type < BTRFS_EXTENT_DATA_KEY) in invalidate_extent_cache()
1541 start = min_key->offset; in invalidate_extent_cache()
Dctree.c4202 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, in btrfs_search_forward() argument
4230 sret = btrfs_bin_search(cur, min_key, &slot); in btrfs_search_forward()
4268 sret = btrfs_find_next_key(root, path, min_key, level, in btrfs_search_forward()
4300 memcpy(min_key, &found_key, sizeof(found_key)); in btrfs_search_forward()
Dctree.h2832 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
/Linux-v5.15/fs/ubifs/
Dreplay.c184 union ubifs_key min_key, max_key; in trun_remove_range() local
197 data_key_init(c, &min_key, ino, min_blk); in trun_remove_range()
200 return ubifs_tnc_remove_range(c, &min_key, &max_key); in trun_remove_range()