/linux-6.1.9/fs/hfsplus/ |
D | btree.c | 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()
|
D | brec.c | 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()
|
D | bfind.c | 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()
|
D | hfsplus_raw.h | 174 __be16 max_key_len; member
|
D | bnode.c | 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()
|
D | xattr.c | 87 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()
|
D | hfsplus_fs.h | 89 unsigned int max_key_len; member
|
/linux-6.1.9/fs/hfs/ |
D | brec.c | 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()
|
D | btree.c | 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()
|
D | btree.h | 40 unsigned int max_key_len; member 154 __be16 max_key_len; /* (F) The length of a key in an index node */ member
|
D | bfind.c | 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()
|
D | bnode.c | 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()
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 821 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/ |
D | libipw_wx.c | 672 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/ |
D | ieee80211_wx.c | 661 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/ |
D | hostap_ioctl.c | 3367 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/ |
D | ps3_gelic_wireless.c | 1286 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/ |
D | atmel.c | 1894 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/ |
D | airo.c | 6618 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()
|