Searched refs:list_entry (Results 1 – 13 of 13) sorted by relevance
/include/sound/ |
D | i2c.h | 37 #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)
|
D | control.h | 84 #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)
|
D | core.h | 90 #define snd_device(n) list_entry(n, struct snd_device, list)
|
/include/linux/ |
D | plist.h | 284 return list_entry(head->node_list.next, in plist_first() 296 return list_entry(head->node_list.prev, in plist_last()
|
D | list.h | 351 #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))
|
D | pnp.h | 219 #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)
|
D | mm_inline.h | 120 #define lru_to_page(head) (list_entry((head)->prev, struct page, lru))
|
D | nfs_page.h | 181 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
|
D | rio.h | 211 #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)
|
D | elevator.h | 211 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
|
D | blkdev.h | 615 #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist) 1185 #define blkdev_entry_to_request(entry) list_entry((entry), struct request, queuelist)
|
D | netdevice.h | 2391 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
|
/include/drm/ |
D | drm_mm.h | 189 …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…
|