Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 91) sorted by relevance

1234

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_list.c34 QDF_STATUS qdf_list_insert_before(qdf_list_t *list, in qdf_list_insert_before() argument
38 list->count++; in qdf_list_insert_before()
44 QDF_STATUS qdf_list_insert_after(qdf_list_t *list, in qdf_list_insert_after() argument
48 list->count++; in qdf_list_insert_after()
61 QDF_STATUS qdf_list_insert_front(qdf_list_t *list, qdf_list_node_t *node) in qdf_list_insert_front() argument
63 list_add(node, &list->anchor); in qdf_list_insert_front()
64 list->count++; in qdf_list_insert_front()
76 QDF_STATUS qdf_list_insert_back(qdf_list_t *list, qdf_list_node_t *node) in qdf_list_insert_back() argument
78 list_add_tail(node, &list->anchor); in qdf_list_insert_back()
79 list->count++; in qdf_list_insert_back()
[all …]
Di_qdf_list.h48 static inline void __qdf_list_create(__qdf_list_t *list, uint32_t max_size) in __qdf_list_create() argument
50 INIT_LIST_HEAD(&list->anchor); in __qdf_list_create()
51 list->count = 0; in __qdf_list_create()
52 list->max_size = max_size; in __qdf_list_create()
60 static inline uint32_t __qdf_list_size(__qdf_list_t *list) in __qdf_list_size() argument
62 return list->count; in __qdf_list_size()
70 static inline uint32_t __qdf_list_max_size(__qdf_list_t *list) in __qdf_list_max_size() argument
72 return list->max_size; in __qdf_list_max_size()
75 #define __QDF_LIST_ANCHOR(list) ((list).anchor) argument
89 #define __QDF_LIST_INIT_EMPTY(list) \ argument
[all …]
Dqdf_perf.c49 INIT_LIST_HEAD(&perf_root.list); in qdf_perfmod_init()
103 INIT_LIST_HEAD(&entry->list); in __qdf_perf_init()
108 list_add_tail(&entry->list, &pentry->child); in __qdf_perf_init()
154 list_del(&entry->list); in __qdf_perf_destroy()
Di_qdf_nbuf.h1516 struct sk_buff *list = NULL; in __qdf_nbuf_get_nr_frags_in_fraglist() local
1519 skb_walk_frags(skb, list) in __qdf_nbuf_get_nr_frags_in_fraglist()
1520 num_frag += skb_shinfo(list)->nr_frags; in __qdf_nbuf_get_nr_frags_in_fraglist()
1602 __qdf_nbuf_unlink_no_lock(struct sk_buff *skb, struct sk_buff_head *list) in __qdf_nbuf_unlink_no_lock() argument
1604 __skb_unlink(skb, list); in __qdf_nbuf_unlink_no_lock()
2505 struct sk_buff *list; in __qdf_nbuf_get_last_frag_list_nbuf() local
2510 for (list = skb_shinfo(buf)->frag_list; list->next; list = list->next) in __qdf_nbuf_get_last_frag_list_nbuf()
2513 return list; in __qdf_nbuf_get_last_frag_list_nbuf()
2525 struct sk_buff *list; in __qdf_nbuf_get_ref_fraglist() local
2527 skb_walk_frags(buf, list) in __qdf_nbuf_get_ref_fraglist()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_list.h59 QDF_STATUS qdf_list_insert_before(qdf_list_t *list,
69 QDF_STATUS qdf_list_insert_after(qdf_list_t *list,
71 QDF_STATUS qdf_list_insert_front(qdf_list_t *list, qdf_list_node_t *node);
73 QDF_STATUS qdf_list_insert_back_size(qdf_list_t *list, qdf_list_node_t *node,
76 QDF_STATUS qdf_list_remove_front(qdf_list_t *list, qdf_list_node_t **node1);
78 QDF_STATUS qdf_list_peek_next(qdf_list_t *list, qdf_list_node_t *node,
88 static inline void qdf_list_create(__qdf_list_t *list, uint32_t max_size) in qdf_list_create() argument
90 __qdf_list_create(list, max_size); in qdf_list_create()
93 #define QDF_LIST_ANCHOR(list) __QDF_LIST_ANCHOR(list) argument
100 #define QDF_LIST_INIT_EMPTY(list) __QDF_LIST_INIT_EMPTY(list) argument
[all …]
Dqdf_ptr_hash.h56 struct qdf_slist list; member
132 qdf_slist_init(&bucket->list); in qdf_ptr_hash_init()
146 qdf_slist_deinit(&bucket->list); in qdf_ptr_hash_deinit()
192 if (!qdf_slist_empty(&bucket->list)) in qdf_ptr_hash_empty()
216 qdf_slist_for_each(&bucket->list, tmp_entry, node) in qdf_ptr_hash_dup_check_in_bucket()
248 qdf_slist_push(&__qdf_ptr_hash_get_bucket(ht, key)->list, entry, node); in __qdf_ptr_hash_add()
274 qdf_slist_for_each_del(&bucket->list, prev, entry, node) { in __qdf_ptr_hash_remove()
276 qdf_slist_remove(&bucket->list, prev, node); in __qdf_ptr_hash_remove()
288 qdf_slist_for_each(&(bucket)->list, cursor, entry_field.node)
/wlan-driver/qca-wifi-host-cmn/qdf/test/
Dqdf_slist_test.c32 struct qdf_slist list; in qdf_slist_test_empty() local
36 qdf_slist_init(&list); in qdf_slist_test_empty()
39 QDF_BUG(qdf_slist_empty(&list)); in qdf_slist_test_empty()
42 QDF_BUG(!qdf_slist_pop(&list, item, node)); in qdf_slist_test_empty()
44 qdf_slist_deinit(&list); in qdf_slist_test_empty()
51 struct qdf_slist list; in qdf_slist_test_push_pop() local
56 qdf_slist_init(&list); in qdf_slist_test_push_pop()
60 qdf_slist_push(&list, &items[i], node); in qdf_slist_test_push_pop()
63 QDF_BUG(!qdf_slist_empty(&list)); in qdf_slist_test_push_pop()
67 QDF_BUG(qdf_slist_pop(&list, item, node)); in qdf_slist_test_push_pop()
[all …]
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_mon_thread.c55 typeof(*pkt), list); in pkt_capture_free_mon_pkt_freeq()
56 list_del(&pkt->list); in pkt_capture_free_mon_pkt_freeq()
85 list_add_tail(&pkt->list, in pkt_capture_alloc_mon_pkt_freeq()
95 list) { in pkt_capture_alloc_mon_pkt_freeq()
96 list_del(&pkt->list); in pkt_capture_alloc_mon_pkt_freeq()
121 list_add_tail(&pkt->list, &mon_ctx->mon_pkt_freeq); in pkt_capture_free_mon_pkt()
156 struct pkt_capture_mon_pkt, list); in pkt_capture_alloc_mon_pkt()
157 list_del(&pkt->list); in pkt_capture_alloc_mon_pkt()
182 list_add_tail(&pkt->list, &mon_ctx->mon_thread_queue); in pkt_capture_indicate_monpkt()
233 struct pkt_capture_mon_pkt, list); in pkt_capture_process_from_queue()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/
Dwlan_serialization_utils.c312 static void wlan_serialization_release_vdev_list_cmds(qdf_list_t *list) in wlan_serialization_release_vdev_list_cmds() argument
317 while (!wlan_serialization_list_empty(list)) in wlan_serialization_release_vdev_list_cmds()
318 wlan_serialization_remove_front(list, &node); in wlan_serialization_release_vdev_list_cmds()
332 void wlan_serialization_destroy_vdev_list(qdf_list_t *list) in wlan_serialization_destroy_vdev_list() argument
335 wlan_serialization_release_vdev_list_cmds(list); in wlan_serialization_destroy_vdev_list()
336 qdf_list_destroy(list); in wlan_serialization_destroy_vdev_list()
573 QDF_STATUS wlan_serialization_remove_front(qdf_list_t *list, in wlan_serialization_remove_front() argument
578 if (wlan_serialization_list_empty(list)) { in wlan_serialization_remove_front()
584 status = qdf_list_remove_front(list, node); in wlan_serialization_remove_front()
589 QDF_STATUS wlan_serialization_remove_node(qdf_list_t *list, in wlan_serialization_remove_node() argument
[all …]
Dwlan_serialization_utils_i.h382 void wlan_serialization_destroy_vdev_list(qdf_list_t *list);
592 qdf_list_t *list,
603 qdf_list_t *list,
614 qdf_list_t *list,
625 qdf_list_t *list,
636 qdf_list_t *list,
648 qdf_list_t *list,
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_sched.c59 struct list_head list; member
530 typeof(*pkt), list); in cds_free_ol_rx_pkt_freeq()
531 list_del(&pkt->list); in cds_free_ol_rx_pkt_freeq()
560 list_add_tail(&pkt->list, &pSchedContext->cds_ol_rx_pkt_freeq); in cds_alloc_ol_rx_pkt_freeq()
569 list) { in cds_alloc_ol_rx_pkt_freeq()
570 list_del(&pkt->list); in cds_alloc_ol_rx_pkt_freeq()
585 list_add_tail(&pkt->list, &pSchedContext->cds_ol_rx_pkt_freeq); in cds_free_ol_rx_pkt()
599 struct cds_ol_rx_pkt, list); in cds_alloc_ol_rx_pkt()
600 list_del(&pkt->list); in cds_alloc_ol_rx_pkt()
610 list_add_tail(&pkt->list, &pSchedContext->ol_rx_thread_queue); in cds_indicate_rxpkt()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_dcs.c257 uint32_t list[MAX_NUMBER_OF_CONC_CONNECTIONS]; in hdd_dcs_cb() local
279 count = policy_mgr_get_sap_go_count_on_mac(psoc, list, mac_id); in hdd_dcs_cb()
281 link_info = hdd_get_link_info_by_vdev(hdd_ctx, list[index]); in hdd_dcs_cb()
284 list[index]); in hdd_dcs_cb()
293 list[index], mac_id); in hdd_dcs_cb()
381 uint32_t list[MAX_NUMBER_OF_CONC_CONNECTIONS]; in hdd_dcs_hostapd_set_chan() local
393 count = policy_mgr_get_sap_go_count_on_mac(hdd_ctx->psoc, list, mac_id); in hdd_dcs_hostapd_set_chan()
401 link_info = hdd_get_link_info_by_vdev(hdd_ctx, list[conn_idx]); in hdd_dcs_hostapd_set_chan()
404 list[conn_idx]); in hdd_dcs_hostapd_set_chan()
416 link_info = hdd_get_link_info_by_vdev(hdd_ctx, list[conn_idx]); in hdd_dcs_hostapd_set_chan()
[all …]
/wlan-driver/qcacld-3.0/core/sme/src/csr/
Dcsr_api_scan.c881 qdf_list_t *list = NULL; in csr_scan_get_result() local
895 list = wlan_scan_get_result(pdev, filter); in csr_scan_get_result()
896 if (list) { in csr_scan_get_result()
897 num_bss = qdf_list_size(list); in csr_scan_get_result()
901 if (!list || (list && !qdf_list_size(list))) { in csr_scan_get_result()
918 status = csr_parse_scan_list(mac_ctx, ret_list, list); in csr_scan_get_result()
942 if (list) in csr_scan_get_result()
943 wlan_scan_purge_results(list); in csr_scan_get_result()
955 qdf_list_t *list = NULL; in csr_scan_get_result_for_bssid() local
967 list = wlan_scan_get_result(mac_ctx->pdev, scan_filter); in csr_scan_get_result_for_bssid()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
Dwlan_scan_cache_db.c277 static void scm_del_scan_node(qdf_list_t *list, in scm_del_scan_node() argument
282 status = qdf_list_remove_node(list, &scan_node->node); in scm_del_scan_node()
448 scm_get_next_valid_node(qdf_list_t *list, in scm_get_next_valid_node() argument
456 qdf_list_peek_next(list, cur_node, &next_node); in scm_get_next_valid_node()
458 qdf_list_peek_front(list, &next_node); in scm_get_next_valid_node()
469 qdf_list_peek_next(list, next_node, &temp_node); in scm_get_next_valid_node()
491 qdf_list_t *list, struct scan_cache_node *cur_node) in scm_get_next_node() argument
498 next_list = scm_get_next_valid_node(list, &cur_node->node); in scm_get_next_node()
503 next_list = scm_get_next_valid_node(list, NULL); in scm_get_next_node()
2196 qdf_list_t *list = NULL; in scm_scan_get_scan_entry_by_mac_freq() local
[all …]
/wlan-driver/platform/icnss2/
Dpower.c362 list_add_tail(&vreg->list, vreg_list); in icnss_get_vreg()
375 struct icnss_vreg_info, list); in icnss_put_vreg()
376 list_del(&vreg->list); in icnss_put_vreg()
386 list_for_each_entry(vreg, vreg_list, list) { in icnss_vreg_on()
398 list_for_each_entry_continue_reverse(vreg, vreg_list, list) { in icnss_vreg_on()
413 list_for_each_entry_reverse(vreg, vreg_list, list) { in icnss_vreg_off()
428 list_for_each_entry_reverse(vreg, vreg_list, list) { in icnss_vreg_unvote()
560 list_add_tail(&clk_info->list, clk_list); in icnss_get_clk()
568 list); in icnss_get_clk()
569 list_del(&clk_info->list); in icnss_get_clk()
[all …]
Dmain.h95 struct list_head list; member
104 struct list_head list; member
159 struct list_head list; member
185 struct list_head list; member
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_mgr_primary_umac.c1093 struct peer_migrate_ptqm_multi_entries *list, in wlan_mlo_send_ptqm_migrate_cmd() argument
1122 param.num_peers = list->num_entries; in wlan_mlo_send_ptqm_migrate_cmd()
1125 list->num_entries); in wlan_mlo_send_ptqm_migrate_cmd()
1133 peer_entry = mlo_ptqm_list_peek_head(&list->peer_list); in wlan_mlo_send_ptqm_migrate_cmd()
1145 next_entry = mlo_get_next_peer_ctx(&list->peer_list, in wlan_mlo_send_ptqm_migrate_cmd()
1435 struct peer_migrate_ptqm_multi_entries *list) in wlan_mlo_free_ptqm_migrate_list() argument
1439 peer_entry = mlo_ptqm_list_peek_head(&list->peer_list); in wlan_mlo_free_ptqm_migrate_list()
1441 list->num_entries--; in wlan_mlo_free_ptqm_migrate_list()
1442 next_entry = mlo_get_next_peer_ctx(&list->peer_list, in wlan_mlo_free_ptqm_migrate_list()
1447 qdf_list_remove_node(&list->peer_list, &peer_entry->node); in wlan_mlo_free_ptqm_migrate_list()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/src/
Dwlan_objmgr_debug.c240 qdf_list_t *list; in wlan_objmgr_rem_ld_obj_from_list() local
243 list = &debug_info->obj_list; in wlan_objmgr_rem_ld_obj_from_list()
245 status = qdf_list_peek_front(list, &node); in wlan_objmgr_rem_ld_obj_from_list()
253 status = qdf_list_remove_node(list, in wlan_objmgr_rem_ld_obj_from_list()
263 status = qdf_list_peek_next(list, node, &node); in wlan_objmgr_rem_ld_obj_from_list()
516 qdf_list_t *list; in wlan_objmgr_debug_info_deinit() local
525 list = &debug_info->obj_list; in wlan_objmgr_debug_info_deinit()
532 while (qdf_list_remove_front(list, &node) == QDF_STATUS_SUCCESS) { in wlan_objmgr_debug_info_deinit()
553 qdf_list_destroy(list); in wlan_objmgr_debug_info_deinit()
/wlan-driver/qcacld-3.0/components/dsc/src/
D__wlan_dsc.c47 qdf_list_create(&ops->list, 0); in __dsc_dbg_ops_init()
58 qdf_list_destroy(&ops->list); in __dsc_dbg_ops_deinit()
86 qdf_list_insert_back(&ops->list, &op->node); in __dsc_dbg_ops_insert()
108 qdf_list_for_each(&ops->list, op, node) { in __dsc_dbg_ops_remove()
113 qdf_list_remove_node(&ops->list, &op->node); in __dsc_dbg_ops_remove()
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/core/src/
Dwlan_ll_lt_sap_main.c56 qdf_list_t *list = NULL; in ll_lt_sap_get_sorted_user_config_acs_ch_list() local
77 list = wlan_scan_get_result(pdev, filter); in ll_lt_sap_get_sorted_user_config_acs_ch_list()
81 if (!list) in ll_lt_sap_get_sorted_user_config_acs_ch_list()
84 status = wlan_ll_sap_sort_channel_list(vdev_id, list, ch_info); in ll_lt_sap_get_sorted_user_config_acs_ch_list()
86 wlan_scan_purge_results(list); in ll_lt_sap_get_sorted_user_config_acs_ch_list()
/wlan-driver/qca-wifi-host-cmn/utils/qld/src/
Dqld.c83 qdf_list_t *list; in qld_list_delete() local
89 list = &qld_handle->qld_list; in qld_list_delete()
92 while (qdf_list_remove_front(list, &node) == QDF_STATUS_SUCCESS) { in qld_list_delete()
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/src/
Dwifi_pos_pasn_api.c182 struct wlan_pasn_request *secure_list, *unsecure_list, *list = NULL; in wifi_pos_move_peers_to_fail_list() local
204 list = pasn_context->secure_peer_list; in wifi_pos_move_peers_to_fail_list()
206 list = pasn_context->unsecure_peer_list; in wifi_pos_move_peers_to_fail_list()
208 if (!list) { in wifi_pos_move_peers_to_fail_list()
219 if (!qdf_is_macaddr_broadcast(&list[i].peer_mac)) { in wifi_pos_move_peers_to_fail_list()
221 vdev, &list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
222 qdf_set_macaddr_broadcast(&list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
/wlan-driver/platform/cnss2/
Dpower.c411 list_add_tail(&vreg->list, vreg_list); in cnss_get_vreg()
424 struct cnss_vreg_info, list); in cnss_put_vreg()
425 list_del(&vreg->list); in cnss_put_vreg()
438 list_for_each_entry(vreg, vreg_list, list) { in cnss_vreg_on()
449 list_for_each_entry_continue_reverse(vreg, vreg_list, list) { in cnss_vreg_on()
464 list_for_each_entry_reverse(vreg, vreg_list, list) { in cnss_vreg_off()
479 list_for_each_entry_reverse(vreg, vreg_list, list) { in cnss_vreg_unvote()
699 list_add_tail(&clk_info->list, clk_list); in cnss_get_clk()
707 list); in cnss_get_clk()
708 list_del(&clk_info->list); in cnss_get_clk()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/core/src/
Dwlan_mgmt_txrx_rx_reo.c1818 reo_list_size = qdf_list_size(&reo_list->list); in mgmt_rx_reo_list_display()
1835 qdf_list_for_each(&reo_list->list, cur_entry, node) { in mgmt_rx_reo_list_display()
2995 &reo_egress_list->list, in mgmt_rx_reo_release_egress_list_entries()
3021 qdf_list_size(&reo_egress_list->list); in mgmt_rx_reo_release_egress_list_entries()
3022 status = qdf_list_remove_node(&reo_egress_list->list, in mgmt_rx_reo_release_egress_list_entries()
3085 if (qdf_list_size(&reo_egress_list->list) > in mgmt_rx_reo_release_egress_list_entries()
3088 qdf_list_size(&reo_egress_list->list), in mgmt_rx_reo_release_egress_list_entries()
3183 if (qdf_list_empty(&reo_list->list)) in mgmt_rx_reo_check_sanity_list()
3186 first = qdf_list_first_entry_or_null(&reo_list->list, in mgmt_rx_reo_check_sanity_list()
3197 qdf_list_for_each_continue(&reo_list->list, cur, node) { in mgmt_rx_reo_check_sanity_list()
[all …]
/wlan-driver/qcacld-3.0/core/sap/src/
Dsap_api_link_cntl.c257 qdf_list_t *list = NULL; in wlansap_calculate_chan_from_scan_result() local
272 list = wlan_scan_get_result(mac_ctx->pdev, filter); in wlansap_calculate_chan_from_scan_result()
277 if (list) in wlansap_calculate_chan_from_scan_result()
278 sap_debug("num_entries %d", qdf_list_size(list)); in wlansap_calculate_chan_from_scan_result()
282 oper_channel = sap_select_channel(mac_handle, sap_ctx, list); in wlansap_calculate_chan_from_scan_result()
283 wlan_scan_purge_results(list); in wlansap_calculate_chan_from_scan_result()
1647 qdf_list_t *list = NULL; in wlansap_process_chan_info_event() local
1710 list = ucfg_scan_get_result(mac->pdev, filter); in wlansap_process_chan_info_event()
1712 if (!list) in wlansap_process_chan_info_event()
1715 if (qdf_list_size(list)) in wlansap_process_chan_info_event()
[all …]

1234