/linux/drivers/net/wireless/ath/ath11k/ |
A D | debugfs_htt_stats.c | 51 len += scnprintf(buf + len, buf_len - len, in htt_print_stats_string_tlv() 59 len += scnprintf(buf + len, buf_len - len, "\n\n"); in htt_print_stats_string_tlv() 294 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_sifs_hist_tlv_v() 317 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v() 354 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v() 746 len += scnprintf(buf + len, buf_len - len, in htt_print_peer_details_tlv() 916 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_mu_mimo_mpdu_stats_tlv() 1042 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_difs_latency_stats_tlv_v() 1071 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_cmd_result_stats_tlv_v() 1124 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_fes_result_stats_tlv_v() [all …]
|
A D | debugfs_sta.c | 241 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 249 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 263 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 292 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 295 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 297 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 358 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats() 362 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats() 368 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats() 373 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
A D | debug.c | 185 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 213 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 304 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug() 308 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug() 313 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug() 384 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna() 388 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna() 391 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna() 394 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna() 397 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | htc_drv_debug.c | 40 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 44 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 48 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 52 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 56 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 60 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 98 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_tx_stats() 102 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_tx_stats() 263 len += scnprintf(buf + len, size - len, in read_file_skb_rx() 266 len += scnprintf(buf + len, size - len, in read_file_skb_rx() [all …]
|
/linux/drivers/scsi/libfc/ |
A D | fc_encode.h | 247 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 258 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 270 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 282 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 294 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 306 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 318 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 330 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 342 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 354 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() [all …]
|
/linux/lib/ |
A D | kfifo.c | 120 len = l; in __kfifo_in() 159 len = l; in __kfifo_out_peek() 169 len = __kfifo_out_peek(fifo, buf, len); in __kfifo_out() 223 len = l; in __kfifo_from_user() 283 len = l; in __kfifo_to_user() 306 if (!len) in setup_sgl_buf() 363 len = l; in __kfifo_dma_in_prepare() 504 len = __kfifo_max_r(len, recsize); in __kfifo_from_user_r() 553 len = __kfifo_max_r(len, recsize); in __kfifo_dma_in_prepare_r() 565 len = __kfifo_max_r(len, recsize); in __kfifo_dma_in_finish_r() [all …]
|
A D | seq_buf.c | 30 return s->len + len <= s->size; in seq_buf_can_fit() 59 int len; in seq_buf_vprintf() local 64 len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); in seq_buf_vprintf() 65 if (s->len + len < s->size) { in seq_buf_vprintf() 66 s->len += len; in seq_buf_vprintf() 149 len += 1; in seq_buf_puts() 152 memcpy(s->buffer + s->len, str, len); in seq_buf_puts() 154 s->len += len - 1; in seq_buf_puts() 199 memcpy(s->buffer + s->len, mem, len); in seq_buf_putmem() 200 s->len += len; in seq_buf_putmem() [all …]
|
A D | crc32.c | 93 len = len >> 2; 96 len = len >> 3; 104 for (--b; len; --len) { 115 len = rem_len; 117 if (len) { 152 while (len--) { 253 len >>= 2; 254 if (!len) 259 if (len & 1) 262 len >>= 1; [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | debug.c | 312 len += scnprintf(buf + len, buf_len - len, "\n"); in read_file_war_stats() 425 len += skb->len; in ath6kl_fwlog_read() 492 len += skb->len; in ath6kl_fwlog_block_read() 609 len += scnprintf(buf + len, buf_len - len, in read_file_tgt_stats() 727 len += scnprintf(buf + len, buf_len - len, in read_file_credit_dist_stats() 903 len += scnprintf(buf + len, sizeof(buf) - len, in ath6kl_regread_read() 971 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open() 977 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open() 987 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open() 1201 len += scnprintf(buf + len, buf_len - len, in ath6kl_roam_table_read() [all …]
|
/linux/drivers/pnp/pnpbios/ |
A D | rsparser.c | 74 if (len <= 0) in pnpbios_parse_allocated_memresource() 140 if (len < 2 || len > 3) in pnpbios_parse_allocated_resource_data() 298 len = p[7]; in pnpbios_parse_port_option() 362 if (len < 2 || len > 3) in pnpbios_parse_resource_option_data() 458 len >= PNP_NAME_LEN ? PNP_NAME_LEN - 2 : len); in pnpbios_parse_compatible_ids() 512 len = 0; in pnpbios_encode_mem() 536 len = 0; in pnpbios_encode_mem32() 566 len = 0; in pnpbios_encode_fixed_mem32() 624 len = 0; in pnpbios_encode_port() 647 len = 0; in pnpbios_encode_fixed_port() [all …]
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_debugfs.c | 316 len += scnprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data() 323 len += scnprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data() 330 len += scnprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data() 361 len += scnprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data() 422 len += scnprintf(buf + len, size - len, in lpfc_debugfs_commonxripools_data() 691 len += scnprintf(buf+len, size-len, in lpfc_debugfs_dumpHBASlim_data() 739 len += scnprintf(buf+len, size-len, in lpfc_debugfs_dumpHostSlim_data() 752 len += scnprintf(buf+len, size-len, in lpfc_debugfs_dumpHostSlim_data() 765 len += scnprintf(buf+len, size-len, in lpfc_debugfs_dumpHostSlim_data() 865 len += scnprintf(buf+len, size-len, in lpfc_debugfs_nodelist_data() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | debugfs_sta.c | 680 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 694 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 696 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 701 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 703 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 707 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 712 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 719 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 732 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() 735 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats() [all …]
|
/linux/drivers/s390/char/ |
A D | hmcdrv_cache.c | 43 size_t len; member 51 .len = 0, 65 ssize_t len; in hmcdrv_cache_get() local 83 if (len > ftp->len) in hmcdrv_cache_get() 84 len = ftp->len; in hmcdrv_cache_get() 92 ((pos + len) <= hmcdrv_cache_file.len)) { in hmcdrv_cache_get() 101 return len; in hmcdrv_cache_get() 124 if ((ftp->len > 0) && (hmcdrv_cache_file.len >= ftp->len)) { in hmcdrv_cache_do() 140 if (len > ftp->len) in hmcdrv_cache_do() 141 len = ftp->len; in hmcdrv_cache_do() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_varlen.c | 44 u64 len; in handler64_unsigned() local 52 payload += len; in handler64_unsigned() 58 payload += len; in handler64_unsigned() 72 long len; in handler64_signed() local 79 if (len >= 0) { in handler64_signed() 80 payload += len; in handler64_signed() 84 if (len >= 0) { in handler64_signed() 98 u32 len; in handler32_unsigned() local 126 int len; in handler32_signed() local 133 if (len >= 0) { in handler32_signed() [all …]
|
/linux/net/sunrpc/ |
A D | xdr.c | 47 obj->len = len; in xdr_decode_netobj() 914 buf->len += len; in xdr_init_encode() 1094 if (len > buf->len) { in xdr_truncate_encode() 1130 buf->len = len; in xdr_truncate_encode() 1196 buf->len += len; in xdr_write_pages() 1326 buf->len = len; in xdr_init_decode_pages() 1462 return len <= pglen ? len : pglen; in xdr_read_pages() 1481 len = buf->len - buf->head->iov_len; in xdr_align_data() 1544 len = xdr_align_pages(xdr, len); in xdr_enter_page() 1582 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment() [all …]
|
A D | socklib.c | 34 size_t len); 49 len = desc->count; in xdr_skb_read_bits() 54 return len; in xdr_skb_read_bits() 77 return len; in xdr_skb_read_and_csum_bits() 97 if (base < len) { in xdr_partial_copy_from_skb() 98 len -= base; in xdr_partial_copy_from_skb() 105 base -= len; in xdr_partial_copy_from_skb() 136 len -= base; in xdr_partial_copy_from_skb() 138 len = pglen; in xdr_partial_copy_from_skb() 143 len = pglen; in xdr_partial_copy_from_skb() [all …]
|
/linux/net/dccp/ |
A D | options.c | 28 if (len > 4) in dccp_decode_value_var() 30 if (len > 3) in dccp_decode_value_var() 32 if (len > 2) in dccp_decode_value_var() 34 if (len > 1) in dccp_decode_value_var() 36 if (len > 0) in dccp_decode_value_var() 68 opt = len = 0; in dccp_parse_options() 71 len = 0; in dccp_parse_options() 80 if (len < 2) in dccp_parse_options() 86 len -= 2; in dccp_parse_options() 160 if (len != 4 && len != 6 && len != 8) in dccp_parse_options() [all …]
|
/linux/drivers/pnp/ |
A D | support.c | 114 len += scnprintf(buf + len, sizeof(buf) - len, in dbg_pnp_show_option() 119 len += scnprintf(buf + len, sizeof(buf) - len, in dbg_pnp_show_option() 125 len += scnprintf(buf + len, sizeof(buf) - len, "io min %#llx " in dbg_pnp_show_option() 143 len += scnprintf(buf + len, sizeof(buf) - len, "irq"); in dbg_pnp_show_option() 145 len += scnprintf(buf + len, sizeof(buf) - len, in dbg_pnp_show_option() 150 len += scnprintf(buf + len, in dbg_pnp_show_option() 154 len += scnprintf(buf + len, sizeof(buf) - len, " flags %#x", in dbg_pnp_show_option() 157 len += scnprintf(buf + len, sizeof(buf) - len, in dbg_pnp_show_option() 162 len += scnprintf(buf + len, sizeof(buf) - len, "dma"); in dbg_pnp_show_option() 164 len += scnprintf(buf + len, sizeof(buf) - len, in dbg_pnp_show_option() [all …]
|
/linux/tools/testing/selftests/net/af_unix/ |
A D | test_unix_oob.c | 96 int len = 0; in read_data() local 101 if (len < 0) in read_data() 104 return len; in read_data() 242 len = 0; in main() 243 while (len < 70) in main() 265 len = 0; in main() 283 if (len != 64) { in main() 307 len = 0; in main() 347 if (len != 1) { in main() 366 len = 0; in main() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_trace.c | 223 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 228 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 246 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 250 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 283 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 287 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 292 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 321 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 326 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 340 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() [all …]
|
/linux/tools/perf/util/intel-pt-decoder/ |
A D | intel-pt-pkt-decoder.c | 80 if (len < 8) in intel_pt_get_long_tnt() 102 if (len < 8) in intel_pt_get_pip() 121 if (len < 4) in intel_pt_get_cbr() 157 if (len < 16) in intel_pt_get_psb() 178 if (len < 7) in intel_pt_get_tma() 207 if (len < 3) in intel_pt_get_3byte() 266 if (len < 4) in intel_pt_get_pwre() 276 if (len < 7) in intel_pt_get_pwrx() 286 if (len < 3) in intel_pt_get_bbp() 408 len -= 1; in intel_pt_get_cyc() [all …]
|
/linux/scripts/dtc/ |
A D | data.c | 50 d.len = len; in data_copy_mem() 72 q[d.len++] = c; in data_copy_escape_string() 98 if (d.len + ret < d.len) in data_copy_file() 101 d.len += ret; in data_copy_file() 110 memcpy(d.val + d.len, p, len); in data_append_data() 111 d.len += len; in data_append_data() 121 d.len += len; in data_insert_at_marker() 216 memset(d.val + d.len, 0, len); in data_append_zeroes() 217 d.len += len; in data_append_zeroes() 243 int len = d.len; in data_is_one_string() local [all …]
|
/linux/drivers/parisc/ |
A D | eisa_enumerator.c | 79 int len; in configure_memory() local 84 len=0; in configure_memory() 117 int len; in configure_irq() local 121 len=0; in configure_irq() 133 len+=2; in configure_irq() 148 int len; in configure_dma() local 152 len=0; in configure_dma() 170 int len; in configure_port() local 176 len=0; in configure_port() 225 get_8(buf+len+4)), get_16(buf+len+1)); in configure_port_init() [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_tlv.c | 49 if (len && !(len % 4)) { in fm10k_tlv_attr_put_null_string() 56 len++; in fm10k_tlv_attr_put_null_string() 86 u32 len; in fm10k_tlv_attr_get_null_string() local 96 string[len] = (u8)(attr[len / 4] >> (8 * (len % 4))); in fm10k_tlv_attr_get_null_string() 203 if (!msg || !len || len > 8 || (len & (len - 1))) in fm10k_tlv_attr_put_value() 278 if (!msg || !len || (len % 4)) in fm10k_tlv_attr_put_le_struct() 323 for (i = 0; len; i++, len -= 4) in fm10k_tlv_attr_get_le_struct() 368 u32 len; in fm10k_tlv_attr_nest_stop() local 424 if (len > tlv_attr->len) in fm10k_tlv_attr_validate() 437 if (len != tlv_attr->len) in fm10k_tlv_attr_validate() [all …]
|
/linux/arch/arm64/kvm/vgic/ |
A D | vgic-mmio.h | 10 unsigned int len; member 15 unsigned int len); 17 gpa_t addr, unsigned int len); 23 gpa_t addr, unsigned int len, 27 unsigned int len); 32 gpa_t addr, unsigned int len, 71 .len = bpi * 1024 / 8, \ 83 .len = length, \ 93 .len = length, \ 125 unsigned int len); [all …]
|