Searched refs:list_entry (Results 1 – 14 of 14) sorted by relevance
/include/sound/ |
D | i2c.h | 21 #define snd_i2c_device(n) list_entry(n, struct snd_i2c_device, list) 60 #define snd_i2c_slave_bus(n) list_entry(n, struct snd_i2c_bus, buses)
|
D | control.h | 81 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list) 89 #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list) 111 #define snd_ctl_file(n) list_entry(n, struct snd_ctl_file, list)
|
D | core.h | 80 #define snd_device(n) list_entry(n, struct snd_device, list)
|
/include/linux/ |
D | plist.h | 282 return list_entry(head->node_list.next, in plist_first() 294 return list_entry(head->node_list.prev, in plist_last()
|
D | pnp.h | 220 #define global_to_pnp_card(n) list_entry(n, struct pnp_card, global_list) 221 #define protocol_to_pnp_card(n) list_entry(n, struct pnp_card, protocol_list) 273 #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) 274 #define card_to_pnp_dev(n) list_entry(n, struct pnp_dev, card_list) 275 #define protocol_to_pnp_dev(n) list_entry(n, struct pnp_dev, protocol_list) 432 #define to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list)
|
D | list.h | 510 #define list_entry(ptr, type, member) \ macro 522 list_entry((ptr)->next, type, member) 533 list_entry((ptr)->prev, type, member) 546 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ 555 list_entry((pos)->member.next, typeof(*(pos)), member) 563 list_entry((pos)->member.prev, typeof(*(pos)), member) 652 ((pos) ? : list_entry(head, typeof(*pos), member))
|
D | elevator.h | 175 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
|
D | nfs_page.h | 204 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
|
D | rio.h | 207 #define rio_dev_g(n) list_entry(n, struct rio_dev, global_list) 208 #define rio_dev_f(n) list_entry(n, struct rio_dev, net_list)
|
D | blkdev.h | 699 #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
|
D | mm.h | 238 #define lru_to_page(head) (list_entry((head)->prev, struct page, lru))
|
D | netdevice.h | 2847 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
|
/include/drm/ |
D | drm_writeback.h | 118 struct list_head list_entry; member
|
/include/media/ |
D | demux.h | 368 list_entry(list, struct dmx_frontend, connectivity_list)
|