Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/linux-2.4.37.9/drivers/ieee1394/
Dhighlevel.c62 hi = list_entry(lh, struct hl_host_info, list); in hl_get_hostinfo()
196 hi = list_entry(lh, struct hl_host_info, list); in hpsb_get_hostinfo_bykey()
219 hi = list_entry(lh, struct hl_host_info, list); in hpsb_get_host_bykey()
248 struct hpsb_host *host = list_entry(lh, struct hpsb_host, host_list); in hpsb_register_highlevel()
265 as = list_entry(lh, struct hpsb_address_serve, addr_list); in hpsb_unregister_highlevel()
278 struct hpsb_host *host = list_entry(lh, struct hpsb_host, host_list); in hpsb_unregister_highlevel()
315 while (list_entry(entry, struct hpsb_address_serve, as_list)->end in hpsb_register_addrspace()
317 if (list_entry(entry->next, struct hpsb_address_serve, as_list) in hpsb_register_addrspace()
347 as = list_entry(entry, struct hpsb_address_serve, addr_list); in hpsb_unregister_addrspace()
399 hl = list_entry(entry, struct hpsb_highlevel, hl_list); in highlevel_add_host()
[all …]
Draw1394.c222 hi = list_entry(lh, struct host_info, list); in find_host_info()
275 fi = list_entry(lh, struct file_info, list); in host_reset()
319 fi = list_entry(lh, struct file_info, list); in iso_receive()
360 req = list_entry(lh, struct pending_request, list); in iso_receive()
388 fi = list_entry(lh, struct file_info, list); in fcp_request()
429 req = list_entry(lh, struct pending_request, list); in fcp_request()
467 req = list_entry(lh, struct pending_request, list); in raw1394_read()
532 hi = list_entry(lh, struct host_info, list); in state_initialized()
562 hi = list_entry(lh, struct host_info, list); in state_initialized()
920 fi = list_entry(lh, struct file_info, list); in arm_read()
[all …]
/linux-2.4.37.9/include/linux/
Dlist.h187 #define list_entry(ptr, type, member) \ macro
224 for (pos = list_entry((head)->next, typeof(*pos), member), \
227 pos = list_entry(pos->member.next, typeof(*pos), member), \
238 for (pos = list_entry((head)->next, typeof(*pos), member), \
239 n = list_entry(pos->member.next, typeof(*pos), member); \
241 pos = n, n = list_entry(n->member.next, typeof(*n), member))
251 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
254 pos = list_entry(pos->member.next, typeof(*pos), member), \
Dnfs_page.h121 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
127 return list_entry(head, struct nfs_page, wb_hash); in nfs_inode_wb_entry()
147 return list_entry(head, struct nfs_page, wb_lru); in nfs_lru_entry()
/linux-2.4.37.9/drivers/acorn/scsi/
Dqueue.c121 q = list_entry(l, QE_t, list); in __queue_add()
147 q = list_entry(ent, QE_t, list); in __queue_remove()
172 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude()
219 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag()
245 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target()
269 QE_t *q = list_entry(l, QE_t, list); in queue_probetgtlun()
295 QE_t *q = list_entry(l, QE_t, list); in queue_remove_cmd()
/linux-2.4.37.9/drivers/hotplug/
Dibmphp_ebda.c153 ptr = list_entry (ptr1, struct bus_info, bus_info_list); in print_bus_info()
176 ptr = list_entry (ptr1, struct rio_detail, rio_detail_list); in print_lo_info()
193 ptr = list_entry (ptr1, struct rio_detail, rio_detail_list); in print_vg_info()
210 ptr = list_entry (ptr1, struct ebda_pci_rsrc, ebda_pci_rsrc_list); in print_ebda_pci_rsrc()
222 ptr = list_entry (ptr1, struct slot, ibm_slot_list); in print_ibm_slot()
233 ptr = list_entry (ptr1, struct opt_rio, opt_rio_list); in print_opt_vg()
249 hpc_ptr = list_entry (ptr1, struct controller, ebda_hpc_list); in print_ebda_hpc()
505 ptr = list_entry (ptr1, struct opt_rio, opt_rio_list); in search_opt_vg()
519 rio_detail_ptr = list_entry (list_head_ptr, struct rio_detail, rio_detail_list); in combine_wpg_for_chassis()
548 ptr = list_entry (ptr1, struct opt_rio_lo, opt_rio_lo_list); in search_opt_lo()
[all …]
/linux-2.4.37.9/net/sctp/
Doutqueue.c234 transport = list_entry(pos, struct sctp_transport, transports); in sctp_outq_teardown()
236 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
247 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
256 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
265 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
369 nchunk = list_entry(new, struct sctp_chunk, transmitted_list); in sctp_insert_list()
373 lchunk = list_entry(pos, struct sctp_chunk, transmitted_list); in sctp_insert_list()
395 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_retransmit_mark()
544 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_flush_rtx()
625 chunk1 = list_entry(lchunk1, struct sctp_chunk, in sctp_outq_flush_rtx()
[all …]
Dbind_addr.c77 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_bind_addr_copy()
90 addr = list_entry(pos, struct sctp_sockaddr_entry, in sctp_bind_addr_copy()
126 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_bind_addr_clean()
180 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_del_bind_addr()
234 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_bind_addrs_to_raw()
302 laddr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_bind_addr_match()
326 laddr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_find_unmatch_addr()
Dassociola.c354 transport = list_entry(pos, struct sctp_transport, transports); in sctp_association_free()
540 transport = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_del_peer()
554 transport = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_del_peer()
580 t = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_lookup_paddr()
640 t = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_control_transport()
780 chunk = list_entry(entry, struct sctp_chunk, transmitted_list); in sctp_assoc_lookup_tsn()
790 transport = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_lookup_tsn()
795 chunk = list_entry(entry, struct sctp_chunk, in sctp_assoc_lookup_tsn()
949 trans = list_entry(pos, struct sctp_transport, transports); in sctp_assoc_update()
972 trans = list_entry(pos, struct sctp_transport, in sctp_assoc_update()
[all …]
/linux-2.4.37.9/drivers/sound/emu10k1/
Dtimer.c46 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_irqhandler()
91 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_install()
122 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_uninstall()
139 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_uninstall()
/linux-2.4.37.9/kernel/
Dpm.c123 struct pm_dev *dev = list_entry(entry, struct pm_dev, entry); in pm_unregister_all()
193 struct pm_dev *dev = list_entry(entry, struct pm_dev, entry); in pm_undo_all()
239 struct pm_dev *dev = list_entry(entry, struct pm_dev, entry); in pm_send_all()
279 struct pm_dev *dev = list_entry(entry, struct pm_dev, entry); in pm_find()
/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-vtbl.h123 #define zft_head_vtbl list_entry(zft_vtbl.next, zft_volinfo, node)
124 #define zft_eom_vtbl list_entry(zft_vtbl.prev, zft_volinfo, node)
125 #define zft_last_vtbl list_entry(zft_eom_vtbl->node.prev, zft_volinfo, node)
126 #define zft_first_vtbl list_entry(zft_head_vtbl->node.next, zft_volinfo, node)
/linux-2.4.37.9/fs/jffs2/
Dsuper.c122 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
132 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
142 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
152 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
162 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
172 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
182 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_statfs()
/linux-2.4.37.9/drivers/usb/host/
Duhci.c202 ltd = list_entry(skeltd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td()
235 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td_frame_list()
268 ntd = list_entry(td->fl_list.next, struct uhci_td, fl_list); in uhci_remove_td()
275 ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_td()
306 td = list_entry(tmp, struct uhci_td, list); in uhci_insert_tds_in_qh()
316 td = list_entry(tmp, struct uhci_td, list); in uhci_insert_tds_in_qh()
387 lqh = list_entry(skelqh->list.prev, struct uhci_qh, list); in _uhci_insert_qh()
394 list_entry(tmp, struct urb_priv, queue_list); in _uhci_insert_qh()
406 list_entry(tmp, struct urb_priv, queue_list); in _uhci_insert_qh()
442 pqh = list_entry(qh->list.prev, struct uhci_qh, list); in uhci_remove_qh()
[all …]
Dusb-uhci.c148 qh = list_entry (q, uhci_desc_t, horizontal); in clean_descs()
296 prev = list_entry (new->vertical.prev, uhci_desc_t, vertical); in insert_td()
320 next = list_entry (td->horizontal.next, uhci_desc_t, horizontal); in insert_td_horizontal()
338 next = list_entry (element->vertical.next, uhci_desc_t, vertical); in unlink_td()
342 prev = list_entry (element->horizontal.prev, uhci_desc_t, horizontal); in unlink_td()
345 prev = list_entry (element->vertical.prev, uhci_desc_t, vertical); in unlink_td()
408 old = list_entry (pos->horizontal.prev, uhci_desc_t, horizontal); in insert_qh()
416 old = list_entry (pos->horizontal.next, uhci_desc_t, horizontal); in insert_qh()
437 prev = list_entry (element->horizontal.prev, uhci_desc_t, horizontal); in unlink_qh()
441list_entry (element->horizontal.next, uhci_desc_t, horizontal),le32_to_cpu(element->hw.qh.head) &~… in unlink_qh()
[all …]
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_wrr.c62 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_gcd_weight()
73 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_gcd_weight()
94 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_max_weight()
195 dest = list_entry(mark->cl, struct ip_vs_dest, n_list); in ip_vs_wrr_schedule()
Dip_vs_lblc.c253 en = list_entry(e, struct ip_vs_lblc_entry, list); in ip_vs_lblc_get()
279 en = list_entry(l->next, in ip_vs_lblc_flush()
301 en = list_entry(e->next, in ip_vs_lblc_full_check()
360 en = list_entry(e->next, in ip_vs_lblc_check_expire()
475 least = list_entry(e, struct ip_vs_dest, n_list); in __ip_vs_wlc_schedule()
489 dest = list_entry(e, struct ip_vs_dest, n_list); in __ip_vs_wlc_schedule()
523 d = list_entry(e, struct ip_vs_dest, n_list); in is_overloaded()
Dip_vs_ctl.c349 svc = list_entry(e, struct ip_vs_service, s_list); in __ip_vs_service_get()
379 svc = list_entry(e, struct ip_vs_service, f_list); in __ip_vs_svc_fwm_get()
529 dest = list_entry(e, struct ip_vs_dest, d_list); in ip_vs_lookup_real_service()
558 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_lookup_dest()
591 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_trash_get_dest()
645 dest = list_entry(l->next, struct ip_vs_dest, n_list); in ip_vs_trash_cleanup()
1199 dest = list_entry(l->next, struct ip_vs_dest, n_list); in __ip_vs_del_service()
1263 svc = list_entry(l->next,struct ip_vs_service,s_list); in ip_vs_flush()
1281 svc = list_entry(l->next,struct ip_vs_service,f_list); in ip_vs_flush()
1307 dest = list_entry(l, struct ip_vs_dest, n_list); in ip_vs_zero_service()
[all …]
/linux-2.4.37.9/arch/m68k/sun3/
Dsun3dvma.c89 hole = list_entry(cur, struct hole, list); in print_holes()
111 hole = list_entry(cur, struct hole, list); in refill()
142 ret = list_entry(hole_cache.next, struct hole, list); in rmcache()
167 hole = list_entry(cur, struct hole, list); in get_baddr()
221 hole = list_entry(cur, struct hole, list); in free_baddr()
/linux-2.4.37.9/drivers/usb/
Dauerchain.c67 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_complete()
111 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_submit_urb_list()
192 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_unlink_urb()
250 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_unlink_all()
294 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_free()
340 acep = list_entry(tmp, struct auerchainelement, list); in auerchain_setup()
/linux-2.4.37.9/drivers/s390/
Ds390dyn.c26 devreg_t *pdevreg = list_entry(p, devreg_t, list); in s390_device_register_internal()
75 devreg_t *pdevreg = list_entry(p, devreg_t, list); in s390_device_unregister_internal()
105 devreg_t *pdevreg = list_entry(p, devreg_t, list); in s390_search_devreg_internal()
/linux-2.4.37.9/arch/ppc/kernel/
Docp.c116 dev = list_entry(deventry, struct ocp_device, link); in ocp_bind_drivers()
121 drv = list_entry(drventry, struct ocp_driver, link); in ocp_bind_drivers()
221 dev = list_entry(entry, struct ocp_device, link); in ocp_unregister_driver()
247 dev = list_entry(entry, struct ocp_device, link); in __ocp_find_device()
457 dev = list_entry(entry, struct ocp_device, link); in ocp_pm_callback()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_crtc2.c31 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_getcolreg()
44 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_setcolreg()
337 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_open()
356 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_release()
369 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_get_fix()
398 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_get_var()
409 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_set_var()
511 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_get_cmap()
530 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_set_cmap()
554 #define m2info (list_entry(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_pan_display()
[all …]
/linux-2.4.37.9/fs/intermezzo/
Dpsdev.c106 req = list_entry(lh, struct upc_req, rq_chain); in izo_psdev_setpid()
211 tmp = list_entry(lh, struct upc_req , rq_chain); in presto_psdev_write()
268 req = list_entry((channel->uc_pending.next), struct upc_req, rq_chain); in presto_psdev_read()
342 req = list_entry(lh, struct upc_req, rq_chain); in presto_psdev_release()
355 req = list_entry(lh, struct upc_req, rq_chain); in presto_psdev_release()
435 req = list_entry(lh, struct upc_req, rq_chain); in presto_psdev_cleanup()
449 req = list_entry(lh, struct upc_req, rq_chain); in presto_psdev_cleanup()
/linux-2.4.37.9/fs/
Dinode.c375 __sync_one(list_entry(tmp, struct inode, i_list), 0); in sync_list()
382 struct inode *inode = list_entry(tmp, struct inode, i_list); in wait_on_locked()
397 inode = list_entry(tmp, struct inode, i_list); in try_to_sync_unused_list()
461 struct super_block *s = list_entry(p,struct super_block,s_list); in get_super_to_sync()
653 inode = list_entry(head->next, struct inode, i_list); in dispose_list()
688 inode = list_entry(tmp, struct inode, i_list); in invalidate_list()
790 #define INODE(entry) (list_entry(entry, struct inode, i_list))
941 inode = list_entry(tmp, struct inode, i_hash); in find_inode()
1416 inode = list_entry(act_head, struct inode, i_list); in remove_dquot_ref()
1421 inode = list_entry(act_head, struct inode, i_list); in remove_dquot_ref()
[all …]

12345678910>>...12