/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 26 u32 value_len = strlen(value); in test_btrfs_split_item() 94 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 101 strlen(split1)); in test_btrfs_split_item() 102 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 105 (int)strlen(split1), buf, split1); in test_btrfs_split_item() 119 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 126 strlen(split2)); in test_btrfs_split_item() 127 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 151 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 158 strlen(split3)); in test_btrfs_split_item() [all …]
|
/fs/cifs/ |
D | cifs_spnego.c | 101 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 109 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 121 dp = description + strlen(description); in cifs_get_spnego_key() 131 dp = description + strlen(description); in cifs_get_spnego_key() 143 dp = description + strlen(description); in cifs_get_spnego_key() 147 dp = description + strlen(description); in cifs_get_spnego_key() 152 dp = description + strlen(description); in cifs_get_spnego_key() 156 dp = description + strlen(description); in cifs_get_spnego_key()
|
D | cifs_dfs_ref.c | 77 unclen = strlen(nodename); in cifs_build_devname() 91 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname() 157 if (strlen(fullpath) - ref->path_consumed) { in cifs_compose_mount_options() 192 md_len = strlen(sb_mountdata) + INET6_ADDRSTRLEN; in cifs_compose_mount_options() 210 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options() 237 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options()
|
D | dfs_cache.c | 194 if (!path || strlen(path) < 3 || (*path != '\\' && *path != '/')) in dfs_cache_canonical_path() 198 tmp = (char *)cifs_strndup_to_utf16(path, strlen(path), &plen, cp, remap); in dfs_cache_canonical_path() 595 rc = cache_entry_hash(refs[0].path_name, strlen(refs[0].path_name), &hash); in add_cache_entry_locked() 652 if (dfs_path_equal(ce->path, strlen(ce->path), path, len)) { in __lookup_cache_entry() 680 rc = cache_entry_hash(path, strlen(path), &hash); in lookup_cache_entry() 683 return __lookup_cache_entry(path, hash, strlen(path)); in lookup_cache_entry() 691 e = path + strlen(path) - 1; in lookup_cache_entry() 1253 if (!it || !path || !share || !prefix || strlen(path) < it->it_path_consumed) in dfs_cache_get_tgt_share() 1284 plen1 = it->it_name + strlen(it->it_name) - s; in dfs_cache_get_tgt_share() 1285 plen2 = path + strlen(path) - p; in dfs_cache_get_tgt_share() [all …]
|
D | fs_context.c | 418 if (strncasecmp(p, key, strlen(key))) in smb3_parse_opt() 597 len = strlen(key); in smb3_fs_context_parse_monolithic() 611 len = strlen(value); in smb3_fs_context_parse_monolithic() 652 if (strlen(ctx->UNC) < 3 || !strchr(ctx->UNC + 3, '\\')) { in smb3_fs_context_validate() 1140 if (strlen(param->string) == 0) { in smb3_fs_context_parse_param() 1160 if (strlen(param->string) == 0) in smb3_fs_context_parse_param() 1170 if (strlen(param->string) == 0) { in smb3_fs_context_parse_param() 1176 strlen(param->string))) { in smb3_fs_context_parse_param() 1200 param->string, strlen(param->string))) { in smb3_fs_context_parse_param() 1269 if (strlen(param->string) > 1) { in smb3_fs_context_parse_param()
|
/fs/orangefs/ |
D | orangefs-debugfs.c | 201 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init() 301 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init() 511 for (i = 0; i < strlen(debug_array_string); i++) in orangefs_prepare_cdm_array() 704 len = strlen(debug_string); in debug_mask_to_string() 730 if ((strlen(kernel_debug_string) + in do_k_string() 731 strlen(s_kmod_keyword_mask_map[index].keyword)) in do_k_string() 757 if ((strlen(client_debug_string) + in do_c_string() 758 strlen(cdm_array[index].keyword) + 1) in do_c_string() 855 if (strlen(unchecked_keyword)) { in debug_string_to_mask()
|
D | xattr.c | 111 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_getxattr() 160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 254 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_removexattr() 269 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr() 331 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_setxattr() 363 new_op->upcall.req.setxattr.keyval.key_sz = strlen(name) + 1; in orangefs_inode_setxattr()
|
/fs/xfs/ |
D | xfs_xattr.c | 30 .namelen = strlen(name), in xfs_xattr_get() 53 .namelen = strlen(name), in xfs_xattr_set() 154 strlen(XATTR_POSIX_ACL_ACCESS)); in xfs_xattr_put_listent() 162 strlen(XATTR_POSIX_ACL_DEFAULT)); in xfs_xattr_put_listent()
|
/fs/reiserfs/ |
D | dir.c | 164 d_reclen = strlen(d_name); in reiserfs_readdir_inode() 296 put_deh_location(dot, EMPTY_DIR_SIZE_V1 - strlen(".")); in make_empty_dir_item_v1() 306 put_deh_location(dotdot, deh_location(dot) - strlen("..")); in make_empty_dir_item_v1() 330 put_deh_location(dot, EMPTY_DIR_SIZE - ROUND_UP(strlen("."))); in make_empty_dir_item() 340 put_deh_location(dotdot, deh_location(dot) - ROUND_UP(strlen(".."))); in make_empty_dir_item()
|
D | prints.c | 669 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 689 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 702 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 708 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 715 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 722 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
|
D | xattr.c | 162 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir() 400 xafile = lookup_one_len(name, xadir, strlen(name)); in xattr_lookup() 494 dentry = lookup_one_len(name, xadir, strlen(name)); in lookup_and_delete_xattr() 792 if (strncmp(prefix, name, strlen(prefix)) == 0) in find_xattr_handler_prefix() 981 strlen(PRIVROOT_NAME)); in reiserfs_lookup_privroot() 1022 strlen(XAROOT_NAME)); in reiserfs_xattr_init()
|
/fs/ntfs/ |
D | debug.c | 41 flen = strlen(function); in __ntfs_warning() 84 flen = strlen(function); in __ntfs_error() 111 flen = strlen(function); in __ntfs_debug()
|
/fs/btrfs/ |
D | props.c | 44 u64 hash = btrfs_name_hash(name, strlen(name)); in find_prop_handler() 62 if (strlen(name) <= XATTR_BTRFS_PREFIX_LEN) in btrfs_validate_prop() 367 ret = h->validate(value, strlen(value)); in inherit_props() 387 strlen(value), 0); in inherit_props() 389 ret = h->apply(inode, value, strlen(value)); in inherit_props() 451 u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name)); in btrfs_props_init()
|
/fs/ |
D | filesystems.c | 85 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem() 170 len = strlen(tmp->name) + 1; in fs_name() 222 len = strlen(p->name) + 1; in list_bdev_fs_names() 277 int len = dot ? dot - name : strlen(name); in get_fs_type()
|
/fs/unicode/ |
D | utf8-selftest.c | 177 int len = strlen(nfdi_test_data[i].str); in check_utf8_nfdi() 178 int nlen = strlen(nfdi_test_data[i].dec); in check_utf8_nfdi() 213 int len = strlen(nfdicf_test_data[i].str); in check_utf8_nfdicf() 214 int nlen = strlen(nfdicf_test_data[i].ncf); in check_utf8_nfdicf()
|
/fs/ksmbd/ |
D | misc.c | 183 nt_pathname = kzalloc(strlen(&ab_pathname[share_path_len]) + 2, GFP_KERNEL); in convert_to_nt_pathname() 217 int len = strlen(path); in ksmbd_strip_last_slash() 240 const struct qstr q_name = {.name = name, .len = strlen(name)}; in ksmbd_casefold_sharename() 295 name_len = strlen(name); in convert_to_unix_name()
|
/fs/hpfs/ |
D | ea.c | 254 …offs) + le16_to_cpu(fnode->acl_size_s) + le16_to_cpu(fnode->ea_size_s) + strlen(key) + size + 5 <=… in hpfs_set_ea() 257 ea->namelen = strlen(key); in hpfs_set_ea() 262 fnode->ea_size_s = cpu_to_le16(le16_to_cpu(fnode->ea_size_s) + strlen(key) + size + 5); in hpfs_set_ea() 284 pos = le32_to_cpu(fnode->ea_size_l) + 5 + strlen(key) + size; in hpfs_set_ea() 352 h[1] = strlen(key); in hpfs_set_ea() 360 hpfs_i(inode)->i_ea_size += 5 + strlen(key) + size; in hpfs_set_ea()
|
/fs/openpromfs/ |
D | inode.c | 78 int n = strlen(pval); in property_show() 205 int n = strlen(node_name); in openpromfs_lookup() 219 int n = strlen(prop->name); in openpromfs_lookup() 304 strlen(kbasename(child->full_name)), in openpromfs_readdir() 319 if (!dir_emit(ctx, prop->name, strlen(prop->name), in openpromfs_readdir()
|
/fs/ksmbd/mgmt/ |
D | share_config.c | 32 return jhash(name, strlen(name), 0); in share_name_hash() 100 sz = strlen(veto_list); in parse_veto_list() 164 share->path_sz = strlen(share->path); in share_config_request()
|
/fs/proc/ |
D | proc_sysctl.c | 127 cmp = namecmp(name, namelen, procname, strlen(procname)); in find_entry() 146 int namelen = strlen(name); in insert_entry() 161 cmp = namecmp(name, namelen, parent_name, strlen(parent_name)); in insert_entry() 679 qname.len = strlen(table->procname); in proc_sys_fill_cache() 1046 return find_subdir(parent, procname, strlen(procname)); in xlate_dir() 1069 entry = find_entry(&head, dir, procname, strlen(procname)); in sysctl_follow_link() 1165 name_bytes += strlen(entry->procname) + 1; in new_links() 1182 int len = strlen(entry->procname) + 1; in new_links() 1204 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() 1217 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() [all …]
|
D | namespaces.c | 134 if (!proc_fill_cache(file, ctx, ops->name, strlen(ops->name), in proc_ns_dir_readdir() 164 if (strlen((*entry)->name) != len) in proc_ns_dir_lookup()
|
/fs/nfs/ |
D | nfsroot.c | 144 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup() 175 size_t len = strlen(dest); in root_nfs_cat()
|
/fs/kernfs/ |
D | symlink.c | 85 len += strlen(kn->name) + 1; in kernfs_get_target_path() 99 int slen = strlen(kn->name); in kernfs_get_target_path()
|
/fs/fuse/ |
D | xattr.c | 36 args.in_args[1].size = strlen(name) + 1; in fuse_setxattr() 71 args.in_args[1].size = strlen(name) + 1; in fuse_getxattr() 180 args.in_args[0].size = strlen(name) + 1; in fuse_removexattr()
|
D | cuse.c | 234 p += strlen(p); in cuse_parse_one() 239 val = key + strlen(key); in cuse_parse_one() 245 if (!strlen(key)) { in cuse_parse_one() 289 if (!devinfo->name || !strlen(devinfo->name)) { in cuse_parse_devinfo()
|