Home
last modified time | relevance | path

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

/fs/hfsplus/
Dcatalog.c16 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
21 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
25 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
29 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument
34 k2p = k2->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.c20 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
26 k2id = k2->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()
34 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
/fs/xfs/
Dxfs_alloc_btree.c319 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument
323 be32_to_cpu(k2->alloc.ar_startblock); in xfs_allocbt_keys_inorder()
326 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_allocbt_keys_inorder()
327 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()
329 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_allocbt_keys_inorder()
Dxfs_ialloc_btree.c227 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
230 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_btree.h197 union xfs_btree_key *k2);
Dxfs_bmap_btree.c733 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
736 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
/fs/btrfs/
Dctree.c471 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument
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()
499 if (k1->objectid < k2->objectid) in comp_cpu_keys()
[all …]
/fs/reiserfs/
Dstree.c169 const struct reiserfs_key *k2) in comp_le_keys() argument
171 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()