/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | __rem_pio2m.c | 169 int jz, jx, jv, jp, jk, carry, n, iq[20]; in __rem_pio2m() local 207 iq[i] = (int)(z - two24 * fw); in __rem_pio2m() 218 i = (iq[jz-1] >> (24 - q0)); in __rem_pio2m() 220 iq[jz-1] -= i << (24 - q0); in __rem_pio2m() 221 ih = iq[jz-1] >> (23 - q0); in __rem_pio2m() 223 ih = iq[jz-1] >> 23; in __rem_pio2m() 232 j = iq[i]; in __rem_pio2m() 236 iq[i] = 0x1000000 - j; in __rem_pio2m() 239 iq[i] = 0xffffff - j; in __rem_pio2m() 245 iq[jz-1] &= 0x7fffff; in __rem_pio2m() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 73 static int service_iq(struct sge_iq *iq, int budget); 74 static inline void init_iq(struct sge_iq *iq, struct adapter *sc, int tmr_idx, 79 static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, 81 static int free_iq_fl(struct port_info *pi, struct sge_iq *iq, 125 static inline bool is_new_response(const struct sge_iq *iq, 127 static inline void iq_next(struct sge_iq *iq); 155 static int t4_eth_rx(struct sge_iq *iq, const struct rss_header *rss, 169 static int handle_fw_rpl(struct sge_iq *iq, const struct rss_header *rss, 423 struct sge_iq *iq = NULL; in port_intr_iq() local 434 iq = &s->ofld_rxq[pi->first_ofld_rxq + idx].iq; in port_intr_iq() [all …]
|
H A D | adapter.h | 356 struct sge_iq iq; /* MUST be first */ member 379 struct sge_iq iq; /* MUST be first */ member 605 #define IQ_LOCK(iq) mutex_enter(&(iq)->lock) argument 606 #define IQ_UNLOCK(iq) mutex_exit(&(iq)->lock) argument 607 #define IQ_LOCK_ASSERT_OWNED(iq) ASSERT(mutex_owned(&(iq)->lock)) argument 608 #define IQ_LOCK_ASSERT_NOTOWNED(iq) ASSERT(!mutex_owned(&(iq)->lock)) argument 615 #define RXQ_LOCK(rxq) IQ_LOCK(&(rxq)->iq) 616 #define RXQ_UNLOCK(rxq) IQ_UNLOCK(&(rxq)->iq) 617 #define RXQ_LOCK_ASSERT_OWNED(rxq) IQ_LOCK_ASSERT_OWNED(&(rxq)->iq) 618 #define RXQ_LOCK_ASSERT_NOTOWNED(rxq) IQ_LOCK_ASSERT_NOTOWNED(&(rxq)->iq) [all …]
|
H A D | t4_mac.c | 859 struct sge_iq *iq; in t4_ring_intr_enable() local 861 iq = &rxq->iq; in t4_ring_intr_enable() 863 iq->polling = 0; in t4_ring_intr_enable() 864 iq->state = IQS_IDLE; in t4_ring_intr_enable() 866 V_SEINTARM(iq->intr_params) | V_INGRESSQID(iq->cntxt_id)); in t4_ring_intr_enable() 878 struct sge_iq *iq; in t4_ring_intr_disable() local 885 iq = &rxq->iq; in t4_ring_intr_disable() 887 iq->polling = 1; in t4_ring_intr_disable() 888 iq->state = IQS_BUSY; in t4_ring_intr_disable() 1903 rxq->iq.intr_params = V_QINTR_TIMER_IDX(v) | in setprop() [all …]
|
H A D | t4_nexus.c | 140 static int cpl_not_handled(struct sge_iq *iq, const struct rss_header *rss, 746 &rxq->iq); in t4_devo_attach() 762 &ofld_rxq->iq); in t4_devo_attach() 2829 rss[i] = rxq->iq.abs_id; 2876 struct sge_iq *iq; local 2892 iq = &ofld_rxq->iq; 2893 if (atomic_cas_uint(&iq->state, IQS_DISABLED, IQS_IDLE) != 2896 (void *)iq); 2898 V_SEINTARM(iq->intr_params) | V_INGRESSQID(iq->cntxt_id)); 2903 iq = &rxq->iq; [all …]
|
H A D | t4_l2t.h | 64 int do_l2t_write_rpl(struct sge_iq *iq, const struct rss_header *rss,
|
H A D | t4_l2t.c | 435 do_l2t_write_rpl(struct sge_iq *iq, const struct rss_header *rss, mblk_t *m) in do_l2t_write_rpl() argument 437 struct adapter *sc = iq->adapter; in do_l2t_write_rpl()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_iomb.h | 731 #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])); \
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsmpi.h | 440 (rsm_send_q_handle_t iq, 447 (rsm_send_q_handle_t iq); 449 (rsm_send_q_handle_t iq, 667 #define RSM_SENDQ_CONFIG(controller, iq, pri, qdepth, flags, callback, arg) \ argument 669 ((iq), (pri), (qdepth), (flags), \ 671 #define RSM_SENDQ_DESTROY(controller, iq) \ argument 673 ((iq)) 674 #define RSM_SEND(controller, iq, is, barrier) \ argument 676 ((iq), (is), (barrier))
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_map.c | 819 int i, n, rnq, iq, r, ret = LDAP_SUCCESS; in mapToLDAP() local 885 for (iq = 0, rnq = 0; iq < nq; iq++) { in mapToLDAP() 888 if ((old == 0 || old[iq] == 0) && in mapToLDAP() 889 (new == 0 || new[iq] == 0)) in mapToLDAP() 899 (old != 0 && old[iq] != 0) ? old[iq] : new[iq], 1, 0, in mapToLDAP() 908 idx = iq * maxMatches; in mapToLDAP() 922 (old != 0) ? old[iq] : 0, in mapToLDAP() 923 (new != 0) ? new[iq] : 0, in mapToLDAP() 924 (rvIn != 0) ? &rvIn[iq] : 0, in mapToLDAP() 961 if ((iq == 0 || !firstOnly) && dnt != 0) { in mapToLDAP()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_inode.c | 2075 struct ud_inode *iq; in ud_add_to_free_list() local 2077 iq = udf_ifreeh; in ud_add_to_free_list() 2078 while (iq) { in ud_add_to_free_list() 2079 if (iq == ip) { in ud_add_to_free_list() 2082 iq = iq->i_freef; in ud_add_to_free_list() 2122 struct ud_inode *iq; in ud_remove_from_free_list() local 2125 iq = udf_ifreeh; in ud_remove_from_free_list() 2126 while (iq) { in ud_remove_from_free_list() 2127 if (iq == ip) { in ud_remove_from_free_list() 2130 iq = iq->i_freef; in ud_remove_from_free_list()
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | kpatch.sh | 16 if ! echo $ans | grep -iq ^n ; then
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 672 struct inode *iq; in ufs_iinactive() local 767 if ((iq = uq->uq_ihead) != 0) { in ufs_iinactive() 768 ip->i_freef = iq; in ufs_iinactive() 769 ip->i_freeb = iq->i_freeb; in ufs_iinactive() 770 iq->i_freeb->i_freef = ip; in ufs_iinactive() 771 iq->i_freeb = ip; in ufs_iinactive()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 627 uint32_t iq, htag, status; in pmcs_run_sata_cmd() local 668 GET_IO_IQ_ENTRY(pwp, ptr, pptr->device_id, iq); in pmcs_run_sata_cmd() 675 INC_IQ_ENTRY(pwp, iq); in pmcs_run_sata_cmd()
|
H A D | pmcs_scsa.c | 1847 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | lc.tab | 213 iq iraq ar
|