Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_alloc_btree.c260 const union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys() argument
263 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
270 const union xfs_btree_key *k1, in xfs_cntbt_diff_two_keys() argument
275 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
280 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys()
380 const union xfs_btree_key *k1, in xfs_bnobt_keys_inorder() argument
383 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder()
401 const union xfs_btree_key *k1, in xfs_cntbt_keys_inorder() argument
404 return be32_to_cpu(k1->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.c253 const union xfs_btree_key *k1, in xfs_rmapbt_diff_two_keys() argument
256 const struct xfs_rmap_key *kp1 = &k1->rmap; in xfs_rmapbt_diff_two_keys()
368 const union xfs_btree_key *k1, in xfs_rmapbt_keys_inorder() argument
376 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
382 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
388 a = XFS_RMAP_OFF(be64_to_cpu(k1->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c192 const 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 const 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 const 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 const 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 const 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 const 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.h157 const 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.h365 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/
Dindex.c72 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/
Dctree.c618 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in comp_keys() local
620 return btrfs_comp_cpu_keys(k1, k2); in comp_keys()
631 struct btrfs_key k1; in comp_keys() local
633 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys()
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()
[all …]
Dctree.h2864 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()