Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 13 of 13) sorted by relevance

/fs/xfs/libxfs/
Dxfs_rmap_btree.c278 union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument
281 struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
385 union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
393 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()
Dxfs_alloc_btree.c352 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument
356 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()
Dxfs_refcount_btree.c220 union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument
223 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
293 union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
296 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
Dxfs_ialloc_btree.c310 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
313 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_bmap_btree.c744 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
747 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
Dxfs_btree.h204 union xfs_btree_key *k2);
/fs/hfsplus/
Dcatalog.c16 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
21 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() argument
34 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()
Dextents.c20 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
26 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()
Dattributes.c35 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument
40 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()
Dhfsplus_fs.h374 const hfsplus_btree_key *k2);
444 const hfsplus_btree_key *k2);
446 const hfsplus_btree_key *k2);
466 const hfsplus_btree_key *k2);
/fs/btrfs/
Dctree.c1578 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument
1584 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() argument
1592 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()
Dctree.h2757 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
/fs/reiserfs/
Dstree.c132 const struct reiserfs_key *k2) in comp_le_keys() argument
134 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()