Home
last modified time | relevance | path

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

/fs/hfsplus/
Dcatalog.c15 int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, in hfsplus_cat_case_cmp_key() argument
20 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key()
25 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
28 int hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1, in hfsplus_cat_bin_cmp_key() argument
33 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key()
38 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
Dextents.c19 int hfsplus_ext_cmp_key(const hfsplus_btree_key *k1, in hfsplus_ext_cmp_key() argument
25 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
30 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
31 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
33 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
/fs/xfs/
Dxfs_alloc_btree.c318 union xfs_btree_key *k1, in xfs_allocbt_keys_inorder() argument
322 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_allocbt_keys_inorder()
325 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_allocbt_keys_inorder()
327 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()
328 be32_to_cpu(k1->alloc.ar_startblock) < in xfs_allocbt_keys_inorder()
Dxfs_ialloc_btree.c226 union xfs_btree_key *k1, in xfs_inobt_keys_inorder() argument
229 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
Dxfs_btree.h196 union xfs_btree_key *k1,
Dxfs_bmap_btree.c732 union xfs_btree_key *k1, in xfs_bmbt_keys_inorder() argument
735 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
/fs/btrfs/
Dctree.c473 struct btrfs_key k1; in comp_keys() local
475 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys()
477 if (k1.objectid > k2->objectid) in comp_keys()
479 if (k1.objectid < k2->objectid) in comp_keys()
481 if (k1.type > k2->type) in comp_keys()
483 if (k1.type < k2->type) in comp_keys()
485 if (k1.offset > k2->offset) in comp_keys()
487 if (k1.offset < k2->offset) in comp_keys()
495 static int comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in comp_cpu_keys() argument
497 if (k1->objectid > k2->objectid) in comp_cpu_keys()
[all …]
/fs/reiserfs/
Dstree.c168 inline int comp_le_keys(const struct reiserfs_key *k1, in comp_le_keys() argument
171 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()