Home
last modified time | relevance | path

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

1234

/linux-2.6.39/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()
575 return strnlen(buf, count); in store_select_amcb1_transmit_clock()
[all …]
/linux-2.6.39/arch/um/kernel/skas/
Duaccess.c180 n = strnlen(to, len); in strncpy_chunk_from_user()
195 return strnlen(dst, count); in strncpy_from_user()
205 return strnlen(dst, count); in strncpy_from_user()
234 n = strnlen((void *) str, len); in strnlen_chunk()
247 return strnlen((__force char*)str, len) + 1; in strnlen_user()
/linux-2.6.39/drivers/net/
Dnetconsole.c357 return strnlen(buf, count); in store_enabled()
376 len = strnlen(nt->np.dev_name, IFNAMSIZ); in store_dev_name()
380 return strnlen(buf, count); in store_dev_name()
403 return strnlen(buf, count); in store_local_port()
426 return strnlen(buf, count); in store_remote_port()
442 return strnlen(buf, count); in store_local_ip()
458 return strnlen(buf, count); in store_remote_ip()
488 return strnlen(buf, count); in store_remote_mac()
770 if (strnlen(input, MAX_PARAM_LENGTH)) { in init_netconsole()
/linux-2.6.39/arch/s390/include/asm/
Dstring.h134 static inline size_t strnlen(const char * s, size_t n) in strnlen() function
152 size_t strnlen(const char * s, size_t n);
/linux-2.6.39/arch/x86/lib/
Dstring_32.c218 size_t strnlen(const char *s, size_t count) in strnlen() function
236 EXPORT_SYMBOL(strnlen);
/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes.c846 return strnlen(buf, count); in nes_store_adapter()
883 return strnlen(buf, count); in nes_store_ee_cmd()
921 return strnlen(buf, count); in nes_store_ee_data()
959 return strnlen(buf, count); in nes_store_flash_cmd()
997 return strnlen(buf, count); in nes_store_flash_data()
1013 return strnlen(buf, count); in nes_store_nonidx_addr()
1051 return strnlen(buf, count); in nes_store_nonidx_data()
1067 return strnlen(buf, count); in nes_store_idx_addr()
1105 return strnlen(buf, count); in nes_store_idx_data()
1154 return strnlen(buf, count); in nes_store_wqm_quanta()
/linux-2.6.39/arch/s390/lib/
Duaccess_mvcos.c178 len_str = strnlen(buf, len); in strnlen_user_mvcos()
197 len_str = strnlen(dst, len); in strncpy_from_user_mvcos()
Dstring.c62 size_t strnlen(const char * s, size_t n) in strnlen() function
66 EXPORT_SYMBOL(strnlen);
Duaccess_pt.c172 return strnlen((const char __kernel __force *) src, count) + 1; in strnlen_user_pt()
189 len_str = strnlen(addr, len); in strnlen_user_pt()
/linux-2.6.39/arch/powerpc/boot/
Dstring.h12 extern size_t strnlen(const char *s, size_t count);
Dstdio.c15 size_t strnlen(const char * s, size_t count) in strnlen() function
220 len = strnlen(s, precision); in vsprintf()
/linux-2.6.39/arch/x86/boot/
Dstring.c49 size_t strnlen(const char *s, size_t maxlen) in strnlen() function
/linux-2.6.39/arch/h8300/kernel/
Dh8300_ksyms.c25 EXPORT_SYMBOL(strnlen);
/linux-2.6.39/fs/cifs/
Dcifssmb.c822 name_len = strnlen(fileName, PATH_MAX); in CIFSPOSIXDelFile()
894 name_len = strnlen(fileName, PATH_MAX); in CIFSSMBDelFile()
939 name_len = strnlen(dirName, PATH_MAX); in CIFSSMBRmDir()
982 name_len = strnlen(name, PATH_MAX); in CIFSSMBMkDir()
1031 name_len = strnlen(name, PATH_MAX); in CIFSPOSIXCreate()
1199 name_len = strnlen(fileName, PATH_MAX); in SMBLegacyOpen()
1307 name_len = strnlen(fileName, PATH_MAX); in CIFSSMBOpen()
2003 name_len = strnlen(fromName, PATH_MAX); in CIFSSMBRename()
2006 name_len2 = strnlen(toName, PATH_MAX); in CIFSSMBRename()
2150 name_len = strnlen(fromName, PATH_MAX); in CIFSSMBCopy()
[all …]
Dsess.c251 bcc_ptr += strnlen(ses->user_name, MAX_USERNAME_SIZE); in ascii_ssetup_strings()
259 bcc_ptr += strnlen(ses->domainName, 256); in ascii_ssetup_strings()
322 len = strnlen(bcc_ptr, bleft); in decode_ascii_ssetup()
339 len = strnlen(bcc_ptr, bleft); in decode_ascii_ssetup()
352 len = strnlen(bcc_ptr, bleft); in decode_ascii_ssetup()
Dconnect.c842 for (i = 0; i < strnlen(nodename, RFC1001_NAME_LEN); i++) in cifs_parse_mount_options()
897 if (strnlen(value, MAX_USERNAME_SIZE) < in cifs_parse_mount_options()
990 } else if (strnlen(value, INET6_ADDRSTRLEN) < in cifs_parse_mount_options()
1049 if ((temp_len = strnlen(value, 300)) < 300) { in cifs_parse_mount_options()
1075 if (strnlen(value, 256) < 256) { in cifs_parse_mount_options()
1105 if ((temp_len = strnlen(value, 1024)) < 1024) { in cifs_parse_mount_options()
1127 if (strnlen(value, 65) < 65) { in cifs_parse_mount_options()
1410 if ((temp_len = strnlen(devname, 300)) < 300) { in cifs_parse_mount_options()
2134 strnlen(pSesInfo->serverName, in get_dfs_path()
2711 int unc_len = strnlen(volume_info->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
[all …]
Dcifs_unicode.c249 len = strnlen(src, maxlen); in cifs_strndup_from_ucs()
/linux-2.6.39/drivers/mtd/ubi/
Ddebug.c116 strnlen(vol->name, vol->name_len + 1) == vol->name_len) { in ubi_dbg_dump_vol_info()
149 strnlen(&r->name[0], name_len + 1) == name_len) { in ubi_dbg_dump_vtbl_record()
/linux-2.6.39/arch/m68k/include/asm/
Dstring.h36 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
/linux-2.6.39/include/linux/
Dstring.h84 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
/linux-2.6.39/fs/ocfs2/
Dsymlink.c124 len = strnlen(target, ocfs2_fast_symlink_chars(inode->i_sb)); in ocfs2_fast_follow_link()
/linux-2.6.39/lib/
Dstring.c399 size_t strnlen(const char *s, size_t count) in strnlen() function
407 EXPORT_SYMBOL(strnlen);
/linux-2.6.39/fs/nfs/
Didmap.c588 if ((len = strnlen(im->im_name, IDMAP_NAMESZ)) == 0) in nfs_idmap_name()
651 namelen_in = strnlen(im_in.im_name, IDMAP_NAMESZ); in idmap_pipe_downcall()
683 && strnlen(im->im_name, IDMAP_NAMESZ) == namelen_in in idmap_pipe_downcall()
/linux-2.6.39/mm/
Dutil.c47 len = strnlen(s, max); in kstrndup()
/linux-2.6.39/include/scsi/
Dfc_encode.h166 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_ct_fill()
175 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_ct_fill()

1234