Lines Matching refs:op
32 struct dsc_op *op = opaque_op; in __dsc_dbg_op_timeout() local
34 qdf_print_thread_trace(op->thread); in __dsc_dbg_op_timeout()
36 op->func, DSC_OP_TIMEOUT_MS); in __dsc_dbg_op_timeout()
71 struct dsc_op *op; in __dsc_dbg_ops_insert() local
73 op = qdf_mem_malloc(sizeof(*op)); in __dsc_dbg_ops_insert()
74 if (!op) in __dsc_dbg_ops_insert()
77 op->thread = qdf_get_current_task(); in __dsc_dbg_ops_insert()
78 status = qdf_timer_init(NULL, &op->timeout_timer, __dsc_dbg_op_timeout, in __dsc_dbg_ops_insert()
79 op, QDF_TIMER_TYPE_SW); in __dsc_dbg_ops_insert()
83 op->func = func; in __dsc_dbg_ops_insert()
85 qdf_timer_start(&op->timeout_timer, DSC_OP_TIMEOUT_MS); in __dsc_dbg_ops_insert()
86 qdf_list_insert_back(&ops->list, &op->node); in __dsc_dbg_ops_insert()
91 qdf_mem_free(op); in __dsc_dbg_ops_insert()
105 struct dsc_op *op; in __dsc_dbg_ops_remove() local
108 qdf_list_for_each(&ops->list, op, node) { in __dsc_dbg_ops_remove()
109 if (!qdf_str_eq(op->func, func)) in __dsc_dbg_ops_remove()
113 qdf_list_remove_node(&ops->list, &op->node); in __dsc_dbg_ops_remove()
115 qdf_timer_stop(&op->timeout_timer); in __dsc_dbg_ops_remove()
116 qdf_timer_free(&op->timeout_timer); in __dsc_dbg_ops_remove()
117 qdf_mem_free(op); in __dsc_dbg_ops_remove()