Searched refs:k2 (Results 1 – 13 of 13) sorted by relevance
278 union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument281 struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()385 union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument393 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()399 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()405 b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
352 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument356 be32_to_cpu(k2->alloc.ar_startblock); in xfs_allocbt_keys_inorder()359 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_allocbt_keys_inorder()360 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()362 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_allocbt_keys_inorder()
220 union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument223 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()293 union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument296 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
310 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument313 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
744 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument747 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
204 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);444 const hfsplus_btree_key *k2);446 const hfsplus_btree_key *k2);466 const hfsplus_btree_key *k2);
1578 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument1584 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()1590 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument1592 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()1594 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()1596 if (k1->type > k2->type) in btrfs_comp_cpu_keys()1598 if (k1->type < k2->type) in btrfs_comp_cpu_keys()1600 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()1602 if (k1->offset < k2->offset) in btrfs_comp_cpu_keys()
2757 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()