Searched refs:dup (Results 1 – 3 of 3) sorted by relevance
27 char *dup; in qdf_str_dup() local37 dup = qdf_mem_malloc(size); in qdf_str_dup()38 if (!dup) in qdf_str_dup()41 qdf_mem_copy(dup, src, size); in qdf_str_dup()42 *dest = dup; in qdf_str_dup()
315 struct scheduler_msg *dup; in scheduler_core_msg_dup() local321 dup = qdf_flex_mem_alloc(&sched_pool); in scheduler_core_msg_dup()322 if (!dup) { in scheduler_core_msg_dup()327 qdf_mem_copy(dup, msg, sizeof(*dup)); in scheduler_core_msg_dup()331 return dup; in scheduler_core_msg_dup()
2012 bool dup; in hdd_son_set_acs_channels() local2066 dup = true; in hdd_son_set_acs_channels()2072 if (!dup) { in hdd_son_set_acs_channels()2076 dup = false; in hdd_son_set_acs_channels()