Searched refs:k2 (Results 1 – 11 of 11) sorted by relevance
393 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument397 be32_to_cpu(k2->alloc.ar_startblock); in xfs_allocbt_keys_inorder()400 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_allocbt_keys_inorder()401 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()403 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_allocbt_keys_inorder()
317 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument320 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
734 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument737 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
178 union xfs_btree_key *k2);
16 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument21 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()25 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()29 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument34 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()38 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
20 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument26 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()30 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()31 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()34 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
35 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument40 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()46 (const struct hfsplus_unistr *)&k2->attr.key_name); in hfsplus_attr_bin_cmp_key()
374 const hfsplus_btree_key *k2);445 const hfsplus_btree_key *k2);447 const hfsplus_btree_key *k2);467 const hfsplus_btree_key *k2);
1577 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument1583 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()1589 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument1591 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()1593 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()1595 if (k1->type > k2->type) in btrfs_comp_cpu_keys()1597 if (k1->type < k2->type) in btrfs_comp_cpu_keys()1599 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()1601 if (k1->offset < k2->offset) in btrfs_comp_cpu_keys()
3603 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
132 const struct reiserfs_key *k2) in comp_le_keys() argument134 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()