Home
last modified time | relevance | path

Searched refs:strnlen (Results 1 – 25 of 208) sorted by relevance

123456789

/linux-6.12.1/drivers/char/
Dtlclk.c342 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/
Dnetconsole.c302 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/
Dsymlink.c76 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/
Dstring.h203 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); \
Dfortify-string.h32 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/
Dstring.h150 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/
Dstring_32.c218 size_t strnlen(const char *s, size_t count) in strnlen() function
236 EXPORT_SYMBOL(strnlen);
/linux-6.12.1/arch/um/kernel/skas/
Duaccess.c174 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/
Dstrnlen.S161 SYM_FUNC_ALIAS_WEAK(strnlen, __pi_strnlen)
162 EXPORT_SYMBOL_NOKASAN(strnlen)
DMakefile6 strnlen.o strchr.o strrchr.o tishift.o
/linux-6.12.1/net/bluetooth/
Deir.c26 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/
Ddbgfs-kunit.h133 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/
Dstring.c72 size_t strnlen(const char *s, size_t n) in strnlen() function
76 EXPORT_SYMBOL(strnlen);
/linux-6.12.1/arch/s390/include/asm/
Dstring.h192 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/
Dnet_utils.c14 if (strnlen(s, maxlen) < maxlen) in mac_pton()
/linux-6.12.1/arch/alpha/boot/
Dstdio.c8 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/
Dstring_override.c41 size_t strnlen(const char *s, size_t count) in strnlen() function
/linux-6.12.1/arch/powerpc/boot/
Dstring.h14 extern size_t strnlen(const char *s, size_t count);
Dstdio.c11 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/
Dstring.h9 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
/linux-6.12.1/arch/m68k/kernel/
Duboot.c97 n = strnlen(commandp, size); in process_uboot_commandline()
/linux-6.12.1/arch/arm64/include/asm/
Dstring.h25 extern __kernel_size_t strnlen(const char *, __kernel_size_t);
/linux-6.12.1/fs/ocfs2/
Dsymlink.c74 len = strnlen(link, ocfs2_fast_symlink_chars(inode->i_sb)); in ocfs2_fast_symlink_read_folio()
/linux-6.12.1/sound/soc/
Dsoc-topology.c652 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/
Dstring.h26 extern size_t strnlen(const char *s, size_t maxlen);

123456789