Home
last modified time | relevance | path

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

12345678910

/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/pci/endpoint/
H A Dpci-ep-msi.c30 epf = list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list); in pci_epf_write_msi_msg()
48 if (list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list) != epf) { in pci_epf_alloc_doorbell()
/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/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_control_cache.c240 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_init()
290 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_init_write_only()
909 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_not_started()
974 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_stopped()
1037 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_powered_down()
1104 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_stopped_powered_down()
1172 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_not_current_loaded_fw()
1242 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_not_current_running_fw()
1317 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_running()
1395 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_read_running_zero_flags()
[all …]
/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/arch/arm64/kvm/vgic/
H A Dvgic-debug.c383 ite = list_first_entry_or_null(&dev->itt_head, in vgic_its_iter_next()
417 dev = list_first_entry_or_null(&its->device_list, in vgic_its_debug_start()
427 iter->ite = list_first_entry_or_null(&dev->itt_head, in vgic_its_debug_start()
/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/tty/
H A Dn_hdlc.c593 buf = list_first_entry_or_null(&n_hdlc->rx_buf_list.list, in n_hdlc_tty_ioctl()
607 buf = list_first_entry_or_null(&n_hdlc->tx_buf_list.list, in n_hdlc_tty_ioctl()
752 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/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/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/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/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/s390/cio/
H A Dvfio_ccw_chp.c93 crw = list_first_entry_or_null(&private->crw, in vfio_ccw_crw_region_read()
/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()
/linux/fs/fuse/
H A Ddev_uring.c150 ent = list_first_entry_or_null(list, struct fuse_ring_ent, list); in ent_list_request_expired()
803 req = list_first_entry_or_null(req_queue, struct fuse_req, list); in fuse_uring_ent_assign_req()
1286 ent = list_first_entry_or_null(&queue->ent_avail_queue, in fuse_uring_queue_fuse_req()
1328 ent = list_first_entry_or_null(&queue->ent_avail_queue, in fuse_uring_queue_bq_req()
1342 req = list_first_entry_or_null(&queue->fuse_req_queue, struct fuse_req, in fuse_uring_queue_bq_req()
/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/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()

12345678910