/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xenbus_comms.c | 106 check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument 108 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes() 112 get_output_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, in get_output_chunk() argument 115 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk() 116 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk() 117 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk() 118 return ((void *)(buf + MASK_XENSTORE_IDX(prod))); in get_output_chunk() 122 get_input_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, in get_input_chunk() argument 126 if ((prod - cons) < *len) in get_input_chunk() 127 *len = prod - cons; in get_input_chunk() [all …]
|
H A D | xnb.c | 636 (RING_SIZE(_r) - (loop - prod))) ? \ 638 (RING_SIZE(_r) - (loop - prod))) 650 RING_IDX loop, prod, end; in xnb_to_peer() local 683 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer() 742 rxresp = RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod); in xnb_to_peer() 751 rxresp->id = RING_GET_REQUEST(&xnbp->xnb_rx_ring, prod)->id; in xnb_to_peer() 755 prod++; in xnb_to_peer() 783 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer() 819 RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod)->status = in xnb_to_peer() 827 prod++; in xnb_to_peer() [all …]
|
H A D | xencons.c | 543 XENCONS_RING_IDX cons, prod; in xencons_rxint() local 581 prod = ifp->in_prod; in xencons_rxint() 583 cc = prod - cons; in xencons_rxint() 861 XENCONS_RING_IDX cons, prod; in xcasync_start() local 864 prod = ifp->out_prod; in xcasync_start() 866 while (bp != NULL && ((prod - cons) < sizeof (ifp->out))) { in xcasync_start() 867 ifp->out[MASK_XENCONS_IDX(prod++, ifp->out)] = in xcasync_start() 876 ifp->out_prod = prod; in xcasync_start() 1283 XENCONS_RING_IDX prod; in xenconsputchar() local 1305 prod = ifp->out_prod; in xenconsputchar() [all …]
|
H A D | xnf.c | 1248 RING_IDX cons, prod, i; in xnf_tx_clean_ring() local 1251 prod = xnfp->xnf_tx_ring.sring->rsp_prod; in xnf_tx_clean_ring() 1257 DTRACE_PROBE2(xnf_tx_clean_range, int, cons, int, prod); in xnf_tx_clean_ring() 1258 for (i = cons; i != prod; i++) { in xnf_tx_clean_ring() 1321 xnfp->xnf_tx_ring.rsp_cons = prod; in xnf_tx_clean_ring()
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | muldi3.c | 106 union uu u, v, low, prod; in ___muldi3() local 134 prod.q = __lmulq(u0, v0); in ___muldi3() 159 prod.ul[H] = high + (negmid ? -mid : mid) + low.ul[L] + in ___muldi3() 161 prod.ul[L] = low.ul[L]; in ___muldi3() 163 return (negall ? -prod.q : prod.q); in ___muldi3() 192 union uu prod; in __lmulq() local 242 prod.ul[H] = prodh; in __lmulq() 243 prod.ul[L] = prodl; in __lmulq() 244 return (prod.q); in __lmulq()
|
/titanic_41/usr/src/cmd/dispadmin/ |
H A D | subr.c | 108 longlong_t prod; in _hrtnewres() local 218 prod = dint * dto_res; in _hrtnewres() 234 prod = prod + drem; in _hrtnewres() 237 prod = prod + drem; in _hrtnewres() 241 quot = prod / dfrom_res; in _hrtnewres()
|
/titanic_41/usr/src/cmd/od/ |
H A D | od.c | 81 int prod; /* producer index */ member 374 b->prod &= b->mask; in refill() 375 c = (b->prod + want > (b->mask + 1)) ? in refill() 376 b->mask - b->prod : in refill() 379 n = fread(b->data + b->prod, 1, c, input); in refill() 393 b->prod += n; in refill() 399 b->data[b->prod & b->mask] = 0; in refill() 400 b->prod++; in refill() 401 b->prod &= b->mask; in refill() 857 buffer.prod = 0; in main()
|
/titanic_41/usr/src/cmd/priocntl/ |
H A D | subr.c | 583 longlong_t prod; local 692 prod = dint * dto_res; 708 prod = prod + drem; 711 prod = prod + drem; 715 quot = prod / dfrom_res;
|
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 180 char *prod = NULL; in x86pi_set_auth() local 220 &prod); in x86pi_set_auth() 221 if (result != 0 || prod == NULL) { in x86pi_set_auth() 227 prod = (char *)hcfmri->product; in x86pi_set_auth() 228 if (prod == NULL) { in x86pi_set_auth() 238 if (prod != NULL) { in x86pi_set_auth() 240 FM_FMRI_AUTH_PRODUCT, TOPO_PROP_IMMUTABLE, prod, in x86pi_set_auth()
|
/titanic_41/usr/src/common/bignum/ |
H A D | bignumimpl.c | 2052 uint32_t *nint, *prod; in big_modexp_ncp_float() local 2084 nint = prod = NULL; in big_modexp_ncp_float() 2101 if ((prod = big_malloc((nlen + 1) * sizeof (uint32_t))) == NULL) { in big_modexp_ncp_float() 2157 mont_mulf_noconv(prod, d32r, apowers[0], dt, dn, nint, nlen, dn0); in big_modexp_ncp_float() 2158 conv_i32_to_d32(d32r, prod, nlen); in big_modexp_ncp_float() 2160 mont_mulf_noconv(prod, d32r, apowers[i - 1], in big_modexp_ncp_float() 2162 conv_i32_to_d16(apowers[i], prod, nlen); in big_modexp_ncp_float() 2167 prod[i] = tmp->value[i]; in big_modexp_ncp_float() 2170 prod[i] = 0; in big_modexp_ncp_float() 2174 prod[2 * i] = (uint32_t)(tmp->value[i] & 0xffffffffULL); in big_modexp_ncp_float() [all …]
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 818 char *prod = NULL; in topo_mod_auth() local 830 FM_FMRI_AUTH_PRODUCT, &prod, &err); in topo_mod_auth() 841 if (prod == NULL) in topo_mod_auth() 842 prod = topo_mod_product(mod); in topo_mod_auth() 854 if (!prod && !server && !csn && !psn) { in topo_mod_auth() 860 if (prod != NULL) { in topo_mod_auth() 861 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT, prod); in topo_mod_auth() 862 topo_mod_strfree(mod, prod); in topo_mod_auth()
|
H A D | topo_xml.c | 1146 char *prod; in set_contains() local 1152 prod = strtok((char *)set, "|"); in set_contains() 1153 if (prod && (strcmp(key, prod) == 0)) in set_contains() 1156 while ((prod = strtok(NULL, "|"))) in set_contains() 1157 if (strcmp(key, prod) == 0) in set_contains()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 129 char *prod = NULL, *psn = NULL, *csn = NULL, *server = NULL; in chip_tnode_create() local 134 FM_FMRI_AUTH_PRODUCT, &prod, &err) == 0) { in chip_tnode_create() 136 prod); in chip_tnode_create() 137 topo_mod_strfree(mod, prod); in chip_tnode_create()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/motherboard/ |
H A D | motherboard.c | 249 char *prod, *psn, *csn, *server; in mb_prop_set() local 255 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT, &prod) == 0) in mb_prop_set() 257 FM_FMRI_AUTH_PRODUCT, TOPO_PROP_IMMUTABLE, prod, &err); in mb_prop_set()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 983 char *prod = NULL; in pi_set_auth() local 1022 prod = pi_get_productid(mod, mdp); in pi_set_auth() 1023 if (prod == NULL) { in pi_set_auth() 1034 prod = topo_mod_strdup(mod, val); in pi_set_auth() 1041 if (prod != NULL) { in pi_set_auth() 1043 FM_FMRI_AUTH_PRODUCT, TOPO_PROP_IMMUTABLE, prod, in pi_set_auth() 1053 topo_mod_strfree(mod, prod); in pi_set_auth()
|
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | Makefile | 77 -I/net/tools-sparc/export/tools.sparc/on10-tools/SUNWspro/SOS8/prod/include/lint
|
/titanic_41/usr/src/uts/common/io/yge/ |
H A D | yge.c | 493 int prod; in yge_init_rx_ring() local 502 for (prod = 0; prod < YGE_RX_RING_CNT; prod++) { in yge_init_rx_ring() 504 rxb = &port->p_rx_buf[prod]; in yge_init_rx_ring() 506 PUTADDR(ring, prod, rxb->b_paddr); in yge_init_rx_ring() 507 PUTCTRL(ring, prod, port->p_framesize | OP_PACKET | HW_OWNER); in yge_init_rx_ring() 1667 int16_t prod; in yge_send() local 1688 prod = port->p_tx_prod; in yge_send() 1690 txb = &port->p_tx_buf[prod]; in yge_send() 1694 PUTADDR(ring, prod, txb->b_paddr); in yge_send() 1695 PUTCTRL(ring, prod, len | OP_PACKET | HW_OWNER | EOP); in yge_send() [all …]
|
/titanic_41/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 1259 unsigned char prod[BITV_MAX_BYTES]; in bitv_mul() local 1267 prod[i] = 0; in bitv_mul() 1287 prod[valbyte + bvbyte] += result & 0xff; in bitv_mul() 1295 bv->v[i] = prod[i]; in bitv_mul()
|
/titanic_41/usr/src/uts/common/xen/public/ |
H A D | trace.h | 193 uint32_t prod; /* Offset of next item to be produced by Xen. */ member
|
/titanic_41/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 650 tbuf.meta[i]->cons = tbuf.meta[i]->prod; in xdt_attach_trace_buffers() 1746 uint32_t prod, cons, offset; in xdt_get_first_rec() local 1753 prod = tbuf.meta[cpuid]->prod; in xdt_get_first_rec() 1755 if (prod == cons) in xdt_get_first_rec()
|
/titanic_41/usr/src/cmd/power/ |
H A D | handlers.c | 82 isonlist(char *listname, const char *man, const char *prod) in isonlist() argument 89 sl.pms_product = (char *)prod; in isonlist() 92 listname, man, prod, ret); in isonlist()
|
/titanic_41/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 2769 char *prod = sl->pms_product; in ppm_search_list() local 2779 PPMD(D_CPR, ("ppm_search_list looking for %s, %s\n", manuf, prod)) in ppm_search_list() 2794 if (strncmp(prod, in ppm_search_list() 2798 prod, pp[i + 1])) in ppm_search_list() 2803 (strcmp(prod, pp[i + 1]) == 0)) { in ppm_search_list() 2809 manuf, pp[i], prod, pp[i + 1])) in ppm_search_list()
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | dwarf.c | 1902 char *prod = NULL; in dw_read() local 1965 if (die_string(&dw, cu, DW_AT_producer, &prod, 0)) { in dw_read() 1966 debug(1, "DWARF emitter: %s\n", prod); in dw_read() 1967 free(prod); in dw_read()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 2440 uint32_t prod = ql_read_sh_reg(qlge, rx_ring); in ql_ring_rx() local 2474 while ((prod != rx_ring->cnsmr_idx)) { in ql_ring_rx() 2477 __func__, rx_ring->cq_id, prod, rx_ring->cnsmr_idx)); in ql_ring_rx() 2570 prod = ql_read_sh_reg(qlge, rx_ring); in ql_ring_rx() 2674 uint32_t prod = ql_read_sh_reg(qlge, rx_ring); in ql_clean_outbound_rx_ring() local 2704 while (prod != rx_ring->cnsmr_idx) { in ql_clean_outbound_rx_ring() 2708 rx_ring->cq_id, prod, rx_ring->cnsmr_idx)); in ql_clean_outbound_rx_ring() 2738 prod = ql_read_sh_reg(qlge, rx_ring); in ql_clean_outbound_rx_ring() 2867 uint32_t var, prod; in ql_isr() local 2901 prod = ql_read_sh_reg(qlge, rx_ring); in ql_isr() [all …]
|
/titanic_41/usr/src/cmd/vgrind/ |
H A D | vgrindefs.src | 164 :cb=\(*:ce=*\):kw=cand cor do od if fi else enum record prod union\
|