Home
last modified time | relevance | path

Searched refs:prod (Results 1 – 25 of 32) sorted by relevance

12

/titanic_50/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c106 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 Dxnb.c636 (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 Dxencons.c543 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 Dxnf.c1248 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_50/usr/src/lib/libc/port/fp/
H A Dmuldi3.c106 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_50/usr/src/cmd/dispadmin/
H A Dsubr.c108 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_50/usr/src/cmd/od/
H A Dod.c81 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_50/usr/src/cmd/priocntl/
H A Dsubr.c583 longlong_t prod; local
692 prod = dint * dto_res;
708 prod = prod + drem;
711 prod = prod + drem;
715 quot = prod / dfrom_res;
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c180 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_50/usr/src/common/bignum/
H A Dbignumimpl.c2052 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_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c818 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 Dtopo_xml.c1144 char *prod; in set_contains() local
1150 prod = strtok((char *)set, "|"); in set_contains()
1151 if (prod && (strcmp(key, prod) == 0)) in set_contains()
1154 while ((prod = strtok(NULL, "|"))) in set_contains()
1155 if (strcmp(key, prod) == 0) in set_contains()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c129 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_50/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c249 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_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c983 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_50/usr/src/cmd/fs.d/ufs/fsck/
H A DMakefile77 -I/net/tools-sparc/export/tools.sparc/on10-tools/SUNWspro/SOS8/prod/include/lint
/titanic_50/usr/src/uts/common/io/yge/
H A Dyge.c493 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_50/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c1259 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_50/usr/src/uts/common/xen/public/
H A Dtrace.h193 uint32_t prod; /* Offset of next item to be produced by Xen. */ member
/titanic_50/usr/src/uts/common/xen/dtrace/
H A Dxdt.c650 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_50/usr/src/cmd/power/
H A Dhandlers.c82 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_50/usr/src/uts/common/io/ppm/
H A Dppm.c2769 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_50/usr/src/tools/ctf/cvt/
H A Ddwarf.c1902 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_50/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c2440 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_50/usr/src/cmd/vgrind/
H A Dvgrindefs.src164 :cb=\(*:ce=*\):kw=cand cor do od if fi else enum record prod union\

12