/linux-6.12.1/drivers/char/ |
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-6.12.1/drivers/net/ |
D | netconsole.c | 302 len = strnlen(s, maxlen); in trim_newline() 438 ret = strnlen(buf, count); in enabled_store() 467 ret = strnlen(buf, count); in release_store() 493 ret = strnlen(buf, count); in extended_store() 516 return strnlen(buf, count); in dev_name_store() 535 ret = strnlen(buf, count); in local_port_store() 557 ret = strnlen(buf, count); in remote_port_store() 594 ret = strnlen(buf, count); in local_ip_store() 631 ret = strnlen(buf, count); in remote_ip_store() 657 ret = strnlen(buf, count); in remote_mac_store() [all …]
|
/linux-6.12.1/fs/xfs/scrub/ |
D | symlink.c | 76 len > strnlen(ifp->if_data, xfs_inode_data_fork_size(ip))) in xchk_symlink() 85 if (strnlen(sc->buf, XFS_SYMLINK_MAXLEN) < len) in xchk_symlink()
|
/linux-6.12.1/include/linux/ |
D | string.h | 203 extern __kernel_size_t strnlen(const char *,__kernel_size_t); 421 strnlen(src, min(_src_len, _dest_len)), pad); \ 443 memcpy(dest, src, strnlen(src, min(_src_len, _dest_len))); \ 459 const size_t _src_chars = strnlen(src, _src_len); \ 484 const size_t _src_chars = strnlen(src, _src_len); \
|
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()
|
/linux-6.12.1/tools/include/nolibc/ |
D | string.h | 150 size_t strnlen(const char *str, size_t maxlen) in strnlen() function 178 len = strnlen(str, maxlen); in strndup() 191 size_t len = strnlen(dst, size); in strlcat()
|
/linux-6.12.1/arch/x86/lib/ |
D | string_32.c | 218 size_t strnlen(const char *s, size_t count) in strnlen() function 236 EXPORT_SYMBOL(strnlen);
|
/linux-6.12.1/arch/um/kernel/skas/ |
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-6.12.1/arch/arm64/lib/ |
D | strnlen.S | 161 SYM_FUNC_ALIAS_WEAK(strnlen, __pi_strnlen) 162 EXPORT_SYMBOL_NOKASAN(strnlen)
|
D | Makefile | 6 strnlen.o strchr.o strrchr.o tishift.o
|
/linux-6.12.1/net/bluetooth/ |
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-6.12.1/mm/damon/tests/ |
D | dbgfs-kunit.h | 133 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions() 145 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions()
|
/linux-6.12.1/arch/s390/lib/ |
D | string.c | 72 size_t strnlen(const char *s, size_t n) in strnlen() function 76 EXPORT_SYMBOL(strnlen);
|
/linux-6.12.1/arch/s390/include/asm/ |
D | string.h | 192 static inline size_t strnlen(const char * s, size_t n) in strnlen() function 213 size_t strnlen(const char * s, size_t n);
|
/linux-6.12.1/lib/ |
D | net_utils.c | 14 if (strnlen(s, maxlen) < maxlen) in mac_pton()
|
/linux-6.12.1/arch/alpha/boot/ |
D | stdio.c | 8 size_t strnlen(const char * s, size_t count) in strnlen() function 204 len = strnlen(s, precision); in vsprintf()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | string_override.c | 41 size_t strnlen(const char *s, size_t count) in strnlen() function
|
/linux-6.12.1/arch/powerpc/boot/ |
D | string.h | 14 extern size_t strnlen(const char *s, size_t count);
|
D | stdio.c | 11 size_t strnlen(const char * s, size_t count) in strnlen() function 240 len = strnlen(s, precision); in vsprintf()
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | string.h | 9 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
|
/linux-6.12.1/arch/m68k/kernel/ |
D | uboot.c | 97 n = strnlen(commandp, size); in process_uboot_commandline()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | string.h | 25 extern __kernel_size_t strnlen(const char *, __kernel_size_t);
|
/linux-6.12.1/fs/ocfs2/ |
D | symlink.c | 74 len = strnlen(link, ocfs2_fast_symlink_chars(inode->i_sb)); in ocfs2_fast_symlink_read_folio()
|
/linux-6.12.1/sound/soc/ |
D | soc-topology.c | 652 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_dmixer_create() 715 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts() 775 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_denum_create() 844 if (strnlen(be->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in soc_tplg_control_dbytes_create() 1068 if ((strnlen(elem->source, maxlen) == maxlen) || in soc_tplg_dapm_graph_elems_load() 1069 (strnlen(elem->sink, maxlen) == maxlen) || in soc_tplg_dapm_graph_elems_load() 1070 (strnlen(elem->control, maxlen) == maxlen)) { in soc_tplg_dapm_graph_elems_load() 1082 if (strnlen(elem->control, maxlen) != 0) { in soc_tplg_dapm_graph_elems_load() 1132 if (strnlen(w->name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create() 1135 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create() [all …]
|
/linux-6.12.1/arch/x86/boot/ |
D | string.h | 26 extern size_t strnlen(const char *s, size_t maxlen);
|