Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 13 of 13) sorted by relevance

/fs/befs/
Dbtree.c120 const void *key2, int keylen2);
713 const void *key2, int keylen2) 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;
732 const void *key2, int keylen2)
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.h480 const union ubifs_key *key2) 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()
505 const union ubifs_key *key2) 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
372 key2 = &znode->zbranch[i + 1].key; in read_znode()
374 cmp = keys_cmp(c, key1, key2); in read_znode()
Dorphan.c692 union ubifs_key key1, key2; in do_kill_orphans() local
710 highest_ino_key(c, &key2, inum); in do_kill_orphans()
712 err = ubifs_tnc_remove_range(c, &key1, &key2); in do_kill_orphans()
Dtnc.c2905 union ubifs_key key1, key2; in ubifs_tnc_remove_ino() local
2945 highest_ino_key(c, &key2, xattr_inum); in ubifs_tnc_remove_ino()
2946 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
2960 highest_ino_key(c, &key2, inum); in ubifs_tnc_remove_ino()
2962 return ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
Djournal.c1676 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1748 highest_ino_key(c, &key2, inode->i_ino); in ubifs_jnl_delete_xattr()
1749 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
/fs/cifs/
Dsmbencrypt.c61 unsigned char key2[8]; in smbhash() local
64 str_to_key(key, key2); in smbhash()
71 des_expand_key(&ctx, key2, DES_KEY_SIZE); in smbhash()
/fs/hfs/
Dcatalog.c171 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
176 k2p = key2->cat.ParID; in hfs_cat_keycmp()
182 key2->cat.CName.name, key2->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
56 fnum2 = key2->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()
63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
/fs/xfs/libxfs/
Dxfs_btree.h149 union xfs_btree_key *key2);
/fs/reiserfs/
Dstree.c99 const struct reiserfs_key *key2) in comp_short_le_keys() argument
105 k2_u32 = (__u32 *) key2; in comp_short_le_keys()
/fs/btrfs/
Dioctl.c2492 struct btrfs_key key, key2; in btrfs_search_path_in_tree_user() local
2568 btrfs_item_key_to_cpu(leaf, &key2, slot); in btrfs_search_path_in_tree_user()
2569 if (key2.objectid != dirid) { in btrfs_search_path_in_tree_user()
2574 temp_inode = btrfs_iget(sb, &key2, root, NULL); in btrfs_search_path_in_tree_user()
Drelocation.c1802 struct btrfs_disk_key key2; in memcmp_node_keys() local
1804 btrfs_node_key(path->nodes[level], &key2, path->slots[level]); in memcmp_node_keys()
1805 return memcmp(&key1, &key2, sizeof(key1)); in memcmp_node_keys()