Lines Matching refs:found_key

350 	struct btrfs_key found_key;  in btrfs_read_qgroup_config()  local
395 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_read_qgroup_config()
397 if (found_key.type == BTRFS_QGROUP_STATUS_KEY) { in btrfs_read_qgroup_config()
421 if (found_key.type != BTRFS_QGROUP_INFO_KEY && in btrfs_read_qgroup_config()
422 found_key.type != BTRFS_QGROUP_LIMIT_KEY) in btrfs_read_qgroup_config()
425 qgroup = find_qgroup_rb(fs_info, found_key.offset); in btrfs_read_qgroup_config()
426 if ((qgroup && found_key.type == BTRFS_QGROUP_INFO_KEY) || in btrfs_read_qgroup_config()
427 (!qgroup && found_key.type == BTRFS_QGROUP_LIMIT_KEY)) { in btrfs_read_qgroup_config()
432 qgroup = add_qgroup_rb(fs_info, found_key.offset); in btrfs_read_qgroup_config()
442 switch (found_key.type) { in btrfs_read_qgroup_config()
489 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_read_qgroup_config()
491 if (found_key.type != BTRFS_QGROUP_RELATION_KEY) in btrfs_read_qgroup_config()
494 if (found_key.objectid > found_key.offset) { in btrfs_read_qgroup_config()
500 ret = add_relation_rb(fs_info, found_key.objectid, in btrfs_read_qgroup_config()
501 found_key.offset); in btrfs_read_qgroup_config()
505 found_key.objectid, found_key.offset); in btrfs_read_qgroup_config()
955 struct btrfs_key found_key; in btrfs_quota_enable() local
1085 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_quota_enable()
1087 if (found_key.type == BTRFS_ROOT_REF_KEY) { in btrfs_quota_enable()
1093 found_key.offset); in btrfs_quota_enable()
1099 qgroup = add_qgroup_rb(fs_info, found_key.offset); in btrfs_quota_enable()
1110 ret = btrfs_search_slot_for_read(tree_root, &found_key, in btrfs_quota_enable()