Home
last modified time | relevance | path

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

/fs/befs/
Dbtree.c119 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/
Dkey.h479 const union ubifs_key *key1, in keys_cmp() argument
482 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
484 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
486 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
488 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
504 const union ubifs_key *key1, in keys_eq() argument
507 if (key1->u32[0] != key2->u32[0]) in keys_eq()
509 if (key1->u32[1] != key2->u32[1]) in keys_eq()
Dtnc_misc.c369 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()
Dtnc.c1730 union ubifs_key key1; in validate_data_node() local
1759 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node()
1760 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node()
1764 dbg_tnck(&key1, "found node's key "); in validate_data_node()
2036 union ubifs_key *key, *key1; in correct_parent_keys() local
2042 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
2044 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys()
2045 key_copy(c, key, key1); in correct_parent_keys()
2050 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
2123 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local
[all …]
Dorphan.c692 union ubifs_key key1, key2; in do_kill_orphans() local
696 ino_key_init(c, &key1, inum); in do_kill_orphans()
697 err = ubifs_tnc_lookup(c, &key1, ino); in do_kill_orphans()
709 lowest_ino_key(c, &key1, inum); in do_kill_orphans()
712 err = ubifs_tnc_remove_range(c, &key1, &key2); in do_kill_orphans()
Djournal.c1676 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1747 lowest_ino_key(c, &key1, inode->i_ino); in ubifs_jnl_delete_xattr()
1749 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
1757 ino_key_init(c, &key1, host->i_ino); in ubifs_jnl_delete_xattr()
1758 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash); in ubifs_jnl_delete_xattr()
/fs/hfs/
Dcatalog.c171 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()
Dextent.c50 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/
Dxfs_btree.h148 union xfs_btree_key *key1,
/fs/reiserfs/
Dstree.c98 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/
Drelocation.c1801 struct btrfs_disk_key key1; in memcmp_node_keys() local
1803 btrfs_node_key(eb, &key1, slot); in memcmp_node_keys()
1805 return memcmp(&key1, &key2, sizeof(key1)); in memcmp_node_keys()