Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 200 of 1057) sorted by relevance

123456

/linux-4.4.14/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 …]
Dradeon_sa.c161 sa_bo = list_entry(sa_manager->hole->next, struct radeon_sa_bo, olist); in radeon_sa_bo_try_free()
175 return list_entry(hole, struct radeon_sa_bo, olist)->eoffset; in radeon_sa_bo_hole_soffset()
185 return list_entry(hole->next, struct radeon_sa_bo, olist)->soffset; in radeon_sa_bo_hole_eoffset()
/linux-4.4.14/scripts/kconfig/
Dlist.h39 #define list_entry(ptr, type, member) \ macro
49 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 pos = list_entry(pos->member.next, typeof(*pos), member))
61 for (pos = list_entry((head)->next, typeof(*pos), member), \
62 n = list_entry(pos->member.next, typeof(*pos), member); \
64 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/linux-4.4.14/sound/pci/ctxfi/
Dctimap.c38 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
57 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add()
58 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
90 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_delete()
91 next_ent = list_entry(next, struct imapper, list); in input_mapper_delete()
108 entry = list_entry(pos, struct imapper, list); in free_input_mapper_list()
Dctvmem.c47 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block()
90 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block()
111 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block()
112 pre_ent = list_entry(pre, struct ct_vm_block, list); in put_vm_block()
232 entry = list_entry(pos, struct ct_vm_block, list); in ct_vm_destroy()
238 entry = list_entry(pos, struct ct_vm_block, list); in ct_vm_destroy()
/linux-4.4.14/tools/firewire/
Dlist.h46 #define list_entry(link, type, member) \ macro
50 list_entry((list)->next, type, member)
53 list_entry((list)->prev, type, member)
56 list_entry((elm)->member.next, typeof(*elm), member)
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma_list.c31 struct scif_window *prev = list_entry(head, struct scif_window, list); in scif_insert_tcw()
37 curr = list_entry(head->prev, struct scif_window, list); in scif_insert_tcw()
44 curr = list_entry(item, struct scif_window, list); in scif_insert_tcw()
65 curr = list_entry(item, struct scif_window, list); in scif_insert_window()
106 window = list_entry(item, struct scif_window, list); in scif_query_tcw()
155 window = list_entry(item, struct scif_window, list); in scif_query_window()
243 window = list_entry(item, struct scif_window, list); in scif_unmap_all_windows()
269 window = list_entry(item, struct scif_window, list); in scif_unregister_all_windows()
Dscif_epd.c86 ep = list_entry(pos, struct scif_endpt, list); in scif_find_listen_ep()
103 ep = list_entry(pos, struct scif_endpt, list); in scif_cleanup_zombie_epd()
271 tmpep = list_entry(pos, struct scif_endpt, list); in scif_discnct()
Dscif_debugfs.c102 window = list_entry(item, struct scif_window, list); in scif_display_all_windows()
114 ep = list_entry(pos, struct scif_endpt, list); in scif_rma_test()
Dscif_nm.c35 ep = list_entry(pos, struct scif_endpt, list); in scif_invalidate_ep()
44 ep = list_entry(pos, struct scif_endpt, list); in scif_invalidate_ep()
Dscif_mmap.c84 info = list_entry(item, struct scif_vma_info, list); in __scif_zap_mmaps()
106 ep = list_entry(item, struct scif_endpt, list); in _scif_zap_mmaps()
137 window = list_entry(pos, struct scif_window, list); in __scif_cleanup_rma_for_zombies()
160 ep = list_entry(item, struct scif_endpt, list); in scif_cleanup_rma_for_zombies()
195 info = list_entry(item, struct scif_vma_info, list); in scif_delete_vma()
Dscif_api.c118 tmpep = list_entry(pos, struct scif_endpt, list); in scif_disconnect_ep()
135 tmpep = list_entry(pos, struct scif_endpt, list); in scif_disconnect_ep()
196 tmpep = list_entry(pos, struct scif_endpt, list); in scif_close()
230 tmpep = list_entry(pos, struct scif_endpt, list); in scif_close()
241 tmpep = list_entry(pos, struct scif_endpt, in scif_close()
251 tmpep = list_entry(pos, in scif_close()
259 tmpep = list_entry(pos, in scif_close()
/linux-4.4.14/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 …]
Dfhci-mem.c46 td = list_entry(fhci->empty_tds.next, struct td, node); in get_empty_td()
70 ed = list_entry(fhci->empty_eds.next, struct ed, node); in fhci_get_empty_ed()
Dehci-q.c126 qtd = list_entry(qh->qtd_list.next, struct ehci_qtd, qtd_list); in qh_refresh()
325 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qh_completions()
489 last = list_entry (qtd->qtd_list.prev, in qh_completions()
563 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qtd_list_free()
1038 qtd = list_entry (qtd_list->next, struct ehci_qtd, in qh_append_tds()
1080 qtd = list_entry (qh->qtd_list.prev, in qh_append_tds()
1113 qtd = list_entry(qtd_list->next, struct ehci_qtd, qtd_list); in submit_async()
Duhci-debug.c219 struct urb_priv *urbp = list_entry(qh->queue.next, in uhci_show_qh()
221 struct uhci_td *td = list_entry(urbp->td_list.next, in uhci_show_qh()
433 td = list_entry(tmp, struct uhci_td, fl_list); in uhci_sprint_schedule()
509 qh = list_entry(tmp, struct uhci_qh, node); in uhci_sprint_schedule()
Dehci-timer.c287 ehci->last_itd_to_free = list_entry( in start_free_itds()
290 ehci->last_sitd_to_free = list_entry( in start_free_itds()
/linux-4.4.14/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()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c83 list_entry(itr, struct vf_id_map, list); in adf_find_vf()
97 list_entry(itr, struct vf_id_map, list); in adf_get_vf_real_id()
118 map = list_entry(ptr, struct vf_id_map, list); in adf_clean_vf_map()
146 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index()
188 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_add_dev()
323 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_pci_to_accel_dev()
349 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_get_dev_by_id()
379 list_entry(itr, struct vf_id_map, list); in adf_get_num_dettached_vfs()
Dadf_init.c179 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_init()
226 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
281 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
341 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_shutdown()
378 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarting_notify()
393 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarted_notify()
Dadf_cfg.c69 list_entry(v, struct adf_cfg_section, list); in qat_dev_cfg_show()
74 list_entry(list, struct adf_cfg_key_val, list); in qat_dev_cfg_show()
205 list_entry(list_ptr, struct adf_cfg_key_val, list); in adf_cfg_keyval_del_all()
217 ptr = list_entry(list, struct adf_cfg_section, list); in adf_cfg_section_del_all()
231 list_entry(list, struct adf_cfg_key_val, list); in adf_cfg_key_value_find()
246 list_entry(list, struct adf_cfg_section, list); in adf_cfg_sec_find()
Dqat_crypto.c74 inst = list_entry(list_ptr, struct qat_crypto_instance, list); in qat_crypto_free_instances()
108 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_crypto_get_instance_node()
128 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_crypto_get_instance_node()
145 tmp_inst = list_entry(itr, struct qat_crypto_instance, list); in qat_crypto_get_instance_node()
/linux-4.4.14/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()
280 slave_image = list_entry(slave_pos, in vme_slave_request()
340 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_set()
374 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_get()
395 slave_image = list_entry(resource->entry, struct vme_slave_resource, in vme_slave_free()
436 master_image = list_entry(master_pos, in vme_master_request()
499 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_set()
[all …]
/linux-4.4.14/net/x25/
Dx25_route.c41 rt = list_entry(entry, struct x25_route, node); in x25_add_route()
92 rt = list_entry(entry, struct x25_route, node); in x25_del_route()
117 rt = list_entry(entry, struct x25_route, node); in x25_route_device_down()
162 rt = list_entry(entry, struct x25_route, node); in x25_get_route()
222 rt = list_entry(entry, struct x25_route, node); in x25_route_free()
Dx25_forward.c55 x25_frwd = list_entry(entry, struct x25_forward, node); in x25_forward_call()
108 frwd = list_entry(entry, struct x25_forward, node); in x25_forward_data()
145 fwd = list_entry(entry, struct x25_forward, node); in x25_clear_forward_by_lci()
163 fwd = list_entry(entry, struct x25_forward, node); in x25_clear_forward_by_dev()
Dx25_link.c305 nb = list_entry(entry, struct x25_neigh, node); in x25_link_device_down()
326 nb = list_entry(entry, struct x25_neigh, node); in x25_get_neigh()
405 nb = list_entry(entry, struct x25_neigh, node); in x25_link_free()
Dx25_proc.c50 struct x25_route *rt = list_entry(v, struct x25_route, node); in x25_seq_route_show()
138 struct x25_forward *f = list_entry(v, struct x25_forward, node); in x25_seq_forward_show()
/linux-4.4.14/include/drm/
Ddrm_mm.h151 return list_entry(hole_node->node_list.next, in __drm_mm_hole_node_end()
203 for (entry = list_entry((mm)->hole_stack.next, struct drm_mm_node, hole_stack); \
208 entry = list_entry(entry->hole_stack.next, struct drm_mm_node, hole_stack))
211 …for (entry = list_entry((backwards) ? (mm)->hole_stack.prev : (mm)->hole_stack.next, struct drm_mm…
216 …entry = list_entry((backwards) ? entry->hole_stack.prev : entry->hole_stack.next, struct drm_mm_no…
/linux-4.4.14/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()
116 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_submit_error()
143 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_complete()
171 mbus = list_entry(p, struct mon_bus, bus_link); in mon_stop()
341 mbus = list_entry(p, struct mon_bus, bus_link); in mon_bus_lookup()
396 mbus = list_entry(p, struct mon_bus, bus_link); in mon_exit()
/linux-4.4.14/fs/cifs/
Dcifs_debug.c83 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in cifs_dump_mids()
153 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show()
157 ses = list_entry(tmp2, struct cifs_ses, in cifs_debug_data_proc_show()
187 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
221 mid_entry = list_entry(tmp3, struct mid_q_entry, in cifs_debug_data_proc_show()
277 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
280 ses = list_entry(tmp2, struct cifs_ses, in cifs_stats_proc_write()
283 tcon = list_entry(tmp3, in cifs_stats_proc_write()
334 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_show()
337 ses = list_entry(tmp2, struct cifs_ses, in cifs_stats_proc_show()
[all …]
Dsmb2misc.c455 cfile = list_entry(tmp, struct cifsFileInfo, tlist); in smb2_tcon_has_lease()
523 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); in smb2_is_valid_lease_break()
526 ses = list_entry(tmp1, struct cifs_ses, smb_ses_list); in smb2_is_valid_lease_break()
530 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
577 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in smb2_is_valid_oplock_break()
579 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
584 cfile = list_entry(tmp2, struct cifsFileInfo, in smb2_is_valid_oplock_break()
Dmisc.c461 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in is_valid_oplock_break()
463 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
470 netfile = list_entry(tmp2, struct cifsFileInfo, in is_valid_oplock_break()
/linux-4.4.14/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()
/linux-4.4.14/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()
/linux-4.4.14/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-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()
Dhid-holtekff.c143 struct hid_input *hidinput = list_entry(hid->inputs.next, in holtekff_init()
155 report = list_entry(report_list->next, struct hid_report, list); in holtekff_init()
Dhid-gaff.c80 struct hid_input *hidinput = list_entry(hid->inputs.next, in gaff_init()
95 report = list_entry(report_ptr, struct hid_report, list); in gaff_init()
Dhid-lg2ff.c65 struct hid_input *hidinput = list_entry(hid->inputs.next, in lg2ff_init()
Dhid-zpff.c69 struct hid_input *hidinput = list_entry(hid->inputs.next, in zpff_init()
/linux-4.4.14/tools/perf/util/
Dordered-events.c44 last = list_entry(p, struct ordered_event, list); in queue_event()
54 last = list_entry(p, struct ordered_event, list); in queue_event()
101 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
221 oe->last = list_entry(head->prev, struct ordered_event, list); in __ordered_events__flush()
252 first = list_entry(head->next, struct ordered_event, list); in ordered_events__flush()
305 event = list_entry(oe->to_free.next, struct ordered_event, list); in ordered_events__free()
Devsel.h312 return list_entry(evsel->node.next, struct perf_evsel, node); in perf_evsel__next()
317 return list_entry(evsel->node.prev, struct perf_evsel, node); in perf_evsel__prev()
387 for ((_evsel) = list_entry((_leader)->node.next, struct perf_evsel, node); \
389 (_evsel) = list_entry((_evsel)->node.next, struct perf_evsel, node))
Devlist.h189 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__first()
194 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
/linux-4.4.14/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()
/linux-4.4.14/arch/m68k/sun3/
Dsun3dvma.c93 hole = list_entry(cur, struct hole, list); in print_holes()
115 hole = list_entry(cur, struct hole, list); in refill()
145 ret = list_entry(hole_cache.next, struct hole, list); in rmcache()
170 hole = list_entry(cur, struct hole, list); in get_baddr()
223 hole = list_entry(cur, struct hole, list); in free_baddr()
/linux-4.4.14/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()
381 route2 = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_add_route_locked()
397 conn = list_entry(tmp, ksock_conn_t, ksnc_list); in ksocknal_add_route_locked()
420 conn = list_entry(ctmp, ksock_conn_t, ksnc_list); in ksocknal_del_route_locked()
489 route2 = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_add_peer()
524 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
537 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
546 route = list_entry(tmp, ksock_route_t, ksnr_list); in ksocknal_del_peer_locked()
[all …]
Dsocklnd_cb.c41 tx = list_entry(ksocknal_data.ksnd_idle_noop_txs. \ in ksocknal_alloc_tx()
413 tx = list_entry(txlist->next, ksock_tx_t, tx_list); in ksocknal_txlist_done()
627 ksock_conn_t *c = list_entry(tmp, ksock_conn_t, ksnc_list); in ksocknal_find_conn_locked()
783 route = list_entry (tmp, ksock_route_t, ksnr_list); in ksocknal_find_connectable_route_locked()
818 route = list_entry (tmp, ksock_route_t, ksnr_list); in ksocknal_find_connecting_route_locked()
1412 conn = list_entry(sched->kss_rx_conns.next, in ksocknal_scheduler()
1464 conn = list_entry(sched->kss_tx_conns.next, in ksocknal_scheduler()
1472 tx = list_entry(conn->ksnc_tx_queue.next, in ksocknal_scheduler()
1969 conn = list_entry(peer->ksnp_conns.next, in ksocknal_connect()
2160 cr = list_entry(ksocknal_data.ksnd_connd_connreqs. \ in ksocknal_connd()
[all …]
/linux-4.4.14/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, struct lnet_text_buf_t, ltb_list); in lnet_free_text_bufs()
695 ltb = list_entry(tmp1, struct lnet_text_buf_t, in lnet_parse_route()
736 ltb = list_entry(tmp1, struct lnet_text_buf_t, ltb_list); in lnet_parse_route()
741 ltb = list_entry(tmp2, struct lnet_text_buf_t, in lnet_parse_route()
778 ltb = list_entry(tbs->next, struct lnet_text_buf_t, ltb_list); in lnet_parse_route_tbs()
922 tb = list_entry(nets->next, struct lnet_text_buf_t, ltb_list); in lnet_splitnets()
958 tb2 = list_entry(t, struct lnet_text_buf_t, ltb_list); in lnet_splitnets()
1021 tb = list_entry(raw_entries.next, struct lnet_text_buf_t, in lnet_match_networks()
[all …]
Drouter.c178 lnet_peer_t *rtr = list_entry(pos, lnet_peer_t, in lnet_rtr_addref_locked()
227 rnet = list_entry(tmp, lnet_remotenet_t, lrn_list); in lnet_find_net_locked()
251 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_shuffle_seed()
366 lnet_route_t *route2 = list_entry(e, lnet_route_t, lr_list); in lnet_add_route()
421 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_check_routes()
429 route = list_entry(e2, lnet_route_t, in lnet_check_routes()
486 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_del_route()
493 route = list_entry(e2, lnet_route_t, lr_list); in lnet_del_route()
558 rnet = list_entry(e1, lnet_remotenet_t, lrn_list); in lnet_get_route()
561 route = list_entry(e2, lnet_route_t, in lnet_get_route()
[all …]
Dpeer.c122 lnet_peer_t *lp = list_entry(peers->next, in lnet_peer_tables_cleanup()
157 lp = list_entry(deathrow.next, in lnet_peer_tables_cleanup()
229 lp = list_entry(ptable->pt_deathrow.next, in lnet_nid2peer_locked()
Dapi-ni.c273 lnd = list_entry(tmp, lnd_t, lnd_list); in lnet_find_lnd_by_type()
396 lnet_eq_free(list_entry(e, lnet_eq_t, eq_list)); in lnet_res_container_cleanup()
399 lnet_md_free(list_entry(e, lnet_libmd_t, md_list)); in lnet_res_container_cleanup()
661 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_net2ni_locked()
774 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_nid2ni_locked()
811 ni = list_entry(tmp, lnet_ni_t, ni_list); in lnet_count_acceptor_nis()
858 ni = list_entry(the_lnet.ln_nis.next, in lnet_shutdown_lndnis()
901 ni = list_entry(the_lnet.ln_nis_zombie.next, in lnet_shutdown_lndnis()
979 ni = list_entry(nilist.next, lnet_ni_t, ni_list); in lnet_startup_lndnis()
1090 ni = list_entry(nilist.next, lnet_ni_t, ni_list); in lnet_startup_lndnis()
[all …]
Dlib-me.c294 list_entry(me->me_list.prev, lnet_me_t, me_list));
296 list_entry(me->me_list.next, lnet_me_t, me_list));
Dlib-move.c81 tp = list_entry(el, lnet_test_peer_t, tp_list); in lnet_fail_nid()
94 tp = list_entry(cull.next, lnet_test_peer_t, tp_list); in lnet_fail_nid()
117 tp = list_entry(el, lnet_test_peer_t, tp_list); in fail_peer()
151 tp = list_entry(cull.next, lnet_test_peer_t, tp_list); in fail_peer()
947 rb = list_entry(rbp->rbp_bufs.next, lnet_rtrbuf_t, rb_list); in lnet_post_routed_recv_locked()
982 msg2 = list_entry(tq->tq_delayed.next, in lnet_return_tx_credits_locked()
1005 msg2 = list_entry(txpeer->lp_txq.next, in lnet_return_tx_credits_locked()
1038 rb = list_entry(msg->msg_kiov, lnet_rtrbuf_t, rb_kiov[0]); in lnet_return_rx_credits_locked()
1053 msg2 = list_entry(rbp->rbp_msgs.next, in lnet_return_rx_credits_locked()
1070 msg2 = list_entry(rxpeer->lp_rtrq.next, in lnet_return_rx_credits_locked()
[all …]
Drouter_proc.c216 rnet = list_entry(n, lnet_remotenet_t, in proc_lnet_routes()
223 list_entry(r, lnet_route_t, in proc_lnet_routes()
332 lnet_peer_t *lp = list_entry(r, lnet_peer_t, in proc_lnet_routers()
477 lnet_peer_t *lp = list_entry(p, lnet_peer_t, in proc_lnet_peers()
681 lnet_ni_t *a_ni = list_entry(n, lnet_ni_t, ni_list); in proc_lnet_nis()
/linux-4.4.14/arch/powerpc/lib/
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()
/linux-4.4.14/fs/nilfs2/
Dsegbuf.h99 list_entry((head), struct nilfs_segment_buffer, sb_list)
111 (list_entry((head)->next, struct buffer_head, b_assoc_buffers))
113 (list_entry((bh)->b_assoc_buffers.next, struct buffer_head, \
Dsegbuf.c162 bh_sum = list_entry(segbuf->sb_segsum_buffers.next, in nilfs_segbuf_fill_in_segsum()
190 bh = list_entry(segbuf->sb_segsum_buffers.next, struct buffer_head, in nilfs_segbuf_fill_in_segsum_crc()
218 bh = list_entry(segbuf->sb_segsum_buffers.next, struct buffer_head, in nilfs_segbuf_fill_in_data_crc()
/linux-4.4.14/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()
/linux-4.4.14/arch/um/drivers/
Dport_kern.c136 port = list_entry(ele, struct port_list, list); in port_work_proc()
168 port = list_entry(ele, struct port_list, list); in port_data()
239 conn = list_entry(port->connections.next, struct connection, in port_wait()
298 port = list_entry(ele, struct port_list, list); in free_port()
Dmconsole_kern.c64 req = list_entry(mc_requests.next, struct mconsole_entry, list); in mc_work_proc()
267 dev = list_entry(ele, struct mc_device, list); in mconsole_find_dev()
327 unplugged = list_entry(unplugged_pages.next, in mem_config()
356 unplugged = list_entry(entry, in mem_config()
574 entry = list_entry(ele, struct mconsole_output, list); in console_write()
Dchan_kern.c117 chan = list_entry(ele, struct chan, list); in open_chan()
148 chan = list_entry(ele, struct chan, list); in enable_chan()
195 chan = list_entry(ele, struct chan, free_list); in free_irqs()
342 chan = list_entry(ele, struct chan, list); in free_chan()
Dnet_kern.c519 device = list_entry(ele, struct uml_net, list); in find_device()
610 eth = list_entry(ele, struct eth_init, list); in register_transport()
633 transport = list_entry(ele, struct transport, list); in eth_setup_common()
796 lp = list_entry(ele, struct uml_net_private, list); in inet_register()
830 lp = list_entry(ele, struct uml_net_private, list); in close_devices()
/linux-4.4.14/net/ceph/
Dpagelist.c11 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail()
138 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate()
145 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate()
/linux-4.4.14/arch/sh/kernel/
Dunwinder.c72 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder()
89 o = list_entry(tmp, struct unwinder, list); in unwinder_enqueue()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_im.h84 struct list_head list_entry; member
108 struct list_head list_entry; member
183 list_entry) { \
Dbfad_drv.h133 struct list_head list_entry; member
152 struct list_head list_entry; member
191 struct list_head list_entry; member
Dbfad_im.c648 list_entry) { in bfad_im_port_clean()
649 list_del(&bp->list_entry); in bfad_im_port_clean()
898 list_for_each_entry(itnim, &im_port->itnim_mapped_list, list_entry) { in bfad_get_itnim()
1118 list_add_tail(&itnim->list_entry, in bfad_im_itnim_work_handler()
1152 list_del(&itnim->list_entry); in bfad_im_itnim_work_handler()
1174 list_del(&itnim->list_entry); in bfad_im_itnim_work_handler()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h261 #define list_entry(ptr, type, member) \ macro
277 list_entry((ptr)->next, type, member)
292 list_entry((ptr)->prev, type, member)
/linux-4.4.14/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()
/linux-4.4.14/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()
Dclient.c448 req = list_entry(l, struct ptlrpc_request, rq_list); in ptlrpc_free_rq_pool()
561 request = list_entry(pool->prp_req_list.next, struct ptlrpc_request, in ptlrpc_prep_req_from_pool()
901 list_entry(tmp, struct ptlrpc_request, in ptlrpc_set_destroy()
914 list_entry(tmp, struct ptlrpc_request, in ptlrpc_set_destroy()
1336 last = list_entry(imp->imp_replay_list.prev, in after_reply()
1481 list_entry(tmp, struct ptlrpc_request, in ptlrpc_check_set()
1952 list_entry(tmp, struct ptlrpc_request, in ptlrpc_expired_set()
2010 list_entry(tmp, struct ptlrpc_request, in ptlrpc_interrupted_set()
2034 req = list_entry(tmp, struct ptlrpc_request, rq_set_chain); in ptlrpc_set_next_timeout()
2083 req = list_entry(tmp, struct ptlrpc_request, in ptlrpc_set_wait()
[all …]
Dservice.c300 rqbd = list_entry(svcpt->scp_rqbd_idle.next, in ptlrpc_server_post_idle_rqbds()
760 rqbd = list_entry(svcpt->scp_hist_rqbds.next, in ptlrpc_server_drop_request()
770 req = list_entry(tmp, struct ptlrpc_request, in ptlrpc_server_drop_request()
784 req = list_entry(rqbd->rqbd_reqs.next, in ptlrpc_server_drop_request()
1209 rq = list_entry(work_list.next, struct ptlrpc_request, in ptlrpc_at_check_timed()
1459 req = list_entry(svcpt->scp_req_incoming.next, in ptlrpc_server_handle_req_in()
2209 rs = list_entry(replies.prev, in ptlrpc_hr_main()
2300 thread = list_entry(svcpt->scp_threads.next, in ptlrpc_svcpt_stop_threads()
2320 thread = list_entry(zombie.next, in ptlrpc_svcpt_stop_threads()
2656 rs = list_entry(svcpt->scp_rep_active.next, in ptlrpc_service_purge_all()
[all …]
/linux-4.4.14/include/linux/
Dpnp.h219 #define global_to_pnp_card(n) list_entry(n, struct pnp_card, global_list)
220 #define protocol_to_pnp_card(n) list_entry(n, struct pnp_card, protocol_list)
274 #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list)
275 #define card_to_pnp_dev(n) list_entry(n, struct pnp_dev, card_list)
276 #define protocol_to_pnp_dev(n) list_entry(n, struct pnp_dev, protocol_list)
436 #define to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list)
Dlist.h351 #define list_entry(ptr, type, member) \ macro
363 list_entry((ptr)->next, type, member)
374 list_entry((ptr)->prev, type, member)
393 list_entry((pos)->member.next, typeof(*(pos)), member)
401 list_entry((pos)->member.prev, typeof(*(pos)), member)
471 ((pos) ? : list_entry(head, typeof(*pos), member))
Dplist.h284 return list_entry(head->node_list.next, in plist_first()
296 return list_entry(head->node_list.prev, in plist_last()
Drio.h200 #define rio_dev_g(n) list_entry(n, struct rio_dev, global_list)
201 #define rio_dev_f(n) list_entry(n, struct rio_dev, net_list)
/linux-4.4.14/drivers/net/irda/
Dsir_dongle.c42 drv = list_entry(entry, struct dongle_driver, dongle_list); in irda_register_dongle()
78 drv = list_entry(entry, struct dongle_driver, dongle_list); in sirdev_get_dongle()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-vbi.c101 buf = list_entry(q->active.next, struct cx88_buffer, list); in cx8800_restart_vbi_queue()
184 prev = list_entry(q->active.prev, struct cx88_buffer, list); in buffer_queue()
196 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming()
215 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
/linux-4.4.14/include/sound/
Dcontrol.h84 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list)
92 #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list)
114 #define snd_ctl_file(n) list_entry(n, struct snd_ctl_file, list)
Di2c.h37 #define snd_i2c_device(n) list_entry(n, struct snd_i2c_device, list)
76 #define snd_i2c_slave_bus(n) list_entry(n, struct snd_i2c_bus, buses)
/linux-4.4.14/fs/jffs2/
Ddebug.c506 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
528 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
551 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
572 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
588 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
603 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
619 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
635 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
651 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
667 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock()
[all …]
/linux-4.4.14/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()
Dvideobuf2-dvb.c220 fe = list_entry(list, struct vb2_dvb_frontend, felist); in vb2_dvb_register_bus()
255 fe = list_entry(list, struct vb2_dvb_frontend, felist); in vb2_dvb_get_frontend()
278 fe = list_entry(list, struct vb2_dvb_frontend, felist); in vb2_dvb_find_frontend()
317 fe = list_entry(list, struct vb2_dvb_frontend, felist); in vb2_dvb_dealloc_frontends()
/linux-4.4.14/arch/metag/kernel/
Dtcm.c32 pool = list_entry(lh, struct tcm_pool, list); in find_pool()
99 pool = list_entry(lh, struct tcm_pool, list); in tcm_lookup_tag()
Dkick.c95 kh = list_entry(lh, struct kick_irq_handler, list); in kick_handler()
/linux-4.4.14/net/sctp/
Doutqueue.c89 ch = list_entry(entry, struct sctp_chunk, list); in sctp_outq_dequeue_data()
224 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
235 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
244 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
253 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
359 nchunk = list_entry(new, struct sctp_chunk, transmitted_list); in sctp_insert_list()
363 lchunk = list_entry(pos, struct sctp_chunk, transmitted_list); in sctp_insert_list()
385 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_retransmit_mark()
1086 struct sctp_transport *t = list_entry(ltransport, in sctp_outq_flush()
1240 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_sack()
[all …]
Dchunk.c102 chunk = list_entry(pos, struct sctp_chunk, frag_list); in sctp_datamsg_destroy()
339 chunk = list_entry(pos, struct sctp_chunk, frag_list); in sctp_datamsg_from_user()
/linux-4.4.14/kernel/locking/
Drwsem-spinlock.c71 waiter = list_entry(sem->wait_list.next, struct rwsem_waiter, list); in __rwsem_do_wake()
102 waiter = list_entry(next, struct rwsem_waiter, list); in __rwsem_do_wake()
119 waiter = list_entry(sem->wait_list.next, struct rwsem_waiter, list); in __rwsem_wake_one_writer()
Drwsem-xadd.c129 waiter = list_entry(sem->wait_list.next, struct rwsem_waiter, list); in __rwsem_do_wake()
171 waiter = list_entry(waiter->list.next, in __rwsem_do_wake()
187 waiter = list_entry(next, struct rwsem_waiter, list); in __rwsem_do_wake()
/linux-4.4.14/drivers/s390/char/
Draw3270.h255 if (list_entry(p, struct string, list) > cs) in free_string()
261 tmp = list_entry(left->next, struct string, list); in free_string()
269 tmp = list_entry(left, struct string, list); in free_string()
Dsclp.c338 req = list_entry(sclp_req_queue.next, struct sclp_req, list); in sclp_process_queue()
442 reg = list_entry(l, struct sclp_register, list); in sclp_dispatch_evbufs()
502 req = list_entry(l, struct sclp_req, list); in __sclp_find_req()
619 reg = list_entry(l, struct sclp_register, list); in sclp_dispatch_state_change()
688 t = list_entry(l, struct sclp_register, list); in __sclp_get_mask()
Dsclp_vt220.c135 request = list_entry(sclp_vt220_outqueue.next, in sclp_vt220_process_queue()
385 request = list_entry(list, struct sclp_vt220_request, list); in sclp_vt220_drop_buffer()
647 r = list_entry(l, struct sclp_vt220_request, list); in sclp_vt220_chars_in_buffer()
Dtape_34xx.c925 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_add_sbid()
949 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_add_sbid()
975 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_delete_sbid_from()
1010 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_merge_sbid()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dicm.h92 NULL : list_entry(icm->chunk_list.next, in mlx4_icm_first()
110 iter->chunk = list_entry(iter->chunk->list.next, in mlx4_icm_next()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-lite.h206 struct flite_buffer *buf = list_entry(dev->active_buf_q.next, in fimc_lite_active_queue_pop()
221 struct flite_buffer *buf = list_entry(dev->pending_buf_q.next, in fimc_lite_pending_queue_pop()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_scsi.h30 entry = list_entry((list)->next, type, member); \
37 list_entry((list)->next, type, member)
/linux-4.4.14/fs/f2fs/
Dshrinker.c48 sbi = list_entry(p, struct f2fs_sb_info, s_list); in f2fs_shrink_count()
89 sbi = list_entry(p, struct f2fs_sb_info, s_list); in f2fs_shrink_scan()
/linux-4.4.14/fs/ubifs/
Dgc.c135 sa = list_entry(a, struct ubifs_scan_node, list); in data_nodes_cmp()
136 sb = list_entry(b, struct ubifs_scan_node, list); in data_nodes_cmp()
179 sa = list_entry(a, struct ubifs_scan_node, list); in nondata_nodes_cmp()
180 sb = list_entry(b, struct ubifs_scan_node, list); in nondata_nodes_cmp()
521 snod = list_entry(sleb->nodes.next, struct ubifs_scan_node, list); in ubifs_garbage_collect_leb()
957 idx_gc = list_entry(c->idx_gc.next, struct ubifs_gced_idx_leb, in ubifs_destroy_idx_gc()
978 idx_gc = list_entry(c->idx_gc.next, struct ubifs_gced_idx_leb, list); in ubifs_get_idx_gc_leb()
Dreplay.c285 ra = list_entry(a, struct replay_entry, list); in replay_entries_cmp()
286 rb = list_entry(b, struct replay_entry, list); in replay_entries_cmp()
521 next = list_entry(bud->list.next, struct ubifs_bud, list); in is_last_bud()
728 b = list_entry(c->replay_buds.next, struct bud_entry, list); in destroy_bud_list()
854 snod = list_entry(sleb->nodes.next, struct ubifs_scan_node, list); in replay_log_leb()
/linux-4.4.14/drivers/scsi/
Dscsi_devinfo.c622 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show()
624 list_entry(dl->bottom, struct scsi_dev_info_list, in devinfo_seq_show()
646 list_entry(dl->top, struct scsi_dev_info_list_table, in devinfo_seq_start()
661 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_next()
671 devinfo_table = list_entry(dl->top, in devinfo_seq_next()
822 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list()
Dscsi_module.c48 scsi_remove_host(list_entry(l, struct Scsi_Host, sht_legacy_list)); in init_this_scsi_driver()
/linux-4.4.14/fs/afs/
Dvlocation.c352 xvl = list_entry(afs_vlocation_updates.prev, in afs_vlocation_queue_for_updates()
554 vl = list_entry(afs_vlocation_graveyard.next, in afs_vlocation_reaper()
584 vl = list_entry(corpses.next, struct afs_vlocation, grave); in afs_vlocation_reaper()
642 vl = list_entry(afs_vlocation_updates.next, in afs_vlocation_updater()
696 xvl = list_entry(afs_vlocation_updates.prev, in afs_vlocation_updater()
700 xvl = list_entry(afs_vlocation_updates.next, in afs_vlocation_updater()
Dserver.c281 server = list_entry(afs_server_graveyard.next, in afs_reap_server()
309 server = list_entry(corpses.next, struct afs_server, grave); in afs_reap_server()
Dproc.c205 struct afs_cell *cell = list_entry(v, struct afs_cell, proc_link); in afs_proc_cells_show()
467 list_entry(v, struct afs_vlocation, link); in afs_proc_cell_volumes_show()
651 struct afs_server *server = list_entry(v, struct afs_server, link); in afs_proc_cell_servers_show()
Dflock.c144 fl = list_entry(vnode->granted_locks.next, in afs_lock_work()
178 fl = list_entry(vnode->pending_locks.next, in afs_lock_work()
202 if (list_entry(vnode->pending_locks.next, in afs_lock_work()
/linux-4.4.14/drivers/usb/musb/
Dmusb_host.h75 return list_entry(q->next, struct musb_qh, ring); in first_qh()
148 return list_entry(queue->next, struct urb, urb_list); in next_urb()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-queue.c78 buf = list_entry(q->list.next, struct ivtv_buffer, list); in ivtv_dequeue()
91 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf()
145 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
164 buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
/linux-4.4.14/fs/btrfs/
Dlzo.c41 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace()
97 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_compress_pages()
264 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress_biovec()
386 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress()
Dzlib.c43 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_free_workspace()
84 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_compress_pages()
219 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_decompress_biovec()
312 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_decompress()
Drelocation.c224 node = list_entry(cache->detached.next, in backref_cache_cleanup()
230 node = list_entry(cache->leaves.next, in backref_cache_cleanup()
354 edge = list_entry(node->upper.next, in walk_up_backref()
381 edge = list_entry(edge->list[LOWER].next, in walk_down_backref()
435 edge = list_entry(node->upper.next, struct backref_edge, in remove_backref_node()
496 node = list_entry(cache->detached.next, in update_backref_cache()
502 node = list_entry(cache->changed.next, in update_backref_cache()
751 edge = list_entry(cur->upper.next, struct backref_edge,
1023 edge = list_entry(list.next, struct backref_edge, list[UPPER]);
1047 edge = list_entry(list.next, struct backref_edge, list[UPPER]);
[all …]
/linux-4.4.14/net/unix/
Dgarbage.c228 u = list_entry(embryos.next, struct unix_sock, link); in scan_children()
331 u = list_entry(cursor.next, struct unix_sock, link); in unix_gc()
348 u = list_entry(not_cycle_list.next, struct unix_sock, link); in unix_gc()
/linux-4.4.14/arch/cris/arch-v32/mm/
Dintmem.c108 list_entry(allocation->entry.prev, in crisv32_intmem_free()
111 list_entry(allocation->entry.next, in crisv32_intmem_free()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-vbi.c217 prev = list_entry(q->active.prev, struct cx23885_buffer, in buffer_queue()
232 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
248 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_stop_streaming()
/linux-4.4.14/drivers/edac/
Dedac_pci.c103 pci = list_entry(item, struct edac_pci_ctl_info, link); in find_edac_pci_by_dev()
136 rover = list_entry(item, struct edac_pci_ctl_info, link); in add_edac_pci_to_global_list()
200 pci = list_entry(item, struct edac_pci_ctl_info, link);
/linux-4.4.14/arch/s390/appldata/
Dappldata_base.c130 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn()
302 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler()
454 ops = list_entry(lh, struct appldata_ops, list); in appldata_freeze()
483 ops = list_entry(lh, struct appldata_ops, list); in appldata_restore()
/linux-4.4.14/fs/squashfs/
Ddecompressor_multi.c115 decomp_strm = list_entry(stream->strm_list.prev, in squashfs_decompressor_destroy()
139 decomp_strm = list_entry(stream->strm_list.prev, in get_decomp_stream()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_memfree.h104 NULL : list_entry(icm->chunk_list.next, in mthca_icm_first()
122 iter->chunk = list_entry(iter->chunk->list.next, in mthca_icm_next()
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmthread.c247 lockres = list_entry(dlm->purge_list.next, in dlm_run_purge_list()
322 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
393 target = list_entry(res->blocked.next, struct dlm_lock, list); in dlm_shuffle_lists()
536 lock = list_entry(dlm->pending_asts.next, in dlm_flush_asts()
580 lock = list_entry(dlm->pending_basts.next, in dlm_flush_asts()
666 res = list_entry(dlm->dirty_list.next, in dlm_thread()
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dtimer.c84 stt_timer_t *old = list_entry(pos, stt_timer_t, stt_list); in stt_add_timer()
130 timer = list_entry(slot->next, stt_timer_t, stt_list); in stt_expire_list()
Dframework.c621 tsu = list_entry(tsi->tsi_units.next, in sfw_destroy_test_instance()
628 rpc = list_entry(tsi->tsi_free_rpcs.next, in sfw_destroy_test_instance()
649 tsi = list_entry(tsb->bat_tests.next, in sfw_destroy_batch()
668 batch = list_entry(sn->sn_batches.next, in sfw_destroy_session()
912 rpc = list_entry(tsi->tsi_free_rpcs.next, in sfw_create_test_rpc()
1390 rpc = list_entry(sfw_data.fw_zombie_rpcs.next, in sfw_create_rpc()
1774 rpc = list_entry(sfw_data.fw_zombie_rpcs.next, in sfw_shutdown()
1790 tsc = list_entry(sfw_data.fw_tests.next, in sfw_shutdown()
/linux-4.4.14/drivers/xen/
Dgntalloc.c267 gref = list_entry(priv->list.next, in gntalloc_release()
365 n = list_entry(gref->next_file.next, in gntalloc_ioctl_dealloc()
486 next = list_entry(gref->next_gref.next, in gntalloc_vma_close()
550 gref = list_entry(gref->next_file.next, in gntalloc_mmap()
/linux-4.4.14/drivers/usb/core/
Durb.c761 victim = list_entry(anchor->urb_list.prev, struct urb, in usb_kill_anchored_urbs()
794 victim = list_entry(anchor->urb_list.prev, struct urb, in usb_poison_anchored_urbs()
920 victim = list_entry(anchor->urb_list.next, struct urb, in usb_get_from_anchor()
947 victim = list_entry(anchor->urb_list.prev, struct urb, in usb_scuttle_anchored_urbs()
/linux-4.4.14/drivers/block/zram/
Dzcomp.c108 zstrm = list_entry(zs->idle_strm.next, in zcomp_strm_multi_find()
168 zstrm = list_entry(zs->idle_strm.next, in zcomp_strm_multi_set_max_streams()
184 zstrm = list_entry(zs->idle_strm.next, in zcomp_strm_multi_destroy()
/linux-4.4.14/net/rxrpc/
Dar-proc.c61 call = list_entry(v, struct rxrpc_call, link); in rxrpc_call_seq_show()
144 conn = list_entry(v, struct rxrpc_connection, link); in rxrpc_connection_seq_show()
/linux-4.4.14/net/ipx/
Dipx_proc.c47 i = list_entry(v, struct ipx_interface, node); in ipx_seq_interface_show()
88 rt = list_entry(v, struct ipx_route, node); in ipx_seq_route_show()
165 i = list_entry(i->node.next, struct ipx_interface, node); in ipx_seq_socket_next()
/linux-4.4.14/fs/xfs/
Dxfs_trans_ail.c49 prev_lip = list_entry(lip->li_ail.prev, xfs_log_item_t, li_ail); in xfs_ail_check()
53 prev_lip = list_entry(lip->li_ail.next, xfs_log_item_t, li_ail); in xfs_ail_check()
74 return list_entry(ailp->xa_ail.prev, xfs_log_item_t, li_ail); in xfs_ail_max()
301 cur->item = list_entry(list->prev, struct xfs_log_item, li_ail); in xfs_ail_splice()
/linux-4.4.14/drivers/net/
Deql.c150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer()
240 slave_t *s = list_entry(this, slave_t, list); in eql_kill_slave_queue()
309 slave_t *slave = list_entry(this, slave_t, list); in __eql_schedule_slaves()
370 slave_t *slave = list_entry(this, slave_t, list); in __eql_find_slave_dev()
/linux-4.4.14/net/netlabel/
Dnetlabel_unlabeled.c491 struct netlbl_af4list *list_entry; in netlbl_unlhsh_remove_addr4() local
499 list_entry = netlbl_af4list_remove(addr->s_addr, mask->s_addr, in netlbl_unlhsh_remove_addr4()
502 if (list_entry != NULL) in netlbl_unlhsh_remove_addr4()
503 entry = netlbl_unlhsh_addr4_entry(list_entry); in netlbl_unlhsh_remove_addr4()
553 struct netlbl_af6list *list_entry; in netlbl_unlhsh_remove_addr6() local
561 list_entry = netlbl_af6list_remove(addr, mask, &iface->addr6_list); in netlbl_unlhsh_remove_addr6()
563 if (list_entry != NULL) in netlbl_unlhsh_remove_addr6()
564 entry = netlbl_unlhsh_addr6_entry(list_entry); in netlbl_unlhsh_remove_addr6()
/linux-4.4.14/drivers/md/
Ddm-stats.c42 struct list_head list_entry; member
216 s = container_of(stats->list.next, struct dm_stat, list_entry); in dm_stats_cleanup()
217 list_del(&s->list_entry); in dm_stats_cleanup()
366 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()
380 list_add_tail_rcu(&s->list_entry, l); in dm_stats_create()
399 list_for_each_entry(s, &stats->list, list_entry) { in __dm_stats_find()
422 list_del_rcu(&s->list_entry); in dm_stats_delete()
457 list_for_each_entry(s, &stats->list, list_entry) { in dm_stats_list()
658 list_for_each_entry_rcu(s, &stats->list, list_entry) { in dm_stats_account_io()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_wrr.c122 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_init_svc()
149 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_dest_changed()
Dip_vs_rr.c69 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule()
/linux-4.4.14/virt/kvm/
Dasync_pf.c113 list_entry(vcpu->async_pf.queue.next, in kvm_clear_async_pf_completion_queue()
131 list_entry(vcpu->async_pf.done.next, in kvm_clear_async_pf_completion_queue()
/linux-4.4.14/tools/usb/usbip/libsrc/
Dusbip_host_driver.c159 edev = list_entry(i, struct usbip_exported_device, node); in usbip_exported_device_destroy()
272 edev = list_entry(i, struct usbip_exported_device, node); in usbip_host_get_device()
Dlist.h103 #define list_entry(ptr, type, member) \ macro
/linux-4.4.14/drivers/isdn/hardware/eicon/
Didifunc.c69 card = list_entry(tmp, udiva_card, list); in find_card_in_list()
144 card = list_entry(cards.next, udiva_card, list); in remove_all_idi_proc()
Ddiva.c158 a = list_entry(what->next, diva_os_xdi_adapter_t, link); in diva_q_get_next()
268 a = list_entry(adapter_queue.next, diva_os_xdi_adapter_t, link); in get_and_remove_from_queue()
409 a = list_entry(tmp, diva_os_xdi_adapter_t, link); in diva_xdi_open_adapter()
/linux-4.4.14/lib/
Dplist.c95 iter = list_entry(iter->prio_list.next, in plist_add()
121 next = list_entry(node->node_list.next, in plist_del()
/linux-4.4.14/fs/gfs2/
Dlog.c270 bd = list_entry(head->prev, struct gfs2_bufdata, in gfs2_ail2_empty_one()
476 tr = list_entry(sdp->sd_ail1_list.prev, struct gfs2_trans, in current_tail()
520 ipa = list_entry(a, struct gfs2_inode, i_ordered); in ip_cmp()
521 ipb = list_entry(b, struct gfs2_inode, i_ordered); in ip_cmp()
538 ip = list_entry(sdp->sd_log_le_ordered.next, struct gfs2_inode, i_ordered); in gfs2_ordered_write()
556 ip = list_entry(sdp->sd_log_le_ordered.next, struct gfs2_inode, i_ordered); in gfs2_ordered_wait()
Dlops.c403 bda = list_entry(a, struct gfs2_bufdata, bd_list); in blocknr_cmp()
404 bdb = list_entry(b, struct gfs2_bufdata, bd_list); in blocknr_cmp()
507 bd = list_entry(head->next, struct gfs2_bufdata, bd_list); in buf_lo_after_commit()
659 bd = list_entry(head->next, struct gfs2_bufdata, bd_list); in revoke_lo_after_commit()
840 bd = list_entry(head->next, struct gfs2_bufdata, bd_list); in databuf_lo_after_commit()
/linux-4.4.14/drivers/video/fbdev/core/
Dmodedb.c998 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_best_mode()
1036 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_nearest_mode()
1074 modelist = list_entry(pos, struct fb_modelist, list); in fb_match_mode()
1098 modelist = list_entry(pos, struct fb_modelist, list); in fb_add_videomode()
1133 modelist = list_entry(pos, struct fb_modelist, list); in fb_delete_videomode()
1189 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_best_display()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-vbi.c54 buf = list_entry(c, struct saa7164_buffer, list); in saa7164_vbi_buffers_dealloc()
61 ubuf = list_entry(p, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc()
68 ubuf = list_entry(l, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc()
315 buf = list_entry(c, struct saa7164_buffer, list); in saa7164_vbi_stop_streaming()
321 ubuf = list_entry(c, struct saa7164_user_buffer, list); in saa7164_vbi_stop_streaming()
/linux-4.4.14/drivers/staging/gdm72xx/
Dgdm_sdio.c90 t = list_entry(tx->free_list.prev, struct sdio_tx, list); in get_tx_struct()
112 r = list_entry(rx->free_list.prev, struct sdio_rx, list); in get_rx_struct()
298 t = list_entry(l, struct sdio_tx, list); in send_sdu()
345 t = list_entry(tx->hci_list.next, struct sdio_tx, list); in do_tx()
556 r = list_entry(rx->req_list.next, struct sdio_rx, list); in gdm_sdio_irq()
/linux-4.4.14/drivers/platform/x86/
Dwmi.c208 wblock = list_entry(p, struct wmi_block, list); in find_guid()
512 block = list_entry(p, struct wmi_block, list); in wmi_install_notify_handler()
553 block = list_entry(p, struct wmi_block, list); in wmi_remove_notify_handler()
601 wblock = list_entry(p, struct wmi_block, list); in wmi_get_event_data()
844 wblock = list_entry(p, struct wmi_block, list); in acpi_wmi_notify()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c33 struct list_head list_entry; member
59 list_add(&p_pool->ptts[i].list_entry, in qed_ptt_pool_alloc()
97 struct qed_ptt, list_entry); in qed_ptt_acquire()
98 list_del(&p_ptt->list_entry); in qed_ptt_acquire()
119 list_add(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list); in qed_ptt_release()
/linux-4.4.14/fs/
Ddcookies.c75 dcs = list_entry(pos, struct dcookie_struct, hash_list); in find_dcookie()
295 dcs = list_entry(pos, struct dcookie_struct, hash_list); in dcookie_exit()
Dpnode.c19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer()
24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave()
29 return list_entry(p->mnt_slave.next, struct mount, mnt_slave); in next_slave()
/linux-4.4.14/drivers/staging/wlan-ng/
Dprism2usb.c190 ctlx = list_entry(entry, hfa384x_usbctlx_t, list); in prism2sta_disconnect_usb()
205 ctlx = list_entry(entry, hfa384x_usbctlx_t, list); in prism2sta_disconnect_usb()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c161 sa_bo = list_entry(sa_manager->hole->next, struct amdgpu_sa_bo, olist); in amdgpu_sa_bo_try_free()
176 return list_entry(hole, struct amdgpu_sa_bo, olist)->eoffset; in amdgpu_sa_bo_hole_soffset()
186 return list_entry(hole->next, struct amdgpu_sa_bo, olist)->soffset; in amdgpu_sa_bo_hole_eoffset()
/linux-4.4.14/mm/
Dswapfile.c192 se = list_entry(lh, struct swap_extent, list); in discard_swap_cluster()
906 page = list_entry(page->lru.next, struct page, lru); in swp_swapcount()
1494 mm = list_entry(p, struct mm_struct, mmlist); in try_to_unuse()
1643 se = list_entry(lh, struct swap_extent, list); in map_swap_entry()
1667 se = list_entry(sis->first_swap_extent.list.next, in destroy_swap_extents()
1705 se = list_entry(lh, struct swap_extent, list); in add_swap_extent()
2887 page = list_entry(head->lru.next, struct page, lru); in swap_count_continued()
2899 page = list_entry(page->lru.next, struct page, lru); in swap_count_continued()
2905 page = list_entry(page->lru.next, struct page, lru); in swap_count_continued()
2913 page = list_entry(page->lru.prev, struct page, lru); in swap_count_continued()
[all …]
/linux-4.4.14/kernel/
Daudit_tree.c501 p = list_entry(victim->chunks.next, struct node, list); in prune_one()
521 struct node *node = list_entry(p, struct node, list); in trim_marked()
532 node = list_entry(tree->chunks.next, struct node, list); in trim_marked()
675 victim = list_entry(prune_list.next, in prune_tree_thread()
892 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
925 owner = list_entry(chunk->trees.next, in evict_chunk()
/linux-4.4.14/arch/blackfin/kernel/
Dipipe.c109 next_domain = list_entry(head, struct ipipe_domain, p_link); in __ipipe_handle_irq()
126 next_domain = list_entry(pos, struct ipipe_domain, p_link); in __ipipe_handle_irq()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c90 node_a = list_entry(a, struct usnic_uiom_interval_node, link); in interval_cmp()
91 node_b = list_entry(b, struct usnic_uiom_interval_node, link); in interval_cmp()
/linux-4.4.14/net/sunrpc/
Dcache.c410 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
631 discard = list_entry(cache_defer_list.next, in cache_limit_defers()
634 discard = list_entry(cache_defer_list.prev, in cache_limit_defers()
686 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_revisit_request()
710 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_clean_deferred()
780 list_entry(rp->q.list.next, struct cache_queue, list) in cache_read()
939 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_poll()
965 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_ioctl()
1012 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_release()
1057 cr = list_entry(dequeued.next, struct cache_request, q.list); in cache_dequeue()
/linux-4.4.14/drivers/vme/bridges/
Dvme_ca91cx42.c1157 prev = list_entry(entry->list.prev, struct ca91cx42_dma_entry, in ca91cx42_dma_list_add()
1292 entry = list_entry(pos, struct ca91cx42_dma_entry, list); in ca91cx42_dma_list_empty()
1830 lm = list_entry(pos, struct vme_lm_resource, list); in ca91cx42_probe()
1837 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_probe()
1844 slave_image = list_entry(pos, struct vme_slave_resource, list); in ca91cx42_probe()
1851 master_image = list_entry(pos, struct vme_master_resource, in ca91cx42_probe()
1914 lm = list_entry(pos, struct vme_lm_resource, list); in ca91cx42_remove()
1921 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_remove()
1928 slave_image = list_entry(pos, struct vme_slave_resource, list); in ca91cx42_remove()
1935 master_image = list_entry(pos, struct vme_master_resource, in ca91cx42_remove()
/linux-4.4.14/block/partitions/
Dldm.c611 struct vblk *v = list_entry (item, struct vblk, list); in ldm_get_disk_objid()
657 vb = list_entry (item, struct vblk, list); in ldm_create_data_partitions()
1271 struct vblk *v = list_entry (item, struct vblk, list); in ldm_ldmdb_add()
1322 f = list_entry (item, struct frag, list); in ldm_frag_add()
1373 kfree (list_entry (item, struct frag, list)); in ldm_frag_free()
1395 f = list_entry (item, struct frag, list); in ldm_frag_commit()
1488 kfree (list_entry (item, struct vblk, list)); in ldm_free_vblks()
/linux-4.4.14/drivers/net/phy/
Ddp83640.c591 rxts = list_entry(this, struct rxts, list); in prune_rx_ts()
637 tmp = list_entry(this, struct dp83640_private, list); in recalibrate()
656 tmp = list_entry(this, struct dp83640_private, list); in recalibrate()
698 tmp = list_entry(this, struct dp83640_private, list); in recalibrate()
718 tmp = list_entry(this, struct dp83640_private, list); in recalibrate()
1006 clock = list_entry(this, struct dp83640_clock, list); in dp83640_free_clocks()
1084 tmp = list_entry(this, struct dp83640_clock, list); in dp83640_clock_get_bus()
1194 tmp = list_entry(this, struct dp83640_private, list); in dp83640_remove()
1421 rxts = list_entry(this, struct rxts, list); in dp83640_rxtstamp()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c894 lock = list_entry(tmp, struct ldlm_lock, l_res_link); in search_granted_lock()
896 mode_end = list_entry(lock->l_sl_mode.prev, in search_granted_lock()
917 list_entry(lock->l_sl_policy.prev, in search_granted_lock()
940 lock = list_entry(tmp, struct ldlm_lock, in search_granted_lock()
1064 lock = list_entry(tmp, struct ldlm_lock, l_res_link); in search_queue()
1577 lock = list_entry(arg->list->next, struct ldlm_lock, l_bl_ast); in ldlm_work_bl_ast_lock()
1613 lock = list_entry(arg->list->next, struct ldlm_lock, l_cp_ast); in ldlm_work_cp_ast_lock()
1657 lock = list_entry(arg->list->next, struct ldlm_lock, l_rk_ast); in ldlm_work_revoke_ast_lock()
1684 gl_work = list_entry(arg->list->next, struct ldlm_glimpse_work, in ldlm_work_gl_ast_lock()
Dldlm_flock.c170 lock = list_entry(tmp, struct ldlm_lock, in ldlm_process_flock_lock()
185 lock = list_entry(tmp, struct ldlm_lock, in ldlm_process_flock_lock()
247 lock = list_entry(ownlocks, struct ldlm_lock, l_res_link); in ldlm_process_flock_lock()
/linux-4.4.14/drivers/mtd/chips/
Dchipreg.c39 this = list_entry(pos, typeof(*this), list); in get_mtd_chip_driver()
/linux-4.4.14/drivers/dma/ppc4xx/
Dadma.c355 iter->hw_next = list_entry(iter->chain_node.next, in ppc440spe_desc_init_dma01pq()
459 iter = list_entry(iter->chain_node.next, in ppc440spe_desc_init_dma01pqzero_sum()
463 iter = list_entry(iter->chain_node.next, in ppc440spe_desc_init_dma01pqzero_sum()
490 iter->hw_next = list_entry(iter->chain_node.next, in ppc440spe_desc_init_dma01pqzero_sum()
1465 slot = list_entry(slot->slot_node.next, in ppc440spe_adma_free_slots()
1720 iter = list_entry(&chan->all_slots, in ppc440spe_adma_alloc_slots()
1757 iter = list_entry(iter->slot_node.next, in ppc440spe_adma_alloc_slots()
1827 list_entry(ppc440spe_chan->all_slots.next, in ppc440spe_adma_alloc_chan_resources()
1936 old_chain_tail = list_entry(chan->chain.prev, in ppc440spe_adma_tx_submit()
2133 iter->hw_next = list_entry(iter->chain_node.next, in ppc440spe_dma01_prep_mult()
[all …]
/linux-4.4.14/drivers/gpu/drm/mga/
Dmga_dma.c277 buf_priv->list_entry = entry; in mga_freelist_init()
317 SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0);
362 (unsigned long)(buf_priv->list_entry->age.head - in mga_freelist_put()
364 buf_priv->list_entry->age.wrap); in mga_freelist_put()
366 entry = buf_priv->list_entry; in mga_freelist_put()
369 if (buf_priv->list_entry->age.head == MGA_BUFFER_USED) { in mga_freelist_put()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddisplay.c233 dssdev = list_entry(l, struct omap_dss_device, panel_list); in omap_dss_get_next_device()
240 dssdev = list_entry(l->next, struct omap_dss_device, in omap_dss_get_next_device()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_rmtacl.c174 rce = list_entry(rct->rct_entries[i].next, in rct_fini()
292 ee = list_entry(et->et_entries[i].next, in et_fini()
/linux-4.4.14/drivers/scsi/aacraid/
Dcommctrl.c211 context = list_entry(entry, struct aac_fib_context, next); in open_getadapter_fib()
263 fibctx = list_entry(entry, struct aac_fib_context, next); in next_getadapter_fib()
298 fib = list_entry(entry, struct fib, fiblink); in next_getadapter_fib()
355 fib = list_entry(entry, struct fib, fiblink); in aac_close_fib_context()
404 fibctx = list_entry(entry, struct aac_fib_context, next); in close_getadapter_fib()
/linux-4.4.14/arch/s390/mm/
Dpage-states.c105 page = list_entry(l, struct page, lru); in arch_set_page_states()
/linux-4.4.14/drivers/block/
Dosdblk.c483 osdev = list_entry(tmp, struct osdblk_device, node); in class_osdblk_list()
527 osdev = list_entry(tmp, struct osdblk_device, node); in class_osdblk_add()
614 osdev = list_entry(tmp, struct osdblk_device, node); in class_osdblk_remove()
/linux-4.4.14/net/rds/
Drecv.c256 *inc = list_entry(rs->rs_recv_queue.next, in rds_next_incoming()
321 notifier = list_entry(rs->rs_notify_queue.next, in rds_notify_queue_get()
332 notifier = list_entry(copy.next, struct rds_notifier, n_list); in rds_notify_queue_get()
Diw_recv.c317 frag = list_entry(iwinc->ii_frags.next, struct rds_page_frag, f_item); in rds_iw_inc_copy_to_user()
322 frag = list_entry(frag->f_item.next, in rds_iw_inc_copy_to_user()
574 frag = list_entry(iwinc->ii_frags.next, struct rds_page_frag, f_item); in rds_iw_cong_recv()
608 frag = list_entry(frag->f_item.next, in rds_iw_cong_recv()
/linux-4.4.14/fs/jbd2/
Drevoke.c483 struct list_head *list_entry; in jbd2_clear_buffer_revoked_flags() local
486 list_for_each(list_entry, hash_list) { in jbd2_clear_buffer_revoked_flags()
489 record = (struct jbd2_revoke_record_s *)list_entry; in jbd2_clear_buffer_revoked_flags()
/linux-4.4.14/drivers/dma/
Dtimb_dma.c196 td_desc = list_entry(td_chan->active_list.next, struct timb_dma_desc, in __td_start_dma()
238 td_desc = list_entry(td_chan->active_list.next, struct timb_dma_desc, in __td_finish()
278 list_entry(td_chan->active_list.next, in __td_ier_mask()
295 td_desc = list_entry(td_chan->queue.next, struct timb_dma_desc, in __td_start_next()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c395 peer = list_entry(tmp, kib_peer_t, ibp_list); in kiblnd_find_peer_locked()
437 peer = list_entry(ptmp, kib_peer_t, ibp_list); in kiblnd_get_peer_info()
471 conn = list_entry(ctmp, kib_conn_t, ibc_list); in kiblnd_del_peer_locked()
504 peer = list_entry(ptmp, kib_peer_t, ibp_list); in kiblnd_del_peer()
548 peer = list_entry(ptmp, kib_peer_t, ibp_list); in kiblnd_get_conn_by_idx()
560 conn = list_entry(ctmp, kib_conn_t, in kiblnd_get_conn_by_idx()
916 conn = list_entry(ctmp, kib_conn_t, ibc_list); in kiblnd_close_peer_conns_locked()
938 conn = list_entry(ctmp, kib_conn_t, ibc_list); in kiblnd_close_stale_conns_locked()
980 peer = list_entry(ptmp, kib_peer_t, ibp_list); in kiblnd_close_matching_conns()
1363 pool = list_entry(head->next, kib_fmr_pool_t, fpo_list); in kiblnd_destroy_fmr_pool_list()
[all …]
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-memory-errors.c75 msg_node = list_entry(opal_memory_err_list.next, in handle_memory_error()
/linux-4.4.14/crypto/
Dproc.c43 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
/linux-4.4.14/arch/powerpc/kernel/
Deeh_event.c65 event = list_entry(eeh_eventlist.next, in eeh_event_handler()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_main.c164 unode = list_entry(node, struct urb_node, entry); in udl_free_urb_list()
259 unode = list_entry(entry, struct urb_node, entry); in udl_get_urb()
/linux-4.4.14/fs/fscache/
Dcache.c164 cache = list_entry(fscache_cache_list.next, in fscache_select_cache_for_object()
338 object = list_entry(cache->object_list.next, in fscache_withdraw_all_objects()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_fence.c97 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_context_del()
134 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_update()
158 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_wait_uevent_handler()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_dev_frontend.c144 rb = list_entry(u->read_buffers.next, struct read_buffer, list); in xenbus_file_read()
166 rb = list_entry(u->read_buffers.next, in xenbus_file_read()
214 rb = list_entry(list->next, struct read_buffer, list); in queue_cleanup()
/linux-4.4.14/drivers/s390/block/
Ddasd_int.h615 if (list_entry(p, struct dasd_mchunk, list) > chunk) in dasd_free_chunk()
621 tmp = list_entry(left->next, struct dasd_mchunk, list); in dasd_free_chunk()
629 tmp = list_entry(left, struct dasd_mchunk, list); in dasd_free_chunk()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dmsu.c185 return list_entry(msc->win_list.next, struct msc_window, entry); in msc_oldest_window()
236 return list_entry(win->msc->win_list.next, struct msc_window, in msc_next_window()
239 return list_entry(win->entry.next, struct msc_window, entry); in msc_next_window()
690 struct msc_window *prev = list_entry(msc->win_list.prev, in msc_buffer_win_alloc()
794 next_win = list_entry(msc->win_list.next, in msc_buffer_relink()
797 next_win = list_entry(win->entry.next, in msc_buffer_relink()
/linux-4.4.14/drivers/usb/gadget/udc/
Dm66592-udc.c736 req = list_entry(ep->queue.next, struct m66592_request, queue); in transfer_complete()
910 req = list_entry(ep->queue.next, struct m66592_request, queue); in irq_pipe_ready()
918 req = list_entry(ep->queue.next, in irq_pipe_ready()
941 req = list_entry(ep->queue.next, struct m66592_request, queue); in irq_pipe_empty()
954 req = list_entry(ep->queue.next, in irq_pipe_empty()
1023 req = list_entry(ep->queue.next, in clear_feature()
1172 req = list_entry(ep->queue.next, struct m66592_request, queue); in irq_control_stage()
1325 req = list_entry(ep->queue.next, struct m66592_request, queue); in m66592_disable()
1417 req = list_entry(ep->queue.next, struct m66592_request, queue); in m66592_set_halt()
Ds3c-hsudc.c276 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_nuke_ep()
447 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_epin_intr()
484 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_epout_intr()
529 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_set_halt()
721 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_handle_ep0_intr()
734 hsreq = list_entry(hsep->queue.next, in s3c_hsudc_handle_ep0_intr()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_demux.h65 #define DMX_FEED_ENTRY(pos) list_entry(pos, struct dvb_demux_feed, list_head)
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dhvcserver.c85 pi = list_entry(element, struct hvcs_partner_info, node); in hvcs_free_partner_info()
/linux-4.4.14/fs/fat/
Dcache.c169 cache = list_entry(p, struct fat_cache, cache_list); in fat_cache_add()
191 cache = list_entry(i->cache_lru.next, in __fat_cache_inval_inode()
/linux-4.4.14/arch/mips/kernel/
Dvpe-mt.c214 t = list_entry(v->tc.next, struct tc, tc); in vpe_stop()
233 t = list_entry(v->tc.next, struct tc, tc); in vpe_free()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dworkitem.c247 wi = list_entry(sched->ws_runq.next, in cfs_wi_scheduler()
467 sched = list_entry(cfs_wi_data.wi_scheds.next, in cfs_wi_shutdown()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dnetwork.c326 lp = list_entry(ele, struct iss_net_private, opened_list); in iss_net_poll()
640 device = list_entry(ele, struct iss_net_private, device_list); in iss_net_setup()
682 eth = list_entry(ele, struct iss_net_init, list); in iss_net_init()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtl819x_TSProc.c43 list_entry(pRxTs->RxPendingPktList.prev, in RxPktPendingTimeout()
374 (*ppTS) = list_entry(pUnusedList->next, in GetTs()
433 list_entry(pRxTS->RxPendingPktList.prev, in RemoveTsEntry()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TSProc.c47 … pReorderEntry = (PRX_REORDER_ENTRY)list_entry(pRxTs->RxPendingPktList.prev,RX_REORDER_ENTRY,List); in RxPktPendingTimeout()
413 (*ppTS) = list_entry(pUnusedList->next, TS_COMMON_INFO, List); in GetTs()
475 …pRxReorderEntry = (PRX_REORDER_ENTRY)list_entry(pRxTS->RxPendingPktList.prev,RX_REORDER_ENTRY,List… in RemoveTsEntry()
/linux-4.4.14/drivers/spi/
Dspi-bfin-sport.c278 list_entry(trans->transfer_list.next, in bfin_sport_spi_next_transfer()
382 previous = list_entry(transfer->transfer_list.prev, in bfin_sport_spi_pump_transfers()
503 next_msg = list_entry(drv_data->queue.next, in bfin_sport_spi_pump_messages()
515 drv_data->cur_transfer = list_entry(drv_data->cur_msg->transfers.next, in bfin_sport_spi_pump_messages()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dmal.c342 struct mal_commac *mc = list_entry(l, struct mal_commac, list); in mal_rxde()
409 list_entry(l, struct mal_commac, poll_list); in mal_poll()
420 list_entry(l, struct mal_commac, poll_list); in mal_poll()
442 list_entry(l, struct mal_commac, poll_list); in mal_poll()
/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_hpc.c632 pslot = list_entry (pslotlist, struct slot, ibm_slot_list); in ibmphp_hpc_readslot()
844 pslot = list_entry (pslotlist, struct slot, ibm_slot_list); in poll_hpc()
863 pslot = list_entry (pslotlist, struct slot, ibm_slot_list); in poll_hpc()
876 pslot = list_entry (pslotlist, struct slot, ibm_slot_list); in poll_hpc()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_usb.c165 t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list); in get_tx_sdu_struct()
233 r = list_entry(rx->free_list.next, struct usb_rx, free_list); in get_rx_struct()
408 r = list_entry(rx->to_host_list.next, in do_rx()
619 t_sdu = list_entry(tx->sdu_list.next, struct usb_tx_sdu, list); in packet_aggregation()
672 t = list_entry(tx->hci_list.next, struct usb_tx, list); in do_tx()
/linux-4.4.14/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c280 xprt = list_entry(dto_xprt_q.next, in dto_tasklet_func()
830 frmr = list_entry(xprt->sc_frmr_q.next, in rdma_dealloc_frmr_q()
845 frmr = list_entry(rdma->sc_frmr_q.next, in svc_rdma_get_frmr()
900 newxprt = list_entry(listen_rdma->sc_accept_q.next, in svc_rdma_accept()
1178 ctxt = list_entry(rdma->sc_read_complete_q.next, in __svc_rdma_free()
1188 ctxt = list_entry(rdma->sc_rq_dto_q.next, in __svc_rdma_free()
/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_cmx.c513 member = list_entry(conf->mlist.next, struct dsp_conf_member, list); in dsp_cmx_hardware()
672 member = list_entry(conf->mlist.next, struct dsp_conf_member, in dsp_cmx_hardware()
686 member = list_entry(conf->mlist.next, struct dsp_conf_member, in dsp_cmx_hardware()
688 nextm = list_entry(member->list.next, struct dsp_conf_member, in dsp_cmx_hardware()
1121 member = list_entry(conf->mlist.next, struct dsp_conf_member, in dsp_cmx_conf()
1460 other = (list_entry(conf->mlist.next,
1463 other = (list_entry(conf->mlist.prev,
1706 member = list_entry(conf->mlist.next,
/linux-4.4.14/drivers/media/platform/
Dfsl-viu.c295 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
315 buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue); in restart_video_queue()
349 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in viu_vid_timeout()
524 prev = list_entry(vidq->active.prev, struct viu_buf, vb.queue); in buffer_queue()
972 buf = list_entry(vidq->active.next, struct viu_buf, in viu_activate_next_buf()
977 buf = list_entry(vidq->queued.next, struct viu_buf, in viu_activate_next_buf()
1085 buf = list_entry(vidq->active.next, in viu_capture_intr()
1550 struct v4l2_subdev *sdev = list_entry(v4l2_dev->subdevs.next, in viu_of_remove()
/linux-4.4.14/fs/dlm/
Drequestqueue.c79 e = list_entry(ls->ls_requestqueue.next, struct rq_entry, list); in dlm_process_requestqueue()
/linux-4.4.14/arch/frv/mb93090-mb00/
Dpci-frv.c91 bus = list_entry(ln, struct pci_bus, node); in pcibios_allocate_bus_resources()

123456