Home
last modified time | relevance | path

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

/linux-2.6.39/fs/hfs/
Dbrec.c40 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()
42 retval = node->tree->max_key_len + 1; in hfs_brec_keylen()
49 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()
164 fd->search_key->key_len = tree->max_key_len; in hfs_brec_insert()
165 key_len = tree->max_key_len + 1; in hfs_brec_insert()
376 fd->keylength = newkeylen = tree->max_key_len + 1; in hfs_brec_update_parent()
499 key_size = tree->max_key_len + 1; in hfs_btree_inc_height()
503 key_size = tree->max_key_len + 1; in hfs_btree_inc_height()
504 hfs_bnode_write_u8(new_node, 14, tree->max_key_len); in hfs_btree_inc_height()
Dbtree.c82 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open()
92 if (tree->max_key_len != HFS_MAX_EXT_KEYLEN) { in hfs_btree_open()
94 tree->max_key_len); in hfs_btree_open()
99 if (tree->max_key_len != HFS_MAX_CAT_KEYLEN) { in hfs_btree_open()
101 tree->max_key_len); in hfs_btree_open()
Dbtree.h32 unsigned int max_key_len; member
145 __be16 max_key_len; /* (F) The length of a key in an index node */ member
Dbfind.c20 ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL); in hfs_find_init()
24 fd->key = ptr + tree->max_key_len + 2; in hfs_find_init()
Dbnode.c55 key_len = tree->max_key_len + 1; in hfs_bnode_read_key()
157 tmp = node->tree->max_key_len + 1; in hfs_bnode_dump()
/linux-2.6.39/fs/hfsplus/
Dbtree.c64 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open()
70 if (tree->max_key_len != HFSPLUS_EXT_KEYLEN - sizeof(u16)) { in hfs_btree_open()
72 tree->max_key_len); in hfs_btree_open()
83 if (tree->max_key_len != HFSPLUS_CAT_KEYLEN - sizeof(u16)) { in hfs_btree_open()
85 tree->max_key_len); in hfs_btree_open()
Dbrec.c40 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()
48 if (retval > node->tree->max_key_len + 2) { in hfs_brec_keylen()
159 cpu_to_be16(tree->max_key_len); in hfs_brec_insert()
160 key_len = tree->max_key_len + 2; in hfs_brec_insert()
374 fd->keylength = newkeylen = tree->max_key_len + 2; in hfs_brec_update_parent()
497 key_size = tree->max_key_len + 2; in hfs_btree_inc_height()
501 key_size = tree->max_key_len + 2; in hfs_btree_inc_height()
502 hfs_bnode_write_u16(new_node, 14, tree->max_key_len); in hfs_btree_inc_height()
Dbfind.c20 ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL); in hfs_find_init()
24 fd->key = ptr + tree->max_key_len + 2; in hfs_find_init()
Dhfsplus_raw.h162 __be16 max_key_len; member
Dbnode.c68 key_len = tree->max_key_len + 2; in hfs_bnode_read_key()
320 tmp = node->tree->max_key_len + 2; in hfs_bnode_dump()
Dhfsplus_fs.h65 unsigned int max_key_len; member
/linux-2.6.39/drivers/net/wireless/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-2.6.39/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c714 int idx, max_key_len; in libipw_wx_get_encodeext() local
716 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext()
717 if (max_key_len < 0) in libipw_wx_get_encodeext()
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_wx.c717 int idx, max_key_len; in ieee80211_wx_get_encode_ext() local
719 max_key_len = encoding->length - sizeof(*ext); in ieee80211_wx_get_encode_ext()
720 if (max_key_len < 0) in ieee80211_wx_get_encode_ext()
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c706 int idx, max_key_len; in ieee80211_wx_get_encode_ext() local
708 max_key_len = encoding->length - sizeof(*ext); in ieee80211_wx_get_encode_ext()
709 if (max_key_len < 0) in ieee80211_wx_get_encode_ext()
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_ioctl.c3381 int max_key_len, i; in prism2_ioctl_giwencodeext() local
3385 max_key_len = erq->length - sizeof(*ext); in prism2_ioctl_giwencodeext()
3386 if (max_key_len < 0) in prism2_ioctl_giwencodeext()
3426 max_key_len, in prism2_ioctl_giwencodeext()
3586 int max_key_len; in prism2_ioctl_get_encryption() local
3590 max_key_len = param_len - in prism2_ioctl_get_encryption()
3592 if (max_key_len < 0) in prism2_ioctl_get_encryption()
3626 max_key_len, in prism2_ioctl_get_encryption()
/linux-2.6.39/drivers/staging/rt2860/
Dsta_ioctl.c2017 int idx, max_key_len; in rt_ioctl_giwencodeext() local
2023 max_key_len = encoding->length - sizeof(*ext); in rt_ioctl_giwencodeext()
2024 if (max_key_len < 0) in rt_ioctl_giwencodeext()
2054 if (pAd->SharedKey[BSS0][idx].KeyLen > max_key_len) in rt_ioctl_giwencodeext()
2068 if (max_key_len < 32) in rt_ioctl_giwencodeext()
/linux-2.6.39/drivers/net/
Dps3_gelic_wireless.c1304 int max_key_len; in gelic_wl_get_encodeext() local
1308 max_key_len = enc->length - sizeof(struct iw_encode_ext); in gelic_wl_get_encodeext()
1309 if (max_key_len < 0) in gelic_wl_get_encodeext()
1348 if (max_key_len < wl->key_len[key_index]) { in gelic_wl_get_encodeext()
/linux-2.6.39/drivers/net/wireless/prism54/
Disl_ioctl.c1653 int idx, max_key_len; in prism54_get_encodeext() local
1671 max_key_len = encoding->length - sizeof(*ext); in prism54_get_encodeext()
1672 if (max_key_len < 0) in prism54_get_encodeext()
1715 if (max_key_len < key->length) { in prism54_get_encodeext()
/linux-2.6.39/drivers/net/wireless/
Datmel.c1924 int idx, max_key_len; in atmel_get_encodeext() local
1926 max_key_len = encoding->length - sizeof(*ext); in atmel_get_encodeext()
1927 if (max_key_len < 0) in atmel_get_encodeext()
Dairo.c6627 int idx, max_key_len, wep_key_len; in airo_get_encodeext() local
6635 max_key_len = encoding->length - sizeof(*ext); in airo_get_encodeext()
6636 if (max_key_len < 0) in airo_get_encodeext()