Searched refs:qp (Results 1 - 25 of 26) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dip_fragment.c99 static __inline__ void __ipq_unlink(struct ipq *qp) argument
101 if(qp->next)
102 qp->next->pprev = qp->pprev;
103 *qp->pprev = qp->next;
139 static __inline__ void frag_free_queue(struct ipq *qp) argument
142 kfree(qp);
147 struct ipq *qp = kmalloc(sizeof(struct ipq), GFP_ATOMIC); local
149 if(!qp)
159 ip_frag_destroy(struct ipq *qp) argument
212 struct ipq *qp; local
244 struct ipq *qp = (struct ipq *) arg; local
273 struct ipq *qp; local
312 struct ipq *qp; local
351 struct ipq *qp; local
370 ip_frag_queue(struct ipq *qp, struct sk_buff *skb) argument
507 ip_frag_reasm(struct ipq *qp, struct net_device *dev) argument
599 struct ipq *qp; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dh8.c74 static void h8_cmd_done(h8_cmd_q_t *qp);
162 h8_cmd_q_t *qp = list_entry(h8_actq.next, h8_cmd_q_t, link); local
210 qp->nacks++;
211 if (qp->nacks > qp->ncmd)
218 if (qp->cnt < qp->ncmd) {
226 if (qp->nrsp)
230 qp->cnt = 0;
235 qp
413 h8_cmd_q_t *qp; local
440 h8_cmd_q_t *qp; local
478 h8_cmd_q_t *qp; local
520 h8_cmd_q_t *qp = list_entry(h8_actq.next, h8_cmd_q_t, link); local
668 h8_cmd_done(h8_cmd_q_t *qp) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/mm/
H A Dfault.c419 wait_queue_head_t *qp; local
447 qp = (wait_queue_head_t *)
449 if (qp != NULL) {
456 wake_up(qp);
461 qp = (wait_queue_head_t *)
463 if (qp != NULL) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dsunqe.h298 #define TX_BUFFS_AVAIL(qp) \
299 (((qp)->tx_old <= (qp)->tx_new) ? \
300 (qp)->tx_old + (TX_RING_SIZE - 1) - (qp)->tx_new : \
301 (qp)->tx_old - (qp)->tx_new - 1)
H A Dsunhme.c2117 struct quattro *qp = (struct quattro *) cookie; local
2121 struct net_device *dev = qp->happy_meals[i];
2483 void __init quattro_get_ranges(struct quattro *qp) argument
2485 struct sbus_dev *sdev = qp->quattro_dev;
2490 (char *)&qp->ranges[0],
2491 sizeof(qp->ranges));
2493 qp->nranges = 0;
2496 qp->nranges = (err / sizeof(struct linux_prom_ranges));
2499 static void __init quattro_apply_ranges(struct quattro *qp, struct happy_meal *hp) argument
2504 for (rng = 0; rng < qp
2530 struct quattro *qp; local
2575 struct quattro *qp; local
2597 struct quattro *qp; local
2627 struct quattro *qp = NULL; local
2952 struct quattro *qp = NULL; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h224 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \
225 for (qp = (head)->flink; qp != (head); qp = qp->flink)
H A Dsym_misc.c109 SYM_QUEHEAD qtmp, *qp; local
113 while ((qp = sym_remque_head(&qtmp)) != 0) {
114 sym_insque_head(qp, &np->tmo0_ccbq);
115 cp = sym_que_entry(qp, struct sym_ccb, tmo_linkq);
H A Dsym_hipd.c1594 SYM_QUEHEAD *qp; local
1608 qp = sym_remque_head(&lp->waiting_ccbq);
1609 if (!qp)
1611 cp = sym_que_entry(qp, struct sym_ccb, link2_ccbq);
1615 sym_insque_head(qp, &lp->waiting_ccbq);
1624 sym_insque_head(qp, &lp->waiting_ccbq);
1633 sym_insque_tail(qp, &lp->started_ccbq);
1949 SYM_QUEHEAD *qp; local
2034 FOR_EACH_QUEUED_ELEMENT(&np->busy_ccbq, qp) {
2036 cp = sym_que_entry(qp, struc
2948 SYM_QUEHEAD *qp; local
3176 SYM_QUEHEAD qtmp, *qp; local
3256 SYM_QUEHEAD *qp; local
4657 SYM_QUEHEAD *qp; local
5373 SYM_QUEHEAD *qp; local
5898 SYM_QUEHEAD *qp; local
[all...]
H A Dsym_glue.c1088 SYM_QUEHEAD *qp; local
1102 FOR_EACH_QUEUED_ELEMENT(&np->s.wait_cmdq, qp) {
1103 if (SYM_SCMD_PTR(qp) == cmd) {
1110 FOR_EACH_QUEUED_ELEMENT(&np->busy_ccbq, qp) {
1111 ccb_p cp = sym_que_entry(qp, struct sym_ccb, link_ccbq);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/kernel/
H A Dbrl_emu.c58 unsigned long opcode, btype, qp, offset; local
83 qp = ((bundle[1] >> 23) & 0x3f);
89 tmp_taken = regs->pr & (1L << qp);
H A Dunwind_decoder.c54 * UNW_DEC_RESTORE_P(fmt,qp,t,abreg,arg)
58 * UNW_DEC_SPILL_PSPREL_P(fmt,qp,t,abreg,pspoff,arg)
60 * UNW_DEC_SPILL_REG_P(fmt,qp,t,abreg,x,ytreg,arg)
62 * UNW_DEC_SPILL_SPREL_P(fmt,qp,t,abreg,pspoff,arg)
122 unsigned char byte1, byte2, abreg, qp; local
129 qp = (byte1 & 0x3f);
133 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg);
135 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg);
142 unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg; local
148 qp
[all...]
H A Dunwind.c984 desc_is_active (unsigned char qp, unw_word t, struct unw_state_record *sr)
988 if (qp > 0) {
989 if ((sr->pr_val & (1UL << qp)) == 0)
991 sr->pr_mask |= (1UL << qp);
997 desc_restore_p (unsigned char qp, unw_word t, unsigned char abreg, struct unw_state_record *sr)
1001 if (!desc_is_active(qp, t, sr))
1011 desc_spill_reg_p (unsigned char qp, unw_word t, unsigned char abreg, unsigned char x,
1017 if (!desc_is_active(qp, t, sr))
1032 desc_spill_psprel_p (unsigned char qp, unw_word t, unsigned char abreg, unw_word pspoff,
1037 if (!desc_is_active(qp,
981 desc_is_active(unsigned char qp, unw_word t, struct unw_state_record *sr) argument
994 desc_restore_p(unsigned char qp, unw_word t, unsigned char abreg, struct unw_state_record *sr) argument
1008 desc_spill_reg_p(unsigned char qp, unw_word t, unsigned char abreg, unsigned char x, unsigned char ytreg, struct unw_state_record *sr) argument
1029 desc_spill_psprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word pspoff, struct unw_state_record *sr) argument
1044 desc_spill_sprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word spoff, struct unw_state_record *sr) argument
[all...]
H A Dunaligned.c150 unsigned long qp:6; /* [0:5] */ member in struct:__anon389
1336 DPRINT("opcode=%lx ld.qp=%d ld.r1=%d ld.imm=%d ld.r3=%d ld.x=%d ld.hint=%d "
1337 "ld.x6=0x%x ld.m=%d ld.op=%d\n", opcode, u.insn.qp, u.insn.r1, u.insn.imm,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/mm/
H A Dfault.c507 wait_queue_head_t *qp; local
535 qp = (wait_queue_head_t *)
537 if (qp != NULL) {
544 wake_up(qp);
549 qp = (wait_queue_head_t *)
551 if (qp != NULL) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/cdrom/
H A Dcm206.c1064 int get_current_q(struct cdrom_subchnl *qp) argument
1073 qp->cdsc_adr = q[0] & 0xf;
1074 qp->cdsc_ctrl = q[0] >> 4; /* from mcd.c */
1075 qp->cdsc_trk = q[1];
1076 qp->cdsc_ind = q[2];
1077 if (qp->cdsc_format == CDROM_MSF) {
1078 qp->cdsc_reladdr.msf.minute = q[3];
1079 qp->cdsc_reladdr.msf.second = q[4];
1080 qp->cdsc_reladdr.msf.frame = q[5];
1081 qp
[all...]
H A Daztcd.c326 static int aztGetQChannelInfo(struct azt_Toc *qp);
744 int aztGetQChannelInfo(struct azt_Toc *qp) argument
760 qp->ctrl_addr = 0; /* when audio stop ACMD_GET_Q_CHANNEL returns */
761 qp->track = 0; /* only one byte with Aztech drives */
762 qp->pointIndex = 0;
763 qp->trackTime.min = 0;
764 qp->trackTime.sec = 0;
765 qp->trackTime.frame = 0;
766 qp->diskTime.min = 0;
767 qp
[all...]
H A Dmcd.c179 static int GetQChannelInfo(struct mcd_Toc *qp);
1337 int GetQChannelInfo(struct mcd_Toc *qp) argument
1351 if (getValue(&qp->ctrl_addr) < 0)
1353 if (getValue(&qp->track) < 0)
1355 if (getValue(&qp->pointIndex) < 0)
1357 if (getValue(&qp->trackTime.min) < 0)
1359 if (getValue(&qp->trackTime.sec) < 0)
1361 if (getValue(&qp->trackTime.frame) < 0)
1365 if (getValue(&qp->diskTime.min) < 0)
1367 if (getValue(&qp
[all...]
H A Doptcd.c637 table of contents. qp->cdsc_format must be set on entry to
639 static int get_q_channel(struct cdrom_subchnl *qp)
646 qp->cdsc_audiostatus = audio_status;
655 qp->cdsc_adr = d1;
656 qp->cdsc_ctrl = d1 >> 4;
661 qp->cdsc_trk = bcd2bin(d2);
666 qp->cdsc_ind = bcd2bin(d3);
671 qp->cdsc_reladdr.msf.minute = d4;
676 qp->cdsc_reladdr.msf.second = d5;
681 qp
630 get_q_channel(struct cdrom_subchnl *qp) argument
[all...]
H A Dsjcd.c620 static int sjcd_get_q_info(struct sjcd_hw_qinfo *qp) argument
639 if (sjcd_load_response(qp, sizeof(*qp)) == 0)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dqlogicpti.h551 #define for_each_qlogicpti(qp) \
552 for((qp) = qptichain; (qp); (qp) = (qp)->next)
H A Dncr53c8xx.c4582 XPT_QUEHEAD *qp; local
4589 qp = xpt_remque_head(&lp->wait_ccbq);
4590 if (!qp)
4593 cp = xpt_que_entry(qp, struct ccb, link_ccbq);
4594 xpt_insque_tail(qp, &lp->busy_ccbq);
6842 XPT_QUEHEAD *qp; local
6856 qp = lp->busy_ccbq.blink;
6857 while (qp != &lp->busy_ccbq) {
6858 cp2 = xpt_que_entry(qp, struct ccb, link_ccbq);
6859 qp
7476 XPT_QUEHEAD *qp; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dsch_generic.c415 struct Qdisc *q, **qp; local
416 for (qp = &qdisc->dev->qdisc_list; (q=*qp) != NULL; qp = &q->next) {
418 *qp = q->next;
H A Dsch_api.c147 struct Qdisc_ops *q, **qp; local
150 for (qp = &qdisc_base; (q=*qp)!=NULL; qp = &q->next) {
165 *qp = qops;
172 struct Qdisc_ops *q, **qp; local
176 for (qp = &qdisc_base; (q=*qp)!=NULL; qp = &q->next)
180 *qp
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/block/
H A Ddasd.c1577 dasd_chanq_t *qp = &device->queue; local
1589 while (qp->head &&
1590 ((qp->head->status == CQR_STATUS_DONE ) ||
1591 (qp->head->status == CQR_STATUS_FAILED) ||
1592 (qp->head->status == CQR_STATUS_ERROR ) )) {
1598 if (qp->head->status == CQR_STATUS_ERROR) {
1600 qp->head->retries--;
1602 if (qp->head->dstat->flag & DEVSTAT_HALT_FUNCTION) {
1604 check_then_set (&qp->head->status,
1608 asm volatile ("STCK %0":"=m" (qp
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/
H A Dfirestream.c600 static int qp; variable
620 pq[qp].cmd = cmd;
621 pq[qp].p0 = p1;
622 pq[qp].p1 = p2;
623 pq[qp].p2 = p3;
624 qp++;
625 if (qp >= 60) qp = 0;

Completed in 374 milliseconds

12