Home
last modified time | relevance | path

Searched refs:list_is_singular (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/media/pci/cx18/
H A Dcx18-queue.h34 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_sync_for_device()
47 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_swap()
H A Dcx18-mailbox.c132 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_send_to_dvb()
215 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_send_to_alsa()
H A Dcx18-queue.c114 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_update_bufs_for_cpu()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_release.c221 if (list_is_singular(&release->bos)) in qxl_release_reserve_list()
245 if (list_is_singular(&release->bos)) in qxl_release_backoff_reserve_list()
414 if (list_is_singular(&release->bos) || list_empty(&release->bos)) in qxl_release_fence_buffer_objects()
/linux/arch/sh/kernel/
H A Dunwinder.c153 if (unwinder_faulted && !list_is_singular(&unwinder_list)) { in unwind_stack()
/linux/drivers/media/v4l2-core/
H A Dv4l2-fh.c113 is_singular = list_is_singular(&fh->list); in v4l2_fh_is_singular()
H A Dv4l2-async.c464 if (list_is_singular(&asc->asc_subdev_entry)) { in v4l2_async_unbind_subdev_one()
785 if (!list_is_singular(&sd->asc_list)) in v4l2_async_connection_unique()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_resource_test.c146 KUNIT_ASSERT_TRUE(test, list_is_singular(&man->lru[bo->priority])); in ttm_resource_init_basic()
172 KUNIT_ASSERT_TRUE(test, list_is_singular(&bo->bdev->unevictable)); in ttm_resource_init_pinned()
H A Dttm_pool_test.c386 KUNIT_ASSERT_TRUE(test, list_is_singular(&pt->pages)); in ttm_pool_free_no_dma_alloc()
391 KUNIT_ASSERT_TRUE(test, list_is_singular(&pt->pages)); in ttm_pool_free_no_dma_alloc()
/linux/tools/perf/util/
H A Dbpf_ftrace.c25 if (!list_is_singular(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg.c595 if (!list_is_singular(&cscfg_mgr->load_order_list)) { in cscfg_load_config_sets()
625 if (!list_is_singular(&cscfg_mgr->load_order_list)) in cscfg_load_config_sets()
699 if (!list_is_singular(&cscfg_mgr->load_order_list)) { in cscfg_unload_config_sets()
/linux/kernel/trace/
H A Dtrace_probe.h335 return !list_empty(list) && !list_is_singular(list); in trace_probe_has_sibling()
346 return !!list_is_singular(&tp->event->files); in trace_probe_has_single_file()
/linux/kernel/livepatch/
H A Dpatch.c140 if (list_is_singular(&ops->func_stack)) { in klp_unpatch_func()
H A Dtransition.c235 if (list_is_singular(&ops->func_stack)) { in klp_check_stack_func()
/linux/tools/include/linux/
H A Dlist.h229 static inline int list_is_singular(const struct list_head *head) in list_is_singular() function
265 if (list_is_singular(head) && in list_cut_position()
/linux/drivers/opp/
H A Ddebugfs.c261 if (!list_is_singular(&opp_table->dev_list)) { in opp_debug_unregister()
/linux/include/linux/
H A Dlist.h446 * list_is_singular - tests whether a list has just one entry.
449 static inline int list_is_singular(const struct list_head *head) in list_is_singular() function
485 if (list_is_singular(head) && !list_is_head(entry, head) && (entry != head->next)) in list_cut_position()
/linux/io_uring/
H A Dnapi.c215 if (list_is_singular(&ctx->napi_list)) { in io_napi_blocking_busy_loop()
/linux/kernel/time/
H A Dtimer_migration.c1629 list_is_singular(&tmigr_level_list[i - 1]))) in tmigr_setup_groups()
1675 if (group->num_children == 1 && list_is_singular(lvllist)) { in tmigr_setup_groups()
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-out.c63 !list_is_singular(&dev->vid_out_active)) { in vivid_thread_vid_out_tick()
/linux/drivers/bus/
H A Dbrcmstb_gisb.c505 if (list_is_singular(&brcmstb_gisb_arb_device_list)) { in brcmstb_gisb_arb_probe()
/linux/lib/
H A Dlist-test.c376 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
381 KUNIT_EXPECT_TRUE(test, list_is_singular(&list)); in list_test_list_is_singular()
386 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve.c518 !list_is_singular(&mc_list->records_list)) { in mlxsw_sp_nve_mc_record_entry_del()
622 if (!list_is_singular(&mc_list->records_list)) in mlxsw_sp_nve_fid_flood_index_clear()
/linux/drivers/gpu/drm/
H A Ddrm_buddy.c881 if (!list_is_singular(blocks)) in drm_buddy_block_trim()
1097 if (!list_is_singular(&allocated)) { in drm_buddy_alloc_blocks()
/linux/drivers/irqchip/
H A Dirq-bcm7038-l1.c433 if (list_is_singular(&bcm7038_l1_intcs_list)) in bcm7038_l1_of_init()

123