Lines Matching refs:k1
473 struct btrfs_key k1; in comp_keys() local
475 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys()
477 if (k1.objectid > k2->objectid) in comp_keys()
479 if (k1.objectid < k2->objectid) in comp_keys()
481 if (k1.type > k2->type) in comp_keys()
483 if (k1.type < k2->type) in comp_keys()
485 if (k1.offset > k2->offset) in comp_keys()
487 if (k1.offset < k2->offset) in comp_keys()
495 static int comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in comp_cpu_keys() argument
497 if (k1->objectid > k2->objectid) in comp_cpu_keys()
499 if (k1->objectid < k2->objectid) in comp_cpu_keys()
501 if (k1->type > k2->type) in comp_cpu_keys()
503 if (k1->type < k2->type) in comp_cpu_keys()
505 if (k1->offset > k2->offset) in comp_cpu_keys()
507 if (k1->offset < k2->offset) in comp_cpu_keys()