/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_htt_stats.c | 18 #define PRINT_ARRAY_TO_BUF(out, buflen, arr, str, len, newline) \ argument 27 for (i = 0; i < len; i++) { \ 44 u32 len = stats_req->buf_len; in htt_print_stats_string_tlv() local 50 len += scnprintf(buf + len, buf_len - len, "HTT_STATS_STRING_TLV:\n"); in htt_print_stats_string_tlv() 52 len += scnprintf(buf + len, buf_len - len, in htt_print_stats_string_tlv() 55 len += scnprintf(buf + len, in htt_print_stats_string_tlv() 56 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() 62 if (len >= buf_len) in htt_print_stats_string_tlv() 65 buf[len] = 0; in htt_print_stats_string_tlv() [all …]
|
H A D | debugfs_sta.c | 146 int len = 0, i, j, k, retval = 0; in ath11k_dbg_sta_dump_tx_stats() local 163 len += scnprintf(buf + len, size - len, "%s_%s\n", in ath11k_dbg_sta_dump_tx_stats() 166 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 170 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 173 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats() 174 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 178 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() 181 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats() 182 len += scnprintf(buf + len, size - len, " HT MCS %s\n", in ath11k_dbg_sta_dump_tx_stats() 185 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 180 unsigned int len = 0; in read_file_beacon() local 185 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 190 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon() 193 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon() 197 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 201 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 205 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 209 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 213 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 217 if (len > sizeof(buf)) in read_file_beacon() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 25 unsigned int len = 0; in read_file_tgt_int_stats() local 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() 64 if (len > sizeof(buf)) in read_file_tgt_int_stats() 65 len = sizeof(buf); in read_file_tgt_int_stats() 67 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_int_stats() [all …]
|
/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 97 size_t len; in fc_ct_ns_fill() local 139 len = strnlen(fc_host_symbolic_name(lport->host), in fc_ct_ns_fill() 141 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len, in fc_ct_ns_fill() 145 fc_host_symbolic_name(lport->host), len); in fc_ct_ns_fill() 146 ct->payload.spn.fr_name_len = len; in fc_ct_ns_fill() 150 len = strnlen(fc_host_symbolic_name(lport->host), in fc_ct_ns_fill() 152 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rsnn) + len, in fc_ct_ns_fill() 156 fc_host_symbolic_name(lport->host), len); in fc_ct_ns_fill() 157 ct->payload.snn.fr_name_len = len; in fc_ct_ns_fill() 169 const char *in, size_t len) in fc_ct_ms_fill_attr() argument [all …]
|
/linux/lib/ |
H A D | kfifo.c | 91 unsigned int len, unsigned int off) in kfifo_copy_in() 101 len *= esize; in kfifo_copy_in() 103 l = min(len, size - off); in kfifo_copy_in() 106 memcpy(fifo->data, src + l, len - l); in kfifo_copy_in() 115 const void *buf, unsigned int len) in __kfifo_in() 120 if (len > l) in __kfifo_in() 121 len = l; in __kfifo_in() 123 kfifo_copy_in(fifo, buf, len, fifo->in); in __kfifo_in() 124 fifo->in += len; in __kfifo_in() 125 return len; in __kfifo_in() 90 kfifo_copy_in(struct __kfifo * fifo,const void * src,unsigned int len,unsigned int off) kfifo_copy_in() argument 114 __kfifo_in(struct __kfifo * fifo,const void * buf,unsigned int len) __kfifo_in() argument 129 kfifo_copy_out(struct __kfifo * fifo,void * dst,unsigned int len,unsigned int off) kfifo_copy_out() argument 153 __kfifo_out_peek(struct __kfifo * fifo,void * buf,unsigned int len) __kfifo_out_peek() argument 167 __kfifo_out(struct __kfifo * fifo,void * buf,unsigned int len) __kfifo_out() argument 176 kfifo_copy_from_user(struct __kfifo * fifo,const void __user * from,unsigned int len,unsigned int off,unsigned int * copied) kfifo_copy_from_user() argument 211 __kfifo_from_user(struct __kfifo * fifo,const void __user * from,unsigned long len,unsigned int * copied) __kfifo_from_user() argument 237 kfifo_copy_to_user(struct __kfifo * fifo,void __user * to,unsigned int len,unsigned int off,unsigned int * copied) kfifo_copy_to_user() argument 271 __kfifo_to_user(struct __kfifo * fifo,void __user * to,unsigned long len,unsigned int * copied) __kfifo_to_user() argument 296 setup_sgl_buf(struct scatterlist * sgl,void * buf,int nents,unsigned int len) setup_sgl_buf() argument 335 setup_sgl(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,unsigned int off) setup_sgl() argument 357 __kfifo_dma_in_prepare(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len) __kfifo_dma_in_prepare() argument 370 __kfifo_dma_out_prepare(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len) __kfifo_dma_out_prepare() argument 382 __kfifo_max_r(unsigned int len,size_t recsize) __kfifo_max_r() argument 439 __kfifo_in_r(struct __kfifo * fifo,const void * buf,unsigned int len,size_t recsize) __kfifo_in_r() argument 453 kfifo_out_copy_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize,unsigned int * n) kfifo_out_copy_r() argument 465 __kfifo_out_peek_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize) __kfifo_out_peek_r() argument 477 __kfifo_out_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize) __kfifo_out_r() argument 500 __kfifo_from_user_r(struct __kfifo * fifo,const void __user * from,unsigned long len,unsigned int * copied,size_t recsize) __kfifo_from_user_r() argument 524 __kfifo_to_user_r(struct __kfifo * fifo,void __user * to,unsigned long len,unsigned int * copied,size_t recsize) __kfifo_to_user_r() argument 549 __kfifo_dma_in_prepare_r(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,size_t recsize) __kfifo_dma_in_prepare_r() argument 563 __kfifo_dma_in_finish_r(struct __kfifo * fifo,unsigned int len,size_t recsize) __kfifo_dma_in_finish_r() argument 572 __kfifo_dma_out_prepare_r(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,size_t recsize) __kfifo_dma_out_prepare_r() argument 587 unsigned int len; __kfifo_dma_out_finish_r() local [all...] |
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 151 const void *buf, size_t len) in ath6kl_dbg_dump() argument 157 print_hex_dump_bytes(prefix, DUMP_PREFIX_OFFSET, buf, len); in ath6kl_dbg_dump() 162 buf, len); in ath6kl_dbg_dump() 305 unsigned int len = 0, buf_len = 1500; in read_file_war_stats() local 312 len += scnprintf(buf + len, buf_len - len, "\n"); in read_file_war_stats() 313 len += scnprintf(buf + len, buf_len - len, "%25s\n", in read_file_war_stats() 315 len += scnprintf(buf + len, buf_len - len, "%25s\n\n", in read_file_war_stats() 317 len += scnprintf(buf + len, buf_len - len, "%20s %10u\n", in read_file_war_stats() 320 if (WARN_ON(len > buf_len)) in read_file_war_stats() 321 len = buf_len; in read_file_war_stats() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | debugfs_sta.c | 184 int len = 0; in ath10k_dbg_sta_read_aggr_mode() local 187 len = scnprintf(buf, sizeof(buf) - len, "aggregation mode: %s\n", in ath10k_dbg_sta_read_aggr_mode() 192 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_aggr_mode() 399 int len = 0; in ath10k_dbg_sta_read_peer_debug_trigger() local 402 len = scnprintf(buf, sizeof(buf) - len, in ath10k_dbg_sta_read_peer_debug_trigger() 406 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_debug_trigger() 461 int len = 0; in ath10k_dbg_sta_read_peer_ps_state() local 465 len = scnprintf(buf, sizeof(buf) - len, "%d\n", in ath10k_dbg_sta_read_peer_ps_state() 470 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_ps_state() 547 len += scnprintf(buf + len, buf_len - len, \ [all …]
|
/linux/tools/include/nolibc/ |
H A D | string.h | 13 static void *malloc(size_t len); 36 void *memmove(void *dst, const void *src, size_t len) in memmove() argument 40 pos = len; in memmove() 48 while (len) { in memmove() 51 len--; in memmove() 60 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument 64 while (pos < len) { in memcpy() 77 void *memset(void *dst, int b, size_t len) in memset() argument 81 while (len--) { in memset() 130 size_t len; in strlen() local [all …]
|
/linux/net/sunrpc/ |
H A D | xdr.c | 31 unsigned int quadlen = XDR_QUADLEN(obj->len); in xdr_encode_netobj() 34 *p++ = cpu_to_be32(obj->len); in xdr_encode_netobj() 35 memcpy(p, obj->data, obj->len); in xdr_encode_netobj() 36 return p + XDR_QUADLEN(obj->len); in xdr_encode_netobj() 43 unsigned int len; in xdr_decode_netobj() local 45 if ((len = be32_to_cpu(*p++)) > XDR_MAX_NETOBJ) in xdr_decode_netobj() 47 obj->len = len; in xdr_decode_netobj() 49 return p + XDR_QUADLEN(len); in xdr_decode_netobj() 109 u32 len; in xdr_decode_string_inplace() local 126 xdr_terminate_string(const struct xdr_buf * buf,const u32 len) xdr_terminate_string() argument 188 unsigned int offset, len, remaining; xdr_buf_to_bvec() local 228 xdr_inline_pages(struct xdr_buf * xdr,unsigned int offset,struct page ** pages,unsigned int base,unsigned int len) xdr_inline_pages() argument 267 _shift_data_left_pages(struct page ** pages,size_t pgto_base,size_t pgfrom_base,size_t len) _shift_data_left_pages() argument 332 _shift_data_right_pages(struct page ** pages,size_t pgto_base,size_t pgfrom_base,size_t len) _shift_data_right_pages() argument 395 _copy_to_pages(struct page ** pages,size_t pgbase,const char * p,size_t len) _copy_to_pages() argument 442 _copy_from_pages(char * p,struct page ** pages,size_t pgbase,size_t len) _copy_from_pages() argument 475 xdr_buf_iov_zero(const struct kvec * iov,unsigned int base,unsigned int len) xdr_buf_iov_zero() argument 491 xdr_buf_pages_zero(const struct xdr_buf * buf,unsigned int pgbase,unsigned int len) xdr_buf_pages_zero() argument 558 xdr_buf_try_expand(struct xdr_buf * buf,unsigned int len) xdr_buf_try_expand() argument 585 xdr_buf_tail_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_copy_right() argument 599 xdr_buf_pages_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_copy_right() argument 632 xdr_buf_head_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_copy_right() argument 679 xdr_buf_tail_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_shift_right() argument 690 xdr_buf_pages_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_shift_right() argument 706 xdr_buf_head_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_shift_right() argument 725 xdr_buf_tail_copy_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_copy_left() argument 769 xdr_buf_pages_copy_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_copy_left() argument 802 xdr_buf_tail_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_shift_left() argument 811 xdr_buf_pages_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_shift_left() argument 828 xdr_buf_head_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_shift_left() argument 864 xdr_shrink_bufhead(struct xdr_buf * buf,unsigned int len) xdr_shrink_bufhead() argument 893 xdr_shrink_pagelen(struct xdr_buf * buf,unsigned int len) xdr_shrink_pagelen() argument 979 size_t len; xdr_init_encode() local 1185 xdr_truncate_encode(struct xdr_stream * xdr,size_t len) xdr_truncate_encode() argument 1241 xdr_truncate_decode(struct xdr_stream * xdr,size_t len) xdr_truncate_decode() argument 1291 xdr_write_pages(struct xdr_stream * xdr,struct page ** pages,unsigned int base,unsigned int len) xdr_write_pages() argument 1319 xdr_set_iov(struct xdr_stream * xdr,struct kvec * iov,unsigned int base,unsigned int len) xdr_set_iov() argument 1333 xdr_set_tail_base(struct xdr_stream * xdr,unsigned int base,unsigned int len) xdr_set_tail_base() argument 1350 xdr_set_page_base(struct xdr_stream * xdr,unsigned int base,unsigned int len) xdr_set_page_base() argument 1391 xdr_set_page(struct xdr_stream * xdr,unsigned int base,unsigned int len) xdr_set_page() argument 1453 xdr_init_decode_pages(struct xdr_stream * xdr,struct xdr_buf * buf,struct page ** pages,unsigned int len) xdr_init_decode_pages() argument 1556 xdr_align_pages(struct xdr_stream * xdr,unsigned int len) xdr_align_pages() argument 1592 xdr_read_pages(struct xdr_stream * xdr,unsigned int len) xdr_read_pages() argument 1620 xdr_set_pagelen(struct xdr_stream * xdr,unsigned int len) xdr_set_pagelen() argument 1649 xdr_enter_page(struct xdr_stream * xdr,unsigned int len) xdr_enter_page() argument 1687 xdr_buf_subsegment(const struct xdr_buf * buf,struct xdr_buf * subbuf,unsigned int base,unsigned int len) xdr_buf_subsegment() argument 1753 unsigned int remaining, len; xdr_stream_subsegment() local 1845 xdr_buf_trim(struct xdr_buf * buf,unsigned int len) xdr_buf_trim() argument 1877 __read_bytes_from_xdr_buf(const struct xdr_buf * subbuf,void * obj,unsigned int len) __read_bytes_from_xdr_buf() argument 1895 read_bytes_from_xdr_buf(const struct xdr_buf * buf,unsigned int base,void * obj,unsigned int len) read_bytes_from_xdr_buf() argument 1909 __write_bytes_to_xdr_buf(const struct xdr_buf * subbuf,void * obj,unsigned int len) __write_bytes_to_xdr_buf() argument 1927 write_bytes_to_xdr_buf(const struct xdr_buf * buf,unsigned int base,void * obj,unsigned int len) write_bytes_to_xdr_buf() argument 2177 xdr_process_buf(const struct xdr_buf * buf,unsigned int offset,unsigned int len,int (* actor)(struct scatterlist *,void *),void * data) xdr_process_buf() argument 2373 ssize_t ret, len; xdr_stream_decode_opaque_auth() local 2401 ssize_t ret, len; xdr_stream_encode_opaque_auth() local [all...] |
/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 57 int start, int len) in pnpbios_parse_allocated_ioresource() argument 60 int end = start + len - 1; in pnpbios_parse_allocated_ioresource() 62 if (len <= 0 || end >= 0x10003) in pnpbios_parse_allocated_ioresource() 69 int start, int len) in pnpbios_parse_allocated_memresource() argument 72 int end = start + len - 1; in pnpbios_parse_allocated_memresource() 74 if (len <= 0) in pnpbios_parse_allocated_memresource() 84 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 101 len = p[0] & 0x07; in pnpbios_parse_allocated_resource_data() 108 if (len != 9) in pnpbios_parse_allocated_resource_data() [all …]
|
/linux/scripts/dtc/ |
H A D | data.c | 36 while ((d.len + xlen) > newsize) in data_grow_for() 44 struct data data_copy_mem(const char *mem, int len) in data_copy_mem() argument 48 d = data_grow_for(empty_data, len); in data_copy_mem() 50 d.len = len; in data_copy_mem() 51 memcpy(d.val, mem, len); in data_copy_mem() 56 struct data data_copy_escape_string(const char *s, int len) in data_copy_escape_string() argument 63 d = data_grow_for(d, len + 1); in data_copy_escape_string() 66 while (i < len) { in data_copy_escape_string() 72 q[d.len++] = c; in data_copy_escape_string() 75 q[d.len++] = '\0'; in data_copy_escape_string() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_varlen.c | 47 long len; in handler64_unsigned() local 53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned() 54 if (len >= 0) { in handler64_unsigned() 55 payload += len; in handler64_unsigned() 56 payload1_len1 = len; in handler64_unsigned() 59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned() 60 if (len >= 0) { in handler64_unsigned() 61 payload += len; in handler64_unsigned() 62 payload1_len2 = len; in handler64_unsigned() 77 long len; in handler64_signed() local [all …]
|
/linux/arch/arm64/lib/ |
H A D | crc32-glue.c | 17 asmlinkage u32 crc32_le_arm64(u32 crc, unsigned char const *p, size_t len); 18 asmlinkage u32 crc32c_le_arm64(u32 crc, unsigned char const *p, size_t len); 19 asmlinkage u32 crc32_be_arm64(u32 crc, unsigned char const *p, size_t len); 21 asmlinkage u32 crc32_le_arm64_4way(u32 crc, unsigned char const *p, size_t len); 22 asmlinkage u32 crc32c_le_arm64_4way(u32 crc, unsigned char const *p, size_t len); 23 asmlinkage u32 crc32_be_arm64_4way(u32 crc, unsigned char const *p, size_t len); 25 u32 __pure crc32_le_arch(u32 crc, const u8 *p, size_t len) in crc32_le_arch() argument 28 return crc32_le_base(crc, p, len); in crc32_le_arch() 30 if (len >= min_len && cpu_have_named_feature(PMULL) && crypto_simd_usable()) { in crc32_le_arch() 32 crc = crc32_le_arm64_4way(crc, p, len); in crc32_le_arch() [all …]
|
/linux/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c |
|
/linux/arch/arc/net/ |
H A D | bpf_jit_arcv2.c | 1315 u8 len = 0; in mov_r32() local 1319 len = arc_sexb_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1321 len = arc_sexh_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1323 len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1325 return len; in mov_r32() 1331 len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1333 return len; in mov_r32() 1343 u8 len = 0; in mov_r64() local 1347 len = mov_r32(buf, rd, rs, sign_ext); in mov_r64() 1351 len += arc_asri_r(BUF(buf, len), in mov_r64() [all …]
|
/linux/drivers/s390/char/ |
H A D | hmcdrv_cache.c | 26 * @len: size of @content cache (0 if caching disabled) 43 size_t len; member 51 .len = 0, 65 ssize_t len; in hmcdrv_cache_get() local 81 len = hmcdrv_cache_file.fsize - ftp->ofs; in hmcdrv_cache_get() 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() 96 len); in hmcdrv_cache_get() 98 hmcdrv_cache_file.fname, len, in hmcdrv_cache_get() [all …]
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.h | 10 unsigned int len; member 15 unsigned int len); 17 gpa_t addr, unsigned int len); 21 unsigned int len, unsigned long val); 23 gpa_t addr, unsigned int len, 27 unsigned int len); 30 unsigned int len, unsigned long val); 32 gpa_t addr, unsigned int len, 71 .len = bpi * 1024 / 8, \ 83 .len = length, \ [all …]
|
/linux/net/wireless/tests/ |
H A D | scan.c | 21 u8 len; member 40 { .id = WLAN_EID_EXTENSION, .len = 255, 44 { .id = WLAN_EID_SSID, .len = 2 }, 47 { .id = WLAN_EID_SSID, .len = 2 }, 51 .desc = "fragments are ignored if previous len not 255", 53 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, }, 54 { .id = WLAN_EID_FRAGMENT, .len = 125, }, 57 { .id = WLAN_EID_SSID, .len = 2 }, 58 { .id = WLAN_EID_FRAGMENT, .len = 125, }, 61 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, }, [all …]
|
/linux/net/dccp/ |
H A D | options.c | 22 u64 dccp_decode_value_var(const u8 *bf, const u8 len) in dccp_decode_value_var() argument 26 if (len >= DCCP_OPTVAL_MAXLEN) in dccp_decode_value_var() 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() 59 unsigned char opt, len; in dccp_parse_options() local 68 opt = len = 0; in dccp_parse_options() 71 len = 0; in dccp_parse_options() [all …]
|
/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-pkt-decoder.c | 73 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt() argument 79 if (len < 8) in intel_pt_get_long_tnt() 96 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip() argument 101 if (len < 8) in intel_pt_get_pip() 117 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr() argument 120 if (len < 4) in intel_pt_get_cbr() 127 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs() argument 130 if (len < 7) in intel_pt_get_vmcs() 146 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb() argument 151 if (len < 16) in intel_pt_get_psb() [all …]
|
/linux/drivers/pnp/ |
H A D | support.c | 107 int len = 0, i; in dbg_pnp_show_option() local 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() 134 len += scnprintf(buf + len, sizeof(buf) - len, "mem 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() 151 sizeof(buf) - len, in dbg_pnp_show_option() 154 len += scnprintf(buf + len, sizeof(buf) - len, " flags %#x", in dbg_pnp_show_option() [all …]
|
/linux/drivers/iio/imu/bno055/ |
H A D | bno055_ser_trace.h | 12 TP_PROTO(int len, const u8 *data), 13 TP_ARGS(len, data), 15 __field(int, len) 16 __dynamic_array(u8, chunk, len) 19 __entry->len = len; 21 data, __entry->len); 23 TP_printk("len: %d, data: = %*ph", 24 __entry->len, __entry->len, __get_dynamic_array(chunk) 64 TP_PROTO(int addr, size_t len), 65 TP_ARGS(addr, len), [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16() argument 18 buf += *len; in qla27xx_insert16() 21 *len += sizeof(value); in qla27xx_insert16() 25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32() argument 28 buf += *len; in qla27xx_insert32() 31 *len += sizeof(value); in qla27xx_insert32() 35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf() argument 38 buf += *len; in qla27xx_insertbuf() 41 *len += size; in qla27xx_insertbuf() 45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8() argument [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwil.c | 97 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument 108 len = min_t(uint, len, BRCMF_DCMD_MAXLEN); in brcmf_fil_cmd_data() 111 data, len, &fwerr); in brcmf_fil_cmd_data() 114 data, len, &fwerr); in brcmf_fil_cmd_data() 130 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument 136 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set() 138 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_cmd_data_set() 140 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set() 148 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_get() argument 153 err = brcmf_fil_cmd_data(ifp, cmd, data, len, false); in brcmf_fil_cmd_data_get() [all …]
|