Home
last modified time | relevance | path

Searched refs:list_first_entry_or_null (Results 1 – 25 of 252) sorted by relevance

1234567891011

/linux/drivers/gpu/drm/xe/
H A Dxe_bo_evict.c64 bo = list_first_entry_or_null(&xe->pinned.external_vram, in xe_bo_evict_all()
98 bo = list_first_entry_or_null(&xe->pinned.kernel_bo_present, in xe_bo_evict_all()
138 bo = list_first_entry_or_null(&xe->pinned.evicted, in xe_bo_restore_kernel()
202 bo = list_first_entry_or_null(&xe->pinned.external_vram, in xe_bo_restore_user()
H A Dxe_gpu_scheduler.c19 msg = list_first_entry_or_null(&sched->msgs, struct xe_sched_msg, link); in xe_sched_process_msg_queue_if_ready()
31 msg = list_first_entry_or_null(&sched->msgs, in xe_sched_get_msg()
H A Dxe_gpu_scheduler.h74 return list_first_entry_or_null(&sched->base.pending_list, in xe_sched_first_pending_job()
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-descriptor.c43 priv = list_first_entry_or_null(&wmi_list, in dell_wmi_get_interface_version()
61 priv = list_first_entry_or_null(&wmi_list, in dell_wmi_get_size()
79 priv = list_first_entry_or_null(&wmi_list, in dell_wmi_get_hotfix()
H A Ddell-wmi-privacy.c73 priv = list_first_entry_or_null(&wmi_list, in dell_privacy_has_mic_mute()
102 priv = list_first_entry_or_null(&wmi_list, in dell_privacy_process_event()
/linux/drivers/gpu/drm/tests/
H A Ddrm_buddy_test.c516 block = list_first_entry_or_null(&blocks, typeof(*block), link); in drm_test_buddy_alloc_pathological()
530 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pathological()
542 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pathological()
600 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pessimistic()
612 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pessimistic()
641 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pessimistic()
656 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_pessimistic()
695 block = list_first_entry_or_null(&tmp, struct drm_buddy_block, link); in drm_test_buddy_alloc_optimistic()
729 block = list_first_entry_or_null(&allocated, struct drm_buddy_block, link); in drm_test_buddy_alloc_limit()
/linux/kernel/gcov/
H A Dclang.c176 return list_first_entry_or_null(&clang_gcov_list, in gcov_info_next()
243 struct gcov_fn_info *fn_ptr1 = list_first_entry_or_null( in gcov_info_is_compatible()
245 struct gcov_fn_info *fn_ptr2 = list_first_entry_or_null( in gcov_info_is_compatible()
275 struct gcov_fn_info *sfn_ptr = list_first_entry_or_null(&src->functions, in gcov_info_add()
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test_util.c28 mock = list_first_entry_or_null(&cros_kunit_ec_xfer_mock_in, struct ec_xfer_mock, list); in cros_kunit_ec_xfer_mock()
95 mock = list_first_entry_or_null(&cros_kunit_ec_xfer_mock_out, struct ec_xfer_mock, list); in cros_kunit_ec_xfer_mock_next()
/linux/fs/netfs/
H A Dread_retry.c107 while ((subreq = list_first_entry_or_null( in netfs_retry_read_subrequests()
130 while ((subreq = list_first_entry_or_null( in netfs_retry_read_subrequests()
197 while ((subreq = list_first_entry_or_null( in netfs_retry_read_subrequests()
/linux/drivers/fpga/tests/
H A Dfpga-bridge-test.c123 list_first_entry_or_null(&bridge_list, struct fpga_bridge, node)); in fpga_bridge_test_get_put_list()
130 list_first_entry_or_null(&bridge_list, struct fpga_bridge, node)); in fpga_bridge_test_get_put_list()
/linux/fs/btrfs/
H A Dlru_cache.h57 return list_first_entry_or_null(&cache->lru_list, in btrfs_lru_cache_lru_entry()
/linux/drivers/soc/ti/
H A Dknav_qmss.h352 list_first_entry_or_null(&kdev->regions, \
359 list_first_entry_or_null(&kdev->queue_ranges, \
/linux/drivers/gpu/drm/i915/
H A Di915_gem_ww.c21 while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { in i915_gem_ww_ctx_unlock_all()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_if.c243 node = list_first_entry_or_null(&inst->available_fb_node_list, in vp9_add_to_fb_free_list()
441 node = list_first_entry_or_null(&inst->available_fb_node_list, in vp9_add_to_fb_disp_list()
618 node = list_first_entry_or_null(&inst->fb_disp_list, in vp9_rm_from_fb_disp_list()
641 node = list_first_entry_or_null(&inst->available_fb_node_list, in vp9_add_to_fb_use_list()
723 node = list_first_entry_or_null(&inst->fb_free_list, in get_free_fb()
/linux/drivers/tty/
H A Dn_hdlc.c599 buf = list_first_entry_or_null(&n_hdlc->rx_buf_list.list, in n_hdlc_tty_ioctl()
614 buf = list_first_entry_or_null(&n_hdlc->tx_buf_list.list, in n_hdlc_tty_ioctl()
772 buf = list_first_entry_or_null(&buf_list->list, in n_hdlc_buf_get()
/linux/include/media/
H A Dv4l2-fwnode.h402 list_first_entry_or_null(&(v4l2c)->links, \
/linux/include/linux/
H A Dballoon_compaction.h178 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop()
/linux/drivers/infiniband/core/
H A Dmr_pool.c14 mr = list_first_entry_or_null(list, struct ib_mr, qp_entry); in ib_mr_pool_get()
/linux/fs/smb/client/
H A Ddfs_cache.h69 return list_first_entry_or_null(&tl->tl_list, in dfs_cache_get_tgt_iterator()
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c93 req = list_first_entry_or_null(&ep->queue, struct ast_vhub_req, queue); in ast_vhub_epn_handle_ack()
142 req = list_first_entry_or_null(&ep->queue, struct ast_vhub_req, in ast_vhub_epn_handle_ack()
264 req = list_first_entry_or_null(&ep->queue, struct ast_vhub_req, queue); in ast_vhub_epn_handle_ack_desc()
315 req = list_first_entry_or_null(&ep->queue, in ast_vhub_epn_handle_ack_desc()
/linux/drivers/pci/hotplug/
H A Drpaphp_pci.c87 pdn = list_first_entry_or_null(&PCI_DN(phb->dn)->child_list, in __rpaphp_get_sensor_state()
/linux/drivers/usb/dwc3/
H A Dgadget.h72 return list_first_entry_or_null(list, struct dwc3_request, list); in next_request()
/linux/drivers/gpu/drm/scheduler/
H A Dsched_main.c395 job = list_first_entry_or_null(&sched->pending_list, in drm_sched_run_free_queue()
561 job = list_first_entry_or_null(&sched->pending_list, in drm_sched_job_timedout()
1092 job = list_first_entry_or_null(&sched->pending_list, in drm_sched_get_finished_job()
1102 next = list_first_entry_or_null(&sched->pending_list, in drm_sched_get_finished_job()
/linux/drivers/s390/cio/
H A Dvfio_ccw_chp.c93 crw = list_first_entry_or_null(&private->crw, in vfio_ccw_crw_region_read()
/linux/drivers/crypto/ccp/
H A Dccp-dmaengine.c164 cmd = list_first_entry_or_null(&desc->active, struct ccp_dma_cmd, in ccp_free_active_cmd()
184 desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc, in __ccp_next_dma_desc()
598 desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc, in ccp_resume()

1234567891011