Searched refs:free_list (Results 1 - 123 of 123) sorted by relevance

/linux-4.1.27/net/ceph/
H A Dpagelist.c40 page = list_first_entry(&pl->free_list, struct page, lru); ceph_pagelist_addpage()
92 list_add_tail(&page->lru, &pl->free_list); ceph_pagelist_reserve()
102 while (!list_empty(&pl->free_list)) { ceph_pagelist_free_reserve()
103 struct page *page = list_first_entry(&pl->free_list, ceph_pagelist_free_reserve()
140 list_move_tail(&page->lru, &pl->free_list); ceph_pagelist_truncate()
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_usb.h66 struct list_head free_list; member in struct:usb_rx
79 struct list_head free_list; member in struct:tx_cxt
87 struct list_head free_list; member in struct:rx_cxt
H A Dgdm_usb.c162 if (list_empty(&tx->free_list)) get_tx_sdu_struct()
165 t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list); get_tx_sdu_struct()
170 *no_spc = list_empty(&tx->free_list) ? 1 : 0; get_tx_sdu_struct()
177 list_add_tail(&t_sdu->list, &tx->free_list); put_tx_struct()
228 if (list_empty(&rx->free_list)) { get_rx_struct()
233 r = list_entry(rx->free_list.next, struct usb_rx, free_list); get_rx_struct()
234 list_del(&r->free_list); get_rx_struct()
238 *no_spc = list_empty(&rx->free_list) ? 1 : 0; get_rx_struct()
251 list_add_tail(&r->free_list, &rx->free_list); put_rx_struct()
277 list_for_each_entry_safe(t_sdu, t_sdu_next, &tx->free_list, list) { release_usb()
293 list_for_each_entry_safe(r, r_next, &rx->free_list, free_list) { release_usb()
294 list_del(&r->free_list); release_usb()
325 INIT_LIST_HEAD(&tx->free_list); init_usb()
327 INIT_LIST_HEAD(&rx->free_list); init_usb()
346 list_add(&t_sdu->list, &tx->free_list); init_usb()
357 list_add(&r->free_list, &rx->free_list); init_usb()
H A Dgdm_mux.h54 struct list_head free_list; member in struct:mux_rx
H A Dgdm_mux.c136 r = list_entry(rx->rx_free_list.prev, struct mux_rx, free_list); get_rx_struct()
137 list_del(&r->free_list); get_rx_struct()
149 list_add_tail(&r->free_list, &rx->rx_free_list); put_rx_struct()
461 list_for_each_entry_safe(r, r_next, &rx->rx_free_list, free_list) { release_usb()
462 list_del(&r->free_list); release_usb()
500 list_add(&r->free_list, &rx->rx_free_list); init_usb()
/linux-4.1.27/drivers/infiniband/core/
H A Dfmr_pool.c57 * its pool's free_list (if the FMR can be mapped again; that is,
62 * either free_list or dirty_list.
68 * either free_list or dirty_list as appropriate. However, it is not
72 * free_list/dirty_list.
74 * Before we remap an FMR from free_list, we remove it from the cache
91 struct list_head free_list; member in struct:ib_fmr_pool
173 list_splice(&unmap_list, &pool->free_list); ib_fmr_batch_release()
262 INIT_LIST_HEAD(&pool->free_list); ib_create_fmr_pool()
332 list_add_tail(&fmr->list, &pool->free_list); ib_create_fmr_pool()
369 list_for_each_entry_safe(fmr, tmp, &pool->free_list, list) { ib_destroy_fmr_pool()
402 * The free_list holds FMRs that may have been used ib_flush_fmr_pool()
408 list_for_each_entry_safe(fmr, next, &pool->free_list, list) { ib_flush_fmr_pool()
464 if (list_empty(&pool->free_list)) { ib_fmr_pool_map_phys()
469 fmr = list_entry(pool->free_list.next, struct ib_pool_fmr, list); ib_fmr_pool_map_phys()
479 list_add(&fmr->list, &pool->free_list); ib_fmr_pool_map_phys()
524 list_add_tail(&fmr->list, &pool->free_list); ib_fmr_pool_unmap()
H A Diwcm.c66 struct list_head free_list; member in struct:iwcm_work
114 free_list); get_work()
115 list_del_init(&work->free_list); get_work()
121 list_add(&work->free_list, &work->cm_id->work_free_list); put_work()
129 kfree(list_entry(e, struct iwcm_work, free_list)); dealloc_work_entries()
H A Dmad.c1226 struct list_head free_list; ib_free_recv_mad() local
1228 INIT_LIST_HEAD(&free_list); ib_free_recv_mad()
1229 list_splice_init(&mad_recv_wc->rmpp_list, &free_list); ib_free_recv_mad()
1232 &free_list, list) { ib_free_recv_mad()
/linux-4.1.27/drivers/s390/char/
H A Draw3270.h221 alloc_string(struct list_head *free_list, unsigned long len) alloc_string() argument
227 list_for_each_entry(cs, free_list, list) { list_for_each_entry()
247 free_string(struct list_head *free_list, struct string *cs) free_string() argument
253 left = free_list; list_for_each()
254 list_for_each(p, free_list) { list_for_each()
260 if (left->next != free_list) {
268 if (left != free_list) {
280 add_string_memory(struct list_head *free_list, void *mem, unsigned long size) add_string_memory() argument
286 free_string(free_list, cs); add_string_memory()
/linux-4.1.27/fs/notify/
H A Dvfsmount_mark.c38 LIST_HEAD(free_list); fsnotify_clear_marks_by_mount()
42 list_add(&mark->free_list, &free_list); fsnotify_clear_marks_by_mount()
48 fsnotify_destroy_marks(&free_list); fsnotify_clear_marks_by_mount()
H A Dinode_mark.c74 LIST_HEAD(free_list); fsnotify_clear_marks_by_inode()
78 list_add(&mark->free_list, &free_list); fsnotify_clear_marks_by_inode()
84 fsnotify_destroy_marks(&free_list); fsnotify_clear_marks_by_inode()
H A Dmark.c215 list_for_each_entry_safe(mark, lmark, to_free, free_list) { list_for_each_entry_safe()
/linux-4.1.27/drivers/staging/gdm72xx/
H A Dgdm_usb.c116 if (list_empty(&tx->free_list)) { get_tx_struct()
121 t = list_entry(tx->free_list.next, struct usb_tx, list); get_tx_struct()
124 *no_spc = list_empty(&tx->free_list) ? 1 : 0; get_tx_struct()
132 list_add_tail(&t->list, &tx->free_list); put_tx_struct()
140 if (list_empty(&rx->free_list)) { get_rx_struct()
145 list_add(&r->list, &rx->free_list); get_rx_struct()
148 r = list_entry(rx->free_list.next, struct usb_rx, list); get_rx_struct()
157 list_move(&r->list, &rx->free_list); put_rx_struct()
180 list_for_each_entry_safe(t, t_next, &tx->free_list, list) { release_usb()
189 list_for_each_entry_safe(r, r_next, &rx->free_list, list) { release_usb()
211 INIT_LIST_HEAD(&tx->free_list); init_usb()
218 INIT_LIST_HEAD(&rx->free_list); init_usb()
232 list_add(&t->list, &tx->free_list); init_usb()
243 list_add(&r->list, &rx->free_list); init_usb()
442 if (list_empty(&tx->free_list)) gdm_usb_rcv_complete()
H A Dgdm_sdio.h32 struct list_head free_list; member in struct:tx_cxt
50 struct list_head free_list; member in struct:rx_cxt
H A Dgdm_usb.h38 struct list_head free_list; member in struct:tx_cxt
57 struct list_head free_list; member in struct:rx_cxt
H A Dgdm_sdio.c87 if (list_empty(&tx->free_list)) get_tx_struct()
90 t = list_entry(tx->free_list.prev, struct sdio_tx, list); get_tx_struct()
93 *no_spc = list_empty(&tx->free_list) ? 1 : 0; get_tx_struct()
101 list_add_tail(&t->list, &tx->free_list); put_tx_struct()
109 if (list_empty(&rx->free_list)) get_rx_struct()
112 r = list_entry(rx->free_list.prev, struct sdio_rx, list); get_rx_struct()
121 list_add_tail(&r->list, &rx->free_list); put_rx_struct()
133 list_for_each_entry_safe(t, t_next, &tx->free_list, list) { release_sdio()
150 list_for_each_entry_safe(r, r_next, &rx->free_list, list) { release_sdio()
169 INIT_LIST_HEAD(&tx->free_list); init_sdio()
185 list_add(&t->list, &tx->free_list); init_sdio()
188 INIT_LIST_HEAD(&rx->free_list); init_sdio()
199 list_add(&r->list, &rx->free_list); init_sdio()
463 if (list_empty(&tx->free_list)) control_sdu_tx_flow()
H A Dgdm_qos.c77 static void free_qos_entry_list(struct list_head *free_list) free_qos_entry_list() argument
82 list_for_each_entry_safe(entry, n, free_list, list) { list_for_each_entry_safe()
118 struct list_head free_list; gdm_qos_release_list() local
121 INIT_LIST_HEAD(&free_list); gdm_qos_release_list()
135 list_move_tail(&entry->list, &free_list); gdm_qos_release_list()
139 free_qos_entry_list(&free_list); gdm_qos_release_list()
337 struct list_head free_list; gdm_recv_qos_hci_packet() local
424 INIT_LIST_HEAD(&free_list); gdm_recv_qos_hci_packet()
433 list_move_tail(&entry->list, &free_list); gdm_recv_qos_hci_packet()
436 free_qos_entry_list(&free_list); gdm_recv_qos_hci_packet()
/linux-4.1.27/include/linux/ceph/
H A Dpagelist.h14 struct list_head free_list; member in struct:ceph_pagelist
31 INIT_LIST_HEAD(&pl->free_list); ceph_pagelist_init()
/linux-4.1.27/drivers/staging/fsl-mc/include/
H A Dmc-private.h61 * @free_list: anchor node of list of free resources in the pool
68 struct mutex mutex; /* serializes access to free_list */
69 struct list_head free_list; member in struct:fsl_mc_resource_pool
/linux-4.1.27/fs/xfs/
H A Dxfs_symlink.c178 struct xfs_bmap_free free_list; xfs_symlink() local
278 xfs_bmap_init(&free_list, &first_block); xfs_symlink()
330 mval, &nmaps, &free_list); xfs_symlink()
378 &first_block, &free_list, resblks); xfs_symlink()
393 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_symlink()
409 xfs_bmap_cancel(&free_list); xfs_symlink()
445 xfs_bmap_free_t free_list; xfs_inactive_symlink_rmt() local
487 xfs_bmap_init(&free_list, &first_block); xfs_inactive_symlink_rmt()
507 * Unmap the dead block(s) to the free_list. xfs_inactive_symlink_rmt()
510 &first_block, &free_list, &done); xfs_inactive_symlink_rmt()
517 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_inactive_symlink_rmt()
553 xfs_bmap_cancel(&free_list); xfs_inactive_symlink_rmt()
H A Dxfs_iomap.c130 xfs_bmap_free_t free_list; xfs_iomap_write_direct() local
202 xfs_bmap_init(&free_list, &firstfsb); xfs_iomap_write_direct()
206 imap, &nimaps, &free_list); xfs_iomap_write_direct()
213 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_iomap_write_direct()
236 xfs_bmap_cancel(&free_list); xfs_iomap_write_direct()
655 xfs_bmap_free_t free_list; xfs_iomap_write_allocate() local
699 xfs_bmap_init(&free_list, &first_block); xfs_iomap_write_allocate()
755 imap, &nimaps, &free_list); xfs_iomap_write_allocate()
759 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_iomap_write_allocate()
793 xfs_bmap_cancel(&free_list); xfs_iomap_write_allocate()
814 xfs_bmap_free_t free_list; xfs_iomap_write_unwritten() local
866 xfs_bmap_init(&free_list, &firstfsb); xfs_iomap_write_unwritten()
870 1, &imap, &nimaps, &free_list); xfs_iomap_write_unwritten()
889 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_iomap_write_unwritten()
916 xfs_bmap_cancel(&free_list); xfs_iomap_write_unwritten()
H A Dxfs_inode.c1127 xfs_bmap_free_t free_list; xfs_create() local
1194 xfs_bmap_init(&free_list, &first_block); xfs_create()
1234 &first_block, &free_list, resblks ? xfs_create()
1268 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_create()
1284 xfs_bmap_cancel(&free_list); xfs_create()
1428 xfs_bmap_free_t free_list; xfs_link() local
1484 xfs_bmap_init(&free_list, &first_block); xfs_link()
1493 &first_block, &free_list, resblks); xfs_link()
1512 error = xfs_bmap_finish (&tp, &free_list, &committed); xfs_link()
1514 xfs_bmap_cancel(&free_list); xfs_link()
1559 xfs_bmap_free_t free_list; xfs_itruncate_extents() local
1596 xfs_bmap_init(&free_list, &first_block); xfs_itruncate_extents()
1601 &first_block, &free_list, xfs_itruncate_extents()
1610 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_itruncate_extents()
1660 xfs_bmap_cancel(&free_list); xfs_itruncate_extents()
1803 xfs_bmap_free_t free_list; xfs_inactive_ifree() local
1845 xfs_bmap_init(&free_list, &first_block); xfs_inactive_ifree()
1846 error = xfs_ifree(tp, ip, &free_list); xfs_inactive_ifree()
1873 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_inactive_ifree()
2537 xfs_bmap_free_t free_list; xfs_remove() local
2627 xfs_bmap_init(&free_list, &first_block); xfs_remove()
2629 &first_block, &free_list, resblks); xfs_remove()
2643 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_remove()
2657 xfs_bmap_cancel(&free_list); xfs_remove()
2718 struct xfs_bmap_free *free_list) xfs_finish_rename()
2730 error = xfs_bmap_finish(&tp, free_list, &committed); xfs_finish_rename()
2732 xfs_bmap_cancel(free_list); xfs_finish_rename()
2754 struct xfs_bmap_free *free_list, xfs_cross_rename()
2766 first_block, free_list, spaceres); xfs_cross_rename()
2773 first_block, free_list, spaceres); xfs_cross_rename()
2788 free_list, spaceres); xfs_cross_rename()
2815 free_list, spaceres); xfs_cross_rename()
2854 return xfs_finish_rename(tp, free_list); xfs_cross_rename()
2857 xfs_bmap_cancel(free_list); xfs_cross_rename()
2911 struct xfs_bmap_free free_list; xfs_rename() local
2996 xfs_bmap_init(&free_list, &first_block); xfs_rename()
3002 &free_list, &first_block, spaceres); xfs_rename()
3024 &free_list, spaceres); xfs_rename()
3066 &first_block, &free_list, spaceres); xfs_rename()
3101 &first_block, &free_list, spaceres); xfs_rename()
3140 &first_block, &free_list, spaceres); xfs_rename()
3143 &first_block, &free_list, spaceres); xfs_rename()
3178 error = xfs_finish_rename(tp, &free_list); xfs_rename()
3186 xfs_bmap_cancel(&free_list); xfs_rename()
2716 xfs_finish_rename( struct xfs_trans *tp, struct xfs_bmap_free *free_list) xfs_finish_rename() argument
2746 xfs_cross_rename( struct xfs_trans *tp, struct xfs_inode *dp1, struct xfs_name *name1, struct xfs_inode *ip1, struct xfs_inode *dp2, struct xfs_name *name2, struct xfs_inode *ip2, struct xfs_bmap_free *free_list, xfs_fsblock_t *first_block, int spaceres) xfs_cross_rename() argument
H A Dxfs_bmap_util.c947 xfs_bmap_free_t free_list; xfs_alloc_file_space() local
1040 xfs_bmap_init(&free_list, &firstfsb); xfs_alloc_file_space()
1043 0, imapp, &nimaps, &free_list); xfs_alloc_file_space()
1051 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_alloc_file_space()
1076 xfs_bmap_cancel(&free_list); xfs_alloc_file_space()
1176 xfs_bmap_free_t free_list; xfs_free_file_space() local
1307 xfs_bmap_init(&free_list, &firstfsb); xfs_free_file_space()
1310 0, 2, &firstfsb, &free_list, &done); xfs_free_file_space()
1318 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_free_file_space()
1331 xfs_bmap_cancel(&free_list); xfs_free_file_space()
1397 struct xfs_bmap_free free_list; xfs_shift_file_space() local
1479 xfs_bmap_init(&free_list, &first_block); xfs_shift_file_space()
1486 &done, stop_fsb, &first_block, &free_list, xfs_shift_file_space()
1491 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_shift_file_space()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion_heap.c166 list_add(&buffer->list, &heap->free_list); ion_heap_freelist_add()
196 while (!list_empty(&heap->free_list)) { _ion_heap_freelist_drain()
199 buffer = list_first_entry(&heap->free_list, struct ion_buffer, _ion_heap_freelist_drain()
236 if (list_empty(&heap->free_list)) { ion_heap_deferred_free()
240 buffer = list_first_entry(&heap->free_list, struct ion_buffer, ion_heap_deferred_free()
255 INIT_LIST_HEAD(&heap->free_list); ion_heap_init_deferred_free()
H A Dion_priv.h154 * @free_list: free list head if deferred free is used
176 struct list_head free_list; member in struct:ion_heap
/linux-4.1.27/drivers/infiniband/ulp/srp/
H A Dib_srp.h238 * @entry: Entry in srp_fr_pool.free_list.
251 * An entry is available for allocation if and only if it occurs in @free_list.
255 * @lock: Protects free_list.
256 * @free_list: List of free descriptors.
263 struct list_head free_list; member in struct:srp_fr_pool
H A Dib_srp.c379 INIT_LIST_HEAD(&pool->free_list); srp_create_fr_pool()
394 list_add_tail(&d->entry, &pool->free_list); srp_create_fr_pool()
418 if (!list_empty(&pool->free_list)) { srp_fr_pool_get()
419 d = list_first_entry(&pool->free_list, typeof(*d), entry); srp_fr_pool_get()
444 list_add(&desc[i]->entry, &pool->free_list); srp_fr_pool_put()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_user_sdma.c427 goto free_list; ipath_user_sdma_queue_pkts()
549 free_list: ipath_user_sdma_queue_pkts()
565 struct list_head free_list; ipath_user_sdma_queue_clean() local
570 INIT_LIST_HEAD(&free_list); ipath_user_sdma_queue_clean()
578 list_move_tail(&pkt->list, &free_list); ipath_user_sdma_queue_clean()
584 if (!list_empty(&free_list)) { ipath_user_sdma_queue_clean()
587 pkt = list_entry(free_list.prev, ipath_user_sdma_queue_clean()
591 ipath_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); ipath_user_sdma_queue_clean()
643 struct list_head free_list; ipath_user_sdma_queue_drain() local
646 INIT_LIST_HEAD(&free_list); ipath_user_sdma_queue_drain()
648 list_splice_init(&pq->sent, &free_list); ipath_user_sdma_queue_drain()
649 ipath_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); ipath_user_sdma_queue_drain()
/linux-4.1.27/include/linux/dma/
H A Dipu-dma.h164 struct list_head free_list; /* free tx-descriptors */ member in struct:idmac_channel
167 struct mutex chan_mutex; /* protects status, cookie, free_list */
/linux-4.1.27/arch/um/drivers/
H A Dchan.h17 struct list_head free_list; member in struct:chan
H A Dchan_kern.c195 chan = list_entry(ele, struct chan, free_list); free_irqs()
214 list_add(&chan->free_list, &irqs_to_free); close_one_chan()
483 .free_list = parse_chan()
484 LIST_HEAD_INIT(chan->free_list), parse_chan()
/linux-4.1.27/arch/s390/mm/
H A Dpage-states.c104 list_for_each(l, &zone->free_area[order].free_list[t]) { for_each_migratetype_order()
/linux-4.1.27/drivers/dma/
H A Dpch_dma.c113 struct list_head free_list; member in struct:pch_dma_chan
367 list_splice_init(&desc->tx_list, &pd_chan->free_list); pdc_chain_complete()
368 list_move(&desc->desc_node, &pd_chan->free_list); pdc_chain_complete()
467 list_for_each_entry_safe(desc, _d, &pd_chan->free_list, desc_node) { pdc_desc_get()
499 list_splice_init(&desc->tx_list, &pd_chan->free_list); pdc_desc_put()
500 list_add(&desc->desc_node, &pd_chan->free_list); pdc_desc_put()
517 if (!list_empty(&pd_chan->free_list)) pd_alloc_chan_resources()
533 list_splice(&tmp_list, &pd_chan->free_list); pd_alloc_chan_resources()
555 list_splice_init(&pd_chan->free_list, &tmp_list); pd_free_chan_resources()
915 INIT_LIST_HEAD(&pd_chan->free_list); pch_dma_probe()
H A Dtimb_dma.c92 struct list_head free_list; member in struct:timb_dma_chan
262 list_move(&td_desc->desc_node, &td_chan->free_list); __td_finish()
395 list_add(&td_desc->desc_node, &td_chan->free_list); td_desc_put()
405 list_for_each_entry_safe(td_desc, _td_desc, &td_chan->free_list, td_desc_get()
428 BUG_ON(!list_empty(&td_chan->free_list)); td_alloc_chan_resources()
465 list_splice_init(&td_chan->free_list, &list); td_free_chan_resources()
576 list_move(&td_desc->desc_node, &td_chan->free_list); td_terminate_all()
719 INIT_LIST_HEAD(&td_chan->free_list); td_probe()
H A Dep93xx_dma.c145 * @free_list: list of free descriptors which can be used
179 struct list_head free_list; member in struct:ep93xx_dma_chan
672 list_for_each_entry_safe(desc, _desc, &edmac->free_list, node) { ep93xx_dma_desc_get()
700 list_splice_init(&desc->tx_list, &edmac->free_list); ep93xx_dma_desc_put()
701 list_add(&desc->node, &edmac->free_list); ep93xx_dma_desc_put()
956 list_splice_init(&edmac->free_list, &list); ep93xx_dma_free_chan_resources()
1170 * @edmac->free_list and callbacks are _not_ called.
1310 INIT_LIST_HEAD(&edmac->free_list); ep93xx_dma_probe()
H A Dat_hdmac.c127 * atc_desc_get - get an unused descriptor from free_list
139 list_for_each_entry_safe(desc, _desc, &atchan->free_list, desc_node) { atc_desc_get()
185 list_splice_init(&desc->tx_list, &atchan->free_list); atc_desc_put()
188 list_add(&desc->desc_node, &atchan->free_list); atc_desc_put()
397 /* move children to free_list */ atc_chain_complete()
398 list_splice_init(&desc->tx_list, &atchan->free_list); atc_chain_complete()
399 /* move myself to free_list */ atc_chain_complete()
400 list_move(&desc->desc_node, &atchan->free_list); atc_chain_complete()
1390 if (!list_empty(&atchan->free_list)) atc_alloc_chan_resources()
1406 list_splice(&tmp_list, &atchan->free_list); atc_alloc_chan_resources()
1439 list_for_each_entry_safe(desc, _desc, &atchan->free_list, desc_node) { atc_free_chan_resources()
1445 list_splice_init(&atchan->free_list, &list); atc_free_chan_resources()
1701 INIT_LIST_HEAD(&atchan->free_list); at_dma_probe()
H A Dtxx9dmac.c218 list_for_each_entry_safe(desc, _desc, &dc->free_list, desc_node) { txx9dmac_desc_get()
276 list_splice_init(&desc->tx_list, &dc->free_list); txx9dmac_desc_put()
279 list_add(&desc->desc_node, &dc->free_list); txx9dmac_desc_put()
418 list_splice_init(&desc->tx_list, &dc->free_list); txx9dmac_descriptor_complete()
419 list_move(&desc->desc_node, &dc->free_list); txx9dmac_descriptor_complete()
1067 list_splice_init(&dc->free_list, &list); txx9dmac_free_chan_resources()
1147 INIT_LIST_HEAD(&dc->free_list); txx9dmac_chan_probe()
H A Dat_hdmac_regs.h240 * @free_list: list of descriptors usable by the channel
261 struct list_head free_list; member in struct:at_dma_chan
H A Dtxx9dmac.h177 struct list_head free_list; member in struct:txx9dmac_chan
/linux-4.1.27/fs/
H A Dmbcache.c250 LIST_HEAD(free_list); mb_cache_shrink_scan()
278 list_add_tail(&ce->e_lru_list, &free_list); mb_cache_shrink_scan()
283 list_for_each_entry_safe(entry, tmp, &free_list, e_lru_list) { mb_cache_shrink_scan()
398 LIST_HEAD(free_list); mb_cache_shrink()
431 list_add_tail(&ce->e_lru_list, &free_list); mb_cache_shrink()
438 list_for_each_entry_safe(ce, tmp, &free_list, e_lru_list) { mb_cache_shrink()
454 LIST_HEAD(free_list); mb_cache_destroy()
460 list_move_tail(&ce->e_lru_list, &free_list); mb_cache_destroy()
465 list_for_each_entry_safe(ce, tmp, &free_list, e_lru_list) { mb_cache_destroy()
/linux-4.1.27/arch/powerpc/lib/
H A Drheap.c77 fixup(blks, blke, delta, &info->free_list); grow()
172 list_for_each(l, &info->free_list) { attach_free_block()
205 list_add(&blkn->list, &info->free_list); attach_free_block()
274 INIT_LIST_HEAD(&info->free_list); rh_create()
319 INIT_LIST_HEAD(&info->free_list); rh_init()
395 list_for_each(l, &info->free_list) { rh_detach_region()
460 list_for_each(l, &info->free_list) { rh_alloc_align()
552 list_for_each(l, &info->free_list) { rh_alloc_fixed()
651 h = &info->free_list; rh_get_stats()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h211 * @free_list: Node in srpt_rdma_ch.free_list.
235 struct list_head free_list; member in struct:srpt_send_ioctx
288 * @spinlock: Protects free_list and state.
289 * @free_list: Head of list with free send I/O contexts.
318 struct list_head free_list; member in struct:srpt_rdma_ch
H A Dib_srpt.c1265 if (!list_empty(&ch->free_list)) { srpt_get_send_ioctx()
1266 ioctx = list_first_entry(&ch->free_list, srpt_get_send_ioctx()
1267 struct srpt_send_ioctx, free_list); srpt_get_send_ioctx()
1268 list_del(&ioctx->free_list); srpt_get_send_ioctx()
2495 INIT_LIST_HEAD(&ch->free_list); srpt_cm_req_recv()
2498 list_add_tail(&ch->ioctx_ring[i]->free_list, &ch->free_list); srpt_cm_req_recv()
3442 list_add(&ioctx->free_list, &ch->free_list); srpt_release_cmd()
/linux-4.1.27/fs/jffs2/
H A Djffs2_fs_sb.h106 struct list_head free_list; /* Blocks which are free and ready to be used */ member in struct:jffs2_sb_info
110 spinlock_t erase_completion_lock; /* Protect free_list and erasing_list
H A Ddebug.c232 list_for_each_entry(jeb, &c->free_list, list) { __jffs2_dbg_superblock_counts()
645 if (list_empty(&c->free_list)) { __jffs2_dbg_dump_block_lists_nolock()
646 printk(JFFS2_DBG "free_list: empty\n"); __jffs2_dbg_dump_block_lists_nolock()
650 list_for_each(this, &c->free_list) { __jffs2_dbg_dump_block_lists_nolock()
654 printk(JFFS2_DBG "free_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
H A Dnodemgmt.c286 if (list_empty(&c->free_list)) { jffs2_find_nextblock()
334 next = c->free_list.next; jffs2_find_nextblock()
460 pr_warn("Eep. Block 0x%08x taken from free_list had free_size of 0x%08x!!\n", jffs2_do_reserve_space()
H A Dbuild.c402 INIT_LIST_HEAD(&c->free_list); jffs2_do_mount_fs()
H A Derase.c490 list_move_tail(&jeb->list, &c->free_list); jffs2_mark_erased_block()
H A Dscan.c178 list_add(&jeb->list, &c->free_list); jffs2_scan_medium()
1174 rotate_list((&c->free_list), rotateby); jffs2_rotate_lists()
/linux-4.1.27/arch/powerpc/include/asm/
H A Drheap.h32 struct list_head free_list; member in struct:_rh_info
/linux-4.1.27/scripts/genksyms/
H A Dgenksyms.h70 void free_list(struct string_list *s, struct string_list *e);
H A Dparse.y51 free_list(b, e);
131 { free_list(*$2, NULL); *$2 = NULL; }
178 free_list(*$2, NULL);
H A Dgenksyms.c213 free_list(last_enum_expr, NULL); __add_symbol()
233 free_list(last_enum_expr, NULL); __add_symbol()
341 void free_list(struct string_list *s, struct string_list *e) free_list() function
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c138 list_add(&nfp->list, &dev->priv.free_list); insert_page()
195 if (list_empty(&dev->priv.free_list)) alloc_4k()
198 fp = list_entry(dev->priv.free_list.next, struct fw_page, list); alloc_4k()
239 list_add(&fwp->list, &dev->priv.free_list); free_4k()
514 INIT_LIST_HEAD(&dev->priv.free_list); mlx5_pagealloc_init()
/linux-4.1.27/fs/ext4/
H A Dcrypto.c85 list_add(&ctx->free_list, &ext4_free_crypto_ctxs); ext4_release_crypto_ctx()
138 struct ext4_crypto_ctx, free_list); ext4_get_crypto_ctx()
140 list_del(&ctx->free_list); ext4_get_crypto_ctx()
207 list_for_each_entry_safe(pos, n, &ext4_free_crypto_ctxs, free_list) { ext4_exit_crypto()
259 list_add(&ctx->free_list, &ext4_free_crypto_ctxs); ext4_init_crypto()
H A Dext4_crypto.h84 struct list_head free_list; /* Free list */ member in struct:ext4_crypto_ctx
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c275 cmgr->free_list = kzalloc(sizeof(*cmgr->free_list) * bnx2fc_cmd_mgr_alloc()
277 if (!cmgr->free_list) { bnx2fc_cmd_mgr_alloc()
278 printk(KERN_ERR PFX "failed to alloc free_list\n"); bnx2fc_cmd_mgr_alloc()
286 kfree(cmgr->free_list); bnx2fc_cmd_mgr_alloc()
287 cmgr->free_list = NULL; bnx2fc_cmd_mgr_alloc()
295 INIT_LIST_HEAD(&cmgr->free_list[i]); bnx2fc_cmd_mgr_alloc()
320 &cmgr->free_list[io_req->xid % bnx2fc_cmd_mgr_alloc()
324 &cmgr->free_list[num_possible_cpus()]); bnx2fc_cmd_mgr_alloc()
408 if (!cmgr->free_list) bnx2fc_cmd_mgr_free()
415 &cmgr->free_list[i], link) { bnx2fc_cmd_mgr_free()
420 kfree(cmgr->free_list); bnx2fc_cmd_mgr_free()
457 if ((list_empty(&(cmd_mgr->free_list[index]))) || bnx2fc_elstm_alloc()
463 if (list_empty(&(cmd_mgr->free_list[index]))) bnx2fc_elstm_alloc()
470 cmd_mgr->free_list[index].next; bnx2fc_elstm_alloc()
516 if ((list_empty(&cmd_mgr->free_list[index])) || bnx2fc_cmd_alloc()
525 cmd_mgr->free_list[index].next; bnx2fc_cmd_alloc()
572 &cmd_mgr->free_list[index]); bnx2fc_cmd_release()
H A Dbnx2fc.h280 struct list_head *free_list; member in struct:bnx2fc_cmd_mgr
/linux-4.1.27/drivers/scsi/
H A Dscsi.c236 * host's free_list if necessary.
247 if (likely(!list_empty(&shost->free_list))) { __scsi_get_command()
248 cmd = list_entry(shost->free_list.next, __scsi_get_command()
304 if (unlikely(list_empty(&shost->free_list))) { __scsi_put_command()
306 if (list_empty(&shost->free_list)) { __scsi_put_command()
307 list_add(&cmd->list, &shost->free_list); __scsi_put_command()
477 INIT_LIST_HEAD(&shost->free_list); scsi_setup_command_freelist()
492 list_add(&cmd->list, &shost->free_list); scsi_setup_command_freelist()
509 while (!list_empty(&shost->free_list)) { scsi_destroy_command_freelist()
512 cmd = list_entry(shost->free_list.next, struct scsi_cmnd, list); scsi_destroy_command_freelist()
H A D53c700.c345 hostdata->free_list = &hostdata->slots[j]; NCR_700_detect()
511 struct NCR_700_command_slot *slot = hostdata->free_list; find_empty_slot()
525 hostdata->free_list = slot->ITL_forw; find_empty_slot()
554 slot->ITL_forw = hostdata->free_list; free_slot()
555 hostdata->free_list = slot; free_slot()
H A D53c700.h243 struct NCR_700_command_slot *free_list; member in struct:NCR_700_Host_Parameters
H A Dpmcraid.c385 struct pmcraid_cmd, free_list); pmcraid_get_free_cmd()
386 list_del(&cmd->free_list); pmcraid_get_free_cmd()
409 list_add_tail(&cmd->free_list, &pinstance->free_cmd_pool); pmcraid_return_cmd()
894 list_add_tail(&cmd->free_list, &pinstance->pending_cmd_pool); _pmcraid_fire_command()
2034 free_list) { pmcraid_fail_outstanding_cmds()
2035 list_del(&cmd->free_list); pmcraid_fail_outstanding_cmds()
3027 list_for_each_entry(cmd, &pinstance->pending_cmd_pool, free_list) { pmcraid_eh_abort_handler()
4557 list_del(&cmd->free_list); pmcraid_tasklet_function()
5158 list_add_tail(&cmdp->free_list, &pinstance->free_cmd_pool); pmcraid_init_buffers()
H A Dmegaraid.c428 struct list_head *head = &adapter->free_list; mega_allocate_scb()
1698 list_add(&scb->list, &adapter->free_list); mega_free_scb()
2975 list_add(&scb->list, &adapter->free_list); mega_init_scb()
4296 INIT_LIST_HEAD(&adapter->free_list); megaraid_probe_one()
H A Dmegaraid.h782 struct list_head free_list; member in struct:__anon9374
H A Dpmcraid.h583 struct list_head free_list; member in struct:pmcraid_cmd
/linux-4.1.27/net/sunrpc/
H A Drpc_pipe.c83 LIST_HEAD(free_list); rpc_timeout_upcall_queue()
92 list_splice_init(&pipe->pipe, &free_list); rpc_timeout_upcall_queue()
98 &free_list, destroy_msg, -ETIMEDOUT); rpc_timeout_upcall_queue()
173 LIST_HEAD(free_list); rpc_close_pipes()
179 list_splice_init(&pipe->in_upcall, &free_list); rpc_close_pipes()
180 list_splice_init(&pipe->pipe, &free_list); rpc_close_pipes()
184 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); rpc_close_pipes()
268 LIST_HEAD(free_list); rpc_pipe_release()
270 list_splice_init(&pipe->pipe, &free_list); rpc_pipe_release()
273 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, rpc_pipe_release()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c842 goto free_list; qib_user_sdma_queue_pkts()
848 goto free_list; qib_user_sdma_queue_pkts()
1037 free_list: qib_user_sdma_queue_pkts()
1054 struct list_head free_list; qib_user_sdma_queue_clean() local
1063 INIT_LIST_HEAD(&free_list); qib_user_sdma_queue_clean()
1077 list_move_tail(&pkt->list, &free_list); qib_user_sdma_queue_clean()
1085 if (!list_empty(&free_list)) { qib_user_sdma_queue_clean()
1088 pkt = list_entry(free_list.prev, qib_user_sdma_queue_clean()
1092 qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); qib_user_sdma_queue_clean()
1153 struct list_head free_list; qib_user_sdma_queue_drain() local
1173 INIT_LIST_HEAD(&free_list); qib_user_sdma_queue_drain()
1174 list_splice_init(&pq->sent, &free_list); qib_user_sdma_queue_drain()
1176 qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); qib_user_sdma_queue_drain()
/linux-4.1.27/drivers/rapidio/devices/
H A Dtsi721_dma.c384 list_move(&desc->desc_node, &bdma_chan->free_list); tsi721_dma_tx_err()
609 list_move(&desc->desc_node, &bdma_chan->free_list); tsi721_dma_tasklet()
687 list_add(&desc[i].desc_node, &bdma_chan->free_list); tsi721_alloc_chan_resources()
730 INIT_LIST_HEAD(&bdma_chan->free_list); tsi721_free_chan_resources()
798 list_for_each_entry_safe(desc, _d, &bdma_chan->free_list, desc_node) { tsi721_prep_rio_sg()
880 INIT_LIST_HEAD(&bdma_chan->free_list); tsi721_register_dma()
H A Dtsi721.h679 struct list_head free_list; member in struct:tsi721_bdma_chan
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_page_alloc_dma.c86 * @lock: Protects the inuse_list and free_list from concurrnet access. Must be
91 * @free_list: Pool of pages that are free to be used. No order requirements.
108 struct list_head free_list; member in struct:dma_pool
452 list_for_each_entry_safe_reverse(dma_p, tmp, &pool->free_list, ttm_dma_page_pool_free()
605 INIT_LIST_HEAD(&pool->free_list); ttm_dma_pool_init()
817 list_splice(&d_pages, &pool->free_list); ttm_dma_page_pool_fill_locked()
831 list_splice_tail(&d_pages, &pool->free_list); ttm_dma_page_pool_fill_locked()
856 d_page = list_first_entry(&pool->free_list, struct dma_page, page_list); ttm_dma_pool_get_pages()
962 list_splice(&ttm_dma->pages_list, &pool->free_list); ttm_dma_unpopulate()
/linux-4.1.27/drivers/pci/
H A Dsetup-bus.c44 static void free_list(struct list_head *head) free_list() function
402 free_list(&save_head); list_for_each_entry()
457 free_list(&save_head);
458 free_list(head);
475 free_list(&local_fail_head);
488 free_list(&save_head);
498 free_list(head);
1696 free_list(&fail_head); pci_assign_unassigned_root_bus_resources()
1726 free_list(&fail_head); pci_assign_unassigned_root_bus_resources()
1766 free_list(&fail_head); pci_assign_unassigned_bridge_resources()
1792 free_list(&fail_head); pci_assign_unassigned_bridge_resources()
/linux-4.1.27/drivers/atm/
H A Deni.c172 eni_dev->free_list[i].start, dump_mem()
173 1 << eni_dev->free_list[i].order); dump_mem()
209 list = eni_dev->free_list; eni_put_free()
240 list = eni_dev->free_list; eni_alloc_mem()
278 list = eni_dev->free_list; eni_free_mem()
912 free_page((unsigned long) eni_dev->free_list); start_rx()
1848 eni_dev->free_list = kmalloc( eni_start()
1850 if (!eni_dev->free_list) { eni_start()
1870 if (error) goto free_list; eni_start()
1872 if (error) goto free_list; eni_start()
1874 if (error) goto free_list; eni_start()
1882 free_list: eni_start()
1883 kfree(eni_dev->free_list); eni_start()
2204 struct eni_free *fe = eni_dev->free_list+i;
H A Deni.h108 struct eni_free *free_list; /* free list */ member in struct:eni_dev
/linux-4.1.27/drivers/block/xen-blkback/
H A Dxenbus.c159 list_add_tail(&req->free_list, xen_blkif_alloc()
181 list_for_each_entry_safe(req, n, &blkif->pending_free, free_list) { xen_blkif_alloc()
182 list_del(&req->free_list); xen_blkif_alloc()
302 list_for_each_entry_safe(req, n, &blkif->pending_free, free_list) { xen_blkif_free()
303 list_del(&req->free_list); xen_blkif_free()
H A Dblkback.c451 free_list); alloc_req()
452 list_del(&req->free_list); alloc_req()
469 list_add(&req->free_list, &blkif->pending_free); free_req()
H A Dcommon.h350 struct list_head free_list; member in struct:pending_req
/linux-4.1.27/net/rds/
H A Dib_rdma.c75 struct llist_head free_list; /* unused MRs */ member in struct:rds_ib_mr_pool
223 init_llist_head(&pool->free_list); rds_ib_create_mr_pool()
619 * we want to put drop_list ahead of free_list. rds_ib_flush_mr_pool()
622 llist_append_to_list(&pool->free_list, &unmap_list); rds_ib_flush_mr_pool()
706 llist_add(&ibmr->llnode, &pool->free_list); rds_ib_free_mr()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c280 INIT_LIST_HEAD(&rds_ring->free_list); netxen_alloc_sw_resources()
288 &rds_ring->free_list); netxen_alloc_sw_resources()
303 INIT_LIST_HEAD(&sds_ring->free_list[i]); netxen_alloc_sw_resources()
1716 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); netxen_process_rcv_ring()
1732 if (!list_empty(&sds_ring->free_list[ring])) { netxen_process_rcv_ring()
1733 list_for_each(cur, &sds_ring->free_list[ring]) { netxen_process_rcv_ring()
1739 netxen_merge_rx_buffers(&sds_ring->free_list[ring], netxen_process_rcv_ring()
1740 &rds_ring->free_list); netxen_process_rcv_ring()
1839 head = &rds_ring->free_list; netxen_post_rx_buffers()
1899 head = &rds_ring->free_list; netxen_post_rx_buffers_nodb()
H A Dnetxen_nic.h634 struct list_head free_list; member in struct:nx_host_rds_ring
648 struct list_head free_list[NUM_RCV_DESC_RINGS]; member in struct:nx_host_sds_ring
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c855 head = &rds_ring->free_list; qlcnic_post_rx_buffers_nodb()
1397 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); qlcnic_process_rcv_ring()
1411 if (!list_empty(&sds_ring->free_list[ring])) { qlcnic_process_rcv_ring()
1412 list_for_each(cur, &sds_ring->free_list[ring]) { qlcnic_process_rcv_ring()
1418 list_splice_tail_init(&sds_ring->free_list[ring], qlcnic_process_rcv_ring()
1419 &rds_ring->free_list); qlcnic_process_rcv_ring()
1444 head = &rds_ring->free_list; qlcnic_post_rx_buffers()
1915 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); qlcnic_83xx_process_rcv_ring()
1927 if (!list_empty(&sds_ring->free_list[ring])) { qlcnic_83xx_process_rcv_ring()
1928 list_for_each(cur, &sds_ring->free_list[ring]) { qlcnic_83xx_process_rcv_ring()
1934 list_splice_tail_init(&sds_ring->free_list[ring], qlcnic_83xx_process_rcv_ring()
1935 &rds_ring->free_list); qlcnic_83xx_process_rcv_ring()
H A Dqlcnic_init.c119 INIT_LIST_HEAD(&rds_ring->free_list); qlcnic_reset_rx_buffers_list()
124 &rds_ring->free_list); qlcnic_reset_rx_buffers_list()
228 INIT_LIST_HEAD(&rds_ring->free_list); qlcnic_alloc_sw_resources()
236 &rds_ring->free_list); qlcnic_alloc_sw_resources()
256 INIT_LIST_HEAD(&sds_ring->free_list[i]); qlcnic_alloc_sw_resources()
H A Dqlcnic.h585 struct list_head free_list; member in struct:qlcnic_host_rds_ring
599 struct list_head free_list[NUM_RCV_DESC_RINGS]; member in struct:qlcnic_host_sds_ring
/linux-4.1.27/drivers/staging/fsl-mc/bus/
H A Dmc-allocator.c79 list_add_tail(&resource->node, &res_pool->free_list); fsl_mc_resource_pool_add_device()
204 resource = list_first_entry_or_null(&res_pool->free_list, fsl_mc_resource_allocate()
257 list_add_tail(&resource->node, &res_pool->free_list); fsl_mc_resource_free()
H A Ddprc-driver.c204 INIT_LIST_HEAD(&res_pool->free_list); dprc_init_all_resource_pools()
222 list_for_each_entry_safe(resource, next, &res_pool->free_list, node) { dprc_cleanup_resource_pool()
/linux-4.1.27/tools/perf/util/
H A Dpython.c761 goto free_list; pyrf_evlist__get_pollfd()
765 goto free_list; pyrf_evlist__get_pollfd()
769 goto free_list; pyrf_evlist__get_pollfd()
776 free_list: pyrf_evlist__get_pollfd()
/linux-4.1.27/drivers/dma/dw/
H A Dcore.c91 list_for_each_entry_safe(desc, _desc, &dwc->free_list, desc_node) { dwc_desc_get()
123 list_splice_init(&desc->tx_list, &dwc->free_list); dwc_desc_put()
125 list_add(&desc->desc_node, &dwc->free_list); dwc_desc_put()
297 list_splice_init(&desc->tx_list, &dwc->free_list); dwc_descriptor_complete()
298 list_move(&desc->desc_node, &dwc->free_list); dwc_descriptor_complete()
1218 list_splice_init(&dwc->free_list, &list); dwc_free_chan_resources()
1612 INIT_LIST_HEAD(&dwc->free_list); dw_dma_probe()
H A Dregs.h239 struct list_head free_list; member in struct:dw_dma_chan
/linux-4.1.27/drivers/dma/ipu/
H A Dipu_idmac.c925 INIT_LIST_HEAD(&ichan->free_list); idmac_desc_alloc()
934 list_add(&desc->list, &ichan->free_list); idmac_desc_alloc()
1322 list_move(&desc->list, &ichan->free_list); ipu_gc_tasklet()
1360 if (!list_empty(&ichan->free_list)) { idmac_prep_slave_sg()
1361 desc = list_entry(ichan->free_list.next, idmac_prep_slave_sg()
1445 list_splice_init(&ichan->queue, &ichan->free_list); __idmac_terminate_all()
1452 list_add(&desc->list, &ichan->free_list); __idmac_terminate_all()
/linux-4.1.27/fs/logfs/
H A Dgc.c254 * The free_list contains free segments for normal usage. It usually gets the
255 * second pick after the reserve_list. But when the free_list is running short
256 * it is more important to keep the free_list full than to keep a reserve.
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.h535 * @tracker_list: list of free request (ioc->free_list)
550 * @tracker_list: list of free request (ioc->free_list)
755 * @free_list: free list of request
937 struct list_head free_list; member in struct:MPT2SAS_ADAPTER
H A Dmpt2sas_base.c1728 if (list_empty(&ioc->free_list)) { mpt2sas_base_get_smid_scsiio()
1735 request = list_entry(ioc->free_list.next, mpt2sas_base_get_smid_scsiio()
1776 * mpt2sas_base_free_smid - put smid back on free_list
1805 &ioc->free_list); mpt2sas_base_free_smid()
4301 INIT_LIST_HEAD(&ioc->free_list); _base_make_ioc_operational()
4310 &ioc->free_list); _base_make_ioc_operational()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h457 * @tracker_list: list of free request (ioc->free_list)
471 * @tracker_list: list of free request (ioc->free_list)
689 * @free_list: free list of request
880 struct list_head free_list; member in struct:MPT3SAS_ADAPTER
H A Dmpt3sas_base.c2010 if (list_empty(&ioc->free_list)) { mpt3sas_base_get_smid_scsiio()
2017 request = list_entry(ioc->free_list.next, mpt3sas_base_get_smid_scsiio()
2057 * mpt3sas_base_free_smid - put smid back on free_list
2084 list_add(&ioc->scsi_lookup[i].tracker_list, &ioc->free_list); mpt3sas_base_free_smid()
4441 INIT_LIST_HEAD(&ioc->free_list); _base_make_ioc_operational()
4449 &ioc->free_list); _base_make_ioc_operational()
/linux-4.1.27/drivers/usb/host/
H A Dehci-sched.c1032 INIT_LIST_HEAD(&stream->free_list); iso_stream_alloc()
1258 list_splice (&iso_sched->td_list, &stream->free_list); iso_sched_free()
1296 if (likely(!list_empty(&stream->free_list))) { itd_urb_transaction()
1297 itd = list_first_entry(&stream->free_list, itd_urb_transaction()
1925 list_move_tail(&itd->itd_list, &stream->free_list); itd_complete()
1929 list_splice_tail_init(&stream->free_list, itd_complete()
2089 if (likely(!list_empty(&stream->free_list))) { sitd_urb_transaction()
2090 sitd = list_first_entry(&stream->free_list, sitd_urb_transaction()
2306 list_move_tail(&sitd->sitd_list, &stream->free_list); sitd_complete()
2310 list_splice_tail_init(&stream->free_list, sitd_complete()
H A Dfotg210.h497 struct list_head free_list; /* list of unused itds */ member in struct:fotg210_iso_stream
H A Dfusbh200.h487 struct list_head free_list; /* list of unused itds */ member in struct:fusbh200_iso_stream
H A Dfotg210-hcd.c4092 INIT_LIST_HEAD(&stream->free_list); iso_stream_alloc()
4263 list_splice(&iso_sched->td_list, &stream->free_list); iso_sched_free()
4301 if (likely(!list_empty(&stream->free_list))) { itd_urb_transaction()
4302 itd = list_first_entry(&stream->free_list, itd_urb_transaction()
4731 list_move_tail(&itd->itd_list, &stream->free_list); itd_complete()
4735 list_splice_tail_init(&stream->free_list, itd_complete()
5635 /* BUG_ON(!list_empty(&stream->free_list)); */ fotg210_endpoint_disable()
H A Dfusbh200-hcd.c4025 INIT_LIST_HEAD(&stream->free_list); iso_stream_alloc()
4197 list_splice (&iso_sched->td_list, &stream->free_list); iso_sched_free()
4235 if (likely(!list_empty(&stream->free_list))) { itd_urb_transaction()
4236 itd = list_first_entry(&stream->free_list, itd_urb_transaction()
4665 list_move_tail(&itd->itd_list, &stream->free_list); itd_complete()
4669 list_splice_tail_init(&stream->free_list, itd_complete()
5543 /* BUG_ON(!list_empty(&stream->free_list)); */ fusbh200_endpoint_disable()
H A Dehci.h477 struct list_head free_list; /* list of unused itds/sitds */ member in struct:ehci_iso_stream
H A Dehci-hcd.c966 /* BUG_ON(!list_empty(&stream->free_list)); */ ehci_endpoint_disable()
/linux-4.1.27/net/mac80211/
H A Dsta_info.c1023 LIST_HEAD(free_list); __sta_info_flush()
1036 list_add(&sta->free_list, &free_list); __sta_info_flush()
1041 if (!list_empty(&free_list)) { __sta_info_flush()
1043 list_for_each_entry_safe(sta, tmp, &free_list, free_list) __sta_info_flush()
H A Dsta_info.h251 * @free_list: list entry for keeping track of stations to free
344 struct list_head list, free_list; member in struct:sta_info
/linux-4.1.27/drivers/nfc/st21nfca/
H A Dst21nfca.c219 goto free_list; st21nfca_hci_load_session()
224 free_list: st21nfca_hci_load_session()
/linux-4.1.27/mm/
H A Dvmalloc.c769 struct list_head free_list; member in struct:vmap_block
856 INIT_LIST_HEAD(&vb->free_list); new_vmap_block()
867 list_add_tail_rcu(&vb->free_list, &vbq->free); new_vmap_block()
897 list_for_each_entry_rcu(vb, &vbq->free, free_list) { purge_fragmented_blocks()
909 list_del_rcu(&vb->free_list); purge_fragmented_blocks()
953 list_for_each_entry_rcu(vb, &vbq->free, free_list) { vb_alloc()
967 list_del_rcu(&vb->free_list); vb_alloc()
1052 list_for_each_entry_rcu(vb, &vbq->free, free_list) { for_each_possible_cpu()
H A Dpage_alloc.c664 &zone->free_area[order].free_list[migratetype]); __free_one_page()
669 list_add(&page->lru, &zone->free_area[order].free_list[migratetype]); __free_one_page()
945 list_add(&page[size].lru, &area->free_list[migratetype]); expand()
1039 if (list_empty(&area->free_list[migratetype])) __rmqueue_smallest()
1042 page = list_entry(area->free_list[migratetype].next, __rmqueue_smallest()
1124 &zone->free_area[order].free_list[migratetype]); move_freepages()
1246 if (list_empty(&area->free_list[fallback_mt])) find_suitable_fallback()
1282 page = list_entry(area->free_list[fallback_mt].next, __rmqueue_fallback()
1547 list_for_each(curr, &zone->free_area[order].free_list[t]) { for_each_migratetype_order()
3420 if (!list_empty(&area->free_list[type])) for_each_populated_zone()
4260 INIT_LIST_HEAD(&zone->free_area[order].free_list[t]); for_each_migratetype_order()
H A Dcompaction.c1180 if (!list_empty(&area->free_list[migratetype])) __compact_finished()
1186 !list_empty(&area->free_list[MIGRATE_CMA])) __compact_finished()
H A Dvmstat.c951 list_for_each(curr, &area->free_list[mtype]) pagetypeinfo_showfree_print()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dlprocfs_status.c1644 LIST_HEAD(free_list); lprocfs_nid_stats_clear_write()
1647 lprocfs_nid_stats_clear_write_cb, &free_list); lprocfs_nid_stats_clear_write()
1649 while (!list_empty(&free_list)) { lprocfs_nid_stats_clear_write()
1650 client_stat = list_entry(free_list.next, struct nid_stat, lprocfs_nid_stats_clear_write()
/linux-4.1.27/drivers/acpi/
H A Dec.c854 LIST_HEAD(free_list); acpi_ec_remove_query_handler()
860 list_add(&handler->node, &free_list); acpi_ec_remove_query_handler()
864 list_for_each_entry_safe(handler, tmp, &free_list, node) acpi_ec_remove_query_handler()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_main.c1739 &pasync_ctx->async_header.free_list); list_for_each_entry_safe()
1743 &pasync_ctx->async_data.free_list); list_for_each_entry_safe()
1788 pfree_link = pasync_ctx->async_header.free_list.next; hwi_post_async_buffers()
1796 pfree_link = pasync_ctx->async_data.free_list.next; hwi_post_async_buffers()
3014 INIT_LIST_HEAD(&pasync_ctx->async_header.free_list); hwi_init_async_pdu_ctx()
3047 INIT_LIST_HEAD(&pasync_ctx->async_data.free_list); hwi_init_async_pdu_ctx()
3100 free_list); hwi_init_async_pdu_ctx()
3142 free_list); hwi_init_async_pdu_ctx()
H A Dbe_main.h625 struct list_head free_list; member in struct:hwi_async_pdu_context::__anon8668
640 struct list_head free_list; member in struct:hwi_async_pdu_context::__anon8669
/linux-4.1.27/kernel/trace/
H A Dftrace.c1120 struct list_head free_list; member in struct:ftrace_func_probe
3811 struct list_head free_list; __unregister_ftrace_function_probe() local
3840 INIT_LIST_HEAD(&free_list); __unregister_ftrace_function_probe()
3868 list_add(&entry->free_list, &free_list); hlist_for_each_entry_safe()
3882 list_for_each_entry_safe(entry, p, &free_list, free_list) {
3883 list_del(&entry->free_list);
/linux-4.1.27/include/linux/
H A Dfsnotify_backend.h222 struct list_head free_list; /* tmp list used when freeing this mark */ member in struct:fsnotify_mark
H A Dmm.h306 /* It's valid only if the page is free path or free_list */ set_freepage_migratetype()
312 /* It's valid only if the page is free path or free_list */ get_freepage_migratetype()
H A Dmmzone.h93 struct list_head free_list[MIGRATE_TYPES]; member in struct:free_area
/linux-4.1.27/include/linux/mlx5/
H A Ddriver.h481 struct list_head free_list; member in struct:mlx5_priv
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_target.c3034 struct list_head free_list; qlt_init_term_exchange() local
3042 INIT_LIST_HEAD(&free_list); qlt_init_term_exchange()
3043 list_splice_init(&vha->hw->tgt.q_full_list, &free_list); qlt_init_term_exchange()
3045 list_for_each_entry_safe(cmd, tcmd, &free_list, cmd_list) { qlt_init_term_exchange()
5056 struct list_head free_list; qlt_free_qfull_cmds() local
5062 INIT_LIST_HEAD(&free_list); qlt_free_qfull_cmds()
5095 list_add_tail(&cmd->cmd_list, &free_list); qlt_free_qfull_cmds()
5104 list_for_each_entry_safe(cmd, tcmd, &free_list, cmd_list) { qlt_free_qfull_cmds()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_bmap.c5773 struct xfs_bmap_free *free_list) xfs_bmap_split_extent_at()
5835 cur->bc_private.b.flist = free_list; xfs_bmap_split_extent_at()
5888 error = xfs_bmap_extents_to_btree(tp, ip, firstfsb, free_list, xfs_bmap_split_extent_at()
5912 struct xfs_bmap_free free_list; xfs_bmap_split_extent() local
5928 xfs_bmap_init(&free_list, &firstfsb); xfs_bmap_split_extent()
5931 &firstfsb, &free_list); xfs_bmap_split_extent()
5935 error = xfs_bmap_finish(&tp, &free_list, &committed); xfs_bmap_split_extent()
5768 xfs_bmap_split_extent_at( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t split_fsb, xfs_fsblock_t *firstfsb, struct xfs_bmap_free *free_list) xfs_bmap_split_extent_at() argument
/linux-4.1.27/kernel/
H A Dkprobes.c492 /* Loop free_list for disarming */ do_unoptimize_kprobes()
511 /* Reclaim all kprobes on the free_list */ do_free_cleaned_kprobes()
H A Dkexec.c1986 VMCOREINFO_OFFSET(free_area, free_list); crash_save_vmcoreinfo_init()
1993 VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES); crash_save_vmcoreinfo_init()
/linux-4.1.27/include/scsi/
H A Dscsi_host.h556 struct list_head free_list; /* backup store of cmd structs */ member in struct:Scsi_Host
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target.c4814 LIST_HEAD(free_list); iscsit_release_sessions_for_tpg()
4837 list_move_tail(&se_sess->sess_list, &free_list); iscsit_release_sessions_for_tpg()
4841 list_for_each_entry_safe(se_sess, se_sess_tmp, &free_list, sess_list) { iscsit_release_sessions_for_tpg()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic79xx_core.c6666 struct scb_list *free_list; ahd_add_col_list() local
6672 free_list = &ahd->scb_data.free_scb_lists[col_idx]; ahd_add_col_list()
6674 first_scb = LIST_FIRST(free_list); ahd_add_col_list()
6678 LIST_INSERT_HEAD(free_list, scb, collision_links); ahd_add_col_list()
6686 struct scb_list *free_list; ahd_rem_col_list() local
6693 free_list = &ahd->scb_data.free_scb_lists[col_idx]; ahd_rem_col_list()
6695 first_scb = LIST_FIRST(free_list); ahd_rem_col_list()

Completed in 3811 milliseconds