/drivers/usb/dwc3/ |
H A D | gadget.h | 22 #include <linux/list.h> 63 static inline struct dwc3_request *next_request(struct list_head *list) argument 65 if (list_empty(list)) 68 return list_first_entry(list, struct dwc3_request, list); 76 list_move_tail(&req->list, &dep->req_queued);
|
/drivers/crypto/qat/qat_common/ |
H A D | qat_crypto.h | 26 notice, this list of conditions and the following disclaimer. 28 notice, this list of conditions and the following disclaimer in 50 #include <linux/list.h> 63 struct list_head list; member in struct:qat_crypto_instance
|
H A D | adf_dev_mgr.c | 26 notice, this list of conditions and the following disclaimer. 28 notice, this list of conditions and the following disclaimer in 48 #include <linux/list.h> 77 list_entry(itr, struct adf_accel_dev, list); 85 list_add_tail(&accel_dev->list, &accel_table); 109 list_del(&accel_dev->list); 121 list); 140 list_entry(itr, struct adf_accel_dev, list); 157 list_entry(itr, struct adf_accel_dev, list);
|
/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 2 * this includes inlined list.h safe for userspace. 32 * Simple doubly linked list implementation. 50 static inline void INIT_LIST_HEAD(struct list_head *list) argument 52 list->next = list; 53 list->prev = list; 59 * This is only for internal list manipulation where we know 79 * @head: list head to add it after 92 * @head: list hea 169 list_move(struct list_head *list, struct list_head *head) argument 180 list_move_tail(struct list_head *list, struct list_head *head) argument 192 list_is_last(const struct list_head *list, const struct list_head *head) argument 235 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 262 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 276 __list_splice(const struct list_head *list, struct list_head *prev, struct list_head *next) argument 294 list_splice(const struct list_head *list, struct list_head *head) argument 306 list_splice_tail(struct list_head *list, struct list_head *head) argument 320 list_splice_init(struct list_head *list, struct list_head *head) argument 337 list_splice_tail_init(struct list_head *list, struct list_head *head) argument 539 struct list_head list; member in struct:offset [all...] |
/drivers/gpu/drm/ |
H A D | drm_panel.c | 35 INIT_LIST_HEAD(&panel->list); 42 list_add_tail(&panel->list, &panel_list); 52 list_del_init(&panel->list); 85 list_for_each_entry(panel, &panel_list, list) {
|
/drivers/infiniband/core/ |
H A D | core_priv.h | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 36 #include <linux/list.h>
|
/drivers/infiniband/hw/mlx4/ |
H A D | doorbell.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 38 struct list_head list; member in struct:mlx4_ib_user_db_page 52 list_for_each_entry(page, &context->db_page_list, list) 72 list_add(&page->list, &context->db_page_list); 90 list_del(&db->u.user_page->list);
|
/drivers/infiniband/hw/mlx5/ |
H A D | doorbell.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 40 struct list_head list; member in struct:mlx5_ib_user_db_page 54 list_for_each_entry(page, &context->db_page_list, list) 74 list_add(&page->list, &context->db_page_list); 92 list_del(&db->u.user_page->list);
|
/drivers/isdn/hardware/eicon/ |
H A D | capifunc.h | 25 struct list_head list; member in struct:_diva_card
|
/drivers/misc/vmw_vmci/ |
H A D | vmci_datagram.h | 20 #include <linux/list.h>
|
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_string.h | 100 void cfs_expr_list_free_list(struct list_head *list); 101 int cfs_ip_addr_parse(char *str, int len, struct list_head *list); 102 int cfs_ip_addr_match(__u32 addr, struct list_head *list); 103 void cfs_ip_addr_free(struct list_head *list);
|
/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.h | 26 #define list_remove_head(list, entry, type, member) \ 29 if (!list_empty(list)) { \ 30 entry = list_entry((list)->next, type, member); \ 35 #define list_get_first(list, type, member) \ 36 (list_empty(list)) ? NULL : \ 37 list_entry((list)->next, type, member) 131 struct list_head list; member in struct:lpfc_scsi_buf 151 * gather bde list that supports the sg_tablesize value.
|
/drivers/md/bcache/ |
H A D | closure.c | 62 * closure_wake_up - wake up all closures on a wait list, without memory barrier 66 struct llist_node *list; local 70 list = llist_del_all(&wait_list->list); 72 /* We first reverse the list to preserve FIFO ordering and fairness */ 74 while (list) { 75 struct llist_node *t = list; 76 list = llist_next(list); 85 cl = container_of(reverse, struct closure, list); [all...] |
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | intf.c | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 40 struct list_head list; member in struct:mlx4_device_context 62 list_add_tail(&dev_ctx->list, &priv->ctx_list); 72 list_for_each_entry(dev_ctx, &priv->ctx_list, list) 75 list_del(&dev_ctx->list); 93 list_add_tail(&intf->list, &intf_list); 112 list_del(&intf->list); 127 list_for_each_entry(dev_ctx, &priv->ctx_list, list) 142 list_for_each_entry(intf, &intf_list, list) [all...] |
H A D | icm.h | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 37 #include <linux/list.h> 51 struct list_head list; member in struct:mlx4_icm_chunk 93 struct mlx4_icm_chunk, list); 105 if (iter->chunk->list.next == &iter->icm->chunk_list) { 110 iter->chunk = list_entry(iter->chunk->list.next, 111 struct mlx4_icm_chunk, list);
|
/drivers/pci/hotplug/ |
H A D | pciehp_acpi.c | 40 struct list_head list; member in struct:dummy_slot 94 list_for_each_entry(tmp, &dummy_slots, list) { 98 list_add_tail(&slot->list, &dummy_slots); 119 list_for_each_entry_safe(slot, tmp, &dummy_slots, list) { 120 list_del(&slot->list);
|
/drivers/net/ieee802154/ |
H A D | fakelb.c | 39 struct list_head list; member in struct:fakelb_dev_priv 47 struct list_head list; member in struct:fakelb_priv 95 if (priv->list.next == priv->list.prev) { 100 list_for_each_entry(dp, &priv->fake->list, list) { 193 INIT_LIST_HEAD(&priv->list); 205 list_add_tail(&priv->list, &fake->list); 218 list_del(&priv->list); [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 46 INIT_LIST_HEAD(&q->list); 64 list_add_tail(&buf->list, &q->list); 77 if (!list_empty(&q->list)) { 78 buf = list_entry(q->list.next, struct ivtv_buffer, list); 79 list_del_init(q->list.next); 91 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); 93 list_move_tail(from->list [all...] |
/drivers/media/platform/ti-vpe/ |
H A D | vpdma.h | 176 /* vpdma descriptor list funcs */ 177 int vpdma_create_desc_list(struct vpdma_desc_list *list, size_t size, int type); 178 void vpdma_reset_desc_list(struct vpdma_desc_list *list); 179 void vpdma_free_desc_list(struct vpdma_desc_list *list); 180 int vpdma_submit_descs(struct vpdma_data *vpdma, struct vpdma_desc_list *list); 183 void vpdma_add_cfd_block(struct vpdma_desc_list *list, int client, 185 void vpdma_add_cfd_adb(struct vpdma_desc_list *list, int client, 187 void vpdma_add_sync_on_channel_ctd(struct vpdma_desc_list *list, 189 void vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, 193 void vpdma_add_in_dtd(struct vpdma_desc_list *list, in [all...] |
/drivers/xen/xen-pciback/ |
H A D | passthrough.c | 8 #include <linux/list.h> 30 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { 59 list_add_tail(&dev_entry->list, &dev_data->dev_list); 80 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { 82 list_del(&dev_entry->list); 123 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { 130 list_for_each_entry(e, &dev_data->dev_list, list) { 158 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { 159 list_del(&dev_entry->list);
|
/drivers/isdn/mISDN/ |
H A D | timerdev.c | 44 struct list_head list; member in struct:mISDNtimer 74 struct list_head *list = &dev->pending; local 81 while (!list_empty(list)) { 82 timer = list_first_entry(list, struct mISDNtimer, list); 87 list_del(&timer->list); 92 list_for_each_entry_safe(timer, next, &dev->expired, list) { 103 struct list_head *list = &dev->expired; local 115 while (list_empty(list) && (dev->work == 0)) { 120 !list_empty(list))); [all...] |
/drivers/vme/ |
H A D | vme_bridge.h | 9 struct list_head list; member in struct:vme_master_resource 26 struct list_head list; member in struct:vme_slave_resource 52 struct list_head list; member in struct:vme_dma_list 59 struct list_head list; member in struct:vme_dma_resource 70 struct list_head list; member in struct:vme_lm_resource 79 struct list_head list; member in struct:vme_bus_error 115 struct list_head bus_list; /* list of VME buses */
|
/drivers/s390/char/ |
H A D | raw3270.h | 98 struct list_head list; /* list head for request queueing. */ member in struct:raw3270_request 123 return list_empty(&rq->list); 156 struct list_head list; member in struct:raw3270_view 199 struct list_head list; member in struct:raw3270_notifier 213 struct list_head list; member in struct:string 227 list_for_each_entry(cs, free_list, list) { 237 list_del(&cs->list); 239 INIT_LIST_HEAD(&cs->list); 252 /* Find out the left neighbour in free memory list [all...] |
/drivers/soc/ti/ |
H A D | knav_qmss.h | 140 struct list_head list; member in struct:knav_pdsp_info 150 struct list_head list; member in struct:knav_qmgr_info 195 * @list: instance in the device's region list 196 * @pools: list of descriptor pools in the region 207 struct list_head list; member in struct:knav_region 222 * @list: list head 223 * @region_inst: instance in the region's pool list 235 struct list_head list; member in struct:knav_pool 291 struct list_head list; member in struct:knav_queue 334 struct list_head list; member in struct:knav_range_info [all...] |
/drivers/misc/mei/ |
H A D | amthif.c | 25 #include <linux/list.h> 126 * Return: returned a list entry on success, NULL on failure. 133 list_for_each_entry(cb, &dev->amthif_rd_complete_list.list, list) 209 list_del(&cb->list); 214 /* if the whole message will fit remove it from the list */ 216 list_del(&cb->list); 219 list_del(&cb->list); 224 * remove message from deletion list 309 dev_dbg(dev->dev, "add amthif cb to write waiting list\ [all...] |