Home
last modified time | relevance | path

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

/include/sound/
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)
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)
Dcore.h90 #define snd_device(n) list_entry(n, struct snd_device, list)
/include/linux/
Dplist.h284 return list_entry(head->node_list.next, in plist_first()
296 return list_entry(head->node_list.prev, in plist_last()
Dlist.h351 #define list_entry(ptr, type, member) \ macro
363 list_entry((ptr)->next, type, member)
374 list_entry((ptr)->prev, type, member)
387 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \
396 list_entry((pos)->member.next, typeof(*(pos)), member)
404 list_entry((pos)->member.prev, typeof(*(pos)), member)
474 ((pos) ? : list_entry(head, typeof(*pos), member))
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)
438 #define to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list)
Dmm_inline.h120 #define lru_to_page(head) (list_entry((head)->prev, struct page, lru))
Dnfs_page.h181 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
Drio.h211 #define rio_dev_g(n) list_entry(n, struct rio_dev, global_list)
212 #define rio_dev_f(n) list_entry(n, struct rio_dev, net_list)
Delevator.h211 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
Dblkdev.h615 #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
1185 #define blkdev_entry_to_request(entry) list_entry((entry), struct request, queuelist)
Dnetdevice.h2391 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
/include/drm/
Ddrm_mm.h189 …for (entry = list_entry((backwards) ? (mm)->hole_stack.prev : (mm)->hole_stack.next, struct drm_mm…
194 …entry = list_entry((backwards) ? entry->hole_stack.prev : entry->hole_stack.next, struct drm_mm_no…