Searched refs:cmp_int (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | sort.h | 15 #define cmp_int(l, r) (((l) > (r)) - ((l) < (r))) macro
|
| /linux/arch/loongarch/kernel/ |
| H A D | module-sections.c | 70 ret = cmp_int(rela_x->r_info, rela_y->r_info); in compare_rela() 72 ret = cmp_int(rela_x->r_addend, rela_y->r_addend); in compare_rela()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rtrefcount_btree.c | 170 return cmp_int(be32_to_cpu(kp->rc_startblock), start); in xfs_rtrefcountbt_cmp_key_with_cur() 182 return cmp_int(be32_to_cpu(k1->refc.rc_startblock), in xfs_rtrefcountbt_cmp_two_keys()
|
| /linux/security/selinux/ss/ |
| H A D | policydb.c | 433 v = cmp_int(ft1->ttype, ft2->ttype); in filenametr_cmp() 437 v = cmp_int(ft1->tclass, ft2->tclass); in filenametr_cmp() 468 v = cmp_int(key1->source_type, key2->source_type); in rangetr_cmp() 472 v = cmp_int(key1->target_type, key2->target_type); in rangetr_cmp() 476 v = cmp_int(key1->target_class, key2->target_class); in rangetr_cmp() 505 v = cmp_int(key1->role, key2->role); in role_trans_cmp() 509 v = cmp_int(key1->type, key2->type); in role_trans_cmp() 513 return cmp_int(key1->tclass, key2->tclass); in role_trans_cmp()
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_gc.c | 318 diff = cmp_int(reca->rm_owner, recb->rm_owner); in xfs_zone_gc_rmap_rec_cmp() 321 return cmp_int(reca->rm_offset, recb->rm_offset); in xfs_zone_gc_rmap_rec_cmp()
|
| /linux/fs/ |
| H A D | pipe.c | 84 return cmp_int((unsigned long) a, (unsigned long) b); in pipe_lock_cmp_fn()
|
| /linux/drivers/md/bcache/ |
| H A D | btree.c | 569 return -cmp_int(a->level, b->level) ?: bkey_cmp(&a->key, &b->key); in btree_lock_cmp_fn()
|
| /linux/mm/ |
| H A D | slub.c | 9990 return cmp_int(loc2->count, loc1->count); in cmp_loc_by_count()
|