Home
last modified time | relevance | path

Searched refs:k1 (Results 1 – 10 of 10) 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()
Dattributes.c34 int hfsplus_attr_bin_cmp_key(const hfsplus_btree_key *k1, in hfsplus_attr_bin_cmp_key() argument
39 k1_cnid = k1->attr.cnid; in hfsplus_attr_bin_cmp_key()
45 (const struct hfsplus_unistr *)&k1->attr.key_name, in hfsplus_attr_bin_cmp_key()
/fs/xfs/
Dxfs_alloc_btree.c393 union xfs_btree_key *k1, in xfs_allocbt_keys_inorder() argument
397 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_allocbt_keys_inorder()
400 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_allocbt_keys_inorder()
402 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()
403 be32_to_cpu(k1->alloc.ar_startblock) < in xfs_allocbt_keys_inorder()
Dxfs_ialloc_btree.c279 union xfs_btree_key *k1, in xfs_inobt_keys_inorder() argument
282 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
Dxfs_bmap_btree.c820 union xfs_btree_key *k1, in xfs_bmbt_keys_inorder() argument
823 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
Dxfs_btree.h221 union xfs_btree_key *k1,
/fs/btrfs/
Dctree.c1466 struct btrfs_key k1; in comp_keys() local
1468 btrfs_disk_key_to_cpu(&k1, disk); in comp_keys()
1470 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()
1476 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument
1478 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()
1480 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()
1482 if (k1->type > k2->type) in btrfs_comp_cpu_keys()
1484 if (k1->type < k2->type) in btrfs_comp_cpu_keys()
1486 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()
1488 if (k1->offset < k2->offset) in btrfs_comp_cpu_keys()
Dctree.h3182 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
/fs/reiserfs/
Dstree.c167 inline int comp_le_keys(const struct reiserfs_key *k1, in comp_le_keys() argument
170 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()