| /linux/drivers/char/ |
| H A D | tlclk.c | 342 return strnlen(buf, count); in store_received_ref_clk3a() 364 return strnlen(buf, count); in store_received_ref_clk3b() 386 return strnlen(buf, count); in store_enable_clk3b_output() 407 return strnlen(buf, count); in store_enable_clk3a_output() 428 return strnlen(buf, count); in store_enable_clkb1_output() 450 return strnlen(buf, count); in store_enable_clka1_output() 471 return strnlen(buf, count); in store_enable_clkb0_output() 492 return strnlen(buf, count); in store_enable_clka0_output() 534 return strnlen(buf, count); in store_select_amcb2_transmit_clock() 576 return strnlen(buf, count); in store_select_amcb1_transmit_clock() [all …]
|
| /linux/include/linux/ |
| H A D | fortify-string.h | 32 macro(strnlen), \ 208 extern __kernel_size_t __real_strnlen(const char *, __kernel_size_t) __RENAME(strnlen); 219 __FORTIFY_INLINE __kernel_size_t strnlen(const char * const POS p, __kernel_size_t maxlen) in strnlen() function 269 ret = strnlen(p, p_size); in __fortify_strlen() 309 len = strnlen(q, size); in sized_strscpy() 370 p_len = strnlen(p, avail); in strlcat() 453 copy_len = strnlen(q, count); in strncat()
|
| H A D | string.h | 204 extern __kernel_size_t strnlen(const char *,__kernel_size_t); 420 strnlen(src, min(_src_len, _dest_len)), pad); \ 445 memcpy(dest, src, strnlen(src, min(_src_len, _dest_len))); \ 464 const size_t _src_chars = strnlen(src, _src_len); \ 492 const size_t _src_chars = strnlen(src, _src_len); \
|
| /linux/drivers/net/ |
| H A D | netconsole.c | 390 len = strnlen(s, maxlen); in trim_newline() 635 ret = strnlen(buf, count); in enabled_store() 664 ret = strnlen(buf, count); in release_store() 690 ret = strnlen(buf, count); in extended_store() 713 return strnlen(buf, count); in dev_name_store() 732 ret = strnlen(buf, count); in local_port_store() 754 ret = strnlen(buf, count); in remote_port_store() 779 ret = strnlen(buf, count); in local_ip_store() 804 ret = strnlen(buf, count); in remote_ip_store() 840 ret = strnlen(buf, count); in remote_mac_store() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_debugfs.c | 31 fbnic_dbg_desc_break(s, strnlen(hdr, sizeof(hdr))); in fbnic_dbg_mac_addr_show() 57 fbnic_dbg_desc_break(s, strnlen(hdr, sizeof(hdr))); in fbnic_dbg_tce_tcam_show() 91 fbnic_dbg_desc_break(s, strnlen(hdr, sizeof(hdr))); in fbnic_dbg_act_tcam_show() 128 fbnic_dbg_desc_break(s, strnlen(hdr, sizeof(hdr))); in fbnic_dbg_ip_addr_show()
|
| /linux/tools/include/nolibc/ |
| H A D | string.h | 172 size_t strnlen(const char *str, size_t maxlen) in strnlen() function 200 len = strnlen(str, maxlen); in strndup() 213 size_t len = strnlen(dst, size); in strlcat()
|
| /linux/arch/um/kernel/skas/ |
| H A D | uaccess.c | 174 n = strnlen(to, len); in strncpy_chunk_from_user() 193 return strnlen(dst, count); in strncpy_from_user() 213 n = strnlen((void *) str, len); in strnlen_chunk()
|
| /linux/arch/arm64/lib/ |
| H A D | strnlen.S | 161 SYM_FUNC_ALIAS_WEAK(strnlen, __pi_strnlen) 162 EXPORT_SYMBOL_NOKASAN(strnlen)
|
| H A D | Makefile | 6 strnlen.o strchr.o strrchr.o tishift.o
|
| /linux/arch/s390/lib/ |
| H A D | string.c | 73 size_t strnlen(const char *s, size_t n) in strnlen() function 77 EXPORT_SYMBOL(strnlen);
|
| /linux/arch/s390/include/asm/ |
| H A D | string.h | 173 static inline size_t strnlen(const char * s, size_t n) in strnlen() function 193 size_t strnlen(const char * s, size_t n);
|
| /linux/net/bluetooth/ |
| H A D | eir.c | 26 complete_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in eir_append_local_name() 32 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in eir_append_local_name() 180 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in eir_create()
|
| /linux/lib/ |
| H A D | net_utils.c | 12 if (strnlen(s, MAC_ADDR_STR_LEN) < MAC_ADDR_STR_LEN) in mac_pton()
|
| /linux/arch/alpha/boot/ |
| H A D | stdio.c | 8 size_t strnlen(const char * s, size_t count) in strnlen() function 204 len = strnlen(s, precision); in vsprintf()
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | string_override.c | 41 size_t strnlen(const char *s, size_t count) in strnlen() function
|
| /linux/arch/powerpc/boot/ |
| H A D | string.h | 14 extern size_t strnlen(const char *s, size_t count);
|
| H A D | stdio.c | 11 size_t strnlen(const char * s, size_t count) in strnlen() function 240 len = strnlen(s, precision); in vsprintf()
|
| /linux/sound/soc/ |
| H A D | soc-topology.c | 646 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_dmixer_create() 710 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts() 770 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_denum_create() 839 if (strnlen(be->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_dbytes_create() 1054 if ((strnlen(elem->source, maxlen) == maxlen) || in soc_tplg_dapm_graph_elems_load() 1055 (strnlen(elem->sink, maxlen) == maxlen) || in soc_tplg_dapm_graph_elems_load() 1056 (strnlen(elem->control, maxlen) == maxlen)) { in soc_tplg_dapm_graph_elems_load() 1068 if (strnlen(elem->control, maxlen) != 0) { in soc_tplg_dapm_graph_elems_load() 1112 if (strnlen(w->name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create() 1115 if (strnlen( in soc_tplg_dapm_widget_create() [all...] |
| /linux/arch/m68k/include/asm/ |
| H A D | string.h | 9 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
|
| /linux/arch/arm64/include/asm/ |
| H A D | string.h | 25 extern __kernel_size_t strnlen(const char *, __kernel_size_t);
|
| /linux/drivers/infiniband/core/ |
| H A D | cma_configfs.c | 142 return !ret ? strnlen(buf, count) : ret; in default_roce_mode_store() 183 return ret ? ret : strnlen(buf, count); in default_roce_tos_store()
|
| /linux/fs/qnx4/ |
| H A D | qnx4.h | 103 *size = strnlen(de->de_name, *size); in get_entry_fname()
|
| /linux/fs/smb/client/ |
| H A D | dns_resolve.c | 84 len = strnlen(dom, CIFS_MAX_DOMAINNAME_LEN) + namelen + 2; in dns_resolve_name()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_debugdump.c | 208 key_len = strnlen(spec->data, tl_len); in nfp_calc_hwinfo_field_sz() 243 key_len = strnlen(spec_rtsym->rtsym, tl_len); in nfp_calc_rtsym_dump_sz() 426 key_len = strnlen(spec->data, tl_len); in nfp_dump_hwinfo_field() 622 key_len = strnlen(spec->rtsym, tl_len); in nfp_dump_single_rtsym()
|
| /linux/scripts/dtc/libfdt/ |
| H A D | libfdt_env.h | 76 #define strnlen fdt_strnlen macro
|