Home
last modified time | relevance | path

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

12345678910>>...26

/drivers/gpu/drm/radeon/
Dmkregtable.c352 #define list_entry(ptr, type, member) \ macro
364 list_entry((ptr)->next, type, member)
412 for (pos = list_entry((head)->next, typeof(*pos), member); \
414 pos = list_entry(pos->member.next, typeof(*pos), member))
423 for (pos = list_entry((head)->prev, typeof(*pos), member); \
425 pos = list_entry(pos->member.prev, typeof(*pos), member))
436 ((pos) ? : list_entry(head, typeof(*pos), member))
448 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
450 pos = list_entry(pos->member.next, typeof(*pos), member))
462 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \
[all …]
/drivers/crypto/qat/qat_common/
Dadf_init.c157 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
168 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
188 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
199 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
252 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
266 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
305 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
317 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
348 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarting_notify()
356 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarting_notify()
[all …]
Dadf_cfg.c68 list_entry(v, struct adf_cfg_section, list); in qat_dev_cfg_show()
73 list_entry(list, struct adf_cfg_key_val, list); in qat_dev_cfg_show()
199 list_entry(list_ptr, struct adf_cfg_key_val, list); in adf_cfg_keyval_del_all()
211 ptr = list_entry(list, struct adf_cfg_section, list); in adf_cfg_section_del_all()
225 list_entry(list, struct adf_cfg_key_val, list); in adf_cfg_key_value_find()
240 list_entry(list, struct adf_cfg_section, list); in adf_cfg_sec_find()
Dadf_dev_mgr.c77 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_add_dev()
140 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_pci_to_accel_dev()
157 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_get_dev_by_id()
/drivers/usb/host/
Dfhci-q.c79 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed()
91 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_remove_td_from_frame()
104 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_peek_td_from_frame()
116 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed()
121 ed->td_head = list_entry(ed->td_list.next, struct td, in fhci_remove_td_from_ed()
136 td = list_entry(p_list->done_list.next, struct td, node); in fhci_remove_td_from_done_list()
153 ed->td_head = list_entry(ed->td_list.next, struct td, node); in fhci_move_td_from_ed_to_done_list()
178 ed->td_head = list_entry(ed->td_list.next, struct td, node); in free_urb_priv()
Duhci-q.c54 lqh = list_entry(uhci->skel_async_qh->node.prev, in uhci_fsbr_on()
66 lqh = list_entry(uhci->skel_async_qh->node.prev, in uhci_fsbr_off()
167 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td_in_frame_list()
198 ntd = list_entry(td->fl_list.next, in uhci_remove_td_from_frame_list()
207 ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_td_from_frame_list()
224 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_tds_from_frame()
339 purbp = list_entry(urbp->node.prev, struct urb_priv, node); in uhci_cleanup_queue()
341 ptd = list_entry(purbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue()
343 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue()
361 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_cleanup_queue()
[all …]
/drivers/vme/
Dvme.c58 return list_entry(resource->entry, struct vme_master_resource, in find_bridge()
62 return list_entry(resource->entry, struct vme_slave_resource, in find_bridge()
66 return list_entry(resource->entry, struct vme_dma_resource, in find_bridge()
70 return list_entry(resource->entry, struct vme_lm_resource, in find_bridge()
248 slave_image = list_entry(slave_pos, in vme_slave_request()
308 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_set()
342 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_get()
363 slave_image = list_entry(resource->entry, struct vme_slave_resource, in vme_slave_free()
404 master_image = list_entry(master_pos, in vme_master_request()
467 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_set()
[all …]
/drivers/scsi/arm/
Dqueue.c120 q = list_entry(l, QE_t, list); in __queue_add()
145 q = list_entry(ent, QE_t, list); in __queue_remove()
169 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude()
218 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag()
244 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target()
268 QE_t *q = list_entry(l, QE_t, list); in queue_probetgtlun()
294 QE_t *q = list_entry(l, QE_t, list); in queue_remove_cmd()
/drivers/usb/mon/
Dmon_main.c45 m1 = list_entry(p, struct mon_bus, bus_link); in mon_reader_add()
89 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_submit()
115 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_submit_error()
141 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_complete()
168 mbus = list_entry(p, struct mon_bus, bus_link); in mon_stop()
337 mbus = list_entry(p, struct mon_bus, bus_link); in mon_bus_lookup()
392 mbus = list_entry(p, struct mon_bus, bus_link); in mon_exit()
/drivers/isdn/capi/
Dcapilib.c110 np = list_entry(l, struct capilib_ncci, list); in capilib_free_ncci()
131 np = list_entry(l, struct capilib_ncci, list); in capilib_release_appl()
148 np = list_entry(l, struct capilib_ncci, list); in capilib_release()
163 np = list_entry(l, struct capilib_ncci, list); in capilib_data_b3_req()
186 np = list_entry(l, struct capilib_ncci, list); in capilib_data_b3_conf()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c184 peer = list_entry (tmp, ksock_peer_t, ksnp_list); in ksocknal_find_peer_locked()
265 peer = list_entry (ptmp, ksock_peer_t, ksnp_list); in ksocknal_get_peer_info()
303 route = list_entry(rtmp, ksock_route_t, in ksocknal_get_peer_info()
382 route2 = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_add_route_locked()
398 conn = list_entry(tmp, ksock_conn_t, ksnc_list); in ksocknal_add_route_locked()
421 conn = list_entry(ctmp, ksock_conn_t, ksnc_list); in ksocknal_del_route_locked()
490 route2 = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_add_peer()
525 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
538 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
547 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
[all …]
/drivers/char/agp/
Disoch.c24 struct agp_3_5_dev *cur, *n = list_entry(new, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
28 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
45 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_sort()
136 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_isochronous_node_enable()
303 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_nonisochronous_node_enable()
393 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
461 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
/drivers/w1/
Dw1_family.c46 f = list_entry(ent, struct w1_family, family_entry); in w1_register_family()
77 f = list_entry(ent, struct w1_family, family_entry); in w1_unregister_family()
108 f = list_entry(ent, struct w1_family, family_entry); in w1_family_registered()
/drivers/staging/lustre/lnet/lnet/
Dconfig.c87 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_net_unique()
353 ni = list_entry(nilist->next, lnet_ni_t, ni_list); in lnet_parse_networks()
410 ltb = list_entry(tbs->next, lnet_text_buf_t, ltb_list); in lnet_free_text_bufs()
691 ltb = list_entry(tmp1, lnet_text_buf_t, ltb_list); in lnet_parse_route()
731 ltb = list_entry(tmp1, lnet_text_buf_t, ltb_list); in lnet_parse_route()
736 ltb = list_entry(tmp2, lnet_text_buf_t, ltb_list); in lnet_parse_route()
772 ltb = list_entry(tbs->next, lnet_text_buf_t, ltb_list); in lnet_parse_route_tbs()
916 tb = list_entry(nets->next, lnet_text_buf_t, ltb_list); in lnet_splitnets()
952 tb2 = list_entry(t, lnet_text_buf_t, ltb_list); in lnet_splitnets()
1015 tb = list_entry(raw_entries.next, lnet_text_buf_t, in lnet_match_networks()
[all …]
Drouter.c189 lnet_peer_t *rtr = list_entry(pos, lnet_peer_t, in lnet_rtr_addref_locked()
238 rnet = list_entry(tmp, lnet_remotenet_t, lrn_list); in lnet_find_net_locked()
262 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_shuffle_seed()
379 lnet_route_t *route2 = list_entry(e, lnet_route_t, lr_list); in lnet_add_route()
434 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_check_routes()
442 route = list_entry(e2, lnet_route_t, in lnet_check_routes()
500 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_del_route()
507 route = list_entry(e2, lnet_route_t, lr_list); in lnet_del_route()
572 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_get_route()
575 route = list_entry(e2, lnet_route_t, in lnet_get_route()
[all …]
/drivers/hid/
Dhid-lg3ff.c65 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play()
103 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter()
132 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg3ff_init()
Dhid-lg4ff.c191 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_play()
236 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_autocenter_default()
313 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_autocenter_ffex()
332 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_range_g25()
352 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_range_dfp()
406 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_switch_native()
480 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in lg4ff_set_leds()
561 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg4ff_init()
Dhid-lgff.c73 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play()
115 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_set_autocenter()
130 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lgff_init()
/drivers/media/platform/vivid/
Dvivid-kthread-out.c73 vid_out_buf = list_entry(dev->vid_out_active.next, in vivid_thread_vid_out_tick()
80 vbi_out_buf = list_entry(dev->vbi_out_active.next, in vivid_thread_vid_out_tick()
274 buf = list_entry(dev->vid_out_active.next, in vivid_stop_generating_vid_out()
287 buf = list_entry(dev->vbi_out_active.next, in vivid_stop_generating_vid_out()
/drivers/staging/lustre/lustre/ptlrpc/
Drecover.c110 req = list_entry(tmp, struct ptlrpc_request, in ptlrpc_replay_next()
122 req = list_entry(imp->imp_replay_cursor, in ptlrpc_replay_next()
143 req = list_entry(tmp, struct ptlrpc_request, in ptlrpc_replay_next()
220 req = list_entry(tmp, struct ptlrpc_request, rq_list); in ptlrpc_wake_delayed()
/drivers/scsi/bfa/
Dbfad_im.h84 struct list_head list_entry; member
108 struct list_head list_entry; member
183 list_entry) { \
/drivers/gpu/drm/nouveau/nvif/
Dlist.h261 #define list_entry(ptr, type, member) \ macro
277 list_entry((ptr)->next, type, member)
292 list_entry((ptr)->prev, type, member)
/drivers/media/v4l2-core/
Dvideobuf-dvb.c56 buf = list_entry(dvb->dvbq.stream.next, in videobuf_dvb_thread()
280 fe = list_entry(list, struct videobuf_dvb_frontend, felist); in videobuf_dvb_register_bus()
315 fe = list_entry(list, struct videobuf_dvb_frontend, felist); in videobuf_dvb_get_frontend()
338 fe = list_entry(list, struct videobuf_dvb_frontend, felist); in videobuf_dvb_find_frontend()
379 fe = list_entry(list, struct videobuf_dvb_frontend, felist); in videobuf_dvb_dealloc_frontends()
/drivers/ide/
Dide-scan-pci.c61 d = list_entry(l, struct pci_driver, node); in ide_scan_pcidev()
101 d = list_entry(l, struct pci_driver, node); in ide_scan_pcibus()
/drivers/md/
Ddm-stats.c41 struct list_head list_entry; member
209 s = container_of(stats->list.next, struct dm_stat, list_entry); in dm_stats_cleanup()
210 list_del(&s->list_entry); in dm_stats_cleanup()
315 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()
329 list_add_tail_rcu(&s->list_entry, l); in dm_stats_create()
348 list_for_each_entry(s, &stats->list, list_entry) { in __dm_stats_find()
371 list_del_rcu(&s->list_entry); in dm_stats_delete()
404 list_for_each_entry(s, &stats->list, list_entry) { in dm_stats_list()
563 list_for_each_entry_rcu(s, &stats->list, list_entry) in dm_stats_account_io()

12345678910>>...26