Home
last modified time | relevance | path

Searched refs:bufsz (Results 1 - 25 of 165) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
H A D3945-debug.c15 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) in il3945_stats_flag() argument
19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag()
22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag()
24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag()
27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il3945_stats_flag()
40 int bufsz = in il3945_ucode_rx_stats_read() local
52 buf = kzalloc(bufsz, GFP_KERNEL); in il3945_ucode_rx_stats_read()
76 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read()
78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
83 scnprintf(buf + pos, bufsz in il3945_ucode_rx_stats_read()
305 int bufsz = (sizeof(struct iwl39_stats_tx) * 48) + 250; il3945_ucode_tx_stats_read() local
395 int bufsz = sizeof(struct iwl39_stats_general) * 10 + 300; il3945_ucode_general_stats_read() local
[all...]
H A D4965-debug.c19 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) in il4965_stats_flag() argument
26 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag); in il4965_stats_flag()
28 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag()
30 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il4965_stats_flag()
33 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il4965_stats_flag()
47 int bufsz = in il4965_ucode_rx_stats_read() local
61 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_rx_stats_read()
89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
94 scnprintf(buf + pos, bufsz in il4965_ucode_rx_stats_read()
459 int bufsz = (sizeof(struct stats_tx) * 48) + 250; il4965_ucode_tx_stats_read() local
625 int bufsz = sizeof(struct stats_general) * 10 + 300; il4965_ucode_general_stats_read() local
[all...]
H A Ddebug.c210 const size_t bufsz = in il_dbgfs_tx_stats_read() local
212 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_tx_stats_read()
215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read()
218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read()
224 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read()
229 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n", in il_dbgfs_tx_stats_read()
232 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n", in il_dbgfs_tx_stats_read()
270 const size_t bufsz in il_dbgfs_rx_stats_read() local
314 size_t bufsz; il_dbgfs_sram_read() local
399 const size_t bufsz = 30 + sizeof(char) * 500 * (il->num_stations); il_dbgfs_stations_read() local
503 int pos = 0, i, bufsz = PAGE_SIZE; il_dbgfs_channels_read() local
583 const size_t bufsz = sizeof(buf); il_dbgfs_status_read() local
645 int bufsz = 24 * 64; /* 24 items * 64 char per item */ il_dbgfs_interrupt_read() local
743 const size_t bufsz = sizeof(buf); il_dbgfs_qos_read() local
794 const size_t bufsz = sizeof(buf); il_dbgfs_disable_ht40_read() local
823 const size_t bufsz = il_dbgfs_tx_queue_read() local
867 const size_t bufsz = sizeof(buf); il_dbgfs_rx_queue_read() local
923 int bufsz = sizeof(struct il_sensitivity_data) * 4 + 100; il_dbgfs_sensitivity_read() local
1022 int bufsz = sizeof(struct il_chain_noise_data) * 4 + 100; il_dbgfs_chain_noise_read() local
1091 const size_t bufsz = sizeof(buf); il_dbgfs_power_save_status_read() local
1190 const size_t bufsz = sizeof(buf); il_dbgfs_missed_beacon_read() local
1232 const size_t bufsz = sizeof(buf); il_dbgfs_force_reset_read() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
H A D3945-debug.c15 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) in il3945_stats_flag() argument
19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag()
22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag()
24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag()
27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il3945_stats_flag()
40 int bufsz = in il3945_ucode_rx_stats_read() local
52 buf = kzalloc(bufsz, GFP_KERNEL); in il3945_ucode_rx_stats_read()
76 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read()
78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
83 scnprintf(buf + pos, bufsz in il3945_ucode_rx_stats_read()
305 int bufsz = (sizeof(struct iwl39_stats_tx) * 48) + 250; il3945_ucode_tx_stats_read() local
395 int bufsz = sizeof(struct iwl39_stats_general) * 10 + 300; il3945_ucode_general_stats_read() local
[all...]
H A D4965-debug.c19 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) in il4965_stats_flag() argument
26 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag); in il4965_stats_flag()
28 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag()
30 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il4965_stats_flag()
33 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il4965_stats_flag()
47 int bufsz = in il4965_ucode_rx_stats_read() local
61 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_rx_stats_read()
89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
94 scnprintf(buf + pos, bufsz in il4965_ucode_rx_stats_read()
459 int bufsz = (sizeof(struct stats_tx) * 48) + 250; il4965_ucode_tx_stats_read() local
625 int bufsz = sizeof(struct stats_general) * 10 + 300; il4965_ucode_general_stats_read() local
[all...]
H A Ddebug.c210 const size_t bufsz = in il_dbgfs_tx_stats_read() local
212 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_tx_stats_read()
215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read()
218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read()
224 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read()
229 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n", in il_dbgfs_tx_stats_read()
232 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n", in il_dbgfs_tx_stats_read()
270 const size_t bufsz in il_dbgfs_rx_stats_read() local
314 size_t bufsz; il_dbgfs_sram_read() local
399 const size_t bufsz = 30 + sizeof(char) * 500 * (il->num_stations); il_dbgfs_stations_read() local
503 int pos = 0, i, bufsz = PAGE_SIZE; il_dbgfs_channels_read() local
583 const size_t bufsz = sizeof(buf); il_dbgfs_status_read() local
645 int bufsz = 24 * 64; /* 24 items * 64 char per item */ il_dbgfs_interrupt_read() local
743 const size_t bufsz = sizeof(buf); il_dbgfs_qos_read() local
794 const size_t bufsz = sizeof(buf); il_dbgfs_disable_ht40_read() local
823 const size_t bufsz = il_dbgfs_tx_queue_read() local
867 const size_t bufsz = sizeof(buf); il_dbgfs_rx_queue_read() local
923 int bufsz = sizeof(struct il_sensitivity_data) * 4 + 100; il_dbgfs_sensitivity_read() local
1022 int bufsz = sizeof(struct il_chain_noise_data) * 4 + 100; il_dbgfs_chain_noise_read() local
1091 const size_t bufsz = sizeof(buf); il_dbgfs_power_save_status_read() local
1190 const size_t bufsz = sizeof(buf); il_dbgfs_missed_beacon_read() local
1232 const size_t bufsz = sizeof(buf); il_dbgfs_force_reset_read() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c70 size_t bufsz; in iwl_dbgfs_sram_read() local
90 bufsz = 50 + len * 4; in iwl_dbgfs_sram_read()
91 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_sram_read()
95 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read()
97 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read()
110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
114 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
117 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
130 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
132 pos += scnprintf(buf + pos, bufsz in iwl_dbgfs_sram_read()
197 const size_t bufsz = 30 + sizeof(char) * 500 * (priv->num_stations); iwl_dbgfs_stations_read() local
288 int pos = 0, i, bufsz = PAGE_SIZE; iwl_dbgfs_channels_read() local
354 const size_t bufsz = sizeof(buf); iwl_dbgfs_status_read() local
390 int bufsz = 24 * 64; /* 24 items * 64 char per item */ iwl_dbgfs_rx_handlers_read() local
440 const size_t bufsz = sizeof(buf); iwl_dbgfs_qos_read() local
469 const size_t bufsz = sizeof(buf); iwl_dbgfs_thermal_throttling_read() local
522 const size_t bufsz = sizeof(buf); iwl_dbgfs_disable_ht40_read() local
537 const size_t bufsz = sizeof(buf); iwl_dbgfs_temperature_read() local
593 const size_t bufsz = sizeof(buf); iwl_dbgfs_sleep_level_override_read() local
611 const size_t bufsz = sizeof(buf); iwl_dbgfs_current_sleep_command_read() local
647 iwl_statistics_flag(struct iwl_priv *priv, char *buf, int bufsz) iwl_statistics_flag() argument
677 int bufsz = sizeof(struct statistics_rx_phy) * 40 + iwl_dbgfs_ucode_rx_stats_read() local
1110 int bufsz = (sizeof(struct statistics_tx) * 48) + 250; iwl_dbgfs_ucode_tx_stats_read() local
1307 int bufsz = sizeof(struct statistics_general) * 10 + 300; iwl_dbgfs_ucode_general_stats_read() local
1427 int bufsz = (sizeof(struct statistics_bt_activity) * 24) + 200; iwl_dbgfs_ucode_bt_stats_read() local
1515 int bufsz = (sizeof(struct reply_tx_error_statistics) * 24) + iwl_dbgfs_reply_tx_error_read() local
1658 int bufsz = sizeof(struct iwl_sensitivity_data) * 4 + 100; iwl_dbgfs_sensitivity_read() local
1737 int bufsz = sizeof(struct iwl_chain_noise_data) * 4 + 100; iwl_dbgfs_chain_noise_read() local
1792 const size_t bufsz = sizeof(buf); iwl_dbgfs_power_save_status_read() local
1839 const size_t bufsz = sizeof(buf); iwl_dbgfs_ucode_tracing_read() local
1916 const size_t bufsz = sizeof(buf); iwl_dbgfs_missed_beacon_read() local
1957 const size_t bufsz = sizeof(buf); iwl_dbgfs_plcp_delta_read() local
1996 const size_t bufsz = sizeof(buf); iwl_dbgfs_rf_reset_read() local
2056 const size_t bufsz = sizeof(buf); iwl_dbgfs_bt_traffic_read() local
2102 const size_t bufsz = sizeof(buf); iwl_dbgfs_protection_mode_read() local
2222 const size_t bufsz = sizeof(buf); iwl_dbgfs_calib_disabled_read() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c66 size_t bufsz; in iwl_dbgfs_sram_read() local
86 bufsz = 50 + len * 4; in iwl_dbgfs_sram_read()
87 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_sram_read()
91 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read()
93 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read()
106 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
113 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
126 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
128 pos += scnprintf(buf + pos, bufsz in iwl_dbgfs_sram_read()
193 const size_t bufsz = 30 + sizeof(char) * 500 * (priv->num_stations); iwl_dbgfs_stations_read() local
284 int pos = 0, i, bufsz = PAGE_SIZE; iwl_dbgfs_channels_read() local
350 const size_t bufsz = sizeof(buf); iwl_dbgfs_status_read() local
386 int bufsz = 24 * 64; /* 24 items * 64 char per item */ iwl_dbgfs_rx_handlers_read() local
436 const size_t bufsz = sizeof(buf); iwl_dbgfs_qos_read() local
465 const size_t bufsz = sizeof(buf); iwl_dbgfs_thermal_throttling_read() local
518 const size_t bufsz = sizeof(buf); iwl_dbgfs_disable_ht40_read() local
533 const size_t bufsz = sizeof(buf); iwl_dbgfs_temperature_read() local
589 const size_t bufsz = sizeof(buf); iwl_dbgfs_sleep_level_override_read() local
607 const size_t bufsz = sizeof(buf); iwl_dbgfs_current_sleep_command_read() local
643 iwl_statistics_flag(struct iwl_priv *priv, char *buf, int bufsz) iwl_statistics_flag() argument
673 int bufsz = sizeof(struct statistics_rx_phy) * 40 + iwl_dbgfs_ucode_rx_stats_read() local
1106 int bufsz = (sizeof(struct statistics_tx) * 48) + 250; iwl_dbgfs_ucode_tx_stats_read() local
1303 int bufsz = sizeof(struct statistics_general) * 10 + 300; iwl_dbgfs_ucode_general_stats_read() local
1423 int bufsz = (sizeof(struct statistics_bt_activity) * 24) + 200; iwl_dbgfs_ucode_bt_stats_read() local
1511 int bufsz = (sizeof(struct reply_tx_error_statistics) * 24) + iwl_dbgfs_reply_tx_error_read() local
1654 int bufsz = sizeof(struct iwl_sensitivity_data) * 4 + 100; iwl_dbgfs_sensitivity_read() local
1733 int bufsz = sizeof(struct iwl_chain_noise_data) * 4 + 100; iwl_dbgfs_chain_noise_read() local
1788 const size_t bufsz = sizeof(buf); iwl_dbgfs_power_save_status_read() local
1835 const size_t bufsz = sizeof(buf); iwl_dbgfs_ucode_tracing_read() local
1912 const size_t bufsz = sizeof(buf); iwl_dbgfs_missed_beacon_read() local
1953 const size_t bufsz = sizeof(buf); iwl_dbgfs_plcp_delta_read() local
1992 const size_t bufsz = sizeof(buf); iwl_dbgfs_rf_reset_read() local
2052 const size_t bufsz = sizeof(buf); iwl_dbgfs_bt_traffic_read() local
2098 const size_t bufsz = sizeof(buf); iwl_dbgfs_protection_mode_read() local
2218 const size_t bufsz = sizeof(buf); iwl_dbgfs_calib_disabled_read() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c361 int bufsz = sizeof(buf); in iwl_dbgfs_sar_geo_profile_read() local
376 pos = scnprintf(buf, bufsz, in iwl_dbgfs_sar_geo_profile_read()
381 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
383 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
386 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
402 int i, pos = 0, bufsz = sizeof(buf); in iwl_dbgfs_stations_read() local
407 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i); in iwl_dbgfs_stations_read()
411 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n"); in iwl_dbgfs_stations_read()
413 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n", in iwl_dbgfs_stations_read()
416 pos += scnprintf(buf + pos, bufsz in iwl_dbgfs_stations_read()
432 static const size_t bufsz = 2048; iwl_dbgfs_rs_data_read() local
522 int bufsz = sizeof(buf); iwl_dbgfs_disable_power_off_read() local
561 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, int pos, int bufsz) iwl_mvm_coex_dump_mbox() argument
626 int ret, pos = 0, bufsz = sizeof(char) * 1024; iwl_dbgfs_bt_notif_read() local
670 int bufsz = sizeof(buf); iwl_dbgfs_bt_cmd_read() local
745 static const size_t bufsz = 1024; iwl_dbgfs_fw_ver_read() local
785 size_t bufsz; iwl_dbgfs_fw_rx_stats_read() local
973 static const size_t bufsz = 1024; iwl_dbgfs_frame_stats_read() local
1083 const size_t bufsz = sizeof(buf); iwl_dbgfs_scan_ant_rxchain_read() local
1343 const size_t bufsz = sizeof(buf); iwl_dbgfs_fw_dbg_conf_read() local
1405 int bufsz = 1024; iwl_dbgfs_bcast_filters_read() local
1511 int bufsz = 1024; iwl_dbgfs_bcast_filters_macs_read() local
1609 const size_t bufsz = sizeof(buf); iwl_dbgfs_prph_reg_read() local
1758 size_t bufsz = sizeof(buf); iwl_dbgfs_uapsd_noagg_bssids_read() local
[all...]
H A Ddebugfs-vif.c196 int bufsz = sizeof(buf); in iwl_dbgfs_tx_pwr_lmt_read() local
199 pos = scnprintf(buf, bufsz, "bss limit = %d\n", in iwl_dbgfs_tx_pwr_lmt_read()
213 int bufsz = sizeof(buf); in iwl_dbgfs_pm_params_read() local
216 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read()
231 int bufsz = sizeof(buf); in iwl_dbgfs_mac_params_read() local
241 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n"); in iwl_dbgfs_mac_params_read()
244 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n"); in iwl_dbgfs_mac_params_read()
247 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n"); in iwl_dbgfs_mac_params_read()
250 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p client\n"); in iwl_dbgfs_mac_params_read()
253 pos += scnprintf(buf+pos, bufsz in iwl_dbgfs_mac_params_read()
455 const size_t bufsz = sizeof(buf); iwl_dbgfs_bf_params_read() local
514 const size_t bufsz = sizeof(buf); iwl_dbgfs_os_device_timediff_read() local
[all...]
H A Dpower.c739 int bufsz) in iwl_mvm_power_mac_dbgfs_read()
749 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", in iwl_mvm_power_mac_dbgfs_read()
751 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", in iwl_mvm_power_mac_dbgfs_read()
753 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n", in iwl_mvm_power_mac_dbgfs_read()
759 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n", in iwl_mvm_power_mac_dbgfs_read()
762 pos += scnprintf(buf+pos, bufsz-pos, "skip_dtim_periods = %d\n", in iwl_mvm_power_mac_dbgfs_read()
765 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
767 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
771 pos += scnprintf(buf+pos, bufsz-pos, in iwl_mvm_power_mac_dbgfs_read()
778 pos += scnprintf(buf+pos, bufsz in iwl_mvm_power_mac_dbgfs_read()
737 iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif, char *buf, int bufsz) iwl_mvm_power_mac_dbgfs_read() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs-vif.c141 int bufsz = sizeof(buf); in iwl_dbgfs_tx_pwr_lmt_read() local
144 pos = scnprintf(buf, bufsz, "bss limit = %d\n", in iwl_dbgfs_tx_pwr_lmt_read()
158 int bufsz = sizeof(buf); in iwl_dbgfs_pm_params_read() local
161 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read()
176 int bufsz = sizeof(buf); in iwl_dbgfs_mac_params_read() local
186 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n"); in iwl_dbgfs_mac_params_read()
189 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n"); in iwl_dbgfs_mac_params_read()
192 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n"); in iwl_dbgfs_mac_params_read()
195 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p client\n"); in iwl_dbgfs_mac_params_read()
198 pos += scnprintf(buf+pos, bufsz in iwl_dbgfs_mac_params_read()
400 const size_t bufsz = sizeof(buf); iwl_dbgfs_bf_params_read() local
452 const size_t bufsz = sizeof(buf); iwl_dbgfs_os_device_timediff_read() local
[all...]
H A Ddebugfs.c310 int bufsz = sizeof(buf); in iwl_dbgfs_sar_geo_profile_read() local
324 pos = scnprintf(buf, bufsz, in iwl_dbgfs_sar_geo_profile_read()
327 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
329 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
334 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read()
372 int i, pos = 0, bufsz = sizeof(buf); in iwl_dbgfs_stations_read() local
377 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i); in iwl_dbgfs_stations_read()
381 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n"); in iwl_dbgfs_stations_read()
383 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n", in iwl_dbgfs_stations_read()
386 pos += scnprintf(buf + pos, bufsz in iwl_dbgfs_stations_read()
403 static const size_t bufsz = 2048; iwl_dbgfs_rs_data_read() local
495 int bufsz = sizeof(buf); iwl_dbgfs_disable_power_off_read() local
534 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, int pos, int bufsz) iwl_mvm_coex_dump_mbox() argument
599 int ret, pos = 0, bufsz = sizeof(char) * 1024; iwl_dbgfs_bt_notif_read() local
643 int bufsz = sizeof(buf); iwl_dbgfs_bt_cmd_read() local
718 static const size_t bufsz = 1024; iwl_dbgfs_fw_ver_read() local
751 static const size_t bufsz = 1024; iwl_dbgfs_tas_get_status_read() local
934 size_t bufsz; iwl_dbgfs_phy_integration_ver_read() local
967 size_t bufsz; iwl_dbgfs_fw_rx_stats_read() local
1155 static const size_t bufsz = 1024; iwl_dbgfs_frame_stats_read() local
1275 const size_t bufsz = sizeof(buf); iwl_dbgfs_scan_ant_rxchain_read() local
1523 const size_t bufsz = sizeof(buf); iwl_dbgfs_fw_dbg_conf_read() local
1734 const size_t bufsz = sizeof(buf); iwl_dbgfs_prph_reg_read() local
1884 size_t bufsz = sizeof(buf); iwl_dbgfs_uapsd_noagg_bssids_read() local
[all...]
H A Dpower.c702 int bufsz) in iwl_mvm_power_mac_dbgfs_read()
712 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", in iwl_mvm_power_mac_dbgfs_read()
714 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", in iwl_mvm_power_mac_dbgfs_read()
716 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n", in iwl_mvm_power_mac_dbgfs_read()
722 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n", in iwl_mvm_power_mac_dbgfs_read()
725 pos += scnprintf(buf+pos, bufsz-pos, "skip_dtim_periods = %d\n", in iwl_mvm_power_mac_dbgfs_read()
728 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
730 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
734 pos += scnprintf(buf+pos, bufsz-pos, in iwl_mvm_power_mac_dbgfs_read()
741 pos += scnprintf(buf+pos, bufsz in iwl_mvm_power_mac_dbgfs_read()
700 iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif, char *buf, int bufsz) iwl_mvm_power_mac_dbgfs_read() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddebugfs.c134 static const size_t bufsz = 1024; in mt7996_sys_recovery_get() local
136 buff = kmalloc(bufsz, GFP_KERNEL); in mt7996_sys_recovery_get()
141 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
143 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
145 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
147 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
149 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
151 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
153 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
155 desc += scnprintf(buff + desc, bufsz in mt7996_sys_recovery_get()
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Ddebugfs_sta.c143 size_t bufsz = AQM_TXQ_ENTRY_LEN * (IEEE80211_NUM_TIDS + 2); in sta_aqm_read() local
144 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aqm_read()
156 bufsz + buf - p, in sta_aqm_read()
162 bufsz + buf - p, in sta_aqm_read()
169 p += scnprintf(p, bufsz + buf - p, in sta_aqm_read()
203 size_t bufsz = 400; in sta_airtime_read() local
204 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_airtime_read()
221 p += scnprintf(p, bufsz + buf - p, in sta_airtime_read()
256 size_t bufsz = 400; in sta_aql_read() local
257 char *buf = kzalloc(bufsz, GFP_KERNE in sta_aql_read()
319 ssize_t bufsz = 71 + IEEE80211_NUM_TIDS * 40; sta_agg_status_read() local
470 ssize_t bufsz = 512; link_sta_ht_capa_read() local
558 ssize_t bufsz = 512; link_sta_vht_capa_read() local
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/
H A Dsample-parsing.c56 size_t i, sz, bufsz; in do_test() local
60 bufsz = sz + 4096; /* Add a bit for overrun checking */ in do_test()
61 event = malloc(bufsz); in do_test()
67 memset(event, 0xff, bufsz); in do_test()
80 for (i = bufsz; i > 0; i--) { in do_test()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmachine_kexec_file.c114 kbuf.bufsz = headers_sz; in load_other_segments()
130 pr_debug("Loaded elf core header at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
131 image->elf_load_addr, kbuf.bufsz, kbuf.memsz); in load_other_segments()
137 kbuf.bufsz = initrd_len; in load_other_segments()
151 pr_debug("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
152 initrd_load_addr, kbuf.bufsz, kbuf.memsz); in load_other_segments()
168 kbuf.bufsz = dtb_len; in load_other_segments()
182 pr_debug("Loaded dtb at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
183 kbuf.mem, kbuf.bufsz, kbuf.memsz); in load_other_segments()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddebugfs.c133 static const size_t bufsz = 1024; in mt7915_sys_recovery_get() local
135 buff = kmalloc(bufsz, GFP_KERNEL); in mt7915_sys_recovery_get()
140 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
142 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
144 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
146 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
148 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
150 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
152 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
154 desc += scnprintf(buff + desc, bufsz in mt7915_sys_recovery_get()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
H A Diwl-io.c348 size_t bufsz = ARRAY_SIZE(rfh_tbl) * 53 + in iwl_dump_rfh() local
351 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_rfh()
355 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
359 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
369 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
437 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in iwl_dump_fh() local
439 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_fh()
443 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
447 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/
H A Diwl-io.c288 size_t bufsz = ARRAY_SIZE(rfh_tbl) * 53 + in iwl_dump_rfh() local
291 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_rfh()
295 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
299 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
309 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
377 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in iwl_dump_fh() local
379 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_fh()
383 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
387 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dkexec-bzimage64.c463 kbuf.bufsz = params_cmdline_sz + ALIGN(efi_map_sz, 16) + in bzImage64_load()
470 kbuf.bufsz += sizeof(struct setup_data) + in bzImage64_load()
473 params = kzalloc(kbuf.bufsz, GFP_KERNEL); in bzImage64_load()
486 kbuf.memsz = kbuf.bufsz; in bzImage64_load()
493 pr_debug("Loaded boot_param, command line and misc at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in bzImage64_load()
494 bootparam_load_addr, kbuf.bufsz, kbuf.bufsz); in bzImage64_load()
498 kbuf.bufsz = kernel_len - kern16_size; in bzImage64_load()
508 pr_debug("Loaded 64bit kernel at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in bzImage64_load()
509 kernel_load_addr, kbuf.bufsz, kbu in bzImage64_load()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dkexec_file.c391 pr_debug("Loading segment %d: buf=0x%p bufsz=0x%zx mem=0x%lx memsz=0x%zx\n", in SYSCALL_DEFINE5()
392 i, ksegment->buf, ksegment->bufsz, ksegment->mem, in SYSCALL_DEFINE5()
669 ksegment->bufsz = kbuf->bufsz; in kexec_add_buffer()
744 ksegment->bufsz); in kexec_calculate_store_digests()
752 nullsz = ksegment->memsz - ksegment->bufsz; in kexec_calculate_store_digests()
821 kbuf->bufsz = bss_sz = 0; in kexec_purgatory_setup_kbuf()
831 kbuf->bufsz = ALIGN(kbuf->bufsz, align); in kexec_purgatory_setup_kbuf()
832 kbuf->bufsz in kexec_purgatory_setup_kbuf()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dmachine_kexec_file.c275 kbuf.bufsz = headers_sz; in load_other_segments()
291 pr_debug("Loaded elf core header at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
292 image->arch.elf_headers_mem, kbuf.bufsz, kbuf.memsz); in load_other_segments()
298 kbuf.bufsz = initrd_len; in load_other_segments()
312 pr_debug("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
313 initrd_load_addr, kbuf.bufsz, kbuf.memsz); in load_other_segments()
325 kbuf.bufsz = dtb_len; in load_other_segments()
339 pr_debug("Loaded dtb at 0x%lx bufsz=0x%lx memsz=0x%lx\n", in load_other_segments()
340 kbuf.mem, kbuf.bufsz, kbuf.memsz); in load_other_segments()
/kernel/linux/linux-5.10/ipc/
H A Dmsg.c1020 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill() argument
1028 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in do_msg_fill()
1037 * bufsz message bytes.
1039 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1046 copy = load_msg(buf, bufsz); in prepare_copy()
1048 copy->m_ts = bufsz; in prepare_copy()
1058 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1092 static long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv() argument
1103 if (msqid < 0 || (long) bufsz < in do_msgrcv()
1271 compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) compat_do_msg_fill() argument
[all...]

Completed in 24 milliseconds

1234567