Home
last modified time | relevance | path

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

12345678

/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/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/arch/arm64/kvm/vgic/
H A Dvgic-debug.c339 ite = list_first_entry_or_null(&dev->itt_head, in vgic_its_iter_next()
373 dev = list_first_entry_or_null(&its->device_list, in vgic_its_debug_start()
383 iter->ite = list_first_entry_or_null(&dev->itt_head, in vgic_its_debug_start()
/linux/drivers/pci/endpoint/
H A Dpci-ep-msi.c33 epf = list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list); in pci_epf_write_msi_msg()
205 if (list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list) != epf) { in pci_epf_alloc_doorbell()
/linux/drivers/usb/typec/
H A Dmode_selection.c140 ms = list_first_entry_or_null(&sel->mode_list, struct mode_state, list); in mode_selection_work_fn()
184 ms = list_first_entry_or_null(&sel->mode_list, struct mode_state, list); in typec_altmode_state_update()
/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/fs/nfs_common/
H A Dnfslocalio.c170 while ((nfl = list_first_entry_or_null(&nfs_uuid->files, in nfs_uuid_put()
181 list_first_entry_or_null( in nfs_uuid_put()
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-privacy.c97 priv = list_first_entry_or_null(&wmi_list, in dell_privacy_has_mic_mute()
125 priv = list_first_entry_or_null(&wmi_list, in dell_privacy_process_event()
/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/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/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/fs/xfs/
H A Dxfs_trans_priv.h84 return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, in xfs_ail_min()
H A Dxfs_ioend.c147 while ((ioend = list_first_entry_or_null(&tmp, struct iomap_ioend, in xfs_end_io()
/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()
/linux/drivers/s390/cio/
H A Dvfio_ccw_chp.c112 crw = list_first_entry_or_null(&private->crw, in vfio_ccw_crw_region_read()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c74 ptp = list_first_entry_or_null(&mmu->ptp.list, typeof(*ptp), head); in nvkm_mmu_ptp_get()
190 pt = list_first_entry_or_null(&ptc->item, typeof(*pt), head); in nvkm_mmu_ptc_get()
/linux/net/mac802154/
H A Drx.c38 mac_pkt = list_first_entry_or_null(&local->rx_beacon_list, in mac802154_rx_beacon_worker()
79 mac_pkt = list_first_entry_or_null(&local->rx_mac_cmd_list, in mac802154_rx_mac_cmd_worker()
/linux/fs/netfs/
H A Dlocking.c286 waiter = list_first_entry_or_null(&ictx->wb_queue, struct netfs_wb_waiter, link); in netfs_wb_end()
/linux/drivers/powercap/
H A Darm_scmi_powercap.c377 spz = list_first_entry_or_null(&pr->scmi_zones, in scmi_zones_register()
405 spz = list_first_entry_or_null(&pr->scmi_zones, in scmi_zones_register()
/linux/drivers/irqchip/
H A Dirq-gic-v2m.c275 v2m = list_first_entry_or_null(&v2m_nodes, struct v2m_data, entry); in gicv2m_allocate_domains()
437 data = list_first_entry_or_null(&v2m_nodes, struct v2m_data, entry); in gicv2m_get_fwnode()
/linux/fs/iomap/
H A Dioend.c92 while ((ioend = list_first_entry_or_null(&tmp, struct iomap_ioend, in iomap_fail_ioends()
422 while ((next = list_first_entry_or_null(more_ioends, struct iomap_ioend, in iomap_ioend_try_merge()
/linux/net/rxrpc/
H A Dconn_client.c517 while ((call = list_first_entry_or_null(&new_client_calls, in rxrpc_connect_client_calls()
760 conn = list_first_entry_or_null(&local->idle_client_conns, in rxrpc_discard_expired_client_conns()
823 while ((conn = list_first_entry_or_null(&local->idle_client_conns, in rxrpc_clean_up_local_conns()
/linux/drivers/crypto/starfive/
H A Djh7110-cryp.c42 ctx->cryp = list_first_entry_or_null(&dev_list.dev_list, in starfive_cryp_find_dev()

12345678