Home
last modified time | relevance | path

Searched refs:iq (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/lib/libm/common/C/
H A D__rem_pio2m.c168 int jz, jx, jv, jp, jk, carry, n, iq[20]; in __rem_pio2m() local
205 iq[i] = (int)(z - two24 * fw); in __rem_pio2m()
216 i = (iq[jz-1] >> (24 - q0)); in __rem_pio2m()
218 iq[jz-1] -= i << (24 - q0); in __rem_pio2m()
219 ih = iq[jz-1] >> (23 - q0); in __rem_pio2m()
221 ih = iq[jz-1] >> 23; in __rem_pio2m()
230 j = iq[i]; in __rem_pio2m()
234 iq[i] = 0x1000000 - j; in __rem_pio2m()
237 iq[i] = 0xffffff - j; in __rem_pio2m()
243 iq[jz-1] &= 0x7fffff; in __rem_pio2m()
[all …]
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c74 static int service_iq(struct sge_iq *iq, int budget);
75 static inline void init_iq(struct sge_iq *iq, struct adapter *sc, int tmr_idx,
80 static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq,
82 static int free_iq_fl(struct port_info *pi, struct sge_iq *iq,
122 static inline bool is_new_response(const struct sge_iq *iq,
124 static inline void iq_next(struct sge_iq *iq);
152 static int t4_eth_rx(struct sge_iq *iq, const struct rss_header *rss,
164 static int handle_fw_rpl(struct sge_iq *iq, const struct rss_header *rss,
388 struct sge_iq *iq = NULL; in port_intr_iq() local
399 iq = &s->ofld_rxq[pi->first_ofld_rxq + idx].iq; in port_intr_iq()
[all …]
H A Dadapter.h320 struct sge_iq iq; /* MUST be first */ member
338 struct sge_iq iq; /* MUST be first */ member
519 #define IQ_LOCK(iq) mutex_enter(&(iq)->lock) argument
520 #define IQ_UNLOCK(iq) mutex_exit(&(iq)->lock) argument
521 #define IQ_LOCK_ASSERT_OWNED(iq) ASSERT(mutex_owned(&(iq)->lock)) argument
522 #define IQ_LOCK_ASSERT_NOTOWNED(iq) ASSERT(!mutex_owned(&(iq)->lock)) argument
529 #define RXQ_LOCK(rxq) IQ_LOCK(&(rxq)->iq)
530 #define RXQ_UNLOCK(rxq) IQ_UNLOCK(&(rxq)->iq)
531 #define RXQ_LOCK_ASSERT_OWNED(rxq) IQ_LOCK_ASSERT_OWNED(&(rxq)->iq)
532 #define RXQ_LOCK_ASSERT_NOTOWNED(rxq) IQ_LOCK_ASSERT_NOTOWNED(&(rxq)->iq)
[all …]
H A Dadapter.c108 iq_to_rxq(struct sge_iq *iq) in iq_to_rxq() argument
110 return (container_of(iq, struct sge_rxq, iq)); in iq_to_rxq()
H A Dt4_nexus.c133 static int cpl_not_handled(struct sge_iq *iq, const struct rss_header *rss,
623 &rxq->iq); in t4_devo_attach()
639 &ofld_rxq->iq); in t4_devo_attach()
2044 rss[i] = rxq->iq.abs_id; in port_full_init()
2082 struct sge_iq *iq; in enable_port_queues() local
2098 iq = &ofld_rxq->iq; in enable_port_queues()
2099 if (atomic_cas_uint(&iq->state, IQS_DISABLED, IQS_IDLE) != in enable_port_queues()
2102 (void *)iq); in enable_port_queues()
2104 V_SEINTARM(iq->intr_params) | V_INGRESSQID(iq->cntxt_id)); in enable_port_queues()
2109 iq = &rxq->iq; in enable_port_queues()
[all …]
H A Dt4_l2t.h64 int do_l2t_write_rpl(struct sge_iq *iq, const struct rss_header *rss,
H A Dt4_l2t.c438 do_l2t_write_rpl(struct sge_iq *iq, const struct rss_header *rss, mblk_t *m) in do_l2t_write_rpl() argument
440 struct adapter *sc = iq->adapter; in do_l2t_write_rpl()
H A Dt4_mac.c1022 rxq->iq.intr_params = V_QINTR_TIMER_IDX(v) | in setprop()
1035 rxq->iq.intr_params = V_QINTR_TIMER_IDX(pi->tmr_idx) | in setprop()
1039 rxq->iq.intr_pktc_idx = v; /* this needs fresh plumb */ in setprop()
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_iomb.h731 #define GET_IO_IQ_ENTRY(pwp, msg, did, iq) \ argument
732 iq = did & PMCS_IO_IQ_MASK; \
733 mutex_enter(&(pwp)->iqp_lock[iq]); \
734 msg = GET_IQ_ENTRY(pwp, iq); \
736 mutex_exit(&(pwp)->iqp_lock[iq]); \
737 for (iq = 0; iq <= PMCS_NON_HIPRI_QUEUES; iq++) { \
738 mutex_enter(&(pwp)->iqp_lock[iq]); \
739 msg = GET_IQ_ENTRY(pwp, iq); \
743 mutex_exit(&(pwp->iqp_lock[iq])); \
/titanic_41/usr/src/uts/common/sys/rsm/
H A Drsmpi.h442 (rsm_send_q_handle_t iq,
449 (rsm_send_q_handle_t iq);
451 (rsm_send_q_handle_t iq,
669 #define RSM_SENDQ_CONFIG(controller, iq, pri, qdepth, flags, callback, arg) \ argument
671 ((iq), (pri), (qdepth), (flags), \
673 #define RSM_SENDQ_DESTROY(controller, iq) \ argument
675 ((iq))
676 #define RSM_SEND(controller, iq, is, barrier) \ argument
678 ((iq), (is), (barrier))
/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Ddoprnt.c679 …{ int iq ; unsigned long * pl = (unsigned long *) (&qval) ; for(iq=0;iq<4;iq++) pl[iq] = (unsigned… in _doprnt()
1010 int iq; \
1011 for (iq = 0; iq < 4; iq++) \
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_map.c820 int i, n, rnq, iq, r, ret = LDAP_SUCCESS; in mapToLDAP() local
886 for (iq = 0, rnq = 0; iq < nq; iq++) { in mapToLDAP()
889 if ((old == 0 || old[iq] == 0) && in mapToLDAP()
890 (new == 0 || new[iq] == 0)) in mapToLDAP()
900 (old != 0 && old[iq] != 0) ? old[iq] : new[iq], 1, 0, in mapToLDAP()
909 idx = iq * maxMatches; in mapToLDAP()
923 (old != 0) ? old[iq] : 0, in mapToLDAP()
924 (new != 0) ? new[iq] : 0, in mapToLDAP()
925 (rvIn != 0) ? &rvIn[iq] : 0, in mapToLDAP()
962 if ((iq == 0 || !firstOnly) && dnt != 0) { in mapToLDAP()
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c2076 struct ud_inode *iq; in ud_add_to_free_list() local
2078 iq = udf_ifreeh; in ud_add_to_free_list()
2079 while (iq) { in ud_add_to_free_list()
2080 if (iq == ip) { in ud_add_to_free_list()
2083 iq = iq->i_freef; in ud_add_to_free_list()
2123 struct ud_inode *iq; in ud_remove_from_free_list() local
2126 iq = udf_ifreeh; in ud_remove_from_free_list()
2127 while (iq) { in ud_remove_from_free_list()
2128 if (iq == ip) { in ud_remove_from_free_list()
2131 iq = iq->i_freef; in ud_remove_from_free_list()
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_sata.c626 uint32_t iq, htag, status; in pmcs_run_sata_cmd() local
667 GET_IO_IQ_ENTRY(pwp, ptr, pptr->device_id, iq); in pmcs_run_sata_cmd()
674 INC_IQ_ENTRY(pwp, iq); in pmcs_run_sata_cmd()
H A Dpmcs_scsa.c1847 uint32_t iq, lhtag, *ptr; in pmcs_SAS_run() local
1864 GET_IO_IQ_ENTRY(pwp, ptr, pwrk->phy->device_id, iq); in pmcs_SAS_run()
1895 mutex_exit(&pwp->iqp_lock[iq]); in pmcs_SAS_run()
1975 INC_IQ_ENTRY(pwp, iq); in pmcs_SAS_run()
2363 uint32_t *ptr, lhtag, iq, nblk, i, mtype; in pmcs_SATA_run() local
2465 GET_IO_IQ_ENTRY(pwp, ptr, xp->phy->device_id, iq); in pmcs_SATA_run()
2496 mutex_exit(&pwp->iqp_lock[iq]); in pmcs_SATA_run()
2567 mutex_exit(&pwp->iqp_lock[iq]); in pmcs_SATA_run()
2598 INC_IQ_ENTRY(pwp, iq); in pmcs_SATA_run()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c670 struct inode *iq; in ufs_iinactive() local
765 if ((iq = uq->uq_ihead) != 0) { in ufs_iinactive()
766 ip->i_freef = iq; in ufs_iinactive()
767 ip->i_freeb = iq->i_freeb; in ufs_iinactive()
768 iq->i_freeb->i_freef = ip; in ufs_iinactive()
769 iq->i_freeb = ip; in ufs_iinactive()
/titanic_41/usr/src/lib/libast/common/port/
H A Dlc.tab213 iq iraq ar