Home
last modified time | relevance | path

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

12345678

/linux-6.3-rc2/drivers/char/
A Dtlclk.c341 return strnlen(buf, count); in store_received_ref_clk3a()
363 return strnlen(buf, count); in store_received_ref_clk3b()
385 return strnlen(buf, count); in store_enable_clk3b_output()
406 return strnlen(buf, count); in store_enable_clk3a_output()
427 return strnlen(buf, count); in store_enable_clkb1_output()
449 return strnlen(buf, count); in store_enable_clka1_output()
470 return strnlen(buf, count); in store_enable_clkb0_output()
491 return strnlen(buf, count); in store_enable_clka0_output()
533 return strnlen(buf, count); in store_select_amcb2_transmit_clock()
575 return strnlen(buf, count); in store_select_amcb1_transmit_clock()
[all …]
/linux-6.3-rc2/drivers/net/
A Dnetconsole.c363 return strnlen(buf, count); in enabled_store()
395 return strnlen(buf, count); in extended_store()
418 len = strnlen(nt->np.dev_name, IFNAMSIZ); in dev_name_store()
423 return strnlen(buf, count); in dev_name_store()
443 return strnlen(buf, count); in local_port_store()
466 return strnlen(buf, count); in remote_port_store()
502 return strnlen(buf, count); in local_ip_store()
538 return strnlen(buf, count); in remote_ip_store()
564 return strnlen(buf, count); in remote_mac_store()
889 if (strnlen(input, MAX_PARAM_LENGTH)) { in init_netconsole()
/linux-6.3-rc2/fs/xfs/scrub/
A Dsymlink.c56 len > strnlen(ifp->if_u1.if_data, xfs_inode_data_fork_size(ip))) in xchk_symlink()
65 if (strnlen(sc->buf, XFS_SYMLINK_MAXLEN) < len) in xchk_symlink()
/linux-6.3-rc2/arch/x86/lib/
A Dstring_32.c218 size_t strnlen(const char *s, size_t count) in strnlen() function
236 EXPORT_SYMBOL(strnlen);
/linux-6.3-rc2/include/linux/
A Dstring.h91 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
283 memcpy_and_pad(dest, _dest_len, src, strnlen(src, _dest_len), pad); \
304 memcpy(dest, src, min(_dest_len, strnlen(src, _dest_len))); \
A Dfortify-string.h181 extern __kernel_size_t __real_strnlen(const char *, __kernel_size_t) __RENAME(strnlen);
192 __FORTIFY_INLINE __kernel_size_t strnlen(const char * const POS p, __kernel_size_t maxlen) in strnlen() function
242 ret = strnlen(p, p_size); in __fortify_strlen()
351 len = strnlen(q, size); in strscpy()
404 copy_len = strnlen(q, count); in strncat()
/linux-6.3-rc2/arch/um/kernel/skas/
A 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.3-rc2/arch/arm64/lib/
A Dstrnlen.S161 SYM_FUNC_ALIAS_WEAK(strnlen, __pi_strnlen)
162 EXPORT_SYMBOL_NOKASAN(strnlen)
A DMakefile6 strnlen.o strchr.o strrchr.o tishift.o
/linux-6.3-rc2/arch/s390/lib/
A Dstring.c72 size_t strnlen(const char *s, size_t n) in strnlen() function
76 EXPORT_SYMBOL(strnlen);
/linux-6.3-rc2/arch/s390/include/asm/
A Dstring.h191 static inline size_t strnlen(const char * s, size_t n) in strnlen() function
212 size_t strnlen(const char * s, size_t n);
/linux-6.3-rc2/mm/damon/
A Ddbgfs-test.h123 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions()
135 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions()
/linux-6.3-rc2/lib/
A Dnet_utils.c13 if (strnlen(s, maxlen) < maxlen) in mac_pton()
/linux-6.3-rc2/net/bluetooth/
A Deir.c40 complete_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in eir_append_local_name()
46 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in eir_append_local_name()
195 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in eir_create()
/linux-6.3-rc2/arch/powerpc/boot/
A Dstring.h14 extern size_t strnlen(const char *s, size_t count);
A Dstdio.c11 size_t strnlen(const char * s, size_t count) in strnlen() function
240 len = strnlen(s, precision); in vsprintf()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dstring.h9 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
/linux-6.3-rc2/tools/include/nolibc/
A Dstring.h159 size_t strnlen(const char *str, size_t maxlen) in strnlen() function
187 len = strnlen(str, maxlen); in strndup()
/linux-6.3-rc2/arch/alpha/boot/
A Dstdio.c8 size_t strnlen(const char * s, size_t count) in strnlen() function
204 len = strnlen(s, precision); in vsprintf()
/linux-6.3-rc2/arch/m68k/kernel/
A Duboot.c94 n = strnlen(commandp, size); in process_uboot_commandline()
/linux-6.3-rc2/sound/soc/
A Dsoc-topology.c658 if (strnlen(be->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dbytes_create()
727 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dmixer_create()
812 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts()
876 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create()
1060 if (strnlen(elem->sink, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_graph_elems_load()
1110 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_dmixer_create()
1182 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_denum_create()
1267 if (strnlen(be->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_dbytes_create()
1325 if (strnlen(w->name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
1328 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
[all …]
/linux-6.3-rc2/arch/arm64/include/asm/
A Dstring.h25 extern __kernel_size_t strnlen(const char *, __kernel_size_t);
/linux-6.3-rc2/fs/ocfs2/
A Dsymlink.c74 len = strnlen(link, ocfs2_fast_symlink_chars(inode->i_sb)); in ocfs2_fast_symlink_read_folio()
/linux-6.3-rc2/arch/x86/boot/
A Dstring.h26 extern size_t strnlen(const char *s, size_t maxlen);
/linux-6.3-rc2/drivers/infiniband/core/
A Dcma_configfs.c142 return !ret ? strnlen(buf, count) : ret; in default_roce_mode_store()
183 return ret ? ret : strnlen(buf, count); in default_roce_tos_store()

Completed in 113 milliseconds

12345678