Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 14 of 14) 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()
463 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local
485 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node()
486 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node()
490 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
Dtnc.c1729 union ubifs_key key1; in validate_data_node() local
1758 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node()
1759 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node()
1763 dbg_tnck(&key1, "found node's key "); in validate_data_node()
2035 union ubifs_key *key, *key1; in correct_parent_keys() local
2041 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
2043 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys()
2044 key_copy(c, key, key1); in correct_parent_keys()
2049 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
2122 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local
[all …]
Dorphan.c694 union ubifs_key key1, key2; in do_kill_orphans() local
698 ino_key_init(c, &key1, inum); in do_kill_orphans()
699 err = ubifs_tnc_lookup(c, &key1, ino); in do_kill_orphans()
711 lowest_ino_key(c, &key1, inum); in do_kill_orphans()
714 err = ubifs_tnc_remove_range(c, &key1, &key2); in do_kill_orphans()
Djournal.c1714 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1785 lowest_ino_key(c, &key1, inode->i_ino); in ubifs_jnl_delete_xattr()
1787 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
1795 ino_key_init(c, &key1, host->i_ino); in ubifs_jnl_delete_xattr()
1796 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/ntfs3/
Dindex.c34 static int cmp_fnames(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_fnames() argument
58 return ntfs_cmp_names_cpu(key1, s2, sbi->upcase, both_case); in cmp_fnames()
61 f1 = key1; in cmp_fnames()
69 static int cmp_uint(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_uint() argument
72 const u32 *k1 = key1; in cmp_uint()
88 static int cmp_sdh(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_sdh() argument
91 const struct SECURITY_KEY *k1 = key1; in cmp_sdh()
123 static int cmp_uints(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_uints() argument
126 const __le32 *k1 = key1; in cmp_uints()
Dntfs_fs.h170 typedef int (*NTFS_CMP_FUNC)(const void *key1, size_t len1, const void *key2,
/fs/xfs/libxfs/
Dxfs_btree.h150 const 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/ksmbd/
Doplock.c490 const char *guid1, const char *key1) in compare_guid_key() argument
497 !memcmp(key1, key2, SMB2_LEASE_KEY_SIZE)) in compare_guid_key()
/fs/btrfs/
Drelocation.c1181 struct btrfs_disk_key key1; in memcmp_node_keys() local
1183 btrfs_node_key(eb, &key1, slot); in memcmp_node_keys()
1185 return memcmp(&key1, &key2, sizeof(key1)); in memcmp_node_keys()