Searched refs:copied_length (Results 1 – 2 of 2) sorted by relevance
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_ioctl.c | 2672 int i, ret, copied_length = 0; in drv_cmd_get_wifi6e_channels() local 2717 for (i = 0; i < NUM_6GHZ_CHANNELS && copied_length < max_buf_len - 1; in drv_cmd_get_wifi6e_channels() 2723 copied_length += scnprintf(extra + copied_length, in drv_cmd_get_wifi6e_channels() 2724 max_buf_len - copied_length, "%u ", in drv_cmd_get_wifi6e_channels() 2728 if (copied_length == 0) { in drv_cmd_get_wifi6e_channels() 2735 if (copy_to_user(priv_data->buf, &extra, copied_length + 1)) { in drv_cmd_get_wifi6e_channels() 7038 int max_len, copied_length; in drv_cmd_get_disable_chan_list() local 7043 copied_length = hdd_get_disable_ch_list(hdd_ctx, extra, max_len); in drv_cmd_get_disable_chan_list() 7044 if (copied_length == 0) { in drv_cmd_get_disable_chan_list() 7049 if (copy_to_user(priv_data->buf, &extra, copied_length + 1)) { in drv_cmd_get_disable_chan_list() [all …]
|
/wlan-driver/qcacld-3.0/components/mlme/dispatcher/src/ |
H A D | wlan_mlme_ucfg_api.c | 179 uint32_t count = 0, rem_length = length, copied_length = 0, i = 0; in ucfg_mlme_convert_power_cfg_chan_to_freq() local 188 (copied_length <= (max_length - (sizeof(struct pwr_channel_info))))) { in ucfg_mlme_convert_power_cfg_chan_to_freq() 194 copied_length += sizeof(struct pwr_channel_info); in ucfg_mlme_convert_power_cfg_chan_to_freq() 204 qdf_mem_copy(power_freq_data, pwr_cfg_data, copied_length); in ucfg_mlme_convert_power_cfg_chan_to_freq() 206 return copied_length; in ucfg_mlme_convert_power_cfg_chan_to_freq()
|