Searched refs:mq (Results 1 - 17 of 17) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mmc/card/
H A Dqueue.c42 struct mmc_queue *mq = d; local
43 struct request_queue *q = mq->queue;
51 down(&mq->thread_sem);
59 mq->req = req;
67 up(&mq->thread_sem);
69 down(&mq->thread_sem);
74 mq->issue_fn(mq, req);
76 up(&mq->thread_sem);
89 struct mmc_queue *mq local
116 mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock) argument
165 mmc_cleanup_queue(struct mmc_queue *mq) argument
198 mmc_queue_suspend(struct mmc_queue *mq) argument
218 mmc_queue_resume(struct mmc_queue *mq) argument
[all...]
H A Dblock.c203 static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) argument
205 struct mmc_blk_data *md = mq->data;
264 brq.data.sg = mq->sg;
271 data_size -= mq->sg[sg_pos].length;
273 mq->sg[sg_pos].length += data_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/arm/
H A Dmsgqueue.c27 struct msgqueue_entry *mq; local
29 if ((mq = msgq->free) != NULL)
30 msgq->free = mq->next;
32 return mq;
36 * Function: void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq)
39 * mq - message queue entry to free
41 static void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq) argument
43 if (mq) {
44 mq->next = msgq->free;
45 msgq->free = mq;
85 struct msgqueue_entry *mq = msgq->qe; local
103 struct msgqueue_entry *mq; local
120 struct msgqueue_entry *mq = mqe_alloc(msgq); local
153 struct msgqueue_entry *mq, *mqnext; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_cq.c90 q = &cq->mq;
136 ce = (struct c2wr_ce *) c2_mq_consume(&cq->mq);
148 c2_mq_free(&cq->mq);
149 ce = (struct c2wr_ce *) c2_mq_consume(&cq->mq);
194 c2_mq_free(&cq->mq);
228 shared = cq->mq.peer;
248 ret = !c2_mq_empty(&cq->mq);
255 static void c2_free_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq) argument
257 dma_free_coherent(&c2dev->pcidev->dev, mq->q_size * mq
261 c2_alloc_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq, int q_size, int msg_size) argument
[all...]
H A Dc2_ae.c149 struct c2_mq *mq = c2dev->qptr_array[mq_index]; local
162 wr = c2_mq_consume(mq);
318 c2_mq_free(mq);
H A Dc2_provider.h100 struct c2_mq mq; member in struct:c2_cq
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/capi/
H A Dcapilib.c46 struct capilib_msgidqueue *mq; local
47 if ((mq = np->msgidfree) == 0)
49 np->msgidfree = mq->next;
50 mq->msgid = msgid;
51 mq->next = NULL;
53 np->msgidlast->next = mq;
54 np->msgidlast = mq;
56 np->msgidqueue = mq;
66 struct capilib_msgidqueue *mq = *pp; local
67 *pp = mq
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-omap/
H A Dmailbox.c99 struct omap_mbox_queue *mq = container_of(work, local
101 struct omap_mbox *mbox = mq->queue->queuedata;
130 struct omap_mbox_queue *mq = local
132 struct omap_mbox *mbox = mq->queue->queuedata;
301 struct omap_mbox_queue *mq; local
303 mq = kzalloc(sizeof(struct omap_mbox_queue), GFP_KERNEL);
304 if (!mq)
307 spin_lock_init(&mq->lock);
309 q = blk_init_queue(proc, &mq->lock);
313 mq
332 struct omap_mbox_queue *mq; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dppc32.h103 unsigned int mq; /* 601 only (not used at present) */ member in struct:pt_regs32
H A Dasm-offsets.c234 DEFINE(_MQ, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, mq));
H A Dprocess.c605 regs->mq = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/xmon/
H A Dprivinst.h23 GSETSPR(0, mq)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/sysdep-ppc/
H A Dptrace.h26 PPC_REG mq; /* 601 only (not used at present) */ member in struct:sys_pt_regs_s
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dptrace.h41 unsigned long mq; /* 601 only (not used at present) */ member in struct:pt_regs
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/
H A Dppp.c604 mblk_t *mq; local
736 if ((mq = mp->b_cont) == 0
737 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
738 mq = allocb(sizeof(int), BPRI_HI);
739 if (mq == 0) {
745 mp->b_cont = mq;
746 mq->b_cont = 0;
749 mq->b_wptr = mq
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/solaris/
H A Dppp.c606 mblk_t *mq; local
740 if ((mq = mp->b_cont) == 0
741 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
742 mq = allocb(sizeof(int), BPRI_HI);
743 if (mq == 0) {
749 mp->b_cont = mq;
750 mq->b_cont = 0;
753 mq->b_wptr = mq
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/
H A Dasm-offsets.c107 DEFINE(_MQ, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, mq));

Completed in 98 milliseconds