Home
last modified time | relevance | path

Searched refs:cmpp (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_overflow.c348 __db_moff(dbp, dbt, pgno, tlen, cmpfunc, cmpp) in __db_moff() argument
353 int (*cmpfunc) __P((const DBT *, const DBT *)), *cmpp;
374 *cmpp = cmpfunc(&local_dbt, dbt);
380 for (*cmpp = 0, p1 = dbt->data,
390 *cmpp = (long)*p1 - (long)*p2;
396 if (*cmpp != 0)
400 *cmpp = -1;
402 *cmpp = 1;
404 *cmpp = 0;
H A Ddb_dup.c745 __db_dsearch(dbc, is_insert, dbt, pgno, indxp, pp, cmpp) in __db_dsearch() argument
747 int is_insert, *cmpp;
799 if ((*cmpp = __bam_cmp(dbp,
820 *cmpp = 1; /* We didn't succeed... */
856 if ((*cmpp = __bam_cmp(dbp,
865 if (*cmpp > 0) {
888 if ((*cmpp = __bam_cmp(dbp,
921 if ((*cmpp = __bam_cmp(dbp,
942 *cmpp = 1; /* We didn't succeed... */
/illumos-gate/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c354 get_portid(pnode_t node, pnode_t *cmpp) in get_portid() argument
361 if (cmpp != NULL) in get_portid()
362 *cmpp = OBP_NONODE; in get_portid()
384 if (cmpp != NULL) in get_portid()
385 *cmpp = cpu_parent; in get_portid()
613 get_portid_ddi(dev_info_t *dip, dev_info_t **cmpp) in get_portid_ddi() argument
621 if (cmpp != NULL) in get_portid_ddi()
622 *cmpp = NULL; in get_portid_ddi()
647 if (cmpp != NULL) in get_portid_ddi()
648 *cmpp = cpu_parent; in get_portid_ddi()
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c622 __ham_dsearch(dbc, dbt, offp, cmpp) in __ham_dsearch() argument
626 int *cmpp;
649 *cmpp = func(dbt, &cur);
650 if (*cmpp == 0 || (*cmpp < 0 && dbp->dup_compare != NULL))
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c2412 hermon_workq_compare_t *cmpp; in hermon_wrid_workq_compare() local
2415 cmpp = (hermon_workq_compare_t *)p1; in hermon_wrid_workq_compare()
2418 if (cmpp->cmp_qpn < curr->wqa_qpn) in hermon_wrid_workq_compare()
2420 else if (cmpp->cmp_qpn > curr->wqa_qpn) in hermon_wrid_workq_compare()
2422 else if (cmpp->cmp_type < curr->wqa_type) in hermon_wrid_workq_compare()
2424 else if (cmpp->cmp_type > curr->wqa_type) in hermon_wrid_workq_compare()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c3095 tavor_workq_compare_t *cmpp; in tavor_wrid_wqhdr_compare() local
3098 cmpp = (tavor_workq_compare_t *)p1; in tavor_wrid_wqhdr_compare()
3101 if (cmpp->cmp_qpn < curr->wq_qpn) in tavor_wrid_wqhdr_compare()
3103 else if (cmpp->cmp_qpn > curr->wq_qpn) in tavor_wrid_wqhdr_compare()
3105 else if (cmpp->cmp_type < curr->wq_type) in tavor_wrid_wqhdr_compare()
3107 else if (cmpp->cmp_type > curr->wq_type) in tavor_wrid_wqhdr_compare()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c186 extern int get_portid(pnode_t node, pnode_t *cmpp); in sbdp_get_bd_and_wnode_num()