/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 262 const union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys() argument 268 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys() 275 const union xfs_btree_key *k1, in xfs_cntbt_diff_two_keys() argument 284 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys() 289 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys() 389 const union xfs_btree_key *k1, in xfs_bnobt_keys_inorder() argument 392 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder() 410 const union xfs_btree_key *k1, in xfs_cntbt_keys_inorder() argument 413 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder() 415 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder() [all …]
|
D | xfs_rmap_btree.c | 275 const union xfs_btree_key *k1, in xfs_rmapbt_diff_two_keys() argument 279 const struct xfs_rmap_key *kp1 = &k1->rmap; in xfs_rmapbt_diff_two_keys() 402 const union xfs_btree_key *k1, in xfs_rmapbt_keys_inorder() argument 410 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder() 416 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder() 422 a = offset_keymask(be64_to_cpu(k1->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
|
D | xfs_refcount_btree.c | 198 const union xfs_btree_key *k1, in xfs_refcountbt_diff_two_keys() argument 204 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys() 282 const union xfs_btree_key *k1, in xfs_refcountbt_keys_inorder() argument 285 return be32_to_cpu(k1->refc.rc_startblock) < in xfs_refcountbt_keys_inorder()
|
D | xfs_bmap_btree.c | 388 const union xfs_btree_key *k1, in xfs_bmbt_diff_two_keys() argument 392 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 492 const union xfs_btree_key *k1, in xfs_bmbt_keys_inorder() argument 495 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
|
D | xfs_ialloc_btree.c | 270 const union xfs_btree_key *k1, in xfs_inobt_diff_two_keys() argument 276 return (int64_t)be32_to_cpu(k1->inobt.ir_startino) - in xfs_inobt_diff_two_keys() 371 const union xfs_btree_key *k1, in xfs_inobt_keys_inorder() argument 374 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
|
D | xfs_btree.h | 177 const union xfs_btree_key *k1,
|
/fs/hfsplus/ |
D | catalog.c | 16 int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, in hfsplus_cat_case_cmp_key() argument 21 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key() 26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key() 29 int hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1, in hfsplus_cat_bin_cmp_key() argument 34 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key() 39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
|
D | attributes.c | 35 int hfsplus_attr_bin_cmp_key(const hfsplus_btree_key *k1, in hfsplus_attr_bin_cmp_key() argument 40 k1_cnid = k1->attr.cnid; in hfsplus_attr_bin_cmp_key() 46 (const struct hfsplus_unistr *)&k1->attr.key_name, in hfsplus_attr_bin_cmp_key()
|
D | extents.c | 20 int hfsplus_ext_cmp_key(const hfsplus_btree_key *k1, in hfsplus_ext_cmp_key() argument 26 k1id = k1->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() 34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
|
D | hfsplus_fs.h | 365 int hfsplus_attr_bin_cmp_key(const hfsplus_btree_key *k1, 436 int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, 438 int hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1, 458 int hfsplus_ext_cmp_key(const hfsplus_btree_key *k1,
|
/fs/ntfs3/ |
D | index.c | 72 const u32 *k1 = key1; in cmp_uint() local 78 if (*k1 < *k2) in cmp_uint() 80 if (*k1 > *k2) in cmp_uint() 91 const struct SECURITY_KEY *k1 = key1; in cmp_sdh() local 98 t1 = le32_to_cpu(k1->hash); in cmp_sdh() 109 t1 = le32_to_cpu(k1->sec_id); in cmp_sdh() 126 const __le32 *k1 = key1; in cmp_uints() local 137 k1 += 1; // Skip REPARSE_KEY.ReparseTag in cmp_uints() 150 for (count = min(l1, l2) >> 2; count > 0; --count, ++k1, ++k2) { in cmp_uints() 151 u32 t1 = le32_to_cpu(*k1); in cmp_uints()
|
/fs/btrfs/ |
D | ctree.c | 766 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in comp_keys() local 768 return btrfs_comp_cpu_keys(k1, k2); in comp_keys() 779 struct btrfs_key k1; in comp_keys() local 781 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys() 783 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys() 790 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument 792 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys() 794 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys() 796 if (k1->type > k2->type) in btrfs_comp_cpu_keys() 798 if (k1->type < k2->type) in btrfs_comp_cpu_keys() [all …]
|
D | ctree.h | 516 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2);
|
/fs/reiserfs/ |
D | stree.c | 132 inline int comp_le_keys(const struct reiserfs_key *k1, in comp_le_keys() argument 135 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()
|