Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 5640) sorted by relevance

12345678910>>...226

/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_htt_stats.c52 len += scnprintf(buf + len, buf_len - len, in htt_print_stats_string_tlv()
60 len += scnprintf(buf + len, buf_len - len, "\n\n"); in htt_print_stats_string_tlv()
295 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_sifs_hist_tlv_v()
318 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v()
355 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v()
747 len += scnprintf(buf + len, buf_len - len, in htt_print_peer_details_tlv()
917 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_mu_mimo_mpdu_stats_tlv()
1043 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_difs_latency_stats_tlv_v()
1072 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_cmd_result_stats_tlv_v()
1125 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_hwq_fes_result_stats_tlv_v()
[all …]
H A Ddebugfs_sta.c166 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
174 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
188 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
190 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
217 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
220 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
222 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
283 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
287 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
293 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Ddebug.c185 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 …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_debug.c40 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 …]
/openbmc/linux/tools/include/nolibc/
H A Dstring.h45 while (len) { in _nolibc_memcpy_down()
46 len--; in _nolibc_memcpy_down()
47 ((char *)dst)[len] = ((const char *)src)[len]; in _nolibc_memcpy_down()
60 pos = len; in memmove()
71 len--; in memmove()
141 for (len = 0; str[len]; len++) in strlen()
163 for (len = 0; (len < maxlen) && str[len]; len++); in strnlen()
203 for (len = 0; dst[len]; len++) in strlcat()
212 len++; in strlcat()
231 len++; in strlcpy()
[all …]
/openbmc/linux/kernel/module/
H A Dstats.c310 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on decompress", in read_file_mod_stats()
321 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Failed decompress bytes", in read_file_mod_stats()
331 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average mod size", in read_file_mod_stats()
336 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average mod text size", in read_file_mod_stats()
349 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail kread bytes", in read_file_mod_stats()
355 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail becoming bytes", in read_file_mod_stats()
361 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail decomp bytes", in read_file_mod_stats()
367 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average fail load bytes", in read_file_mod_stats()
379 len += scnprintf(buf + len, size - len, "Duplicate failed modules:\n"); in read_file_mod_stats()
380 len += scnprintf(buf + len, size - len, "%25s\t%15s\t%25s\n", in read_file_mod_stats()
[all …]
/openbmc/linux/lib/
H A Dkfifo.c120 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 …]
H A Dseq_buf.c30 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()
181 len += 1; in seq_buf_puts()
184 memcpy(s->buffer + s->len, str, len); in seq_buf_puts()
186 s->len += len - 1; in seq_buf_puts()
231 memcpy(s->buffer + s->len, mem, len); in seq_buf_putmem()
232 s->len += len; in seq_buf_putmem()
[all …]
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_encode.h247 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 …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_varlen.c47 long len; in handler64_unsigned() local
54 if (len >= 0) { in handler64_unsigned()
55 payload += len; in handler64_unsigned()
60 if (len >= 0) { in handler64_unsigned()
61 payload += len; in handler64_unsigned()
77 long len; in handler64_signed() local
84 if (len >= 0) { in handler64_signed()
89 if (len >= 0) { in handler64_signed()
103 u32 len; in handler32_unsigned() local
131 long len; in handler32_signed() local
[all …]
/openbmc/linux/drivers/pnp/pnpbios/
H A Drsparser.c74 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 …]
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_cache.c43 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 …]
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c312 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 …]
/openbmc/linux/drivers/pnp/
H A Dsupport.c114 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 …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c680 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 …]
/openbmc/linux/net/dccp/
H A Doptions.c28 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 …]
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c316 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 …]
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c96 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 …]
/openbmc/linux/net/sunrpc/
H A Dxdr.c47 obj->len = len; in xdr_decode_netobj()
109 u32 len; in xdr_decode_string_inplace() local
984 buf->len += len; in xdr_init_encode()
1193 if (len > buf->len) { in xdr_truncate_encode()
1229 buf->len = len; in xdr_truncate_encode()
1314 buf->len += len; in xdr_write_pages()
1459 buf->len = len; in xdr_init_decode_pages()
1605 return len <= pglen ? len : pglen; in xdr_read_pages()
1651 len = xdr_align_pages(xdr, len); in xdr_enter_page()
1689 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment()
[all …]
/openbmc/u-boot/scripts/dtc/
H A Ddata.c65 d.len = len; in data_copy_mem()
86 q[d.len++] = c; in data_copy_escape_string()
111 if (d.len + ret < d.len) in data_copy_file()
114 d.len += ret; in data_copy_file()
123 memcpy(d.val + d.len, p, len); in data_append_data()
124 d.len += len; in data_append_data()
134 d.len += len; in data_insert_at_marker()
229 memset(d.val + d.len, 0, len); in data_append_zeroes()
230 d.len += len; in data_append_zeroes()
256 int len = d.len; in data_is_one_string() local
[all …]
/openbmc/linux/scripts/dtc/
H A Ddata.c50 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 …]
/openbmc/linux/fs/lockd/
H A Dsvcxdr.h51 u32 len; in svcxdr_decode_string() local
55 if (len > NLM_MAXSTRLEN) in svcxdr_decode_string()
60 *data_len = len; in svcxdr_decode_string()
76 u32 len; in svcxdr_decode_cookie() local
80 if (len > NLM_MAXCOOKIELEN) in svcxdr_decode_cookie()
82 if (!len) in svcxdr_decode_cookie()
88 cookie->len = len; in svcxdr_decode_cookie()
95 cookie->len = 4; in svcxdr_decode_cookie()
119 u32 len; in svcxdr_decode_owner() local
123 if (len > XDR_MAX_NETOBJ) in svcxdr_decode_owner()
[all …]
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio.h10 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 …]
/openbmc/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c83 if (len < 8) in intel_pt_get_long_tnt()
105 if (len < 8) in intel_pt_get_pip()
124 if (len < 4) in intel_pt_get_cbr()
160 if (len < 16) in intel_pt_get_psb()
181 if (len < 7) in intel_pt_get_tma()
209 if (len < 3) in intel_pt_get_3byte()
268 if (len < 4) in intel_pt_get_pwre()
278 if (len < 7) in intel_pt_get_pwrx()
288 if (len < 3) in intel_pt_get_bbp()
437 len -= 1; in intel_pt_get_cyc()
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_trace.c209 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
214 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
232 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
236 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
269 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
273 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
278 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
307 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
312 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()
[all …]

12345678910>>...226