Home
last modified time | relevance | path

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

/linux-2.6.39/security/selinux/ss/
Dhashtab.c12 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create()
25 p->keycmp = keycmp; in hashtab_create()
49 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert()
54 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert()
84 while (cur && h->keycmp(h, key, cur->key) > 0) in hashtab_search()
87 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_search()
Dhashtab.h27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); member
43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
/linux-2.6.39/lib/
Dbtree.c223 static int keycmp(struct btree_geo *geo, unsigned long *node, int pos, in keycmp() function
251 if (keycmp(geo, node, i, key) <= 0) in btree_lookup()
264 if (keycmp(geo, node, i, key) == 0) in btree_lookup()
281 if (keycmp(geo, node, i, key) <= 0) in btree_update()
294 if (keycmp(geo, node, i, key) == 0) { in btree_update()
329 if (keycmp(geo, node, i, key) <= 0) in btree_get_prev()
344 if (keycmp(geo, node, i, key) <= 0) { in btree_get_prev()
367 if (keycmp(geo, node, i, key) <= 0) in getpos()
394 if (keycmp(geo, node, i, key) <= 0) in find_level()
465 BUG_ON(pos < fill && keycmp(geo, node, pos, key) == 0); in btree_insert_level()
[all …]
/linux-2.6.39/fs/hfsplus/
Dbtree.c80 tree->keycmp = hfsplus_ext_cmp_key; in hfs_btree_open()
95 tree->keycmp = hfsplus_cat_bin_cmp_key; in hfs_btree_open()
97 tree->keycmp = hfsplus_cat_case_cmp_key; in hfs_btree_open()
Dbfind.c62 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
Dhfsplus_fs.h52 btree_keycmp keycmp; member
Dcatalog.c316 if (fd.tree->keycmp(fd.search_key, (void *)&rd->key) < 0) in hfsplus_delete_cat()
/linux-2.6.39/fs/hfs/
Dbtree.c18 struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id, btree_keycmp keycmp) in hfs_btree_open() argument
35 tree->keycmp = keycmp; in hfs_btree_open()
Dbtree.h19 btree_keycmp keycmp; member
Dbfind.c60 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
Dcatalog.c239 if (fd.tree->keycmp(fd.search_key, (void *)&rd->key) < 0) in hfs_cat_delete()