Searched refs:k1 (Results 1 – 8 of 8) sorted by relevance
/fs/hfsplus/ |
D | catalog.c | 15 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()
|
D | extents.c | 19 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/ |
D | xfs_alloc_btree.c | 318 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()
|
D | xfs_ialloc_btree.c | 226 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()
|
D | xfs_btree.h | 196 union xfs_btree_key *k1,
|
D | xfs_bmap_btree.c | 732 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/ |
D | ctree.c | 473 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/ |
D | stree.c | 168 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()
|