Home
last modified time | relevance | path

Searched refs:fc_cell_t (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/sun4/sys/
H A Dfc_plat.h51 typedef unsigned long long fc_cell_t; typedef
64 #define fc_ptr2cell(p) ((fc_cell_t)((uintptr_t)((void *)(p))))
65 #define fc_int2cell(i) ((fc_cell_t)((int)(i)))
66 #define fc_uint2cell(u) ((fc_cell_t)((unsigned int)(u)))
67 #define fc_uint32_t2cell(u) ((fc_cell_t)((unsigned int)((uint32_t)(u))))
68 #define fc_uint16_t2cell(w) ((fc_cell_t)((unsigned int)((uint16_t)(w))))
69 #define fc_uint8_t2cell(b) ((fc_cell_t)((unsigned int)((uint8_t)(b))))
70 #define fc_size2cell(u) ((fc_cell_t)((size_t)(u)))
71 #define fc_ssize2cell(i) ((fc_cell_t)((ssize_t)(i)))
72 #define fc_phandle2cell(ph) ((fc_cell_t)((unsigned int)((phandle_t)(ph))))
[all …]
H A Dfcode.h143 fc_cell_t svc_name;
144 fc_cell_t nargs;
145 fc_cell_t nresults;
146 fc_cell_t error;
147 fc_cell_t priv_error;
148 fc_cell_t v[1]; /* variable array of args and results */
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c645 if (copyin((void *)arg, &tc, 3 * sizeof (fc_cell_t))) { in fc_run_priv()
657 csize = (FCC_FIXED_CELLS + nargs + nresults) * sizeof (fc_cell_t); in fc_run_priv()
662 if (copyin((void *)arg, cp, csize - (nresults * sizeof (fc_cell_t)))) { in fc_run_priv()
713 error = copyout(&cp->error, &ap->error, sizeof (fc_cell_t)); in fc_run_priv()
715 sizeof (fc_cell_t)); in fc_run_priv()
731 error = copyout(&cp->error, &ap->error, sizeof (fc_cell_t)); in fc_run_priv()
733 sizeof (fc_cell_t)); in fc_run_priv()
735 sizeof (fc_cell_t)); in fc_run_priv()
756 error = copyout(&cp->nresults, &ap->nresults, sizeof (fc_cell_t)); in fc_run_priv()
757 error |= copyout(&cp->error, &ap->error, sizeof (fc_cell_t)); in fc_run_priv()
[all …]