/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 38 u32 value_len = strlen(value); in test_btrfs_split_item() 100 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 107 strlen(split1)); in test_btrfs_split_item() 108 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 111 (int)strlen(split1), buf, split1); in test_btrfs_split_item() 125 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 132 strlen(split2)); in test_btrfs_split_item() 133 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 157 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 164 strlen(split3)); in test_btrfs_split_item() [all …]
|
/fs/cifs/ |
D | cifs_spnego.c | 109 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 117 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 129 dp = description + strlen(description); in cifs_get_spnego_key() 139 dp = description + strlen(description); in cifs_get_spnego_key() 151 dp = description + strlen(description); in cifs_get_spnego_key() 155 dp = description + strlen(description); in cifs_get_spnego_key() 160 dp = description + strlen(description); in cifs_get_spnego_key() 164 dp = description + strlen(description); in cifs_get_spnego_key()
|
D | cifs_dfs_ref.c | 78 unclen = strlen(nodename); in cifs_build_devname() 92 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname() 154 if (strlen(fullpath) - ref->path_consumed) in cifs_compose_mount_options() 177 md_len = strlen(sb_mountdata) + INET6_ADDRSTRLEN; in cifs_compose_mount_options() 195 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options() 218 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 326 len = strlen(referrals[i].node_name); in cifs_dfs_do_automount()
|
D | xattr.c | 170 strlen(CIFS_XATTR_CIFS_ACL)) == 0) { in cifs_setxattr() 194 strlen(POSIX_ACL_XATTR_ACCESS)); in cifs_setxattr() 207 strlen(POSIX_ACL_XATTR_DEFAULT)) == 0) { in cifs_setxattr() 296 strlen(POSIX_ACL_XATTR_ACCESS)) == 0) { in cifs_getxattr() 307 strlen(POSIX_ACL_XATTR_DEFAULT)) == 0) { in cifs_getxattr() 318 strlen(CIFS_XATTR_CIFS_ACL)) == 0) { in cifs_getxattr()
|
/fs/reiserfs/ |
D | prints.c | 117 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() 239 p += strlen(p); in prepare_error_buf() 651 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 671 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 684 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 690 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 697 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb() 704 sprintf(print_tb_buf + strlen(print_tb_buf), in store_print_tb()
|
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 | xattr.c | 161 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir() 395 xafile = lookup_one_len(name, xadir, strlen(name)); in xattr_lookup() 480 dentry = lookup_one_len(name, xadir, strlen(name)); in lookup_and_delete_xattr() 773 if (strncmp(xah->prefix, name, strlen(xah->prefix)) == 0) in find_xattr_handler_prefix() 964 strlen(PRIVROOT_NAME)); in reiserfs_lookup_privroot() 1004 strlen(XAROOT_NAME)); in reiserfs_xattr_init()
|
/fs/ntfs/ |
D | debug.c | 55 flen = strlen(function); in __ntfs_warning() 98 flen = strlen(function); in __ntfs_error() 125 flen = strlen(function); in __ntfs_debug()
|
/fs/udf/ |
D | unicode.c | 34 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_char_to_ustr() argument 36 if ((!dest) || (!src) || (!strlen) || (strlen > UDF_NAME_LEN - 2)) in udf_char_to_ustr() 40 memcpy(dest->u_name, src, strlen); in udf_char_to_ustr() 42 dest->u_len = strlen; in udf_char_to_ustr() 44 return strlen; in udf_char_to_ustr()
|
/fs/ |
D | filesystems.c | 50 if (strlen((*p)->name) == len && in find_filesystem() 78 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem() 163 len = strlen(tmp->name) + 1; in fs_name() 275 int len = dot ? dot - name : strlen(name); in get_fs_type()
|
/fs/hpfs/ |
D | ea.c | 253 …offs) + le16_to_cpu(fnode->acl_size_s) + le16_to_cpu(fnode->ea_size_s) + strlen(key) + size + 5 <=… in hpfs_set_ea() 256 ea->namelen = strlen(key); in hpfs_set_ea() 261 fnode->ea_size_s = cpu_to_le16(le16_to_cpu(fnode->ea_size_s) + strlen(key) + size + 5); in hpfs_set_ea() 283 pos = le32_to_cpu(fnode->ea_size_l) + 5 + strlen(key) + size; in hpfs_set_ea() 351 h[1] = strlen(key); in hpfs_set_ea() 359 hpfs_i(inode)->i_ea_size += 5 + strlen(key) + size; in hpfs_set_ea()
|
/fs/openpromfs/ |
D | inode.c | 76 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() 298 strlen(child->path_component_name), in openpromfs_readdir() 313 if (!dir_emit(ctx, prop->name, strlen(prop->name), in openpromfs_readdir()
|
/fs/proc/ |
D | proc_sysctl.c | 120 cmp = namecmp(name, namelen, procname, strlen(procname)); in find_entry() 139 int namelen = strlen(name); in insert_entry() 154 cmp = namecmp(name, namelen, parent_name, strlen(parent_name)); in insert_entry() 625 qname.len = strlen(table->procname); in proc_sys_fill_cache() 978 return find_subdir(parent, procname, strlen(procname)); in xlate_dir() 1001 entry = find_entry(&head, dir, procname, strlen(procname)); in sysctl_follow_link() 1074 name_bytes += strlen(entry->procname) + 1; in new_links() 1091 int len = strlen(entry->procname) + 1; in new_links() 1113 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() 1126 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() [all …]
|
D | namespaces.c | 122 if (!proc_fill_cache(file, ctx, ops->name, strlen(ops->name), in proc_ns_dir_readdir() 153 if (strlen((*entry)->name) != len) in proc_ns_dir_lookup()
|
D | generic.c | 367 qstr.len = strlen(fn); in __proc_create() 406 ent->data = kmalloc((ent->size=strlen(dest))+1, GFP_KERNEL); in proc_symlink() 558 len = strlen(fn); in remove_proc_entry() 592 len = strlen(fn); in remove_proc_subtree()
|
/fs/btrfs/ |
D | props.c | 62 u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name)); in btrfs_props_init() 86 u64 hash = btrfs_name_hash(name, strlen(name)); in find_prop_handler() 110 if (strlen(name) <= XATTR_BTRFS_PREFIX_LEN) in __btrfs_set_prop() 328 value, strlen(value), 0); in inherit_props()
|
D | xattr.c | 51 strlen(name), 0); in __btrfs_getxattr() 98 size_t name_len = strlen(name); in do_setxattr() 374 int len = strlen(name); in btrfs_is_valid_xattr() 497 strlen(xattr->name) + 1, GFP_NOFS); in btrfs_initxattrs()
|
/fs/hostfs/ |
D | hostfs_kern.c | 91 len = strlen(root); in __dentry_name() 101 BUG_ON(p + strlen(p) + 1 != name + PATH_MAX); in __dentry_name() 167 len = strlen(link) + strlen(name) + 1; in follow_link() 260 size_t offset = strlen(root_ino) + 1; in hostfs_show_options() 262 if (strlen(root_path) > offset) in hostfs_show_options() 946 kmalloc(strlen(root_ino) + strlen(req_root) + 2, GFP_KERNEL); in hostfs_fill_sb_common()
|
/fs/kernfs/ |
D | symlink.c | 77 len += strlen(kn->name) + 1; in kernfs_get_target_path() 91 int slen = strlen(kn->name); in kernfs_get_target_path()
|
/fs/nfs/ |
D | nfsroot.c | 137 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup() 168 size_t len = strlen(dest); in root_nfs_cat()
|
D | pnfs_nfs.c | 465 len += strlen(da->da_remotestr) + 1; /* string plus comma */ in nfs4_pnfs_remotestr() 476 size_t ll = strlen(da->da_remotestr); in nfs4_pnfs_remotestr() 836 len = strlen(startsep) + strlen(buf) + strlen(endsep) + 7; in nfs4_decode_mp_ds_addr()
|
/fs/fuse/ |
D | cuse.c | 231 p += strlen(p); in cuse_parse_one() 236 val = key + strlen(key); in cuse_parse_one() 242 if (!strlen(key)) { in cuse_parse_one() 287 if (!devinfo->name || !strlen(devinfo->name)) { in cuse_parse_devinfo()
|
/fs/9p/ |
D | vfs_dir.c | 145 over = !dir_emit(ctx, st.name, strlen(st.name), in v9fs_dir_readdir() 202 strlen(curdirent.d_name), in v9fs_dir_readdir_dotl()
|
/fs/xfs/ |
D | xfs_xattr.c | 263 strlen(POSIX_ACL_XATTR_ACCESS) + 1, in xfs_vn_listxattr() 271 strlen(POSIX_ACL_XATTR_DEFAULT) + 1, in xfs_vn_listxattr()
|
/fs/ubifs/ |
D | xattr.c | 312 struct qstr nm = QSTR_INIT(name, strlen(name)); in setxattr() 382 struct qstr nm = QSTR_INIT(name, strlen(name)); in ubifs_getxattr() 548 struct qstr nm = QSTR_INIT(name, strlen(name)); in ubifs_removexattr() 602 strlen(xattr->name) + 1, GFP_NOFS); in init_xattrs()
|