Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_alloc_btree.c393 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument
397 be32_to_cpu(k2->alloc.ar_startblock); in xfs_allocbt_keys_inorder()
400 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_allocbt_keys_inorder()
401 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()
403 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_allocbt_keys_inorder()
Dxfs_ialloc_btree.c317 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
320 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_bmap_btree.c734 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
737 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
Dxfs_btree.h178 union xfs_btree_key *k2);
/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()
Dattributes.c35 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument
40 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
46 (const struct hfsplus_unistr *)&k2->attr.key_name); in hfsplus_attr_bin_cmp_key()
Dhfsplus_fs.h374 const hfsplus_btree_key *k2);
445 const hfsplus_btree_key *k2);
447 const hfsplus_btree_key *k2);
467 const hfsplus_btree_key *k2);
/fs/btrfs/
Dctree.c1577 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument
1583 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()
1589 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument
1591 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()
1593 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()
1595 if (k1->type > k2->type) in btrfs_comp_cpu_keys()
1597 if (k1->type < k2->type) in btrfs_comp_cpu_keys()
1599 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()
1601 if (k1->offset < k2->offset) in btrfs_comp_cpu_keys()
Dctree.h3603 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
/fs/reiserfs/
Dstree.c132 const struct reiserfs_key *k2) in comp_le_keys() argument
134 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()