Lines Matching refs:alloced

812 	uint16 nitems, uint16 *alloced, bool exactly_nitems);
814 uint16 *alloced, bool exactly_nitems);
5413 uint16 i = 0, alloced = 0; in BCMFASTPATH() local
5484 dhd_prot_alloc_ring_space(dhd, ring, count, &alloced, TRUE); in BCMFASTPATH()
5491 ASSERT(alloced > 0); in BCMFASTPATH()
5495 for (i = 0; i < alloced; i++) { in BCMFASTPATH()
5572 if (i < alloced) { in BCMFASTPATH()
5573 if (ring->wr < (alloced - i)) in BCMFASTPATH()
5574 ring->wr = ring->max_items - (alloced - i); in BCMFASTPATH()
5576 ring->wr -= (alloced - i); in BCMFASTPATH()
5584 alloced = i; in BCMFASTPATH()
5588 if (alloced > 0) { in BCMFASTPATH()
5589 dhd_prot_ring_write_complete(dhd, ring, msg_start, alloced); in BCMFASTPATH()
5595 for (i = alloced; i < count; i++) { in BCMFASTPATH()
5608 return alloced; in BCMFASTPATH()
5618 uint16 alloced = 0; in dhd_prot_infobufpost() local
5669 msg_start = (void *) dhd_prot_alloc_ring_space(dhd, ring, count, &alloced, FALSE); in dhd_prot_infobufpost()
5681 ASSERT(alloced > 0); in dhd_prot_infobufpost()
5686 for (i = 0; i < alloced; i++) { in dhd_prot_infobufpost()
5762 if (i < alloced) { in dhd_prot_infobufpost()
5763 if (ring->wr < (alloced - i)) in dhd_prot_infobufpost()
5764 ring->wr = ring->max_items - (alloced - i); in dhd_prot_infobufpost()
5766 ring->wr -= (alloced - i); in dhd_prot_infobufpost()
5768 alloced = i; in dhd_prot_infobufpost()
5769 if (alloced && ring->wr == 0) { in dhd_prot_infobufpost()
5777 if (alloced > 0) { in dhd_prot_infobufpost()
5779 prot->infobufpost += alloced; in dhd_prot_infobufpost()
5783 prot->btlogbufpost += alloced; in dhd_prot_infobufpost()
5786 dhd_prot_ring_write_complete(dhd, ring, msg_start, alloced); in dhd_prot_infobufpost()
5794 return alloced; in dhd_prot_infobufpost()
5839 uint16 alloced = 0; in dhd_prot_rxbufpost_ctrl() local
5948 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE); in dhd_prot_rxbufpost_ctrl()
8501 uint16 alloced = 0; local
8638 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
9750 uint16 alloced = 0; local
9769 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
10032 uint16 alloced = 0; local
10064 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
10748 uint16 alloced = 0; local
10760 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
10800 uint16 nitems, uint16 * alloced, bool exactly_nitems)
10810 ret_buf = dhd_prot_get_ring_space(ring, nitems, alloced, exactly_nitems);
10829 ret_buf = dhd_prot_get_ring_space(ring, nitems, alloced, exactly_nitems);
10860 uint16 alloced = 0; local
10915 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
11426 BCMFASTPATH(dhd_prot_get_ring_space)(msgbuf_ring_t *ring, uint16 nitems, uint16 * alloced,
11443 *alloced = MIN(nitems, ring_avail_cnt);
11449 if ((ring->wr + *alloced) == ring->max_items)
11451 else if ((ring->wr + *alloced) < ring->max_items)
11452 ring->wr += *alloced;
11673 uint16 alloced = 0; local
11695 &alloced, FALSE);
11763 uint16 alloced = 0; local
11785 &alloced, FALSE);
12259 uint16 alloced = 0; local
12288 &alloced, FALSE);
12344 uint16 alloced = 0; local
12364 dhd_prot_alloc_ring_space(dhd, ctrl_ring, 1, &alloced, FALSE);
12799 uint16 alloced = 0; local
12811 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
12939 uint16 alloced = 0; local
12951 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
13009 uint16 alloced = 0; local
13023 msg_start = dhd_prot_alloc_ring_space(dhd, ctrl_ring, d2h_rings, &alloced, TRUE);
14116 uint16 alloced = 0; local
14136 dhd_prot_alloc_ring_space(dhd, ctrl_ring, 1, &alloced, FALSE);
14194 uint16 alloced = 0; local
14206 dhd_prot_alloc_ring_space(dhd, ring, 1, &alloced, FALSE);
14755 uint16 alloced = 0; local
14784 DHD_FLOWRING_DEFAULT_NITEMS_POSTED_H2D, &alloced, FALSE);
14968 uint16 alloced = 0; local
14981 &alloced, FALSE);