| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_free_list.h | 35 struct pvr_free_list *free_list; member 117 pvr_free_list_get(struct pvr_free_list *free_list) in pvr_free_list_get() argument 119 if (free_list) in pvr_free_list_get() 120 kref_get(&free_list->ref_count); in pvr_free_list_get() 122 return free_list; in pvr_free_list_get() 140 struct pvr_free_list *free_list; in pvr_free_list_lookup() local 143 free_list = pvr_free_list_get(xa_load(&pvr_file->free_list_handles, handle)); in pvr_free_list_lookup() 146 return free_list; in pvr_free_list_lookup() 163 struct pvr_free_list *free_list; in pvr_free_list_lookup_id() local 172 free_list = xa_load(&pvr_dev->free_list_ids, id); in pvr_free_list_lookup_id() [all …]
|
| /linux/net/ceph/ |
| H A D | pagelist.c | 21 INIT_LIST_HEAD(&pl->free_list); in ceph_pagelist_alloc() 61 page = list_first_entry(&pl->free_list, struct page, lru); in ceph_pagelist_addpage() 113 list_add_tail(&page->lru, &pl->free_list); in ceph_pagelist_reserve() 123 while (!list_empty(&pl->free_list)) { in ceph_pagelist_free_reserve() 124 struct page *page = list_first_entry(&pl->free_list, in ceph_pagelist_free_reserve()
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_mux.c | 283 struct sk_buff_head *free_list; in ipc_mux_init() local 302 free_list = &ipc_mux->ul_adb.free_list; in ipc_mux_init() 305 skb_queue_head_init(free_list); in ipc_mux_init() 355 skb_queue_tail(free_list, skb); in ipc_mux_init() 456 struct sk_buff_head *free_list; in ipc_mux_deinit() local 471 free_list = &ipc_mux->ul_adb.free_list; in ipc_mux_deinit() 474 while ((skb = skb_dequeue(free_list))) in ipc_mux_deinit()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_taprio.c | 269 unsigned long *free_list) in lan966x_taprio_gcl_free_get() argument 276 bitmap_fill(free_list, LAN966X_TAPRIO_NUM_GCL); in lan966x_taprio_gcl_free_get() 293 clear_bit(next, free_list); in lan966x_taprio_gcl_free_get() 331 DECLARE_BITMAP(free_list, LAN966X_TAPRIO_NUM_GCL); in lan966x_taprio_gcl_setup() 335 if (lan966x_taprio_gcl_free_get(port, free_list) < qopt->num_entries) in lan966x_taprio_gcl_setup() 344 base = find_first_bit(free_list, LAN966X_TAPRIO_NUM_GCL); in lan966x_taprio_gcl_setup() 360 next = find_next_bit(free_list, LAN966X_TAPRIO_NUM_GCL, in lan966x_taprio_gcl_setup()
|
| /linux/arch/powerpc/lib/ |
| H A D | rheap.c | 77 fixup(blks, blke, delta, &info->free_list); in grow() 172 list_for_each(l, &info->free_list) { in attach_free_block() 205 list_add(&blkn->list, &info->free_list); in attach_free_block() 274 INIT_LIST_HEAD(&info->free_list); in rh_create() 319 INIT_LIST_HEAD(&info->free_list); in rh_init() 395 list_for_each(l, &info->free_list) { in rh_detach_region() 460 list_for_each(l, &info->free_list) { in rh_alloc_align() 552 list_for_each(l, &info->free_list) { in rh_alloc_fixed() 651 h = &info->free_list; in rh_get_stats()
|
| /linux/drivers/bus/fsl-mc/ |
| H A D | fsl-mc-allocator.c | 77 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_pool_add_device() 202 resource = list_first_entry_or_null(&res_pool->free_list, in fsl_mc_resource_allocate() 249 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_free() 399 list_add_tail(&mc_dev_irq->resource.node, &res_pool->free_list); in fsl_mc_populate_irq_pool() 432 INIT_LIST_HEAD(&res_pool->free_list); in fsl_mc_cleanup_irq_pool() 553 INIT_LIST_HEAD(&res_pool->free_list); in fsl_mc_init_all_resource_pools()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | irq.c | 256 struct list_head **free_list, in handle_registration_node() argument 268 if (!(*free_list)) { in handle_registration_node() 270 *free_list = kmalloc(sizeof(struct list_head), GFP_ATOMIC); in handle_registration_node() 271 if (!(*free_list)) in handle_registration_node() 274 INIT_LIST_HEAD(*free_list); in handle_registration_node() 320 list_add(&free_node->free_objects_node, *free_list); in handle_registration_node()
|
| /linux/scripts/genksyms/ |
| H A D | parse.y | 40 free_list(b, e); in remove_list() 126 { free_list(*$2, NULL); *$2 = NULL; } 160 | init_declarator_list { free_list(decl_spec, NULL); $$ = $1; } 181 free_list(*$2, NULL);
|
| H A D | genksyms.c | 196 free_list(last_enum_expr, NULL); in process_enum() 216 free_list(last_enum_expr, NULL); in process_enum() 269 free_list(defn, NULL); in __add_symbol() 276 free_list(sym->defn, NULL); in __add_symbol() 333 void free_list(struct string_list *s, struct string_list *e) in free_list() function
|
| /linux/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_io.c | 244 cmgr->free_list = kcalloc(arr_sz, sizeof(*cmgr->free_list), in bnx2fc_cmd_mgr_alloc() 246 if (!cmgr->free_list) { in bnx2fc_cmd_mgr_alloc() 255 kfree(cmgr->free_list); in bnx2fc_cmd_mgr_alloc() 256 cmgr->free_list = NULL; in bnx2fc_cmd_mgr_alloc() 263 INIT_LIST_HEAD(&cmgr->free_list[i]); in bnx2fc_cmd_mgr_alloc() 288 &cmgr->free_list[io_req->xid % in bnx2fc_cmd_mgr_alloc() 292 &cmgr->free_list[num_possible_cpus()]); in bnx2fc_cmd_mgr_alloc() 376 if (!cmgr->free_list) in bnx2fc_cmd_mgr_free() 383 &cmgr->free_list[i], link) { in bnx2fc_cmd_mgr_free() 388 kfree(cmgr->free_list); in bnx2fc_cmd_mgr_free() [all …]
|
| /linux/drivers/pci/ |
| H A D | setup-bus.c | 50 static void free_list(struct list_head *head) in free_list() function 623 free_list(&save_head); in __assign_resources_sorted() 676 free_list(&save_head); in __assign_resources_sorted() 691 free_list(&local_fail_head); in __assign_resources_sorted() 692 free_list(&save_head); in __assign_resources_sorted() 711 free_list(&local_fail_head); in __assign_resources_sorted() 723 free_list(&save_head); in __assign_resources_sorted() 750 free_list(head); in __assign_resources_sorted() 2289 free_list(fail_head); in pci_prepare_next_assign_round() 2336 free_list(add_list); in pci_assign_unassigned_root_bus_resources() [all …]
|
| /linux/block/ |
| H A D | bio.c | 31 struct bio *free_list; member 438 if (WARN_ON_ONCE(cache->free_list)) in bio_alloc_irq_cache_splice() 442 cache->free_list = cache->free_list_irq; in bio_alloc_irq_cache_splice() 457 if (!cache->free_list) { in bio_alloc_percpu_cache() 460 if (!cache->free_list) { in bio_alloc_percpu_cache() 465 bio = cache->free_list; in bio_alloc_percpu_cache() 466 cache->free_list = bio->bi_next; in bio_alloc_percpu_cache() 728 while ((bio = cache->free_list) != NULL) { in __bio_alloc_cache_prune() 729 cache->free_list = bio->bi_next; in __bio_alloc_cache_prune() 742 if (!READ_ONCE(cache->free_list)) { in bio_alloc_cache_prune() [all …]
|
| /linux/net/sunrpc/ |
| H A D | rpc_pipe.c | 85 LIST_HEAD(free_list); in rpc_timeout_upcall_queue() 94 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 100 &free_list, destroy_msg, -ETIMEDOUT); in rpc_timeout_upcall_queue() 176 LIST_HEAD(free_list); in rpc_close_pipes() 182 list_splice_init(&pipe->in_upcall, &free_list); in rpc_close_pipes() 183 list_splice_init(&pipe->pipe, &free_list); in rpc_close_pipes() 187 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); in rpc_close_pipes() 264 LIST_HEAD(free_list); in rpc_pipe_release() 266 list_splice_init(&pipe->pipe, &free_list); in rpc_pipe_release() 269 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, in rpc_pipe_release()
|
| /linux/drivers/rapidio/devices/ |
| H A D | tsi721_dma.c | 381 list_move(&desc->desc_node, &bdma_chan->free_list); in tsi721_dma_tx_err() 644 list_add(&desc->desc_node, &bdma_chan->free_list); in tsi721_dma_tasklet() 674 list_add(&desc->desc_node, &bdma_chan->free_list); in tsi721_dma_tasklet() 755 list_add(&desc[i].desc_node, &bdma_chan->free_list); in tsi721_alloc_chan_resources() 794 INIT_LIST_HEAD(&bdma_chan->free_list); in tsi721_free_chan_resources() 870 if (!list_empty(&bdma_chan->free_list)) { in tsi721_prep_rio_sg() 871 desc = list_first_entry(&bdma_chan->free_list, in tsi721_prep_rio_sg() 991 INIT_LIST_HEAD(&bdma_chan->free_list); in tsi721_register_dma() 1037 INIT_LIST_HEAD(&bdma_chan->free_list); in tsi721_unregister_dma()
|
| /linux/drivers/dma/xilinx/ |
| H A D | zynqmp_dma.c | 224 struct list_head free_list; member 424 desc = list_first_entry(&chan->free_list, in zynqmp_dma_get_descriptor() 448 list_move_tail(&sdesc->node, &chan->free_list); in zynqmp_dma_free_descriptor() 451 list_move_tail(&child->node, &chan->free_list); in zynqmp_dma_free_descriptor() 493 INIT_LIST_HEAD(&chan->free_list); in zynqmp_dma_alloc_chan_resources() 499 list_add_tail(&desc->node, &chan->free_list); in zynqmp_dma_alloc_chan_resources() 947 INIT_LIST_HEAD(&chan->free_list); in zynqmp_dma_chan_probe()
|
| /linux/drivers/atm/ |
| H A D | eni.c | 167 eni_dev->free_list[i].start, in dump_mem() 168 1 << eni_dev->free_list[i].order); in dump_mem() 204 list = eni_dev->free_list; in eni_put_free() 235 list = eni_dev->free_list; in eni_alloc_mem() 274 list = eni_dev->free_list; in eni_free_mem() 908 free_page((unsigned long) eni_dev->free_list); in start_rx() 1848 eni_dev->free_list = kmalloc_array(eni_dev->free_list_size + 1, in eni_start() 1849 sizeof(*eni_dev->free_list), in eni_start() 1851 if (!eni_dev->free_list) { in eni_start() 1871 if (error) goto free_list; in eni_start() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | chan_kern.c | 230 chan = list_entry(ele, struct chan, free_list); in free_irqs() 250 list_add(&chan->free_list, &irqs_to_free); in close_one_chan() 513 .free_list = in parse_chan() 514 LIST_HEAD_INIT(chan->free_list), in parse_chan()
|
| H A D | chan.h | 17 struct list_head free_list; member
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_fcoe.h | 22 struct list_head free_list; member
|
| H A D | qed_nvmetcp.c | 466 if (!list_empty(&p_hwfn->p_nvmetcp_info->free_list)) in qed_nvmetcp_allocate_connection() 467 p_conn = list_first_entry(&p_hwfn->p_nvmetcp_info->free_list, in qed_nvmetcp_allocate_connection() 553 list_add_tail(&p_conn->list_entry, &p_hwfn->p_nvmetcp_info->free_list); in qed_nvmetcp_release_connection() 575 INIT_LIST_HEAD(&p_nvmetcp_info->free_list); in qed_nvmetcp_alloc() 593 while (!list_empty(&p_hwfn->p_nvmetcp_info->free_list)) { in qed_nvmetcp_free() 594 p_conn = list_first_entry(&p_hwfn->p_nvmetcp_info->free_list, in qed_nvmetcp_free()
|
| H A D | qed_iscsi.h | 23 struct list_head free_list; member
|
| /linux/kernel/ |
| H A D | vmcore_info.c | 207 VMCOREINFO_OFFSET(free_area, free_list); in crash_save_vmcoreinfo_init() 212 VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES); in crash_save_vmcoreinfo_init()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | eventq.c | 24 struct list_head free_list; in iommufd_auto_response_faults() local 29 INIT_LIST_HEAD(&free_list); in iommufd_auto_response_faults() 36 list_move(&group->node, &free_list); in iommufd_auto_response_faults() 40 list_for_each_entry_safe(group, next, &free_list, node) { in iommufd_auto_response_faults()
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_init.c | 262 INIT_LIST_HEAD(&rds_ring->free_list); in netxen_alloc_sw_resources() 270 &rds_ring->free_list); in netxen_alloc_sw_resources() 285 INIT_LIST_HEAD(&sds_ring->free_list[i]); in netxen_alloc_sw_resources() 1694 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); in netxen_process_rcv_ring() 1710 if (!list_empty(&sds_ring->free_list[ring])) { in netxen_process_rcv_ring() 1711 list_for_each(cur, &sds_ring->free_list[ring]) { in netxen_process_rcv_ring() 1717 netxen_merge_rx_buffers(&sds_ring->free_list[ring], in netxen_process_rcv_ring() 1718 &rds_ring->free_list); in netxen_process_rcv_ring() 1817 head = &rds_ring->free_list; in netxen_post_rx_buffers() 1877 head = &rds_ring->free_list; in netxen_post_rx_buffers_nodb()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_send.c | 66 struct list_head free_list; member 80 list_add_tail(&pool_obj->list_node, &pool->free_list); in dr_send_info_pool_fill() 86 list_for_each_entry_safe(pool_obj, tmp_pool_obj, &pool->free_list, list_node) { in dr_send_info_pool_fill() 98 list_for_each_entry_safe(pool_obj, tmp_pool_obj, &pool->free_list, list_node) { in dr_send_info_pool_destroy() 121 INIT_LIST_HEAD(&pool->free_list); in dr_send_info_pool_create() 158 if (unlikely(list_empty(&pool->free_list))) { in mlx5dr_send_info_alloc() 164 pool_obj = list_first_entry_or_null(&pool->free_list, in mlx5dr_send_info_alloc() 186 list_add(&pool_obj->list_node, &pool_obj->pool->free_list); in mlx5dr_send_info_free()
|