/linux-4.1.27/net/ceph/ |
H A D | pagelist.c | 40 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 D | gdm_usb.h | 66 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 D | gdm_usb.c | 162 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 D | gdm_mux.h | 54 struct list_head free_list; member in struct:mux_rx
|
H A D | gdm_mux.c | 136 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 D | fmr_pool.c | 57 * 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 D | iwcm.c | 66 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 D | mad.c | 1226 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 D | raw3270.h | 221 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 D | vfsmount_mark.c | 38 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 D | inode_mark.c | 74 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 D | mark.c | 215 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 D | gdm_usb.c | 116 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 D | gdm_sdio.h | 32 struct list_head free_list; member in struct:tx_cxt 50 struct list_head free_list; member in struct:rx_cxt
|
H A D | gdm_usb.h | 38 struct list_head free_list; member in struct:tx_cxt 57 struct list_head free_list; member in struct:rx_cxt
|
H A D | gdm_sdio.c | 87 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 D | gdm_qos.c | 77 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 D | pagelist.h | 14 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 D | mc-private.h | 61 * @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 D | xfs_symlink.c | 178 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 D | xfs_iomap.c | 130 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 D | xfs_inode.c | 1127 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 D | xfs_bmap_util.c | 947 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 D | ion_heap.c | 166 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 D | ion_priv.h | 154 * @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 D | ib_srp.h | 238 * @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 D | ib_srp.c | 379 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 D | ipath_user_sdma.c | 427 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 D | ipu-dma.h | 164 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 D | chan.h | 17 struct list_head free_list; member in struct:chan
|
H A D | chan_kern.c | 195 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 D | page-states.c | 104 list_for_each(l, &zone->free_area[order].free_list[t]) { for_each_migratetype_order()
|
/linux-4.1.27/drivers/dma/ |
H A D | pch_dma.c | 113 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 D | timb_dma.c | 92 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 D | ep93xx_dma.c | 145 * @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 D | at_hdmac.c | 127 * 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 D | txx9dmac.c | 218 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 D | at_hdmac_regs.h | 240 * @free_list: list of descriptors usable by the channel 261 struct list_head free_list; member in struct:at_dma_chan
|
H A D | txx9dmac.h | 177 struct list_head free_list; member in struct:txx9dmac_chan
|
/linux-4.1.27/fs/ |
H A D | mbcache.c | 250 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 D | rheap.c | 77 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 D | ib_srpt.h | 211 * @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 D | ib_srpt.c | 1265 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 D | jffs2_fs_sb.h | 106 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 D | debug.c | 232 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 D | nodemgmt.c | 286 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 D | build.c | 402 INIT_LIST_HEAD(&c->free_list); jffs2_do_mount_fs()
|
H A D | erase.c | 490 list_move_tail(&jeb->list, &c->free_list); jffs2_mark_erased_block()
|
H A D | scan.c | 178 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 D | rheap.h | 32 struct list_head free_list; member in struct:_rh_info
|
/linux-4.1.27/scripts/genksyms/ |
H A D | genksyms.h | 70 void free_list(struct string_list *s, struct string_list *e);
|
H A D | parse.y | 51 free_list(b, e); 131 { free_list(*$2, NULL); *$2 = NULL; } 178 free_list(*$2, NULL);
|
H A D | genksyms.c | 213 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 D | pagealloc.c | 138 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 D | crypto.c | 85 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 D | ext4_crypto.h | 84 struct list_head free_list; /* Free list */ member in struct:ext4_crypto_ctx
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_io.c | 275 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 D | bnx2fc.h | 280 struct list_head *free_list; member in struct:bnx2fc_cmd_mgr
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi.c | 236 * 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 D | 53c700.c | 345 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 D | 53c700.h | 243 struct NCR_700_command_slot *free_list; member in struct:NCR_700_Host_Parameters
|
H A D | pmcraid.c | 385 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 D | megaraid.c | 428 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 D | megaraid.h | 782 struct list_head free_list; member in struct:__anon9374
|
H A D | pmcraid.h | 583 struct list_head free_list; member in struct:pmcraid_cmd
|
/linux-4.1.27/net/sunrpc/ |
H A D | rpc_pipe.c | 83 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 D | qib_user_sdma.c | 842 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 D | tsi721_dma.c | 384 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 D | tsi721.h | 679 struct list_head free_list; member in struct:tsi721_bdma_chan
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_page_alloc_dma.c | 86 * @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 D | setup-bus.c | 44 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 D | eni.c | 172 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 D | eni.h | 108 struct eni_free *free_list; /* free list */ member in struct:eni_dev
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 159 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 D | blkback.c | 451 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 D | common.h | 350 struct list_head free_list; member in struct:pending_req
|
/linux-4.1.27/net/rds/ |
H A D | ib_rdma.c | 75 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 D | netxen_nic_init.c | 280 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 D | netxen_nic.h | 634 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 D | qlcnic_io.c | 855 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 D | qlcnic_init.c | 119 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 D | qlcnic.h | 585 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 D | mc-allocator.c | 79 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 D | dprc-driver.c | 204 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 D | python.c | 761 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 D | core.c | 91 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 D | regs.h | 239 struct list_head free_list; member in struct:dw_dma_chan
|
/linux-4.1.27/drivers/dma/ipu/ |
H A D | ipu_idmac.c | 925 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 D | gc.c | 254 * 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 D | mpt2sas_base.h | 535 * @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 D | mpt2sas_base.c | 1728 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 D | mpt3sas_base.h | 457 * @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 D | mpt3sas_base.c | 2010 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 D | ehci-sched.c | 1032 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 D | fotg210.h | 497 struct list_head free_list; /* list of unused itds */ member in struct:fotg210_iso_stream
|
H A D | fusbh200.h | 487 struct list_head free_list; /* list of unused itds */ member in struct:fusbh200_iso_stream
|
H A D | fotg210-hcd.c | 4092 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 D | fusbh200-hcd.c | 4025 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 D | ehci.h | 477 struct list_head free_list; /* list of unused itds/sitds */ member in struct:ehci_iso_stream
|
H A D | ehci-hcd.c | 966 /* BUG_ON(!list_empty(&stream->free_list)); */ ehci_endpoint_disable()
|
/linux-4.1.27/net/mac80211/ |
H A D | sta_info.c | 1023 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 D | sta_info.h | 251 * @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 D | st21nfca.c | 219 goto free_list; st21nfca_hci_load_session() 224 free_list: st21nfca_hci_load_session()
|
/linux-4.1.27/mm/ |
H A D | vmalloc.c | 769 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 D | page_alloc.c | 664 &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 D | compaction.c | 1180 if (!list_empty(&area->free_list[migratetype])) __compact_finished() 1186 !list_empty(&area->free_list[MIGRATE_CMA])) __compact_finished()
|
H A D | vmstat.c | 951 list_for_each(curr, &area->free_list[mtype]) pagetypeinfo_showfree_print()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | lprocfs_status.c | 1644 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 D | ec.c | 854 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 D | be_main.c | 1739 &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 D | be_main.h | 625 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 D | ftrace.c | 1120 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 D | fsnotify_backend.h | 222 struct list_head free_list; /* tmp list used when freeing this mark */ member in struct:fsnotify_mark
|
H A D | mm.h | 306 /* 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 D | mmzone.h | 93 struct list_head free_list[MIGRATE_TYPES]; member in struct:free_area
|
/linux-4.1.27/include/linux/mlx5/ |
H A D | driver.h | 481 struct list_head free_list; member in struct:mlx5_priv
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 3034 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 D | xfs_bmap.c | 5773 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 D | kprobes.c | 492 /* Loop free_list for disarming */ do_unoptimize_kprobes() 511 /* Reclaim all kprobes on the free_list */ do_free_cleaned_kprobes()
|
H A D | kexec.c | 1986 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 D | scsi_host.h | 556 struct list_head free_list; /* backup store of cmd structs */ member in struct:Scsi_Host
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target.c | 4814 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 D | aic79xx_core.c | 6666 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()
|