/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | dfs_cache.c | 35 struct list_head list; member 120 list_for_each_entry_safe(t, n, &ce->tlist, list) { in free_tgts() 121 list_del(&t->list); in free_tgts() 178 list_for_each_entry(t, &ce->tlist, list) { in dfscache_proc_show() 230 cifs_dbg(FYI, "target list:\n"); in dump_tgts() 231 list_for_each_entry(t, &ce->tlist, list) { in dump_tgts() 374 INIT_LIST_HEAD(&t->list); in alloc_target() 404 list_add(&t->list, &ce->tlist); in copy_ref_data() 407 list_add_tail(&t->list, &ce->tlist); in copy_ref_data() 413 list); in copy_ref_data() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_acpi.c | 61 struct list_head list; member 69 struct list_head list; member 937 list_for_each_entry(acpi_dev, &amdgpu_acpi_dev_list, list) in amdgpu_acpi_get_dev() 957 INIT_LIST_HEAD(&tmp->list); in amdgpu_acpi_dev_init() 1012 list_add_tail(&tmp->list, &amdgpu_acpi_dev_list); in amdgpu_acpi_dev_init() 1106 INIT_LIST_HEAD(&xcc_info->list); in amdgpu_acpi_enumerate_xcc() 1129 list_add_tail(&xcc_info->list, &dev_info->xcc_list); in amdgpu_acpi_enumerate_xcc() 1170 list_for_each_entry(xcc_info, &dev_info->xcc_list, list) { in amdgpu_acpi_get_mem_info() 1454 list) { in amdgpu_acpi_release() 1456 list) { in amdgpu_acpi_release() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | sun4i-dma.c | 160 struct list_head list; member 379 struct sun4i_dma_promise, list); in __execute_vchan_pending() 438 * promise will live in the demands list on a contract. Once it has been 439 * completed, it will be moved to the completed demands list for later freeing. 505 * promise will live in the demands list on a contract. Once it has been 506 * completed, it will be moved to the completed demands list for later freeing. 592 struct sun4i_dma_promise, list); in get_next_cyclic_promise() 597 struct sun4i_dma_promise, list); in get_next_cyclic_promise() 612 list_for_each_entry_safe(promise, tmp, &contract->demands, list) in sun4i_dma_free_contract() 615 list_for_each_entry_safe(promise, tmp, &contract->completed_demands, list) in sun4i_dma_free_contract() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 73 list_for_each_entry(buf, &s->q_dma.list, list) { in ivtv_pio_work_handler() 217 buf = list_entry(s->q_predma.list.next, struct ivtv_buffer, list); in stream_enc_dma_append() 219 list_for_each_entry(buf, &s->q_predma.list, list) { in stream_enc_dma_append() 257 list_for_each(p, &s->q_dma.list) { in dma_post() 258 buf = list_entry(p, struct ivtv_buffer, list); in dma_post() 302 list_for_each_entry(buf, &s->q_dma.list, list) { in dma_post() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 567 list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) { in ath9k_htc_tx_drain() 568 list_del(&event->list); in ath9k_htc_tx_drain() 676 list_add_tail(&tx_pend->list, in ath9k_htc_txstatus() 769 list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) { in ath9k_htc_tx_cleanup_timer() 779 list_del(&event->list); in ath9k_htc_tx_cleanup_timer() 785 list_del(&event->list); in ath9k_htc_tx_cleanup_timer() 1091 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet() 1127 list_move_tail(&rxbuf->list, &priv->rx.rxbuf); in ath9k_rx_tasklet() 1148 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep() 1178 list_for_each_entry_safe(rxbuf, tbuf, &priv->rx.rxbuf, list) { in ath9k_rx_cleanup() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_binding.c | 72 * @list: linked list of individual active bindings. 98 struct list_head list; member 286 if (list_empty(&cbs->list)) in vmw_cbs_context() 289 return list_first_entry(&cbs->list, struct vmw_ctx_bindinfo, in vmw_cbs_context() 352 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add() 413 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_binding_transfer() 432 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_kill() 449 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_state_scrub() 462 * resource binding list [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 30 #include <linux/list.h> /* For struct list_head */ 745 struct list_head *list; in __sctp_hash_endpoint() local 748 list_for_each(list, &ep->base.bind_addr.address_list) in __sctp_hash_endpoint() 942 struct rhlist_head *tmp, *list; in sctp_hash_transport() local 954 list = rhltable_lookup(&sctp_transport_hashtable, &arg, in sctp_hash_transport() 957 rhl_for_each_entry_rcu(transport, tmp, list, node) in sctp_hash_transport() 998 struct rhlist_head *tmp, *list; in sctp_addrs_lookup_transport() local 1007 list = rhltable_lookup(&sctp_transport_hashtable, &arg, in sctp_addrs_lookup_transport() 1010 rhl_for_each_entry_rcu(t, tmp, list, node) { in sctp_addrs_lookup_transport() 1030 struct rhlist_head *tmp, *list; in sctp_epaddr_lookup_transport() local [all...] |
H A D | outqueue.c | 30 #include <linux/list.h> /* For struct list_head */ 65 list_add(&ch->list, &q->out_chunk_list); in sctp_outq_head_data() 86 list_add_tail(&ch->list, &q->out_chunk_list); in sctp_outq_tail_data() 261 list_for_each_entry_safe(chunk, tmp, &q->control_chunk_list, list) { in __sctp_outq_teardown() 262 list_del_init(&chunk->list); in __sctp_outq_teardown() 308 list_add_tail(&chunk->list, &q->control_chunk_list); in sctp_outq_tail() 316 /* Insert a chunk into the sorted list based on the TSNs. The retransmit list 317 * and the abandoned list are in ascending order. 391 list_for_each_entry_safe(chk, temp, &q->out_chunk_list, list) { in sctp_prsctp_prune_unsent() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.h | 530 * @list: sas device list 557 struct list_head list; member 603 * @list: pcie device list 626 struct list_head list; member 690 * struct _raid_device - raid volume link list 691 * @list: sas device list 714 struct list_head list; member 810 struct list_head list; global() member 832 struct list_head list; global() member 908 struct list_head list; global() member 918 struct list_head list; global() member 928 struct list_head list; global() member 961 struct list_head list; global() member 1065 struct list_head list; global() member 1083 struct list_head list; global() member 1333 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | slab_common.c | 181 list_for_each_entry_reverse(s, &slab_caches, list) { in find_mergeable() 240 list_add(&s->list, &slab_caches); in create_cache() 429 * @slab_caches_to_rcu_destroy list. The slab pages are freed in slab_caches_to_rcu_destroy_workfn() 445 list_for_each_entry_safe(s, s2, &to_destroy, list) { in slab_caches_to_rcu_destroy_workfn() 460 list_del(&s->list); in shutdown_cache() 463 list_add_tail(&s->list, &slab_caches_to_rcu_destroy); in shutdown_cache() 671 list_add(&s->list, &slab_caches); in create_kmalloc_cache() 1204 static void freelist_randomize(unsigned int *list, in freelist_randomize() argument 1211 list[i] = i; in freelist_randomize() 1216 swap(list[ in freelist_randomize() [all...] |
/kernel/linux/linux-6.6/mm/damon/ |
H A D | core.c | 131 INIT_LIST_HEAD(®ion->list); in damon_new_region() 141 list_add_tail(&r->list, &t->regions_list); in damon_add_region() 147 list_del(&r->list); in damon_del_region() 276 INIT_LIST_HEAD(&filter->list); in damos_new_filter() 282 list_add_tail(&f->list, &s->filters); in damos_add_filter() 287 list_del(&f->list); in damos_del_filter() 327 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme() 339 list_add_tail(&s->list, &ctx->schemes); in damon_add_scheme() 344 list_del(&s->list); in damon_del_scheme() 378 INIT_LIST_HEAD(&t->list); in damon_new_target() [all...] |
/kernel/linux/linux-6.6/net/rfkill/ |
H A D | core.c | 13 #include <linux/list.h> 72 struct list_head list; member 77 struct list_head list; member 99 * and only use the mutex for list manipulations, not to protect the 103 static LIST_HEAD(rfkill_list); /* list of registered rf switches */ 105 static LIST_HEAD(rfkill_fds); /* list of open fds of /dev/rfkill */ 281 list_for_each_entry(data, &rfkill_fds, list) { in rfkill_send_events() 287 list_add_tail(&ev->list, &data->events); in rfkill_send_events() 1195 list_add_tail(&ev->list, &data->events); in rfkill_fop_open() 1198 list_add(&data->list, in rfkill_fop_open() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | segment.c | 80 char *list; ///< filename for the segment list file member 81 int list_flags; ///< flags affecting list generation 82 int list_size; ///< number of entries for the segment list file 92 char *entry_prefix; ///< prefix to add to list entry filenames 93 int list_type; ///< set the list type 94 AVIOContext *list_pb; ///< list file put-byte context 100 int64_t *times; ///< list of segment interval specification 104 int *frames; ///< list of frame number specification 218 /* copy modified name in list entr in set_segment_filename() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_meter.c | 56 struct list_head list; member 165 list_del(&scope->list); in snd_pcm_scope_remove() 196 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 211 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 243 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 251 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 258 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 265 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_thread() 284 scope = list_entry(pos, snd_pcm_scope_t, list); in snd_pcm_meter_close() 853 list_add_tail(&scope->list, in snd_pcm_meter_add_scope() [all...] |
/third_party/backends/backend/ |
H A D | gphoto2.c | 380 CameraList *list; in init_gphoto2() local 445 "%s: error: %d is not a valid speed for this camers. Use \"gphoto2 --camera \"%s\" --abilities\" for list.\n", in init_gphoto2() 501 CHECK_RET (gp_list_new (&list)); in init_gphoto2() 502 CHECK_RET (gp_camera_folder_list_folders (camera, TopFolder, list, NULL)); in init_gphoto2() 503 n = gp_list_count (list); in init_gphoto2() 506 DBG (0, "init_gphoto2: Unable to get file list\n"); in init_gphoto2() 712 GPPortInfoList *list; in sane_init() local 722 CHECK_RET (gp_port_info_list_new (&list)); in sane_init() 723 result = gp_port_info_list_load (list); in sane_init() 726 gp_port_info_list_free (list); in sane_init() [all...] |
/third_party/python/Modules/_sqlite/ |
H A D | cursor.c | 1186 PyObject* list; in pysqlite_cursor_fetchmany_impl() local 1189 list = PyList_New(0); in pysqlite_cursor_fetchmany_impl() 1190 if (!list) { in pysqlite_cursor_fetchmany_impl() 1195 if (PyList_Append(list, row) < 0) { in pysqlite_cursor_fetchmany_impl() 1207 Py_DECREF(list); in pysqlite_cursor_fetchmany_impl() 1210 return list; in pysqlite_cursor_fetchmany_impl() 1225 PyObject* list; in pysqlite_cursor_fetchall_impl() local 1227 list = PyList_New(0); in pysqlite_cursor_fetchall_impl() 1228 if (!list) { in pysqlite_cursor_fetchall_impl() 1233 if (PyList_Append(list, ro in pysqlite_cursor_fetchall_impl() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 157 struct p2p_srv_bonjour, list) { in wpas_p2p_service_get_bonjour() 174 struct p2p_srv_upnp, list) { in wpas_p2p_service_get_upnp() 239 struct p2p_srv_bonjour, list) { in wpas_sd_all_bonjour() 311 struct p2p_srv_bonjour, list) { in wpas_sd_req_bonjour() 373 struct p2p_srv_upnp, list) { in wpas_sd_all_upnp() 436 struct p2p_srv_upnp, list) { in wpas_sd_req_upnp() 1129 dl_list_del(&bsrv->list); in wpas_p2p_srv_bonjour_free() 1138 dl_list_del(&usrv->list); in wpas_p2p_srv_upnp_free() 1150 struct p2p_srv_bonjour, list) in wpas_p2p_service_flush() 1154 struct p2p_srv_upnp, list) in wpas_p2p_service_flush() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 159 struct p2p_srv_bonjour, list) { in wpas_p2p_service_get_bonjour() 176 struct p2p_srv_upnp, list) { in wpas_p2p_service_get_upnp() 241 struct p2p_srv_bonjour, list) { in wpas_sd_all_bonjour() 313 struct p2p_srv_bonjour, list) { in wpas_sd_req_bonjour() 375 struct p2p_srv_upnp, list) { in wpas_sd_all_upnp() 438 struct p2p_srv_upnp, list) { in wpas_sd_req_upnp() 1159 dl_list_del(&bsrv->list); in wpas_p2p_srv_bonjour_free() 1168 dl_list_del(&usrv->list); in wpas_p2p_srv_upnp_free() 1180 struct p2p_srv_bonjour, list) in wpas_p2p_service_flush() 1184 struct p2p_srv_upnp, list) in wpas_p2p_service_flush() [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/ |
H A D | trans_lane_pending_test.cpp | 71 SoftBusList *list = static_cast<SoftBusList*>(SoftBusCalloc(sizeof(SoftBusList))); in TestCreateSessionList() local 72 if (list == nullptr) { in TestCreateSessionList() 78 int32_t ret = SoftBusMutexInit(&list->lock, &mutexAttr); in TestCreateSessionList() 80 ListInit(&list->list); in TestCreateSessionList() 81 return list; in TestCreateSessionList() 213 SoftBusList *list = TestCreateSessionList(); in HWTEST_F() local 214 EXPECT_NE(list, nullptr); in HWTEST_F() 219 EXPECT_CALL(TransLanePendingMock, CreateSoftBusList).WillRepeatedly(Return(list)); in HWTEST_F() 233 SoftBusList *list in HWTEST_F() local 255 SoftBusList *list = TestCreateSessionList(); HWTEST_F() local 277 SoftBusList *list = TestCreateSessionList(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_taprio.c | 13 #include <linux/list.h> 37 struct list_head list; member 124 list_for_each_entry_safe(entry, n, &sched->entries, list) { in taprio_free_sched_cb() 125 list_del(&entry->list); in taprio_free_sched_cb() 221 list_for_each_entry(entry, &sched->entries, list) { in find_entry_to_transmit() 653 if (list_is_last(&entry->list, &oper->entries)) in should_restart_cycle() 724 list); in advance_sched() 731 list); in advance_sched() 735 next = list_next_entry(entry, list); in advance_sched() 837 static int parse_sched_list(struct taprio_sched *q, struct nlattr *list, in parse_sched_list() argument [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | apparmorfs.c | 1423 list_del_init(&rawdata->list); in __aa_fs_remove_rawdata() 1488 list_add(&rawdata->list, &ns->rawdata_list); in __aa_fs_create_rawdata() 1513 list_for_each_entry(child, &profile->base.profiles, base.list) in __aafs_profile_rmdir() 1765 list_for_each_entry(child, &profile->base.profiles, base.list) { in __aafs_profile_mkdir() 1820 aa_put_ns(ns); /* list ref remains */ in ns_mkdir_op() 1885 list_for_each_entry_safe(ent, tmp, &ns->rawdata_list, list) in __aa_fs_list_remove_rawdata() 1903 list_for_each_entry(child, &ns->base.profiles, base.list) in __aafs_ns_rmdir() 1906 list_for_each_entry(sub, &ns->sub_ns, base.list) { in __aafs_ns_rmdir() 2029 list_for_each_entry(child, &ns->base.profiles, base.list) { in __aafs_ns_mkdir() 2036 list_for_each_entry(sub, &ns->sub_ns, base.list) { in __aafs_ns_mkdir() [all...] |
/kernel/linux/linux-5.10/ipc/ |
H A D | sem.c | 53 * - the task that performs a successful semop() scans the list of all 67 * - There are two lists of the pending operations: a per-array list 68 * and per-semaphore list (stored in the array). This allows to achieve FIFO 131 struct list_head list; /* queue of pending operations */ member 143 /* Each task has a list of undo requests. They are executed automatically 147 struct list_head list_proc; /* per-process list: * 152 struct list_head list_id; /* per semaphore array list: 159 /* sem_undo_list controls shared access to the list of sem_undo structures 293 list_for_each_entry_safe(q, tq, &sma->pending_alter, list) { in unmerge_queues() 297 list_add_tail(&q->list, in unmerge_queues() [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | multicast.c | 29 #include <linux/list.h> 218 list_for_each_entry_safe(br_ip_entry, tmp, &bridge_mcast_list, list) { in batadv_mcast_mla_rtr_flags_bridge_get() 227 list_del(&br_ip_entry->list); in batadv_mcast_mla_rtr_flags_bridge_get() 336 * batadv_mcast_mla_is_duplicate() - check whether an address is in a list 338 * @mcast_list: the list with multicast addresses to search in 340 * Return: true if the given address is already in the given list. 348 hlist_for_each_entry(mcast_entry, mcast_list, list) in batadv_mcast_mla_is_duplicate() 358 * @mcast_list: a list to put found addresses into 413 hlist_add_head(&new->list, mcast_list); in batadv_mcast_mla_softif_get_ipv4() 424 * @mcast_list: a list t [all...] |
H A D | bat_iv_ogm.c | 24 #include <linux/list.h> 646 &bat_priv->forw_bat_list, list) { in batadv_iv_ogm_queue_add() 761 list) { in batadv_iv_ogm_slide_own_bcast_window() 845 list_for_each_entry_rcu(tmp_hard_iface, &batadv_hardif_list, list) { in batadv_iv_ogm_schedule_buff() 942 &orig_node->neigh_list, list) { in batadv_iv_ogm_orig_update() 1090 &orig_neigh_node->neigh_list, list) { in batadv_iv_ogm_calc_tq() 1257 hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { in batadv_iv_ogm_update_seqnos() 1612 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_iv_ogm_process() 1677 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_iv_ogm_process() 1802 hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { in batadv_iv_ogm_orig_print_neigh() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/arm64/ |
H A D | iort.c | 17 #include <linux/list.h> 30 struct list_head list; member 37 struct list_head list; member 64 INIT_LIST_HEAD(&np->list); in iort_set_fwnode() 69 list_add_tail(&np->list, &iort_fwnode_list); in iort_set_fwnode() 89 list_for_each_entry(curr, &iort_fwnode_list, list) { in iort_get_fwnode() 110 list_for_each_entry_safe(curr, tmp, &iort_fwnode_list, list) { in iort_delete_fwnode() 112 list_del(&curr->list); in iort_delete_fwnode() 134 list_for_each_entry(curr, &iort_fwnode_list, list) { in iort_get_iort_node() 156 * ITS ID and base address to the list fro [all...] |