Home
last modified time | relevance | path

Searched refs:list_entry (Results 26 – 50 of 980) sorted by relevance

12345678910>>...40

/openbmc/linux/drivers/char/agp/
H A Disoch.c25 struct agp_3_5_dev *cur, *n = list_entry(new, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
29 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
46 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_sort()
137 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_isochronous_node_enable()
300 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_nonisochronous_node_enable()
388 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
456 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
/openbmc/linux/arch/m68k/sun3/
H A Dsun3dvma.c92 hole = list_entry(cur, struct hole, list); in print_holes()
114 hole = list_entry(cur, struct hole, list); in refill()
144 ret = list_entry(hole_cache.next, struct hole, list); in rmcache()
169 hole = list_entry(cur, struct hole, list); in get_baddr()
222 hole = list_entry(cur, struct hole, list); in free_baddr()
/openbmc/linux/scripts/mod/
H A Dlist.h158 #define list_entry(ptr, type, member) \ macro
170 list_entry((ptr)->next, type, member)
178 list_entry((pos)->member.next, typeof(*(pos)), member)
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-out.c64 vid_out_buf = list_entry(dev->vid_out_active.next, in vivid_thread_vid_out_tick()
71 vbi_out_buf = list_entry(dev->vbi_out_active.next, in vivid_thread_vid_out_tick()
76 meta_out_buf = list_entry(dev->meta_out_active.next, in vivid_thread_vid_out_tick()
308 buf = list_entry(dev->vid_out_active.next, in vivid_stop_generating_vid_out()
323 buf = list_entry(dev->vbi_out_active.next, in vivid_stop_generating_vid_out()
338 buf = list_entry(dev->meta_out_active.next, in vivid_stop_generating_vid_out()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ddp.c437 struct i40e_ddp_old_profile_list *list_entry; in i40e_ddp_flash() local
457 list_entry = in i40e_ddp_flash()
460 if (!list_entry) { in i40e_ddp_flash()
464 memcpy(list_entry->old_ddp_buf, in i40e_ddp_flash()
466 list_entry->old_ddp_size = ddp_config->size; in i40e_ddp_flash()
467 list_add(&list_entry->list, &pf->ddp_old_prof); in i40e_ddp_flash()
/openbmc/linux/arch/powerpc/lib/
H A Drheap.c133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot()
173 blk = list_entry(l, rh_block_t, list); in attach_free_block()
239 blk = list_entry(l, rh_block_t, list); in attach_taken_block()
396 blk = list_entry(l, rh_block_t, list); in rh_detach_region()
461 blk = list_entry(l, rh_block_t, list); in rh_alloc_align()
553 blk = list_entry(l, rh_block_t, list); in rh_alloc_fixed()
621 blk2 = list_entry(l, rh_block_t, list); in rh_free()
665 blk = list_entry(l, rh_block_t, list); in rh_get_stats()
688 blk2 = list_entry(l, rh_block_t, list); in rh_set_owner()
/openbmc/linux/fs/nilfs2/
H A Dsegbuf.h86 list_entry((head), struct nilfs_segment_buffer, sb_list)
98 (list_entry((head)->next, struct buffer_head, b_assoc_buffers))
100 (list_entry((bh)->b_assoc_buffers.next, struct buffer_head, \
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dclient-buffers.c105 rb = list_entry(cl->free_rb_list.list.next, struct ishtp_cl_rb, in ishtp_cl_free_rx_ring()
115 rb = list_entry(cl->in_process_list.list.next, in ishtp_cl_free_rx_ring()
138 tx_buf = list_entry(cl->tx_free_list.list.next, in ishtp_cl_free_tx_ring()
150 tx_buf = list_entry(cl->tx_list.list.next, in ishtp_cl_free_tx_ring()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_init.c144 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_init()
216 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
293 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
353 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_shutdown()
393 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarting_notify()
408 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarted_notify()
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defclib.c67 list_for_each_entry_safe(frame, next, &efc->pend_frames, list_entry) { in efc_purge_pending()
68 list_del(&frame->list_entry); in efc_purge_pending()
H A Defc_domain.c523 list_entry) { in __efc_domain_allocated()
580 &domain->nport_list, list_entry) { in __efc_domain_wait_attach()
652 list_entry) { in __efc_domain_ready()
799 list_entry) { in __efc_domain_wait_domain_lost()
878 struct efc_hw_sequence, list_entry); in efct_domain_process_pending()
879 list_del(&seq->list_entry); in efct_domain_process_pending()
918 INIT_LIST_HEAD(&seq->list_entry); in efc_dispatch_frame()
919 list_add_tail(&seq->list_entry, &efc->pend_frames); in efc_dispatch_frame()
1005 INIT_LIST_HEAD(&seq->list_entry); in efc_domain_dispatch_frame()
1006 list_add_tail(&seq->list_entry, &node->pend_frames); in efc_domain_dispatch_frame()
/openbmc/linux/drivers/hid/
H A Dhid-lgff.c61 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play()
103 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_set_autocenter()
128 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lgff_init()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_arfs.h17 struct hlist_node list_entry; member
33 struct hlist_node list_entry; member
/openbmc/linux/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c68 struct list_head list_entry; member
192 &thread->task_busy_list, typeof(*task), list_entry); in cmdq_task_insert_into_thread()
220 list_del(&task->list_entry); in cmdq_task_exec_done()
232 struct cmdq_task, list_entry); in cmdq_task_handle_error()
268 list_entry) { in cmdq_thread_irq_handler()
381 INIT_LIST_HEAD(&task->list_entry); in cmdq_mbox_send_data()
425 list_move_tail(&task->list_entry, &thread->task_busy_list); in cmdq_mbox_send_data()
454 list_entry) { in cmdq_mbox_shutdown()
490 list_entry) { in cmdq_mbox_flush()
494 list_del(&task->list_entry); in cmdq_mbox_flush()
/openbmc/linux/arch/um/drivers/
H A Dport_kern.c136 port = list_entry(ele, struct port_list, list); in port_work_proc()
167 port = list_entry(ele, struct port_list, list); in port_data()
238 conn = list_entry(port->connections.next, struct connection, in port_wait()
297 port = list_entry(ele, struct port_list, list); in free_port()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_iwarp.h39 struct list_head list_entry; member
113 struct list_head list_entry; member
145 struct list_head list_entry; member
H A Dqed_ll2.c317 struct qed_ll2_tx_packet, list_entry); in qed_ll2_txq_flush()
321 list_del(&p_pkt->list_entry); in qed_ll2_txq_flush()
375 struct qed_ll2_tx_packet, list_entry); in qed_ll2_txq_completion()
382 list_del(&p_pkt->list_entry); in qed_ll2_txq_completion()
493 struct qed_ll2_rx_packet, list_entry); in qed_ll2_rxq_handle_completion()
501 list_del(&p_pkt->list_entry); in qed_ll2_rxq_handle_completion()
723 list_del(&p_pkt->list_entry); in qed_ll2_lb_rxq_handler()
916 list_del(&p_pkt->list_entry); in qed_ll2_lb_txq_completion()
1734 list_entry); in qed_ll2_post_rx_buffer_notify_fw()
1822 list_del(&p_curp->list_entry); in qed_ll2_post_rx_buffer()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_memory.c58 struct efi_mem_list *mema = list_entry(a, struct efi_mem_list, link); in efi_mem_cmp()
59 struct efi_mem_list *memb = list_entry(b, struct efi_mem_list, link); in efi_mem_cmp()
91 lmem = list_entry(lhandle, struct efi_mem_list, link); in efi_mem_sort()
243 lmem = list_entry(lhandle, struct efi_mem_list, link); in efi_add_memory_map()
305 struct efi_mem_list *lmem = list_entry(lhandle, in efi_find_free_memory()
542 lmem = list_entry(lhandle, struct efi_mem_list, link); in efi_get_memory_map()
/openbmc/linux/arch/sh/kernel/
H A Dunwinder.c73 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder()
90 o = list_entry(tmp, struct unwinder, list); in unwinder_enqueue()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_host.h59 return list_entry(q->next, struct musb_qh, ring); in first_qh()
83 return list_entry(queue->next, struct urb, urb_list); in next_urb()
/openbmc/u-boot/drivers/mmc/
H A Dmmc_legacy.c43 m = list_entry(entry, struct mmc, link); in find_mmc_device()
77 m = list_entry(entry, struct mmc, link); in mmc_do_preinit()
109 m = list_entry(entry, struct mmc, link); in print_mmc_devices()
/openbmc/linux/net/ceph/
H A Dpagelist.c32 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail()
159 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate()
166 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate()
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-vbi.c106 buf = list_entry(q->active.next, struct cx88_buffer, list); in cx8800_restart_vbi_queue()
186 prev = list_entry(q->active.prev, struct cx88_buffer, list); in buffer_queue()
198 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming()
217 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
/openbmc/linux/tools/perf/util/
H A Dordered-events.c48 last = list_entry(p, struct ordered_event, list); in queue_event()
58 last = list_entry(p, struct ordered_event, list); in queue_event()
141 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
259 oe->last = list_entry(head->prev, struct ordered_event, list); in do_flush()
297 first = list_entry(head->next, struct ordered_event, list); in __ordered_events__flush()
/openbmc/linux/include/linux/
H A Dpnp.h220 #define global_to_pnp_card(n) list_entry(n, struct pnp_card, global_list)
221 #define protocol_to_pnp_card(n) list_entry(n, struct pnp_card, protocol_list)
273 #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list)
274 #define card_to_pnp_dev(n) list_entry(n, struct pnp_dev, card_list)
275 #define protocol_to_pnp_dev(n) list_entry(n, struct pnp_dev, protocol_list)
432 #define to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list)

12345678910>>...40