Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 8 of 8) sorted by relevance

/include/linux/
Dbsearch.h8 void *__inline_bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in __inline_bsearch() argument
15 result = cmp(key, pivot); in __inline_bsearch()
30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
Drbtree.h224 int (*cmp)(struct rb_node *, const struct rb_node *)) in rb_find_add()
232 c = cmp(node, parent); in rb_find_add()
257 int (*cmp)(const void *key, const struct rb_node *)) in rb_find()
262 int c = cmp(key, node); in rb_find()
285 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first()
291 int c = cmp(key, node); in rb_find_first()
315 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match()
318 if (node && cmp(key, node)) in rb_next_match()
330 #define rb_for_each(node, key, tree, cmp) \ argument
331 for ((node) = rb_find_first((key), (tree), (cmp)); \
[all …]
Dcs5535.h216 extern int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp,
218 extern int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp,
225 int cmp, int *irq) in cs5535_mfgpt_setup_irq() argument
227 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1); in cs5535_mfgpt_setup_irq()
231 int cmp, int *irq) in cs5535_mfgpt_release_irq() argument
233 return cs5535_mfgpt_set_irq(timer, cmp, irq, 0); in cs5535_mfgpt_release_irq()
Dlist_sort.h13 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp);
Dkey-type.h52 bool (*cmp)(const struct key *key, member
/include/linux/ceph/
Dlibceph.h209 int cmp; \
212 cmp = cmpexp(keyexp(t->keyfld), keyexp(cur->keyfld)); \
213 if (cmp < 0) \
215 else if (cmp > 0) \
249 int cmp; \
251 cmp = cmpexp(key, keyexp(cur->keyfld)); \
252 if (cmp < 0) \
254 else if (cmp > 0) \
/include/uapi/linux/
Dfutex.h151 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument
152 (((op & 0xf) << 28) | ((cmp & 0xf) << 24) \
/include/uapi/linux/netfilter_bridge/
Debt_among.h36 __u32 cmp[2]; member