/fs/ntfs/ |
D | index.c | 119 int ntfs_index_lookup(const void *key, const int key_len, in ntfs_index_lookup() argument 143 BUG_ON(key_len <= 0); in ntfs_index_lookup() 206 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup() 207 &ie->key, key_len)) { in ntfs_index_lookup() 228 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup() 376 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup() 377 &ie->key, key_len)) { in ntfs_index_lookup() 391 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup()
|
D | index.h | 91 extern int ntfs_index_lookup(const void *key, const int key_len,
|
/fs/cifs/ |
D | cache.c | 71 uint16_t key_len = sizeof(struct cifs_server_key); in cifs_server_get_key() local 73 memset(key, 0, key_len); in cifs_server_get_key() 84 key_len += sizeof(key->addr[0].ipv4_addr); in cifs_server_get_key() 91 key_len += sizeof(key->addr[0].ipv6_addr); in cifs_server_get_key() 96 key_len = 0; in cifs_server_get_key() 100 return key_len; in cifs_server_get_key()
|
/fs/hfs/ |
D | brec.c | 68 int size, key_len, rec; in hfs_brec_insert() local 83 key_len = (fd->search_key->key_len | 1) + 1; in hfs_brec_insert() 87 size = key_len + entry_len; in hfs_brec_insert() 130 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 131 hfs_bnode_write(node, entry, data_off + key_len, entry_len); in hfs_brec_insert() 164 key_len = fd->search_key->key_len + 1; in hfs_brec_insert() 166 fd->search_key->key_len = tree->max_key_len; in hfs_brec_insert() 167 key_len = tree->max_key_len + 1; in hfs_brec_insert()
|
D | hfs.h | 150 u8 key_len; /* number of bytes in the key */ member 158 u8 key_len; /* number of bytes in the key */ member 165 u8 key_len; /* number of bytes in the key */ member
|
D | bnode.c | 48 int key_len; in hfs_bnode_read_key() local 53 key_len = hfs_bnode_read_u8(node, off) + 1; in hfs_bnode_read_key() 55 key_len = tree->max_key_len + 1; in hfs_bnode_read_key() 57 hfs_bnode_read(node, key, off, key_len); in hfs_bnode_read_key()
|
D | catalog.c | 29 key->key_len = 6 + key->cat.CName.len; in hfs_cat_build_key() 32 key->key_len = 6; in hfs_cat_build_key()
|
/fs/hfsplus/ |
D | brec.c | 66 int size, key_len, rec; in hfs_brec_insert() local 81 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 85 size = key_len + entry_len; in hfs_brec_insert() 130 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 131 hfs_bnode_write(node, entry, data_off + key_len, entry_len); in hfs_brec_insert() 165 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 167 fd->search_key->key_len = in hfs_brec_insert() 169 key_len = tree->max_key_len + 2; in hfs_brec_insert()
|
D | hfsplus_raw.h | 213 __be16 key_len; member 339 __be16 key_len; member 357 __be16 key_len; member 401 __be16 key_len; member
|
D | xattr.c | 686 u16 key_len = 0; in hfsplus_listxattr() local 728 key_len = hfs_bnode_read_u16(fd.bnode, fd.keyoffset); in hfsplus_listxattr() 729 if (key_len == 0 || key_len > fd.tree->max_key_len) { in hfsplus_listxattr() 730 pr_err("invalid xattr key length: %d\n", key_len); in hfsplus_listxattr() 736 fd.keyoffset, key_len + sizeof(key_len)); in hfsplus_listxattr()
|
D | catalog.c | 54 key->key_len = cpu_to_be16(6 + 2 * len); in hfsplus_cat_build_key() 64 key->key_len = cpu_to_be16(6); in hfsplus_cat_build_key_with_cnid() 77 key->key_len = cpu_to_be16(6 + ustrlen); in hfsplus_cat_build_key_uni() 352 fd.search_key->key_len = cpu_to_be16(6 + len); in hfsplus_delete_cat()
|
D | bnode.c | 61 int key_len; in hfs_bnode_read_key() local 67 key_len = hfs_bnode_read_u16(node, off) + 2; in hfs_bnode_read_key() 69 key_len = tree->max_key_len + 2; in hfs_bnode_read_key() 71 hfs_bnode_read(node, key, off, key_len); in hfs_bnode_read_key()
|
D | attributes.c | 75 key->key_len = in hfsplus_attr_build_key()
|
/fs/ubifs/ |
D | misc.h | 198 return UBIFS_IDX_NODE_SZ + (UBIFS_BRANCH_SZ + c->key_len) * child_cnt; in ubifs_idx_node_sz() 213 (UBIFS_BRANCH_SZ + c->key_len) * bnum); in ubifs_idx_branch()
|
D | sb.c | 89 c->key_len = UBIFS_SK_LEN; in create_default_filesystem() 595 c->key_len = UBIFS_SK_LEN; in ubifs_read_superblock()
|
/fs/nfsd/ |
D | nfsfh.h | 139 static inline int key_len(int type) in key_len() function 204 if (memcmp(fh1->fh_fsid, fh2->fh_fsid, key_len(fh1->fh_fsid_type)) != 0) in fh_fsid_match()
|
D | export.c | 62 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); in expkey_request() 108 if (key_len(fsidtype)==0) /* invalid type */ in expkey_parse() 113 if (len != key_len(fsidtype)) in expkey_parse() 179 for (i=0; i < key_len(ek->ek_fsidtype)/4; i++) in expkey_show() 197 memcmp(orig->ek_fsid, new->ek_fsid, key_len(orig->ek_fsidtype)) != 0) in expkey_match() 253 int len = key_len(item->ek_fsidtype); in svc_expkey_hash() 814 memcpy(key.ek_fsid, fsidv, key_len(fsid_type)); in exp_find_key()
|
D | nfsfh.c | 164 len = key_len(fh->fh_fsid_type) / 4; in nfsd_set_fh_dentry() 169 len = key_len(FSID_ENCODE_DEV)/4; in nfsd_set_fh_dentry() 573 key_len(fhp->fh_handle.fh_fsid_type) + 4; in fh_compose()
|
D | nfs4layouts.c | 58 size_t fsid_len = key_len(fh->fh_fsid_type); in nfsd4_alloc_devid_map() 78 key_len(old->fsid_type))) in nfsd4_alloc_devid_map()
|
/fs/xfs/libxfs/ |
D | xfs_ialloc_btree.c | 329 .key_len = sizeof(xfs_inobt_key_t), 350 .key_len = sizeof(xfs_inobt_key_t),
|
D | xfs_btree.c | 523 (n - 1) * cur->bc_ops->key_len; in xfs_btree_key_offset() 535 (n - 1) * cur->bc_ops->key_len + (cur->bc_ops->key_len / 2); in xfs_btree_high_key_offset() 548 cur->bc_ops->get_maxrecs(cur, level) * cur->bc_ops->key_len + in xfs_btree_ptr_offset() 1299 memcpy(dst_key, src_key, numkeys * cur->bc_ops->key_len); in xfs_btree_copy_keys() 1345 dst_key = (char *)key + (dir * cur->bc_ops->key_len); in xfs_btree_shift_keys() 1346 memmove(dst_key, key, numkeys * cur->bc_ops->key_len); in xfs_btree_shift_keys() 1994 (cur->bc_ops->key_len / 2)); in xfs_btree_high_key_from_key() 2025 memcpy(high, &max_hkey, cur->bc_ops->key_len / 2); in xfs_btree_get_leaf_keys() 2043 cur->bc_ops->key_len / 2); in xfs_btree_get_node_keys() 2053 memcpy(high, max_hkey, cur->bc_ops->key_len / 2); in xfs_btree_get_node_keys() [all …]
|
D | xfs_refcount_btree.c | 313 .key_len = sizeof(struct xfs_refcount_key),
|
D | xfs_btree.h | 144 size_t key_len; member
|
D | xfs_alloc_btree.c | 388 .key_len = sizeof(xfs_alloc_key_t),
|
D | xfs_rmap_btree.c | 444 .key_len = 2 * sizeof(struct xfs_rmap_key),
|