/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 263 union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys() argument 266 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys() 273 union xfs_btree_key *k1, in xfs_cntbt_diff_two_keys() argument 278 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys() 283 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys() 383 union xfs_btree_key *k1, in xfs_bnobt_keys_inorder() argument 386 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder() 404 union xfs_btree_key *k1, in xfs_cntbt_keys_inorder() argument 407 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder() 409 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder() [all …]
|
D | xfs_rmap_btree.c | 258 union xfs_btree_key *k1, in xfs_rmapbt_diff_two_keys() argument 261 struct xfs_rmap_key *kp1 = &k1->rmap; in xfs_rmapbt_diff_two_keys() 373 union xfs_btree_key *k1, in xfs_rmapbt_keys_inorder() argument 381 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder() 387 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder() 393 a = XFS_RMAP_OFF(be64_to_cpu(k1->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
|
D | xfs_refcount_btree.c | 192 union xfs_btree_key *k1, in xfs_refcountbt_diff_two_keys() argument 195 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys() 273 union xfs_btree_key *k1, in xfs_refcountbt_keys_inorder() argument 276 return be32_to_cpu(k1->refc.rc_startblock) < in xfs_refcountbt_keys_inorder()
|
D | xfs_bmap_btree.c | 400 union xfs_btree_key *k1, in xfs_bmbt_diff_two_keys() argument 403 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 501 union xfs_btree_key *k1, in xfs_bmbt_keys_inorder() argument 504 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
|
D | xfs_ialloc_btree.c | 266 union xfs_btree_key *k1, in xfs_inobt_diff_two_keys() argument 269 return (int64_t)be32_to_cpu(k1->inobt.ir_startino) - in xfs_inobt_diff_two_keys() 364 union xfs_btree_key *k1, in xfs_inobt_keys_inorder() argument 367 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
|
D | xfs_btree.h | 156 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 | 376 int hfsplus_attr_bin_cmp_key(const hfsplus_btree_key *k1, 447 int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, 449 int hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1, 469 int hfsplus_ext_cmp_key(const hfsplus_btree_key *k1,
|
/fs/btrfs/ |
D | ctree.c | 1552 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in comp_keys() local 1554 return btrfs_comp_cpu_keys(k1, k2); in comp_keys() 1565 struct btrfs_key k1; in comp_keys() local 1567 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys() 1569 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys() 1576 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument 1578 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys() 1580 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys() 1582 if (k1->type > k2->type) in btrfs_comp_cpu_keys() 1584 if (k1->type < k2->type) in btrfs_comp_cpu_keys() [all …]
|
D | ctree.h | 2692 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()
|