Lines Matching refs:p_node

985 static inline void qdf_net_buf_update_smmu_params(QDF_NBUF_TRACK *p_node)  in qdf_net_buf_update_smmu_params()  argument
987 p_node->smmu_unmap_line_num = 0; in qdf_net_buf_update_smmu_params()
988 p_node->is_nbuf_smmu_mapped = false; in qdf_net_buf_update_smmu_params()
989 p_node->smmu_map_line_num = 0; in qdf_net_buf_update_smmu_params()
990 p_node->smmu_map_func_name[0] = '\0'; in qdf_net_buf_update_smmu_params()
991 p_node->smmu_unmap_func_name[0] = '\0'; in qdf_net_buf_update_smmu_params()
992 p_node->smmu_unmap_iova_addr = 0; in qdf_net_buf_update_smmu_params()
993 p_node->smmu_unmap_pa_addr = 0; in qdf_net_buf_update_smmu_params()
994 p_node->smmu_map_iova_addr = 0; in qdf_net_buf_update_smmu_params()
995 p_node->smmu_map_pa_addr = 0; in qdf_net_buf_update_smmu_params()
1013 static inline void qdf_net_buf_update_smmu_params(QDF_NBUF_TRACK *p_node) in qdf_net_buf_update_smmu_params() argument
3117 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_exit() local
3125 p_node = gp_qdf_net_buf_track_tbl[i]; in qdf_net_buf_debug_exit()
3126 while (p_node) { in qdf_net_buf_debug_exit()
3127 p_prev = p_node; in qdf_net_buf_debug_exit()
3128 p_node = p_node->p_next; in qdf_net_buf_debug_exit()
3184 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_look_up() local
3187 p_node = gp_qdf_net_buf_track_tbl[i]; in qdf_net_buf_debug_look_up()
3189 while (p_node) { in qdf_net_buf_debug_look_up()
3190 if (p_node->net_buf == net_buf) in qdf_net_buf_debug_look_up()
3191 return p_node; in qdf_net_buf_debug_look_up()
3192 p_node = p_node->p_next; in qdf_net_buf_debug_look_up()
3203 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_add_node() local
3214 p_node = qdf_net_buf_debug_look_up(net_buf); in qdf_net_buf_debug_add_node()
3216 if (p_node) { in qdf_net_buf_debug_add_node()
3218 p_node->net_buf, p_node->func_name, p_node->line_num, in qdf_net_buf_debug_add_node()
3222 p_node = new_node; in qdf_net_buf_debug_add_node()
3223 if (p_node) { in qdf_net_buf_debug_add_node()
3224 p_node->net_buf = net_buf; in qdf_net_buf_debug_add_node()
3225 qdf_str_lcopy(p_node->func_name, func_name, in qdf_net_buf_debug_add_node()
3227 p_node->line_num = line_num; in qdf_net_buf_debug_add_node()
3228 p_node->is_nbuf_mapped = false; in qdf_net_buf_debug_add_node()
3229 p_node->map_line_num = 0; in qdf_net_buf_debug_add_node()
3230 p_node->unmap_line_num = 0; in qdf_net_buf_debug_add_node()
3231 p_node->map_func_name[0] = '\0'; in qdf_net_buf_debug_add_node()
3232 p_node->unmap_func_name[0] = '\0'; in qdf_net_buf_debug_add_node()
3233 p_node->size = size; in qdf_net_buf_debug_add_node()
3234 p_node->time = qdf_get_log_timestamp(); in qdf_net_buf_debug_add_node()
3235 qdf_net_buf_update_smmu_params(p_node); in qdf_net_buf_debug_add_node()
3237 p_node->p_next = gp_qdf_net_buf_track_tbl[i]; in qdf_net_buf_debug_add_node()
3238 gp_qdf_net_buf_track_tbl[i] = p_node; in qdf_net_buf_debug_add_node()
3256 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_update_node() local
3264 p_node = qdf_net_buf_debug_look_up(net_buf); in qdf_net_buf_debug_update_node()
3266 if (p_node) { in qdf_net_buf_debug_update_node()
3267 qdf_str_lcopy(p_node->func_name, kbasename(func_name), in qdf_net_buf_debug_update_node()
3269 p_node->line_num = line_num; in qdf_net_buf_debug_update_node()
3283 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_update_map_node() local
3291 p_node = qdf_net_buf_debug_look_up(net_buf); in qdf_net_buf_debug_update_map_node()
3293 if (p_node) { in qdf_net_buf_debug_update_map_node()
3294 qdf_str_lcopy(p_node->map_func_name, func_name, in qdf_net_buf_debug_update_map_node()
3296 p_node->map_line_num = line_num; in qdf_net_buf_debug_update_map_node()
3297 p_node->is_nbuf_mapped = true; in qdf_net_buf_debug_update_map_node()
3311 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_update_smmu_map_node() local
3319 p_node = qdf_net_buf_debug_look_up(nbuf); in qdf_net_buf_debug_update_smmu_map_node()
3321 if (p_node) { in qdf_net_buf_debug_update_smmu_map_node()
3322 qdf_str_lcopy(p_node->smmu_map_func_name, func, in qdf_net_buf_debug_update_smmu_map_node()
3324 p_node->smmu_map_line_num = line; in qdf_net_buf_debug_update_smmu_map_node()
3325 p_node->is_nbuf_smmu_mapped = true; in qdf_net_buf_debug_update_smmu_map_node()
3326 p_node->smmu_map_iova_addr = iova; in qdf_net_buf_debug_update_smmu_map_node()
3327 p_node->smmu_map_pa_addr = pa; in qdf_net_buf_debug_update_smmu_map_node()
3340 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_update_smmu_unmap_node() local
3348 p_node = qdf_net_buf_debug_look_up(nbuf); in qdf_net_buf_debug_update_smmu_unmap_node()
3350 if (p_node) { in qdf_net_buf_debug_update_smmu_unmap_node()
3351 qdf_str_lcopy(p_node->smmu_unmap_func_name, func, in qdf_net_buf_debug_update_smmu_unmap_node()
3353 p_node->smmu_unmap_line_num = line; in qdf_net_buf_debug_update_smmu_unmap_node()
3354 p_node->is_nbuf_smmu_mapped = false; in qdf_net_buf_debug_update_smmu_unmap_node()
3355 p_node->smmu_unmap_iova_addr = iova; in qdf_net_buf_debug_update_smmu_unmap_node()
3356 p_node->smmu_unmap_pa_addr = pa; in qdf_net_buf_debug_update_smmu_unmap_node()
3368 QDF_NBUF_TRACK *p_node; in qdf_net_buf_debug_update_unmap_node() local
3376 p_node = qdf_net_buf_debug_look_up(net_buf); in qdf_net_buf_debug_update_unmap_node()
3378 if (p_node) { in qdf_net_buf_debug_update_unmap_node()
3379 qdf_str_lcopy(p_node->unmap_func_name, func_name, in qdf_net_buf_debug_update_unmap_node()
3381 p_node->unmap_line_num = line_num; in qdf_net_buf_debug_update_unmap_node()
3382 p_node->is_nbuf_mapped = false; in qdf_net_buf_debug_update_unmap_node()
3391 QDF_NBUF_TRACK *p_node = NULL; in qdf_net_buf_debug_delete_node() local
3407 p_node = p_head; in qdf_net_buf_debug_delete_node()
3410 gp_qdf_net_buf_track_tbl[i] = p_node->p_next; in qdf_net_buf_debug_delete_node()
3415 while (p_node) { in qdf_net_buf_debug_delete_node()
3416 p_prev = p_node; in qdf_net_buf_debug_delete_node()
3417 p_node = p_node->p_next; in qdf_net_buf_debug_delete_node()
3418 if ((p_node) && (p_node->net_buf == net_buf)) { in qdf_net_buf_debug_delete_node()
3419 p_prev->p_next = p_node->p_next; in qdf_net_buf_debug_delete_node()
3427 if (p_node) { in qdf_net_buf_debug_delete_node()
3428 qdf_mem_skb_dec(p_node->size); in qdf_net_buf_debug_delete_node()
3429 qdf_nbuf_track_free(p_node); in qdf_net_buf_debug_delete_node()