Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 142) sorted by relevance

123456

/fs/cifs/
Dcifs_spnego.c104 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key()
108 USER_KEY_LEN + strlen(sesInfo->userName) + 1; in cifs_get_spnego_key()
120 dp = description + strlen(description); in cifs_get_spnego_key()
130 dp = description + strlen(description); in cifs_get_spnego_key()
140 dp = description + strlen(description); in cifs_get_spnego_key()
143 dp = description + strlen(description); in cifs_get_spnego_key()
Dcifs_dfs_ref.c67 len = strlen(node_name); in cifs_get_share_name()
147 md_len = strlen(sb_mountdata) + strlen(srvIP) + in compose_mount_options()
148 strlen(ref->node_name) + 12; in compose_mount_options()
166 noff = strlen(sb_mountdata + off); in compose_mount_options()
189 if (mountdata[strlen(mountdata) - 1] != sep) in compose_mount_options()
217 if (tkn_e || (strlen(fullpath) - ref->path_consumed)) { in compose_mount_options()
351 len = strlen(referrals[i].node_name); in cifs_dfs_follow_mountpoint()
Dxattr.c160 strlen(POSIX_ACL_XATTR_ACCESS)); in cifs_setxattr()
174 strlen(POSIX_ACL_XATTR_DEFAULT)) == 0) { in cifs_setxattr()
256 strlen(POSIX_ACL_XATTR_ACCESS)) == 0) { in cifs_getxattr()
289 strlen(POSIX_ACL_XATTR_DEFAULT)) == 0) { in cifs_getxattr()
Dcifsencrypt.c240 user_name_len = strlen(ses->userName); in CalcNTLMv2_partial_mac_key()
245 dom_name_len = strlen(ses->domainName); in CalcNTLMv2_partial_mac_key()
343 len = strlen(ses->userName); in calc_ntlmv2_hash()
353 len = strlen(ses->domainName); in calc_ntlmv2_hash()
Dsmbencrypt.c128 len = strlen((char *) passwd); in E_md4hash()
153 if (strlen(pwd) < 513)
/fs/reiserfs/
Dxattr_security.c12 if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) in security_get()
25 if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) in security_set()
36 if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) in security_del()
Dxattr_user.c17 if (strlen(name) < sizeof(XATTR_USER_PREFIX)) in user_get()
29 if (strlen(name) < sizeof(XATTR_USER_PREFIX)) in user_set()
39 if (strlen(name) < sizeof(XATTR_USER_PREFIX)) in user_del()
Dxattr_trusted.c13 if (strlen(name) < sizeof(XATTR_TRUSTED_PREFIX)) in trusted_get()
29 if (strlen(name) < sizeof(XATTR_TRUSTED_PREFIX)) in trusted_set()
43 if (strlen(name) < sizeof(XATTR_TRUSTED_PREFIX)) in trusted_del()
Ddir.c135 d_reclen = strlen(d_name); in reiserfs_readdir()
252 put_deh_location(&(deh[0]), EMPTY_DIR_SIZE_V1 - strlen(".")); in make_empty_dir_item_v1()
262 put_deh_location(&(deh[1]), deh_location(&(deh[0])) - strlen("..")); in make_empty_dir_item_v1()
285 put_deh_location(&(deh[0]), EMPTY_DIR_SIZE - ROUND_UP(strlen("."))); in make_empty_dir_item()
296 deh_location(&(deh[0])) - ROUND_UP(strlen(".."))); in make_empty_dir_item()
Dprints.c117 sprintf_le_key(buf + strlen(buf), &(ih->ih_key)); in sprintf_item_head()
118 sprintf(buf + strlen(buf), ", item_len %d, item_location %d, " in sprintf_item_head()
242 p += strlen(p); in prepare_error_buf()
614 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
634 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
647 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
653 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
660 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
667 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
Dxattr_acl.c466 if (strlen(name) != sizeof(POSIX_ACL_XATTR_ACCESS) - 1) in posix_acl_access_get()
475 if (strlen(name) != sizeof(POSIX_ACL_XATTR_ACCESS) - 1) in posix_acl_access_set()
484 if (strlen(name) != sizeof(POSIX_ACL_XATTR_ACCESS) - 1) in posix_acl_access_del()
519 if (strlen(name) != sizeof(POSIX_ACL_XATTR_DEFAULT) - 1) in posix_acl_default_get()
528 if (strlen(name) != sizeof(POSIX_ACL_XATTR_DEFAULT) - 1) in posix_acl_default_set()
537 if (strlen(name) != sizeof(POSIX_ACL_XATTR_DEFAULT) - 1) in posix_acl_default_del()
/fs/udf/
Dunicode.c32 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_char_to_ustr() argument
34 if ((!dest) || (!src) || (!strlen) || (strlen > UDF_NAME_LEN - 2)) in udf_char_to_ustr()
38 memcpy(dest->u_name, src, strlen); in udf_char_to_ustr()
40 dest->u_len = strlen; in udf_char_to_ustr()
42 return strlen; in udf_char_to_ustr()
/fs/ntfs/
Ddebug.c61 flen = strlen(function); in __ntfs_warning()
105 flen = strlen(function); in __ntfs_error()
133 flen = strlen(function); in __ntfs_debug()
/fs/
Dfilesystems.c50 if (strlen((*p)->name) == len && in find_filesystem()
79 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem()
161 len = strlen(tmp->name) + 1; in fs_name()
272 int len = dot ? dot - name : strlen(name); in get_fs_type()
Dbinfmt_misc.c452 dp = page + strlen(page); in entry_status()
456 dp += strlen (flags); in entry_status()
475 dp = page + strlen(page); in entry_status()
544 res = simple_read_from_buffer(buf, nbytes, ppos, page, strlen(page)); in bm_entry_read()
598 dentry = lookup_one_len(e->name, root, strlen(e->name)); in bm_register_write()
654 return simple_read_from_buffer(buf, nbytes, ppos, s, strlen(s)); in bm_status_read()
/fs/hpfs/
Dea.c252 fnode->ea_offs + fnode->acl_size_s + fnode->ea_size_s + strlen(key) + size + 5 <= 0x200) { in hpfs_set_ea()
255 ea->namelen = strlen(key); in hpfs_set_ea()
259 fnode->ea_size_s += strlen(key) + size + 5; in hpfs_set_ea()
281 pos = fnode->ea_size_l + 5 + strlen(key) + size; in hpfs_set_ea()
348 h[1] = strlen(key); in hpfs_set_ea()
356 hpfs_i(inode)->i_ea_size += 5 + strlen(key) + size; in hpfs_set_ea()
Dname.c26 int l = strlen(text_postfix[i]); in hpfs_decide_conv()
32 int l = strlen(text_prefix[i]); in hpfs_decide_conv()
/fs/btrfs/
Dxattr.c48 strlen(name), 0); in __btrfs_getxattr()
106 strlen(name), -1); in __btrfs_setxattr()
141 ret = btrfs_insert_xattr_item(trans, root, name, strlen(name), in __btrfs_setxattr()
350 name = kmalloc(XATTR_SECURITY_PREFIX_LEN + strlen(suffix) + 1, in btrfs_xattr_security_init()
/fs/openpromfs/
Dinode.c76 int n = strlen(pval); in property_show()
202 int n = strlen(child->path_component_name); in openpromfs_lookup()
216 int n = strlen(prop->name); in openpromfs_lookup()
305 strlen(child->path_component_name), in openpromfs_readdir()
320 if (filldir(dirent, prop->name, strlen(prop->name), in openpromfs_readdir()
/fs/hppfs/
Dhppfs.c76 len += strlen("pid") + 1; in dentry_name()
82 len += strlen(root); in dentry_name()
92 seg_len = strlen("pid"); in dentry_name()
104 strncpy(name, root, strlen(root)); in dentry_name()
115 extra += strlen(file) + 1; in file_removed()
117 host_file = dentry_name(dentry, extra + strlen("/remove")); in file_removed()
308 end = &host_file[strlen(host_file)]; in open_host_sock()
441 host_file = dentry_name(file->f_path.dentry, strlen("/rw")); in hppfs_open()
/fs/hostfs/
Dhostfs_kern.c106 len += strlen(root); in dentry_name()
120 strncpy(name, root, strlen(root)); in dentry_name()
188 len = strlen(link) + strlen(name) + 1; in follow_link()
331 size_t offset = strlen(root_ino) + 1; in hostfs_show_options()
333 if (strlen(root_path) > offset) in hostfs_show_options()
691 len = strlen(file); in inode_dentry_name()
981 host_root_path = kmalloc(strlen(root_ino) + 1 in hostfs_fill_sb_common()
982 + strlen(req_root) + 1, GFP_KERNEL); in hostfs_fill_sb_common()
/fs/nfsd/
Dnfsctl.c688 return strlen(buf); in write_threads()
735 return strlen(buf); in write_pool_threads()
767 len = strlen(mesg); in write_pool_threads()
912 svc_sock_names(buf+strlen(buf)+1, nfsd_serv, buf); in __write_ports()
1133 return strlen(buf); in __write_leasetime()
1190 return strlen(buf); in __write_recoverydir()
/fs/sysfs/
Dsymlink.c150 len += strlen(sd->s_name) + 1; in sysfs_get_target_path()
164 int slen = strlen(sd->s_name); in sysfs_get_target_path()
/fs/yaffs2/
Dyportenv.h58 #define yaffs_strlen(s) strlen(s)
132 #define yaffs_strlen(s) strlen(s)
/fs/nfs/
Dnfsroot.c313 if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) { in root_nfs_name()
391 int n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup()

123456