/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 26 u32 value_len = strlen(value); in test_btrfs_split_item() 95 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 102 strlen(split1)); in test_btrfs_split_item() 103 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 106 (int)strlen(split1), buf, split1); in test_btrfs_split_item() 120 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 127 strlen(split2)); in test_btrfs_split_item() 128 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 152 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 159 strlen(split3)); in test_btrfs_split_item() [all …]
|
/fs/cifs/ |
D | cifs_spnego.c | 113 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 121 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 133 dp = description + strlen(description); in cifs_get_spnego_key() 143 dp = description + strlen(description); in cifs_get_spnego_key() 155 dp = description + strlen(description); in cifs_get_spnego_key() 159 dp = description + strlen(description); in cifs_get_spnego_key() 164 dp = description + strlen(description); in cifs_get_spnego_key() 168 dp = description + strlen(description); in cifs_get_spnego_key()
|
D | cifs_dfs_ref.c | 76 unclen = strlen(nodename); in cifs_build_devname() 90 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() 233 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 275 devname = kstrndup(fullpath, strlen(fullpath), GFP_KERNEL); in cifs_dfs_do_mount()
|
D | dfs_cache.c | 85 if (!path || strlen(path) < 3 || (*path != '\\' && *path != '/')) in get_normalized_path() 91 *npath = kstrndup(path, strlen(path), GFP_KERNEL); in get_normalized_path() 333 return !strncasecmp(s, "sysvol", strlen("sysvol")) || in is_sysvol_or_netlogon() 334 !strncasecmp(s, "netlogon", strlen("netlogon")); in is_sysvol_or_netlogon() 366 t->name = kstrndup(name, strlen(name), GFP_KERNEL); in alloc_tgt() 425 ce->path = kstrndup(path, strlen(path), GFP_KERNEL); in alloc_cache_entry() 504 h = cache_entry_hash(path, strlen(path)); in lookup_cache_entry() 588 th = kstrndup(s, strlen(s), GFP_KERNEL); in __update_cache_entry() 745 ref->path_name = kstrndup(path, strlen(path), GFP_KERNEL); in setup_ref() 751 ref->node_name = kstrndup(tgt, strlen(tgt), GFP_KERNEL); in setup_ref() [all …]
|
/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/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() 980 strlen(PRIVROOT_NAME)); in reiserfs_lookup_privroot() 1021 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() 353 ret = h->validate(value, strlen(value)); in inherit_props() 373 strlen(value), 0); in inherit_props() 375 ret = h->apply(inode, value, strlen(value)); in inherit_props() 444 u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name)); in btrfs_props_init()
|
/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/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() 300 strlen(kbasename(child->full_name)), in openpromfs_readdir() 315 if (!dir_emit(ctx, prop->name, strlen(prop->name), in openpromfs_readdir()
|
/fs/ |
D | filesystems.c | 84 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem() 169 len = strlen(tmp->name) + 1; in fs_name() 269 int len = dot ? dot - name : strlen(name); in get_fs_type()
|
D | fsopen.c | 53 n = strlen(p); in fscontext_read() 401 param.size = strlen(param.string); in SYSCALL_DEFINE5() 420 param.size = strlen(param.name->name); in SYSCALL_DEFINE5() 430 param.size = strlen(param.name->name); in SYSCALL_DEFINE5()
|
/fs/proc/ |
D | proc_sysctl.c | 128 cmp = namecmp(name, namelen, procname, strlen(procname)); in find_entry() 147 int namelen = strlen(name); in insert_entry() 162 cmp = namecmp(name, namelen, parent_name, strlen(parent_name)); in insert_entry() 701 qname.len = strlen(table->procname); in proc_sys_fill_cache() 1063 return find_subdir(parent, procname, strlen(procname)); in xlate_dir() 1086 entry = find_entry(&head, dir, procname, strlen(procname)); in sysctl_follow_link() 1176 name_bytes += strlen(entry->procname) + 1; in new_links() 1193 int len = strlen(entry->procname) + 1; in new_links() 1215 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() 1228 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() [all …]
|
D | namespaces.c | 126 if (!proc_fill_cache(file, ctx, ops->name, strlen(ops->name), in proc_ns_dir_readdir() 156 if (strlen((*entry)->name) != len) in proc_ns_dir_lookup()
|
/fs/fuse/ |
D | xattr.c | 33 args.in_args[1].size = strlen(name) + 1; in fuse_setxattr() 68 args.in_args[1].size = strlen(name) + 1; in fuse_getxattr() 166 args.in_args[0].size = strlen(name) + 1; in fuse_removexattr()
|
D | cuse.c | 233 p += strlen(p); in cuse_parse_one() 238 val = key + strlen(key); in cuse_parse_one() 244 if (!strlen(key)) { in cuse_parse_one() 288 if (!devinfo->name || !strlen(devinfo->name)) { in cuse_parse_devinfo()
|
/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/nfs/ |
D | nfsroot.c | 138 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup() 169 size_t len = strlen(dest); in root_nfs_cat()
|
/fs/xfs/ |
D | xfs_xattr.c | 176 strlen(XATTR_POSIX_ACL_ACCESS)); in xfs_xattr_put_listent() 184 strlen(XATTR_POSIX_ACL_DEFAULT)); in xfs_xattr_put_listent()
|
/fs/9p/ |
D | vfs_dir.c | 130 over = !dir_emit(ctx, st.name, strlen(st.name), in v9fs_dir_readdir() 187 strlen(curdirent.d_name), in v9fs_dir_readdir_dotl()
|
/fs/ceph/ |
D | xattr.c | 79 total_len = len + strlen(pool_name); in ceph_vxattrcb_layout() 89 total_len += strlen(ns_field) + pool_ns->len; in ceph_vxattrcb_layout() 96 len = strlen(pool_name); in ceph_vxattrcb_layout() 101 len = strlen(ns_field); in ceph_vxattrcb_layout() 170 ret = strlen(pool_name); in ceph_vxattrcb_layout_pool() 546 int name_len = strlen(name); in __get_xattr() 1029 int name_len = strlen(name); in __ceph_setxattr() 1244 name_len = strlen(name); in ceph_security_init_secctx()
|