Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_alloc_btree.c261 const union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() argument
264 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
271 const union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() argument
276 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
281 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
381 const union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument
384 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
402 const union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument
405 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
406 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
Dxfs_rmap_btree.c254 const union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument
257 const struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
369 const union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
377 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
383 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
389 b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c193 const union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument
196 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
274 const union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
277 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
Dxfs_bmap_btree.c401 const union xfs_btree_key *k2) in xfs_bmbt_diff_two_keys() argument
404 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
502 const union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
505 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
Dxfs_ialloc_btree.c267 const union xfs_btree_key *k2) in xfs_inobt_diff_two_keys() argument
270 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys()
365 const union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
368 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_btree.h158 const union xfs_btree_key *k2);
/fs/hfsplus/
Dcatalog.c17 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
30 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument
35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
Dattributes.c36 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument
41 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
47 (const struct hfsplus_unistr *)&k2->attr.key_name); in hfsplus_attr_bin_cmp_key()
Dextents.c21 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
Dhfsplus_fs.h366 const hfsplus_btree_key *k2);
437 const hfsplus_btree_key *k2);
439 const hfsplus_btree_key *k2);
459 const hfsplus_btree_key *k2);
/fs/ntfs3/
Dindex.c73 const u32 *k2 = key2; in cmp_uint() local
78 if (*k1 < *k2) in cmp_uint()
80 if (*k1 > *k2) in cmp_uint()
92 const struct SECURITY_KEY *k2 = key2; in cmp_sdh() local
99 t2 = le32_to_cpu(k2->hash); in cmp_sdh()
110 t2 = le32_to_cpu(k2->sec_id); in cmp_sdh()
127 const __le32 *k2 = key2; in cmp_uints() local
138 k2 += 1; // Skip REPARSE_KEY.ReparseTag in cmp_uints()
150 for (count = min(l1, l2) >> 2; count > 0; --count, ++k1, ++k2) { in cmp_uints()
152 u32 t2 = le32_to_cpu(*k2); in cmp_uints()
/fs/btrfs/
Dctree.c616 const struct btrfs_key *k2) in comp_keys() argument
620 return btrfs_comp_cpu_keys(k1, k2); in comp_keys()
629 const struct btrfs_key *k2) in comp_keys() argument
635 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()
642 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument
644 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()
646 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()
648 if (k1->type > k2->type) in btrfs_comp_cpu_keys()
650 if (k1->type < k2->type) in btrfs_comp_cpu_keys()
652 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()
[all …]
Dctree.h2864 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2);
/fs/reiserfs/
Dstree.c133 const struct reiserfs_key *k2) in comp_le_keys() argument
135 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()