/fs/befs/ |
D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 712 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument 716 int result = strncmp(key1, key2, len); in befs_compare_strings() 725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2) 727 return *(int32_t *) key1 - *(int32_t *) key2; 731 btree_compare_uint32(cont void *key1, int keylen1, 734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2) 736 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2) 742 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2) 744 if (*(int64_t *) key1 == *(int64_t *) key2) [all …]
|
/fs/ubifs/ |
D | key.h | 480 const union ubifs_key *key1, in keys_cmp() argument 483 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 485 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 487 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 489 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 505 const union ubifs_key *key1, in keys_eq() argument 508 if (key1->u32[0] != key2->u32[0]) in keys_eq() 510 if (key1->u32[1] != key2->u32[1]) in keys_eq()
|
D | tnc_misc.c | 369 const union ubifs_key *key1, *key2; in read_znode() local 371 key1 = &znode->zbranch[i].key; in read_znode() 374 cmp = keys_cmp(c, key1, key2); in read_znode() 379 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode() 464 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local 486 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node() 487 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node() 491 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
|
D | tnc.c | 1693 union ubifs_key key1; in validate_data_node() local 1722 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node() 1723 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node() 1727 dbg_tnck(&key1, "found node's key "); in validate_data_node() 1999 union ubifs_key *key, *key1; in correct_parent_keys() local 2005 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2007 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys() 2008 key_copy(c, key, key1); in correct_parent_keys() 2013 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2086 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local [all …]
|
D | orphan.c | 685 union ubifs_key key1, key2; in do_kill_orphans() local 689 ino_key_init(c, &key1, inum); in do_kill_orphans() 690 err = ubifs_tnc_lookup(c, &key1, ino); in do_kill_orphans() 702 lowest_ino_key(c, &key1, inum); in do_kill_orphans() 705 err = ubifs_tnc_remove_range(c, &key1, &key2); in do_kill_orphans()
|
D | journal.c | 1671 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local 1742 lowest_ino_key(c, &key1, inode->i_ino); in ubifs_jnl_delete_xattr() 1744 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr() 1752 ino_key_init(c, &key1, host->i_ino); in ubifs_jnl_delete_xattr() 1753 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash); in ubifs_jnl_delete_xattr()
|
/fs/hfs/ |
D | catalog.c | 171 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument 175 k1p = key1->cat.ParID; in hfs_cat_keycmp() 181 return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len, in hfs_cat_keycmp()
|
D | extent.c | 50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) in hfs_ext_keycmp() argument 55 fnum1 = key1->ext.FNum; in hfs_ext_keycmp() 59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp() 60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp() 62 block1 = key1->ext.FABN; in hfs_ext_keycmp()
|
/fs/xfs/libxfs/ |
D | xfs_btree.h | 148 union xfs_btree_key *key1,
|
/fs/reiserfs/ |
D | stree.c | 98 inline int comp_short_le_keys(const struct reiserfs_key *key1, in comp_short_le_keys() argument 104 k1_u32 = (__u32 *) key1; in comp_short_le_keys()
|
/fs/btrfs/ |
D | relocation.c | 1786 struct btrfs_disk_key key1; in memcmp_node_keys() local 1788 btrfs_node_key(eb, &key1, slot); in memcmp_node_keys() 1790 return memcmp(&key1, &key2, sizeof(key1)); in memcmp_node_keys()
|