Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_alloc_btree.c263 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 …]
Dxfs_rmap_btree.c258 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()
Dxfs_refcount_btree.c192 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()
Dxfs_bmap_btree.c400 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()
Dxfs_ialloc_btree.c266 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()
Dxfs_btree.h156 union xfs_btree_key *k1,
/fs/hfsplus/
Dcatalog.c16 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()
Dattributes.c35 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()
Dextents.c20 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()
Dhfsplus_fs.h376 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/
Dctree.c1552 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 …]
Dctree.h2692 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2);
/fs/reiserfs/
Dstree.c132 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()