Home
last modified time | relevance | path

Searched full:cmp_int (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dsort.h8 * cmp_int - perform a three-way comparison of the arguments
15 #define cmp_int(l, r) (((l) > (r)) - ((l) < (r))) macro
/linux/fs/xfs/
H A Dxfs_zone_gc.c308 diff = cmp_int(reca->rm_owner, recb->rm_owner); in xfs_zone_gc_rmap_rec_cmp()
311 return cmp_int(reca->rm_offset, recb->rm_offset); in xfs_zone_gc_rmap_rec_cmp()
H A Dxfs_bmap_item.c248 return cmp_int(ba->bi_owner->i_ino, bb->bi_owner->i_ino); in xfs_bmap_update_diff_items()
/linux/drivers/md/bcache/
H A Dbtree.c569 return -cmp_int(a->level, b->level) ?: bkey_cmp(&a->key, &b->key); in btree_lock_cmp_fn()
/linux/mm/
H A Dslub.c9806 return cmp_int(loc2->count, loc1->count); in cmp_loc_by_count()