Searched refs:max_key_len (Results 1 – 15 of 15) sorted by relevance
41 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()43 retval = node->tree->max_key_len + 1; in hfs_brec_keylen()50 if (retval > node->tree->max_key_len + 2) { in hfs_brec_keylen()56 if (retval > node->tree->max_key_len + 1) { in hfs_brec_keylen()168 fd->search_key->key_len = tree->max_key_len; in hfs_brec_insert()169 key_len = tree->max_key_len + 1; in hfs_brec_insert()380 fd->keylength = newkeylen = tree->max_key_len + 1; in hfs_brec_update_parent()509 key_size = tree->max_key_len + 1; in hfs_btree_inc_height()513 key_size = tree->max_key_len + 1; in hfs_btree_inc_height()514 hfs_bnode_write_u8(new_node, 14, tree->max_key_len); in hfs_btree_inc_height()
93 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open()103 if (tree->max_key_len != HFS_MAX_EXT_KEYLEN) { in hfs_btree_open()105 tree->max_key_len); in hfs_btree_open()110 if (tree->max_key_len != HFS_MAX_CAT_KEYLEN) { in hfs_btree_open()112 tree->max_key_len); in hfs_btree_open()
40 unsigned int max_key_len; member154 __be16 max_key_len; /* (F) The length of a key in an index node */ member
21 ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL); in hfs_find_init()25 fd->key = ptr + tree->max_key_len + 2; in hfs_find_init()
68 key_len = tree->max_key_len + 1; in hfs_bnode_read_key()164 tmp = node->tree->max_key_len + 1; in hfs_bnode_dump()
176 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open()182 if (tree->max_key_len != HFSPLUS_EXT_KEYLEN - sizeof(u16)) { in hfs_btree_open()184 tree->max_key_len); in hfs_btree_open()195 if (tree->max_key_len != HFSPLUS_CAT_KEYLEN - sizeof(u16)) { in hfs_btree_open()197 tree->max_key_len); in hfs_btree_open()214 if (tree->max_key_len != HFSPLUS_ATTR_KEYLEN - sizeof(u16)) { in hfs_btree_open()216 tree->max_key_len); in hfs_btree_open()
42 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()54 if (retval > node->tree->max_key_len + 2) { in hfs_brec_keylen()170 cpu_to_be16(tree->max_key_len); in hfs_brec_insert()171 key_len = tree->max_key_len + 2; in hfs_brec_insert()385 fd->keylength = newkeylen = tree->max_key_len + 2; in hfs_brec_update_parent()514 key_size = tree->max_key_len + 2; in hfs_btree_inc_height()519 key_size = tree->max_key_len + 2; in hfs_btree_inc_height()520 hfs_bnode_write_u16(new_node, 14, tree->max_key_len); in hfs_btree_inc_height()
174 __be16 max_key_len; member
68 key_len = tree->max_key_len + 2; in hfs_bnode_read_key()314 tmp = node->tree->max_key_len + 2; in hfs_bnode_dump()
87 head->max_key_len = cpu_to_be16(HFSPLUS_ATTR_KEYLEN - sizeof(u16)); in hfsplus_init_header_node()721 if (key_len == 0 || key_len > fd.tree->max_key_len) { in hfsplus_listxattr()
89 unsigned int max_key_len; member
195 int max_key_len = sizeof(cmd.u.add.key); in iwl_mvm_mld_send_key() local200 max_key_len -= IWL_SEC_WEP_KEY_OFFSET; in iwl_mvm_mld_send_key()202 if (WARN_ON(keyconf->keylen > max_key_len)) in iwl_mvm_mld_send_key()
672 int idx, max_key_len; in libipw_wx_get_encodeext() local674 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext()675 if (max_key_len < 0) in libipw_wx_get_encodeext()
1286 int max_key_len; in gelic_wl_get_encodeext() local1290 max_key_len = enc->length - sizeof(struct iw_encode_ext); in gelic_wl_get_encodeext()1291 if (max_key_len < 0) in gelic_wl_get_encodeext()1330 if (max_key_len < wl->key_len[key_index]) { in gelic_wl_get_encodeext()