Home
last modified time | relevance | path

Searched refs:max_key_len (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/fs/hfsplus/
Dbtree.c176 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()
Dbrec.c42 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()
Dbfind.c21 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()
Dhfsplus_raw.h174 __be16 max_key_len; member
Dbnode.c68 key_len = tree->max_key_len + 2; in hfs_bnode_read_key()
314 tmp = node->tree->max_key_len + 2; in hfs_bnode_dump()
Dxattr.c87 head->max_key_len = cpu_to_be16(HFSPLUS_ATTR_KEYLEN - sizeof(u16)); in hfsplus_init_header_node()
723 if (key_len == 0 || key_len > fd.tree->max_key_len) { in hfsplus_listxattr()
Dhfsplus_fs.h89 unsigned int max_key_len; member
/linux-6.1.9/fs/hfs/
Dbrec.c41 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()
Dbtree.c93 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()
Dbtree.h40 unsigned int max_key_len; member
154 __be16 max_key_len; /* (F) The length of a key in an index node */ member
Dbfind.c21 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()
Dbnode.c68 key_len = tree->max_key_len + 1; in hfs_bnode_read_key()
164 tmp = node->tree->max_key_len + 1; in hfs_bnode_dump()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dwext.c821 int idx, max_key_len; in orinoco_ioctl_get_encodeext() local
829 max_key_len = encoding->length - sizeof(*ext); in orinoco_ioctl_get_encodeext()
830 if (max_key_len < 0) in orinoco_ioctl_get_encodeext()
852 ext->key_len = min(priv->keys[idx].key_len, max_key_len); in orinoco_ioctl_get_encodeext()
858 ext->key_len = min(priv->keys[idx].key_len, max_key_len); in orinoco_ioctl_get_encodeext()
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c672 int idx, max_key_len; in libipw_wx_get_encodeext() local
674 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext()
675 if (max_key_len < 0) in libipw_wx_get_encodeext()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c661 int idx, max_key_len; in ieee80211_wx_get_encode_ext() local
663 max_key_len = encoding->length - sizeof(*ext); in ieee80211_wx_get_encode_ext()
664 if (max_key_len < 0) in ieee80211_wx_get_encode_ext()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c3367 int max_key_len, i; in prism2_ioctl_giwencodeext() local
3371 max_key_len = erq->length - sizeof(*ext); in prism2_ioctl_giwencodeext()
3372 if (max_key_len < 0) in prism2_ioctl_giwencodeext()
3411 max_key_len, in prism2_ioctl_giwencodeext()
3569 int max_key_len; in prism2_ioctl_get_encryption() local
3573 max_key_len = param_len - in prism2_ioctl_get_encryption()
3575 if (max_key_len < 0) in prism2_ioctl_get_encryption()
3607 max_key_len, in prism2_ioctl_get_encryption()
/linux-6.1.9/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c1286 int max_key_len; in gelic_wl_get_encodeext() local
1290 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()
/linux-6.1.9/drivers/net/wireless/atmel/
Datmel.c1894 int idx, max_key_len; in atmel_get_encodeext() local
1896 max_key_len = encoding->length - sizeof(*ext); in atmel_get_encodeext()
1897 if (max_key_len < 0) in atmel_get_encodeext()
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c6618 int idx, max_key_len, wep_key_len; in airo_get_encodeext() local
6626 max_key_len = encoding->length - sizeof(*ext); in airo_get_encodeext()
6627 if (max_key_len < 0) in airo_get_encodeext()