Searched refs:head (Results 251 - 275 of 583) sorted by relevance

<<11121314151617181920>>

/drivers/net/xen-netback/
H A Dnetback.c110 * head/fragment page uses 2 copy operations because it
283 static bool start_new_rx_buffer(int offset, unsigned long size, int head) argument
294 * and (iii) this is not the head buffer.
312 (size <= MAX_BUFFER_OFFSET) && offset && !head)
393 unsigned long offset, int *head)
413 if (start_new_rx_buffer(npo->copy_off, size, *head)) {
415 * Netfront requires there to be some data in the head
418 BUG_ON(*head);
457 if (*head && skb_shinfo(skb)->gso_size && !vif->gso_prefix)
460 *head
390 netbk_gop_frag_copy(struct xenvif *vif, struct sk_buff *skb, struct netrx_pending_operations *npo, struct page *page, unsigned long size, unsigned long offset, int *head) argument
486 int head = 1; local
[all...]
/drivers/atm/
H A Dsolos-pci.c773 struct hlist_head *head; local
779 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)];
780 sk_for_each(s, node, head) {
795 struct hlist_head *head; local
804 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)];
805 sk_for_each(s, node, head) {
815 head = &vcc_hash[i];
816 sk_for_each(s, node, head) {
/drivers/gpu/drm/
H A Ddrm_info.c88 list_for_each_entry(r_list, &dev->maplist, head) {
279 list_for_each_entry(pt, &dev->vmalist, head) {
/drivers/gpu/drm/i915/
H A Dintel_ringbuffer.c49 int space = (ring->head & HEAD_ADDR) - (ring->tail + 8);
254 u32 head; local
263 head = I915_READ_HEAD(ring) & HEAD_ADDR;
265 /* G45 ring initialization fails to reset head to zero */
266 if (head != 0) {
267 DRM_DEBUG_KMS("%s head not reset to zero "
268 "ctl %08x head %08x tail %08x start %08x\n",
278 DRM_ERROR("failed to set %s head to zero "
279 "ctl %08x head %08x tail %08x start %08x\n",
292 /* If the head i
[all...]
H A Di915_debugfs.c161 struct list_head *head; local
175 head = &dev_priv->mm.active_list;
179 head = &dev_priv->mm.inactive_list;
183 head = &dev_priv->mm.pinned_list;
187 head = &dev_priv->mm.flushing_list;
191 head = &dev_priv->mm.deferred_free_list;
199 list_for_each_entry(obj, head, mm_list) {
332 list_for_each_entry(crtc, &dev->mode_config.crtc_list, base.head) {
708 seq_printf(m, " HEAD: 0x%08x\n", error->head[ring]);
730 seq_printf(m, " ring->head
[all...]
/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h113 unsigned head; member in struct:mlx4_ib_wq
167 int head; member in struct:mlx4_ib_srq
/drivers/ptp/
H A Dptp_clock.c73 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS;
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c92 list_add_tail(&val_buf->head, &sw_context->validate_nodes);
891 head) {
892 list_del(&entry->head);
953 list_for_each_entry(entry, &sw_context->validate_nodes, head) {
1296 list_add_tail(&pinned_val.head, &validate_list);
1300 list_add_tail(&query_val.head, &validate_list);
/drivers/input/
H A Devdev.c43 unsigned int head; member in struct:evdev_client
46 spinlock_t buffer_lock; /* protects access to buffer, head and tail */
71 client->buffer[client->head++] = *event;
72 client->head &= client->bufsize - 1;
74 if (unlikely(client->head == client->tail)) {
79 client->tail = (client->head - 2) & (client->bufsize - 1);
92 client->packet_head = client->head;
H A Dmousedev.c101 unsigned int head, tail; member in struct:mousedev_client
283 p = &client->packets[client->head];
285 new_head = (client->head + 1) % PACKET_QUEUE_LEN;
287 p = &client->packets[client->head = new_head];
636 if (client->tail == client->head) {
/drivers/isdn/mISDN/
H A Dstack.c71 sk_for_each(sk, node, &sl->head) {
159 if (!hlist_empty(&st->l1sock.head)) {
165 if (!hlist_empty(&st->l1sock.head))
380 INIT_HLIST_HEAD(&newst->l1sock.head);
449 sk_add_node(&msk->sk, &dev->D.st->l1sock.head);
647 if (!hlist_empty(&st->l1sock.head))
/drivers/video/vermilion/
H A Dvermilion.c518 INIT_LIST_HEAD(&vinfo->head);
894 list_move(&vinfo->head, (subsys) ? &global_has_mode : &global_no_mode);
1111 entry = list_entry(list, struct vml_info, head);
1168 list_for_each_entry_safe(entry, next, &global_has_mode, head) {
1171 list_del(&entry->head);
1172 list_add_tail(&entry->head, &global_no_mode);
/drivers/tty/serial/8250/
H A D8250.c128 struct list_head *head; member in struct:irq_info
1571 l = i->head;
1587 if (l == i->head && pass_counter++ > PASS_LIMIT) {
1613 if (!list_empty(i->head)) {
1614 if (i->head == &up->list)
1615 i->head = i->head->next;
1618 BUG_ON(i->head != &up->list);
1619 i->head = NULL;
1623 if (i->head
[all...]
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1672 #define netxen_merge_rx_buffers(list, head) \
1673 do { list_splice_tail_init(list, head); } while (0);
1844 struct list_head *head; local
1848 head = &rds_ring->free_list;
1849 while (!list_empty(head)) {
1851 buffer = list_entry(head->next, struct netxen_rx_buffer, list);
1901 struct list_head *head; local
1908 head = &rds_ring->free_list;
1909 while (!list_empty(head)) {
1911 buffer = list_entry(head
[all...]
/drivers/usb/musb/
H A Dmusb_host.c377 struct list_head *head; local
396 head = qh->ring.prev;
399 qh = first_qh(head);
1777 struct list_head *head = NULL; local
1784 head = &musb->control;
1848 head = &musb->in_bulk;
1850 head = &musb->out_bulk;
1872 if (head) {
1873 idle = list_empty(head);
1874 list_add_tail(&qh->ring, head);
[all...]
/drivers/gpu/drm/i810/
H A Di810_dma.c247 ring->head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR;
248 ring->space = ring->head - (ring->tail + 8);
252 if (ring->head != last_head) {
254 last_head = ring->head;
275 ring->head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR;
277 ring->space = ring->head - (ring->tail + 8);
324 list_for_each_entry(r_list, &dev->maplist, head) {
/drivers/gpu/drm/nouveau/
H A Dnv04_crtc.c206 /* Each head has it's own sequencer, so we can turn it off when we want */
250 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
463 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
527 * bit0: crtc0?, head A
528 * bit6: lvds, head A
529 * bit7: (only in X), head A
656 int head = nv_crtc->index; local
657 uint8_t saved_cr21 = dev_priv->saved_reg.crtc_reg[head].CRTC[NV_CIO_CRE_21];
660 NVSetOwner(crtc->dev, head);
662 nouveau_hw_load_state(crtc->dev, head,
[all...]
H A Dnv50_display.c287 list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
303 list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
394 &dev->mode_config.connector_list, head) {
563 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
908 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
/drivers/hid/
H A Dhid-wiimote-core.c86 while (wdata->head != wdata->tail) {
121 memcpy(wdata->outq[wdata->head].data, buffer, count);
122 wdata->outq[wdata->head].size = count;
123 newhead = (wdata->head + 1) % WIIMOTE_BUFSIZE;
125 if (wdata->head == wdata->tail) {
126 wdata->head = newhead;
129 wdata->head = newhead;
/drivers/ide/
H A Dide-probe.c56 id[ATA_ID_CUR_HEADS] = id[ATA_ID_HEADS] = drive->head;
65 if (!drive->cyl || !drive->head || !drive->sect) {
67 drive->head = drive->bios_head = id[ATA_ID_HEADS];
74 drive->head = id[ATA_ID_CUR_HEADS];
79 if (drive->head > 16 && id[ATA_ID_HEADS] && id[ATA_ID_HEADS] <= 16) {
81 drive->head = id[ATA_ID_HEADS];
176 /* we don't do head unloading on ATAPI devices */
503 drive->head, drive->sect);
/drivers/scsi/lpfc/
H A Dlpfc_ct.c98 struct list_head head; local
122 INIT_LIST_HEAD(&head);
123 list_add_tail(&head, &piocbq->list);
124 list_for_each_entry(iocbq, &head, list) {
142 list_del(&head);
144 INIT_LIST_HEAD(&head);
145 list_add_tail(&head, &piocbq->list);
146 list_for_each_entry(iocbq, &head, list) {
161 list_del(&head);
446 struct list_head head; local
[all...]
/drivers/staging/wlags49_h2/
H A Dhcf.c1274 DESC_STRCT *head = ifbp->IFB_FirstDesc[tx_rx_flag]; local
1279 if ( head ) {
1281 p = prev = head;
1293 if ( p->BUF_CNT & DESC_DMA_OWNED || head->next_desc_addr == NULL ) {
1295 head = NULL;
1300 if ( head ) {
1302 if ( head->next_desc_addr == NULL ) {
1308 //. . remove DELWA Descriptor from head of DescriptorList
1309 copy = head;
1310 head
[all...]
/drivers/gpu/drm/radeon/
H A Datombios_crtc.c95 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
285 list_for_each_entry(other_crtc, &rdev->ddev->mode_config.crtc_list, head) {
590 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
936 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
1496 list_for_each_entry(test_encoder, &dev->mode_config.encoder_list, head) {
1510 list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
1525 list_for_each_entry(test_encoder, &dev->mode_config.encoder_list, head) {
1544 list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
1594 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c202 req = (struct cpl_act_open_req *)skb->head;
227 struct cpl_close_con_req *req = (struct cpl_close_con_req *)skb->head;
269 req = (struct cpl_abort_req *)skb->head;
289 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head;
322 req = (struct cpl_rx_data_ack *)skb->head;
374 flowc = (struct fw_flowc_wr *)skb->head;
1273 req = (struct ulp_mem_io *)skb->head;
1341 req = (struct cpl_set_tcb_field *)skb->head;
1373 req = (struct cpl_set_tcb_field *)skb->head;
/drivers/spi/
H A Dspi-topcliff-pch.c998 int head; local
1118 head = PCH_MAX_FIFO_DEPTH - PCH_DMA_TRANS_SIZE;
1121 rem = data->bpw_len % PCH_DMA_TRANS_SIZE - head;
1125 PCH_DMA_TRANS_SIZE - head;
1132 head = 0;
1142 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size + head,
1144 sg_dma_len(sg) = size + head;
1146 sg->offset = head + size * i;
1152 sg->offset = head + size * i;

Completed in 4018 milliseconds

<<11121314151617181920>>