Home
last modified time | relevance | path

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

/fs/befs/
Dbtree.c117 const void *key2, int keylen2);
715 const void *key2, int keylen2) in befs_compare_strings() argument
718 int result = strncmp(key1, key2, len); in befs_compare_strings()
727 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
729 return *(int32_t *) key1 - *(int32_t *) key2;
734 const void *key2, int keylen2)
736 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
738 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
744 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
746 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/fs/ubifs/
Dkey.h485 const union ubifs_key *key2) in keys_cmp() argument
487 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
489 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
491 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
493 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
510 const union ubifs_key *key2) in keys_eq() argument
512 if (key1->u32[0] != key2->u32[0]) in keys_eq()
514 if (key1->u32[1] != key2->u32[1]) in keys_eq()
Dtnc_misc.c366 const union ubifs_key *key1, *key2; in read_znode() local
369 key2 = &znode->zbranch[i + 1].key; in read_znode()
371 cmp = keys_cmp(c, key1, key2); in read_znode()
Djournal.c1289 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1356 highest_ino_key(c, &key2, inode->i_ino); in ubifs_jnl_delete_xattr()
1357 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
Dtnc.c2687 union ubifs_key key1, key2; in ubifs_tnc_remove_ino() local
2723 highest_ino_key(c, &key2, xattr_inum); in ubifs_tnc_remove_ino()
2724 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
2737 highest_ino_key(c, &key2, inum); in ubifs_tnc_remove_ino()
2739 return ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
/fs/cifs/
Dsmbencrypt.c71 unsigned char key2[8]; in smbhash() local
76 str_to_key(key, key2); in smbhash()
87 crypto_blkcipher_setkey(tfm_des, key2, 8); in smbhash()
/fs/hfs/
Dcatalog.c163 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
167 retval = be32_to_cpu(key1->cat.ParID) - be32_to_cpu(key2->cat.ParID); in hfs_cat_keycmp()
170 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/reiserfs/
Dstree.c136 const struct reiserfs_key *key2) in comp_short_le_keys() argument
142 k2_u32 = (__u32 *) key2; in comp_short_le_keys()
/fs/btrfs/
Drelocation.c1666 struct btrfs_disk_key key2; local
1668 btrfs_node_key(path->nodes[level], &key2, path->slots[level]);
1669 return memcmp(&key1, &key2, sizeof(key1));